+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/apg.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 warning: bogus date in %changelog: Fri Apr 7 2005 Michael Schwendt Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.sds14E + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf apg-2.3.0b + /usr/bin/gzip -dc /builddir/build/SOURCES/apg-2.3.0b.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd apg-2.3.0b + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (apg-2.3.0b-gen_rand_pass.patch):' Patch #0 (apg-2.3.0b-gen_rand_pass.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .gen_rand_pass --fuzz=0 patching file apg.c + echo 'Patch #1 (apg-2.3.0b-null-crypt.patch):' Patch #1 (apg-2.3.0b-null-crypt.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file restrict.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.vCD7O9 + umask 022 + cd /builddir/build/BUILD + cd apg-2.3.0b + make '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 ' 'FLAGS=-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 ' -j4 cliserv 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 -DCLISERV -o apgd bloom.c ./sha/sha.c ./cast/cast.c rnd.c pronpass.c randpass.c restrict.c errors.c apg.c getopt.c convert.c -lm -lcrypt 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 -DAPGBFM -o apgbfm apgbfm.c bloom.c sha/sha.c errors.c getopt.c convert.c -lm apgbfm.c: In function 'main': apgbfm.c:82:7: warning: variable 'case_insensitive_flag' set but not used [-Wunused-but-set-variable] flag case_insensitive_flag = FALSE; /* -q */ ^~~~~~~~~~~~~~~~~~~~~ apgbfm.c:286:8: warning: 'filter' may be used uninitialized in this function [-Wmaybe-uninitialized] if( (f_filter = create_filter(filter, wc, flt_mode)) == NULL) ^ apgbfm.c:277:9: warning: 'dictfile' may be used uninitialized in this function [-Wmaybe-uninitialized] if ( (f_dictfile = fopen(dictfile,"r")) == NULL) ^ ./cast/cast.c: In function 'cast_setkey': ./cast/cast.c:129:11: warning: 'z[3]' may be used uninitialized in this function [-Wmaybe-uninitialized] u32 t[4], z[4], x[4]; ^ ./cast/cast.c:129:11: warning: 'z[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] ./cast/cast.c:129:11: warning: 'z[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] ./cast/cast.c:129:11: warning: 'z[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] ./cast/cast.c:15:18: warning: 't[3]' may be used uninitialized in this function [-Wmaybe-uninitialized] #define U8d(x) ( (u8) ((x)&255) ) ^ ./cast/cast.c:129:5: note: 't[3]' was declared here u32 t[4], z[4], x[4]; ^ ./cast/cast.c:15:18: warning: 't[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] #define U8d(x) ( (u8) ((x)&255) ) ^ ./cast/cast.c:129:5: note: 't[2]' was declared here u32 t[4], z[4], x[4]; ^ ./cast/cast.c:12:25: warning: 't[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] #define U8a(x) ( (u8) (x>>24) ) ^~ ./cast/cast.c:129:5: note: 't[1]' was declared here u32 t[4], z[4], x[4]; ^ ./cast/cast.c:12:25: warning: 't[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] #define U8a(x) ( (u8) (x>>24) ) ^~ ./cast/cast.c:129:5: note: 't[0]' was declared here u32 t[4], z[4], x[4]; ^ rnd.c: In function 'x917_setseed': rnd.c:196:4: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread( (void *)&drs[0], 8, 1, dr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rnd.c:203:4: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread( (void *)&drs[0], 8, 1, dr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ restrict.c: In function 'filter_check_pass': restrict.c:259:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(word == NULL) ^~ restrict.c:262:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if ((cond & S_SS) > 0) ^~ apg.c: In function 'main': apg.c:421:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (0, (void*) out_pass, strlen(out_pass)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apg.c:422:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (0, (void*)&delim[0],2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apg.c:461:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (0, (void*) out_pass, strlen(out_pass)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apg.c:462:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (0, (void*)&delim[0],2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apg.c:535:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (0, (void*)pass_string, strlen(pass_string)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apg.c:536:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (0, (void*)&delim[0],2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apg.c:570:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (0, (void*)pass_string, strlen(pass_string)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apg.c:571:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (0, (void*)&delim[0],2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apg.c:512:24: warning: 'plain_restrictions_file' may be used uninitialized in this function [-Wmaybe-uninitialized] restrict_res = check_pass(pass_string, plain_restrictions_file); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apg.c:379:21: warning: 'restrictions_file' may be used uninitialized in this function [-Wmaybe-uninitialized] restrict_res = paranoid_bloom_check_pass(pass_string, restrictions_file, min_substr_len); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + make '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 ' 'FLAGS=-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 ' -j4 standalone 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 -DAPG_USE_CRYPT -o apg bloom.c ./sha/sha.c ./cast/cast.c rnd.c pronpass.c randpass.c restrict.c errors.c apg.c getopt.c convert.c -lm -lcrypt ./cast/cast.c: In function 'cast_setkey': ./cast/cast.c:129:11: warning: 'z[3]' may be used uninitialized in this function [-Wmaybe-uninitialized] u32 t[4], z[4], x[4]; ^ ./cast/cast.c:129:11: warning: 'z[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] ./cast/cast.c:129:11: warning: 'z[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] ./cast/cast.c:129:11: warning: 'z[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] ./cast/cast.c:15:18: warning: 't[3]' may be used uninitialized in this function [-Wmaybe-uninitialized] #define U8d(x) ( (u8) ((x)&255) ) ^ ./cast/cast.c:129:5: note: 't[3]' was declared here u32 t[4], z[4], x[4]; ^ ./cast/cast.c:15:18: warning: 't[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] #define U8d(x) ( (u8) ((x)&255) ) ^ ./cast/cast.c:129:5: note: 't[2]' was declared here u32 t[4], z[4], x[4]; ^ ./cast/cast.c:12:25: warning: 't[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] #define U8a(x) ( (u8) (x>>24) ) ^~ ./cast/cast.c:129:5: note: 't[1]' was declared here u32 t[4], z[4], x[4]; ^ ./cast/cast.c:12:25: warning: 't[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] #define U8a(x) ( (u8) (x>>24) ) ^~ ./cast/cast.c:129:5: note: 't[0]' was declared here u32 t[4], z[4], x[4]; ^ rnd.c: In function 'x917_setseed': rnd.c:196:4: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread( (void *)&drs[0], 8, 1, dr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rnd.c:203:4: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread( (void *)&drs[0], 8, 1, dr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ restrict.c: In function 'filter_check_pass': restrict.c:259:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(word == NULL) ^~ restrict.c:262:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if ((cond & S_SS) > 0) ^~ apg.c: In function 'get_user_seq': apg.c:616:56: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] printf ("\nPlease enter some random data (only first %d are significant)\n", sizeof(prom)); ~^ %ld apg.c: In function 'main': apg.c:409:26: warning: 'spell_pass_string' may be used uninitialized in this function [-Wmaybe-uninitialized] spell_pass_string = spell_word(pass_string, spell_pass_string); ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apg.c:586:5: warning: 'crypt_string' may be used uninitialized in this function [-Wmaybe-uninitialized] free((void*)crypt_string); ^~~~~~~~~~~~~~~~~~~~~~~~~ apg.c:512:24: warning: 'plain_restrictions_file' may be used uninitialized in this function [-Wmaybe-uninitialized] restrict_res = check_pass(pass_string, plain_restrictions_file); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apg.c:379:21: warning: 'restrictions_file' may be used uninitialized in this function [-Wmaybe-uninitialized] restrict_res = paranoid_bloom_check_pass(pass_string, restrictions_file, min_substr_len); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.9gtKlp + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/apg-2.3.0b-28.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/apg-2.3.0b-28.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/apg-2.3.0b-28.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/apg-2.3.0b-28.fc28.riscv64 + cd apg-2.3.0b + '[' /builddir/build/BUILDROOT/apg-2.3.0b-28.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/apg-2.3.0b-28.fc28.riscv64 + install -D apg /builddir/build/BUILDROOT/apg-2.3.0b-28.fc28.riscv64/usr/bin/apg + install -D apgbfm /builddir/build/BUILDROOT/apg-2.3.0b-28.fc28.riscv64/usr/bin/apgbfm + install -D apgd /builddir/build/BUILDROOT/apg-2.3.0b-28.fc28.riscv64/usr/sbin/apgd + install -D -m 644 doc/man/apg.1 /builddir/build/BUILDROOT/apg-2.3.0b-28.fc28.riscv64/usr/share/man/man1/apg.1 + install -D -m 644 doc/man/apgbfm.1 /builddir/build/BUILDROOT/apg-2.3.0b-28.fc28.riscv64/usr/share/man/man1/apgbfm.1 + install -D -m 644 doc/man/apgd.8 /builddir/build/BUILDROOT/apg-2.3.0b-28.fc28.riscv64/usr/share/man/man8/apgd.8 + install -d -m 755 /builddir/build/BUILDROOT/apg-2.3.0b-28.fc28.riscv64/usr/lib/systemd/system + install -p -m 644 /builddir/build/SOURCES/apg.socket /builddir/build/BUILDROOT/apg-2.3.0b-28.fc28.riscv64/usr/lib/systemd/system/apg.socket + install -p -m 644 /builddir/build/SOURCES/apg@.service /builddir/build/BUILDROOT/apg-2.3.0b-28.fc28.riscv64/usr/lib/systemd/system/apg@.service + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /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: apg-2.3.0b-28.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.JaDhwg + umask 022 + cd /builddir/build/BUILD + cd apg-2.3.0b + DOCDIR=/builddir/build/BUILDROOT/apg-2.3.0b-28.fc28.riscv64/usr/share/doc/apg + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/apg-2.3.0b-28.fc28.riscv64/usr/share/doc/apg + cp -pr CHANGES /builddir/build/BUILDROOT/apg-2.3.0b-28.fc28.riscv64/usr/share/doc/apg + cp -pr COPYING /builddir/build/BUILDROOT/apg-2.3.0b-28.fc28.riscv64/usr/share/doc/apg + cp -pr README /builddir/build/BUILDROOT/apg-2.3.0b-28.fc28.riscv64/usr/share/doc/apg + cp -pr THANKS /builddir/build/BUILDROOT/apg-2.3.0b-28.fc28.riscv64/usr/share/doc/apg + cp -pr TODO /builddir/build/BUILDROOT/apg-2.3.0b-28.fc28.riscv64/usr/share/doc/apg + cp -pr doc/rfc0972.txt doc/rfc1750.txt /builddir/build/BUILDROOT/apg-2.3.0b-28.fc28.riscv64/usr/share/doc/apg + exit 0 Provides: apg = 2.3.0b-28.fc28 apg(riscv-64) = 2.3.0b-28.fc28 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh grep systemd-units Requires(preun): /bin/sh systemd-units Requires(postun): /bin/sh systemd-units 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) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/apg-2.3.0b-28.fc28.riscv64 Wrote: /builddir/build/SRPMS/apg-2.3.0b-28.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/apg-2.3.0b-28.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.3AtLnh + umask 022 + cd /builddir/build/BUILD + cd apg-2.3.0b + '[' /builddir/build/BUILDROOT/apg-2.3.0b-28.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/apg-2.3.0b-28.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync ++ sleep 5 +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff