+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/bgpq3.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.XyQZUh + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bgpq3-0.1.31 + /usr/bin/gzip -dc /builddir/build/SOURCES/bgpq3-0.1.31.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd bgpq3-0.1.31 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/bgpq3-fix-makefile.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.lQ7IZb + umask 022 + cd /builddir/build/BUILD + cd bgpq3-0.1.31 + 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 ' + export CFLAGS + CXXFLAGS='-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 ' + export CXXFLAGS + FFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info configure: WARNING: unrecognized options: --disable-dependency-tracking checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for a BSD-compatible install... /usr/bin/install -c checking for markdown_py... no checking for markdown2... no checking for markdown... no checking for strlcpy... no checking for socket in -lsocket... no checking for getaddrinfo in -lnsl... no configure: creating ./config.status config.status: creating Makefile config.status: creating config.h configure: WARNING: unrecognized options: --disable-dependency-tracking + /usr/bin/make -O -j4 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 -DHAVE_CONFIG_H -g -Wall -I. -c sx_slentry.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 -DHAVE_CONFIG_H -g -Wall -I. -c sx_report.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 -DHAVE_CONFIG_H -g -Wall -I. -c bgpq3.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 -DHAVE_CONFIG_H -g -Wall -I. -c strlcpy.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 -DHAVE_CONFIG_H -g -Wall -I. -c bgpq_expander.c bgpq_expander.c: In function 'bgpq_pipeline_dequeue_ripe': bgpq_expander.c:254:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(otype) free(otype); otype=NULL; ^~ bgpq_expander.c:254:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(otype) free(otype); otype=NULL; ^~~~~ bgpq_expander.c:255:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(object) free(object); object=NULL; ^~ bgpq_expander.c:255:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(object) free(object); object=NULL; ^~~~~~ bgpq_expander.c: In function 'bgpq_expand_ripe': bgpq_expander.c:329:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(otype) free(otype); otype=NULL; ^~ bgpq_expander.c:329:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(otype) free(otype); otype=NULL; ^~~~~ bgpq_expander.c:330:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(object) free(object); object=NULL; ^~ bgpq_expander.c:330:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(object) free(object); object=NULL; ^~~~~~ bgpq_expander.c:331:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(origin) free(origin); origin=NULL; ^~ bgpq_expander.c:331:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(origin) free(origin); origin=NULL; ^~~~~~ bgpq_expander.c: In function 'bgpq_expand': bgpq_expander.c:670:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(sources,sizeof(sources),f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bgpq_expander.c:677:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(ident,sizeof(ident),f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -DHAVE_CONFIG_H -g -Wall -I. -c sx_maxsockbuf.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 -DHAVE_CONFIG_H -g -Wall -I. -c bgpq3_printer.c bgpq3_printer.c: In function 'bgpq3_print_ceacl': bgpq3_printer.c:509:40: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fprintf(f,"%s ", inet_ntoa(*(struct in_addr*)&wildaddr)); ^~~~~~~ bgpq3_printer.c:515:40: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fprintf(f,"%s ", inet_ntoa(*(struct in_addr*)&mask)); ^~~~~~~ bgpq3_printer.c:516:41: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fprintf(f,"%s\n", inet_ntoa(*(struct in_addr*)&wildmask)); ^~~~~~~ bgpq3_printer.c:518:46: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fprintf(f,"host %s\n", inet_ntoa(*(struct in_addr*)&mask)); ^~~~~~~ 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 -DHAVE_CONFIG_H -g -Wall -I. -c sx_prefix.c sx_prefix.c: In function 'sx_prefix_range_parse': sx_prefix.c:174:21: warning: 'max' may be used uninitialized in this function [-Wmaybe-uninitialized] unsigned long min, max; ^~~ 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 -DHAVE_CONFIG_H -g -Wall -I. -o bgpq3 bgpq3.o sx_report.o bgpq_expander.o sx_slentry.o bgpq3_printer.o sx_prefix.o strlcpy.o sx_maxsockbuf.o -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Gz52Ao + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/bgpq3-0.1.31-1.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/bgpq3-0.1.31-1.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/bgpq3-0.1.31-1.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/bgpq3-0.1.31-1.fc28.riscv64 + cd bgpq3-0.1.31 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/bgpq3-0.1.31-1.fc28.riscv64 'INSTALL=/usr/bin/install -p' if test ! -d /builddir/build/BUILDROOT/bgpq3-0.1.31-1.fc28.riscv64/usr/bin ; then mkdir -p /builddir/build/BUILDROOT/bgpq3-0.1.31-1.fc28.riscv64/usr/bin ; fi /usr/bin/install -p -c -m 755 bgpq3 /builddir/build/BUILDROOT/bgpq3-0.1.31-1.fc28.riscv64/usr/bin if test ! -d /builddir/build/BUILDROOT/bgpq3-0.1.31-1.fc28.riscv64/usr/share/man/man8 ; then mkdir -p /builddir/build/BUILDROOT/bgpq3-0.1.31-1.fc28.riscv64/usr/share/man/man8 ; fi /usr/bin/install -p -m 644 bgpq3.8 /builddir/build/BUILDROOT/bgpq3-0.1.31-1.fc28.riscv64/usr/share/man/man8 + /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: bgpq3-0.1.31-1.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.USAJoT + umask 022 + cd /builddir/build/BUILD + cd bgpq3-0.1.31 + DOCDIR=/builddir/build/BUILDROOT/bgpq3-0.1.31-1.fc28.riscv64/usr/share/doc/bgpq3 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bgpq3-0.1.31-1.fc28.riscv64/usr/share/doc/bgpq3 + cp -pr CHANGES /builddir/build/BUILDROOT/bgpq3-0.1.31-1.fc28.riscv64/usr/share/doc/bgpq3 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.AOO25G + umask 022 + cd /builddir/build/BUILD + cd bgpq3-0.1.31 + LICENSEDIR=/builddir/build/BUILDROOT/bgpq3-0.1.31-1.fc28.riscv64/usr/share/licenses/bgpq3 + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bgpq3-0.1.31-1.fc28.riscv64/usr/share/licenses/bgpq3 + cp -pr COPYRIGHT /builddir/build/BUILDROOT/bgpq3-0.1.31-1.fc28.riscv64/usr/share/licenses/bgpq3 + exit 0 Provides: bgpq3 = 0.1.31-1.fc28 bgpq3(riscv-64) = 0.1.31-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) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/bgpq3-0.1.31-1.fc28.riscv64 Wrote: /builddir/build/SRPMS/bgpq3-0.1.31-1.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/bgpq3-0.1.31-1.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.MqjlCP + umask 022 + cd /builddir/build/BUILD + cd bgpq3-0.1.31 + /usr/bin/rm -rf /builddir/build/BUILDROOT/bgpq3-0.1.31-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