Mock Version: 3.3 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/axmail.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667626048.821318/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pzssc1w_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pzssc1w_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'c64b514f107749a3b8d34c7bd685bf55', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667626048.821318/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pzssc1w_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/axmail.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658275200 Wrote: /builddir/build/SRPMS/axmail-2.9-6.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/axmail.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667626048.821318/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pzssc1w_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pzssc1w_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'd6bcef9a8c184ae5ae35d5643380bf8f', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667626048.821318/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pzssc1w_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/axmail.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658275200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.AaJY0x + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf axmail-2.9 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/axmail-2.9.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd axmail-2.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (axmail-2.9-install-fix.patch):' Patch #0 (axmail-2.9-install-fix.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .install-fix --fuzz=0 patching file Makefile patching file defines.h Patch #1 (axmail-2.8-gcc-10-fix.patch): + echo 'Patch #1 (axmail-2.8-gcc-10-fix.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .gcc-10-fix --fuzz=0 patching file utils.h + cp -p /builddir/build/SOURCES/axmail-README.fedora README.fedora + rm -f .COPYING + mv -f etc/welcome.txt etc/axmail-welcome.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.r7473q + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd axmail-2.9 + make -j2 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c utils.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c config.c utils.c: In function 'getstr': utils.c:85:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 85 | fgets(str, len, stdin); | ^~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c adduser.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c command.c adduser.c: In function 'new_user': adduser.c:111:11: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 111 | p = homedir; | ^ adduser.c:119:28: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 119 | q = strchr(p, '/'); | ^ | | | unsigned char * In file included from adduser.c:13: /usr/include/string.h:246:34: note: expected 'const char *' but argument is of type 'unsigned char *' 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ adduser.c:119:19: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 119 | q = strchr(p, '/'); | ^ adduser.c:128:26: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] 128 | if (stat(p, &fst) < 0) | ^ | | | unsigned char * In file included from adduser.c:9: /usr/include/sys/stat.h:205:41: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 205 | extern int stat (const char *__restrict __file, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ adduser.c:132:39: warning: pointer targets in passing argument 1 of 'mkdir' differ in signedness [-Wpointer-sign] 132 | mkdir(p, S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP|S_IWGRP|S_IXGRP|S_IROTH|S_IWOTH|S_IXOTH); | ^ | | | unsigned char * /usr/include/sys/stat.h:389:31: note: expected 'const char *' but argument is of type 'unsigned char *' 389 | extern int mkdir (const char *__path, __mode_t __mode) | ~~~~~~~~~~~~^~~~~~ adduser.c:136:47: warning: pointer targets in passing argument 1 of 'chown' differ in signedness [-Wpointer-sign] 136 | chown(p, uid, user_gid); | ^ | | | unsigned char * In file included from adduser.c:8: /usr/include/unistd.h:493:31: note: expected 'const char *' but argument is of type 'unsigned char *' 493 | extern int chown (const char *__file, __uid_t __owner, __gid_t __group) | ~~~~~~~~~~~~^~~~~~ adduser.c:137:47: warning: pointer targets in passing argument 1 of 'chmod' differ in signedness [-Wpointer-sign] 137 | chmod(p, S_IRUSR|S_IWUSR|S_IXUSR); | ^ | | | unsigned char * /usr/include/sys/stat.h:352:31: note: expected 'const char *' but argument is of type 'unsigned char *' 352 | extern int chmod (const char *__file, __mode_t __mode) | ~~~~~~~~~~~~^~~~~~ adduser.c:144:27: warning: pointer targets in passing argument 1 of 'chdir' differ in signedness [-Wpointer-sign] 144 | if (chdir(p) < 0) | ^ | | | unsigned char * /usr/include/unistd.h:517:31: note: expected 'const char *' but argument is of type 'unsigned char *' 517 | extern int chdir (const char *__path) __THROW __nonnull ((1)) __wur; | ~~~~~~~~~~~~^~~~~~ adduser.c:115:9: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 115 | chdir("/"); | ^~~~~~~~~~ adduser.c:136:41: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] 136 | chown(p, uid, user_gid); | ^~~~~~~~~~~~~~~~~~~~~~~ adduser.c:183:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 183 | write(fd_b, &buf, cnt); | ^~~~~~~~~~~~~~~~~~~~~~ adduser.c:186:17: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] 186 | chown(USERPROFILE, uid, user_gid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ adduser.c:192:17: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 192 | system(str); | ^~~~~~~~~~~ command.c: In function 'do_forward': command.c:74:9: warning: implicit declaration of function 'getaddy' [-Wimplicit-function-declaration] 74 | getaddy(fwd); | ^~~~~~~ command.c:69:15: warning: unused variable 'email' [-Wunused-variable] 69 | char *email; | ^~~~~ command.c: In function 'do_signature': command.c:99:9: warning: implicit declaration of function 'getsig'; did you mean 'getsid'? [-Wimplicit-function-declaration] 99 | getsig(sig); | ^~~~~~ | getsid gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c mailcmd.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c mbox.c mailcmd.c: In function 'do_read': mailcmd.c:60:14: warning: unused variable 'line' [-Wunused-variable] 60 | char line[2000]; | ^~~~ mailcmd.c:58:25: warning: unused variable 'm' [-Wunused-variable] 58 | struct message *m; | ^ mailcmd.c:57:19: warning: unused variable 'k' [-Wunused-variable] 57 | int i, j, k; | ^ mailcmd.c:57:16: warning: unused variable 'j' [-Wunused-variable] 57 | int i, j, k; | ^ mailcmd.c: In function 'do_send': mailcmd.c:298:30: warning: zero-length gnu_printf format string [-Wformat-zero-length] 298 | { fprintf( f,"" ); | ^~ mailcmd.c:340:15: warning: unused variable 'sig' [-Wunused-variable] 340 | char *sig = NULL; | ^~~ mailcmd.c:143:15: warning: unused variable 'g' [-Wunused-variable] 143 | FILE *g; | ^ mailcmd.c: In function 'do_psend': mailcmd.c:503:15: warning: unused variable 'sig' [-Wunused-variable] 503 | char *sig = NULL; | ^~~ mailcmd.c:396:15: warning: unused variable 'g' [-Wunused-variable] 396 | FILE *g; | ^ mailcmd.c: In function 'do_read': mailcmd.c:125:33: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 125 | system(str); | ^~~~~~~~~~~ mailcmd.c: In function 'do_send': mailcmd.c:320:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 320 | fgets(str, LINESIZE, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mailcmd.c:372:25: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 372 | system(str); | ^~~~~~~~~~~ mailcmd.c:376:25: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 376 | system(str); | ^~~~~~~~~~~ mailcmd.c: In function 'do_psend': mailcmd.c:482:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 482 | fgets(str, LINESIZE, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mailcmd.c:534:25: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 534 | system(str); | ^~~~~~~~~~~ mailcmd.c:538:25: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 538 | system(str); | ^~~~~~~~~~~ mailcmd.c: In function 'do_fax': mailcmd.c:750:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 750 | fgets(str, LINESIZE, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mailcmd.c:776:17: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 776 | system(str); | ^~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c head.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c lock.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c axmail.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c quit.c axmail.c: In function 'init_user': axmail.c:236:23: warning: implicit declaration of function 'setgroups'; did you mean 'getgroups'? [-Wimplicit-function-declaration] 236 | if ( (setgroups(0, NULL) == -1) || (setgid(pw->pw_gid) == -1) || (setuid(pw->pw_uid) == -1) ) | ^~~~~~~~~ | getgroups axmail.c: In function 'main': axmail.c:284:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 284 | fgets(p, 1023, stdin); | ^~~~~~~~~~~~~~~~~~~~~ quit.c: In function 'save_mbox': quit.c:195:13: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] 195 | freopen(mailbox, "a+", mb); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o axmail utils.o config.o adduser.o command.o mailcmd.o mbox.o head.o lock.o axmail.o quit.o -lcrypt -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.HaRWyh + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/axmail-2.9-6.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/axmail-2.9-6.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/axmail-2.9-6.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/axmail-2.9-6.fc38.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd axmail-2.9 + make -j2 DESTDIR=/builddir/build/BUILDROOT/axmail-2.9-6.fc38.x86_64 MAN_DIR=/builddir/build/BUILDROOT/axmail-2.9-6.fc38.x86_64/usr/share/man install install -m 0755 -p -D axmail /builddir/build/BUILDROOT/axmail-2.9-6.fc38.x86_64/usr/sbin/axmail install -m 755 -D -d /builddir/build/BUILDROOT/axmail-2.9-6.fc38.x86_64/etc/ax25 install -m 755 -D -d /builddir/build/BUILDROOT/axmail-2.9-6.fc38.x86_64/usr/share/axmail/help install -m 644 -p etc/axmail.conf /builddir/build/BUILDROOT/axmail-2.9-6.fc38.x86_64/etc/ax25 install -m 644 -p etc/help/*.hlp /builddir/build/BUILDROOT/axmail-2.9-6.fc38.x86_64/usr/share/axmail/help install -m 644 -p etc/axmail-welcome.txt /builddir/build/BUILDROOT/axmail-2.9-6.fc38.x86_64/etc/ax25 install -m 644 -p -D man/axmail.8 /builddir/build/BUILDROOT/axmail-2.9-6.fc38.x86_64/usr/share/man/man8/axmail.8 install -m 644 -p -D man/axmail.conf.5 /builddir/build/BUILDROOT/axmail-2.9-6.fc38.x86_64/usr/share/man/man5/axmail.conf.5 + mkdir -p /builddir/build/BUILDROOT/axmail-2.9-6.fc38.x86_64/var/lock + touch /builddir/build/BUILDROOT/axmail-2.9-6.fc38.x86_64/var/lock/axmail + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 2.9-6.fc38 --unique-debug-suffix -2.9-6.fc38.x86_64 --unique-debug-src-base axmail-2.9-6.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/axmail-2.9 extracting debug info from /builddir/build/BUILDROOT/axmail-2.9-6.fc38.x86_64/usr/sbin/axmail original debug info size: 168kB, size after compression: 152kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 135 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: axmail-2.9-6.fc38.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.0DnApt + umask 022 + cd /builddir/build/BUILD + cd axmail-2.9 + DOCDIR=/builddir/build/BUILDROOT/axmail-2.9-6.fc38.x86_64/usr/share/doc/axmail + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/axmail-2.9-6.fc38.x86_64/usr/share/doc/axmail + cp -pr README.fedora /builddir/build/BUILDROOT/axmail-2.9-6.fc38.x86_64/usr/share/doc/axmail + cp -pr README /builddir/build/BUILDROOT/axmail-2.9-6.fc38.x86_64/usr/share/doc/axmail + cp -pr FAQ /builddir/build/BUILDROOT/axmail-2.9-6.fc38.x86_64/usr/share/doc/axmail + cp -pr copying /builddir/build/BUILDROOT/axmail-2.9-6.fc38.x86_64/usr/share/doc/axmail + RPM_EC=0 ++ jobs -p + exit 0 Provides: axmail = 2.9-6.fc38 axmail(x86-64) = 2.9-6.fc38 bundled(mailx) = 5.3b config(axmail) = 2.9-6.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcrypt.so.2()(64bit) libcrypt.so.2(XCRYPT_2.0)(64bit) rtld(GNU_HASH) Processing files: axmail-debugsource-2.9-6.fc38.x86_64 Provides: axmail-debugsource = 2.9-6.fc38 axmail-debugsource(x86-64) = 2.9-6.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: axmail-debuginfo-2.9-6.fc38.x86_64 Provides: axmail-debuginfo = 2.9-6.fc38 axmail-debuginfo(x86-64) = 2.9-6.fc38 debuginfo(build-id) = 5f371094d03d01ebaf8490275284ec199f3dbbaf Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: axmail-debugsource(x86-64) = 2.9-6.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/axmail-2.9-6.fc38.x86_64 Wrote: /builddir/build/RPMS/axmail-2.9-6.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/axmail-debuginfo-2.9-6.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/axmail-debugsource-2.9-6.fc38.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.M3vBB8 + umask 022 + cd /builddir/build/BUILD + cd axmail-2.9 + /usr/bin/rm -rf /builddir/build/BUILDROOT/axmail-2.9-6.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.UqWjrq + umask 022 + cd /builddir/build/BUILD + rm -rf axmail-2.9 axmail-2.9.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0