+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/axmail.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.22CkS0 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf axmail-2.8 + /usr/bin/gzip -dc /builddir/build/SOURCES/axmail-2.8.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd axmail-2.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (axmail-2.8-install-fix.patch):' Patch #0 (axmail-2.8-install-fix.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .install-fix --fuzz=0 patching file Makefile patching file defines.h + cp -p /builddir/build/SOURCES/axmail-README.fedora README.fedora + rm -f .COPYING + mv -f etc/welcome.txt etc/axmail-welcome.txt + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.vWQfu7 + umask 022 + cd /builddir/build/BUILD + cd axmail-2.8 + make -j4 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' 'LDFLAGS=-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c utils.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c config.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c adduser.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c command.c command.c: In function 'do_forward': command.c:74:2: warning: implicit declaration of function 'getaddy'; did you mean 'getgid'? [-Wimplicit-function-declaration] getaddy(fwd); ^~~~~~~ getgid command.c:69:8: warning: unused variable 'email' [-Wunused-variable] 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] getsig(sig); ^~~~~~ getsid utils.c: In function 'getstr': utils.c:85:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(str, len, stdin); ^~~~~~~~~~~~~~~~~~~~~~ adduser.c: In function 'new_user': adduser.c:109:4: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = homedir; ^ adduser.c:117:14: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] q = strchr(p, '/'); ^ In file included from adduser.c:13:0: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strchr (const char *__s, int __c) ^~~~~~ adduser.c:117:5: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] q = strchr(p, '/'); ^ adduser.c:126:12: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] if (stat(p, &fst) < 0) ^ In file included from /usr/include/features.h:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from adduser.c:4: /usr/include/sys/stat.h:449:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (stat (const char *__path, struct stat *__statbuf)) ^ adduser.c:130:11: warning: pointer targets in passing argument 1 of 'mkdir' differ in signedness [-Wpointer-sign] mkdir(p, S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP|S_IWGRP|S_IXGRP|S_IROTH|S_IWOTH|S_IXOTH); ^ In file included from adduser.c:9:0: /usr/include/sys/stat.h:317:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int mkdir (const char *__path, __mode_t __mode) ^~~~~ adduser.c:134:12: warning: pointer targets in passing argument 1 of 'chown' differ in signedness [-Wpointer-sign] chown(p, uid, user_gid); ^ In file included from adduser.c:8:0: /usr/include/unistd.h:473:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int chown (const char *__file, __uid_t __owner, __gid_t __group) ^~~~~ adduser.c:135:12: warning: pointer targets in passing argument 1 of 'chmod' differ in signedness [-Wpointer-sign] chmod(p, S_IRUSR|S_IWUSR|S_IXUSR); ^ In file included from adduser.c:9:0: /usr/include/sys/stat.h:280:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int chmod (const char *__file, __mode_t __mode) ^~~~~ adduser.c:142:13: warning: pointer targets in passing argument 1 of 'chdir' differ in signedness [-Wpointer-sign] if (chdir(p) < 0) ^ In file included from adduser.c:8:0: /usr/include/unistd.h:497:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int chdir (const char *__path) __THROW __nonnull ((1)) __wur; ^~~~~ adduser.c:113:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir("/"); ^~~~~~~~~~ adduser.c:134:6: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] chown(p, uid, user_gid); ^~~~~~~~~~~~~~~~~~~~~~~ adduser.c:181:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd_b, &buf, cnt); ^~~~~~~~~~~~~~~~~~~~~~ adduser.c:184:3: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] chown(USERPROFILE, uid, user_gid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ adduser.c:190:17: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(str); ^~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c mailcmd.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c mbox.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c head.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c lock.c mailcmd.c: In function 'do_read': mailcmd.c:60:7: warning: unused variable 'line' [-Wunused-variable] char line[2000]; ^~~~ mailcmd.c:58:18: warning: unused variable 'm' [-Wunused-variable] struct message *m; ^ mailcmd.c:57:12: warning: unused variable 'k' [-Wunused-variable] int i, j, k; ^ mailcmd.c:57:9: warning: unused variable 'j' [-Wunused-variable] int i, j, k; ^ mailcmd.c: In function 'do_send': mailcmd.c:298:30: warning: zero-length gnu_printf format string [-Wformat-zero-length] { fprintf( f,"" ); ^~ mailcmd.c:340:15: warning: unused variable 'sig' [-Wunused-variable] char *sig = NULL; ^~~ mailcmd.c:143:8: warning: unused variable 'g' [-Wunused-variable] FILE *g; ^ mailcmd.c: In function 'do_psend': mailcmd.c:503:15: warning: unused variable 'sig' [-Wunused-variable] char *sig = NULL; ^~~ mailcmd.c:396:15: warning: unused variable 'g' [-Wunused-variable] FILE *g; ^ mailcmd.c: In function 'do_read': mailcmd.c:125:26: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(str); ^~~~~~~~~~~ mailcmd.c: In function 'do_send': mailcmd.c:320:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(str, LINESIZE, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mailcmd.c:372:4: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(str); ^~~~~~~~~~~ mailcmd.c:376:4: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(str); ^~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c axmail.c mailcmd.c: In function 'do_psend': mailcmd.c:482:17: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(str, LINESIZE, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mailcmd.c:534:25: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(str); ^~~~~~~~~~~ mailcmd.c:538:25: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(str); ^~~~~~~~~~~ mailcmd.c: In function 'do_fax': mailcmd.c:750:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(str, LINESIZE, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mailcmd.c:776:17: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(str); ^~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c quit.c axmail.c: In function 'init_user': axmail.c:236:9: warning: implicit declaration of function 'setgroups'; did you mean 'getgroups'? [-Wimplicit-function-declaration] if ( (setgroups(0, NULL) == -1) || (setgid(pw->pw_gid) == -1) || (setuid(pw->pw_uid) == -1) ) ^~~~~~~~~ getgroups axmail.c: In function 'main': axmail.c:284:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(p, 1023, stdin); ^~~~~~~~~~~~~~~~~~~~~ quit.c: In function 'save_mbox': quit.c:195:6: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] 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 -specs=/usr/lib/rpm/redhat/redhat-hardened-ld + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.xwKUOs + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/axmail-2.8-1.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/axmail-2.8-1.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/axmail-2.8-1.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/axmail-2.8-1.fc28.riscv64 + cd axmail-2.8 + make -j4 DESTDIR=/builddir/build/BUILDROOT/axmail-2.8-1.fc28.riscv64 MAN_DIR=/builddir/build/BUILDROOT/axmail-2.8-1.fc28.riscv64/usr/share/man install install -m 0755 -p -D axmail /builddir/build/BUILDROOT/axmail-2.8-1.fc28.riscv64/usr/sbin/axmail install -m 755 -D -d /builddir/build/BUILDROOT/axmail-2.8-1.fc28.riscv64/etc/ax25 install -m 755 -D -d /builddir/build/BUILDROOT/axmail-2.8-1.fc28.riscv64/usr/share/axmail/help install -m 644 -p -D man/axmail.8 /builddir/build/BUILDROOT/axmail-2.8-1.fc28.riscv64/usr/share/man/man8/axmail.8 install -m 644 -p etc/help/*.hlp /builddir/build/BUILDROOT/axmail-2.8-1.fc28.riscv64/usr/share/axmail/help install -m 644 -p etc/axmail.conf /builddir/build/BUILDROOT/axmail-2.8-1.fc28.riscv64/etc/ax25 install -m 644 -p -D man/axmail.conf.5 /builddir/build/BUILDROOT/axmail-2.8-1.fc28.riscv64/usr/share/man/man5/axmail.conf.5 install -m 644 -p etc/axmail-welcome.txt /builddir/build/BUILDROOT/axmail-2.8-1.fc28.riscv64/etc/ax25 + mkdir -p /builddir/build/BUILDROOT/axmail-2.8-1.fc28.riscv64/var/lock + touch /builddir/build/BUILDROOT/axmail-2.8-1.fc28.riscv64/var/lock/axmail + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/axmail-2.8-1.fc28.riscv64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: axmail-2.8-1.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.6RSMu1 + umask 022 + cd /builddir/build/BUILD + cd axmail-2.8 + DOCDIR=/builddir/build/BUILDROOT/axmail-2.8-1.fc28.riscv64/usr/share/doc/axmail + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/axmail-2.8-1.fc28.riscv64/usr/share/doc/axmail + cp -pr README.fedora /builddir/build/BUILDROOT/axmail-2.8-1.fc28.riscv64/usr/share/doc/axmail + cp -pr README /builddir/build/BUILDROOT/axmail-2.8-1.fc28.riscv64/usr/share/doc/axmail + cp -pr FAQ /builddir/build/BUILDROOT/axmail-2.8-1.fc28.riscv64/usr/share/doc/axmail + cp -pr copying /builddir/build/BUILDROOT/axmail-2.8-1.fc28.riscv64/usr/share/doc/axmail + exit 0 Provides: axmail = 2.8-1.fc28 axmail(riscv-64) = 2.8-1.fc28 bundled(mailx) = 5.3b config(axmail) = 2.8-1.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcrypt.so.1()(64bit) libcrypt.so.1(XCRYPT_2.0)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/axmail-2.8-1.fc28.riscv64 Wrote: /builddir/build/SRPMS/axmail-2.8-1.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/axmail-2.8-1.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.3BvoKC + umask 022 + cd /builddir/build/BUILD + cd axmail-2.8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/axmail-2.8-1.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff