+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/lrslib.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.lOLQvh + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf lrslib-062 + /usr/bin/gzip -dc /builddir/build/SOURCES/lrslib-062.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd lrslib-062 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + cd lrslib-062 + /usr/bin/xz -dc /builddir/build/SOURCES/lrslib-man.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (lrslib-fixes.patch):' Patch #0 (lrslib-fixes.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file ./2nash.c patching file ./fourier.c patching file ./lrsgmp.c patching file ./lrsgmp.h patching file ./lrslib.c patching file ./lrslib.h patching file ./lrslong.c patching file ./lrslong.h patching file ./lrsmp.c patching file ./lrsmp.h patching file ./lrsnash.c patching file ./lrsnashlib.c patching file ./plrs.cpp + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.zPYSev + umask 022 + cd /builddir/build/BUILD + cd lrslib-062 + 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 -DTIMES -DSIGNALS -I. -I/usr/include/boost' + '[' 64 = 32 ']' + 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 -DTIMES -DSIGNALS -I. -I/usr/include/boost -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -DGMP -fPIC -shared -o liblrsgmp.so.6.2 -Wl,-soname,liblrsgmp.so.6 lrslib.c lrsgmp.c -lgmp lrslib.c: In function 'lrs_read_dic': lrslib.c:1785:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (Q->restart) ^~ lrslib.c:1788:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (Q->restart && Q->maxcobases > 0) //2015.4.3 adjust for restart ^~ lrslib.c: In function 'lrs_printtotals': lrslib.c:3048:12: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ( nredundcol > 0 ) ^~ lrslib.c:3050:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' printf ("=%ld",nredundcol+count[0]+count[1]); ^~~~~~ + ln -s liblrsgmp.so.6.2 liblrsgmp.so.6 + ln -s liblrsgmp.so.6 liblrsgmp.so + 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 -DTIMES -DSIGNALS -I. -I/usr/include/boost -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -DLRSLONG -fPIC -shared -o liblrslong.so.6.2 -Wl,-soname,liblrslong.so.6 lrslib.c lrslong.c lrslib.c: In function 'lrs_read_dic': lrslib.c:1785:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (Q->restart) ^~ lrslib.c:1788:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (Q->restart && Q->maxcobases > 0) //2015.4.3 adjust for restart ^~ lrslib.c: In function 'lrs_printtotals': lrslib.c:3048:12: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ( nredundcol > 0 ) ^~ lrslib.c:3050:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' printf ("=%ld",nredundcol+count[0]+count[1]); ^~~~~~ + ln -s liblrslong.so.6.2 liblrslong.so.6 + ln -s liblrslong.so.6 liblrslong.so + 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 -DTIMES -DSIGNALS -I. -I/usr/include/boost -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -DLRSMP -fPIC -shared -o liblrsmp.so.6.2 -Wl,-soname,liblrsmp.so.6 lrslib.c lrsmp.c lrslib.c: In function 'lrs_read_dic': lrslib.c:1785:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (Q->restart) ^~ lrslib.c:1788:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (Q->restart && Q->maxcobases > 0) //2015.4.3 adjust for restart ^~ lrslib.c: In function 'lrs_printtotals': lrslib.c:3048:12: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ( nredundcol > 0 ) ^~ lrslib.c:3050:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' printf ("=%ld",nredundcol+count[0]+count[1]); ^~~~~~ + ln -s liblrsmp.so.6.2 liblrsmp.so.6 + ln -s liblrsmp.so.6 liblrsmp.so + 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 -DTIMES -DSIGNALS -I. -I/usr/include/boost -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -DGMP -fPIC -shared -o liblrsnashlib.so.6.2 -Wl,-soname,liblrsnashlib.so.6 lrsnashlib.c -L. -llrsgmp + ln -s liblrsnashlib.so.6.2 liblrsnashlib.so.6 + ln -s liblrsnashlib.so.6 liblrsnashlib.so + 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 -DTIMES -DSIGNALS -I. -I/usr/include/boost -DGMP lrs.c -o lrs -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L. -llrsgmp + 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 -DTIMES -DSIGNALS -I. -I/usr/include/boost -DGMP lrsnash.c -o lrsnash -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--as-needed -L. -llrsnashlib -llrsgmp -lgmp lrsnash.c: In function 'getArgs': lrsnash.c:202:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (c == -1) ^~ lrsnash.c:205:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' switch (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 -DTIMES -DSIGNALS -I. -I/usr/include/boost -DGMP fourier.c -o lrs-fourier -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L. -llrsgmp -lgmp + g++ -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 -DTIMES -DSIGNALS -I. -I/usr/include/boost -DGMP -DPLRS plrs.cpp lrslib.c lrsgmp.c -o plrs -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L. -llrsgmp -lgmp -lboost_thread lrslib.c: In function 'void plrs_readfacets(lrs_dat*, long int*, std::__cxx11::string)': lrslib.c:688:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(Q->nonnegative) ^~ lrslib.c:694:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(!Q->nonnegative) ^~ lrslib.c:700:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (i = 0; i < Q->nlinearity; i++) ^~~ lrslib.c:707:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for (i = Q->nlinearity; i < j; i++) ^~~ lrslib.c: In function 'long int lrs_read_dic(lrs_dic*, lrs_dat*)': lrslib.c:1785:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (Q->restart) ^~ lrslib.c:1788:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (Q->restart && Q->maxcobases > 0) //2015.4.3 adjust for restart ^~ lrslib.c: At global scope: lrslib.c:5356:15: warning: 'double get_time()' defined but not used [-Wunused-function] static double get_time() ^~~~~~~~ lrsgmp.c: In function 'char* cprat(const char*, __mpz_struct*, __mpz_struct*)': lrsgmp.c:300:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=0; i+offset|' -e 's|#include ARITH|#define B64\n#include ARITH|' lrslib.h + touch -r lrslib.h /builddir/build/BUILDROOT/lrslib-6.2-7.fc28.riscv64/usr/include/lrslib/lrslib.h + sed -e 's|"gmp.h"||' lrsgmp.h + touch -r lrsgmp.h /builddir/build/BUILDROOT/lrslib-6.2-7.fc28.riscv64/usr/include/lrslib/lrsgmp.h + cp -p lrslong.h lrsnashlib.h lrsmp.h /builddir/build/BUILDROOT/lrslib-6.2-7.fc28.riscv64/usr/include/lrslib + mkdir -p /builddir/build/BUILDROOT/lrslib-6.2-7.fc28.riscv64/usr/share/man/man1 + cd man + for f in *.1 + sed s/@VERSION@/062/ lrs-2nash.1 + touch -r lrs-2nash.1 /builddir/build/BUILDROOT/lrslib-6.2-7.fc28.riscv64/usr/share/man/man1/lrs-2nash.1 + for f in *.1 + sed s/@VERSION@/062/ lrs-buffer.1 + touch -r lrs-buffer.1 /builddir/build/BUILDROOT/lrslib-6.2-7.fc28.riscv64/usr/share/man/man1/lrs-buffer.1 + for f in *.1 + sed s/@VERSION@/062/ lrs-float2rat.1 + touch -r lrs-float2rat.1 /builddir/build/BUILDROOT/lrslib-6.2-7.fc28.riscv64/usr/share/man/man1/lrs-float2rat.1 + for f in *.1 + sed s/@VERSION@/062/ lrs-fourier.1 + touch -r lrs-fourier.1 /builddir/build/BUILDROOT/lrslib-6.2-7.fc28.riscv64/usr/share/man/man1/lrs-fourier.1 + for f in *.1 + sed s/@VERSION@/062/ lrs-rat2float.1 + touch -r lrs-rat2float.1 /builddir/build/BUILDROOT/lrslib-6.2-7.fc28.riscv64/usr/share/man/man1/lrs-rat2float.1 + for f in *.1 + sed s/@VERSION@/062/ lrs-redund.1 + touch -r lrs-redund.1 /builddir/build/BUILDROOT/lrslib-6.2-7.fc28.riscv64/usr/share/man/man1/lrs-redund.1 + for f in *.1 + sed s/@VERSION@/062/ lrs-setupnash.1 + touch -r lrs-setupnash.1 /builddir/build/BUILDROOT/lrslib-6.2-7.fc28.riscv64/usr/share/man/man1/lrs-setupnash.1 + for f in *.1 + sed s/@VERSION@/062/ lrs-setupnash2.1 + touch -r lrs-setupnash2.1 /builddir/build/BUILDROOT/lrslib-6.2-7.fc28.riscv64/usr/share/man/man1/lrs-setupnash2.1 + for f in *.1 + sed s/@VERSION@/062/ lrs.1 + touch -r lrs.1 /builddir/build/BUILDROOT/lrslib-6.2-7.fc28.riscv64/usr/share/man/man1/lrs.1 + for f in *.1 + sed s/@VERSION@/062/ lrsnash.1 + touch -r lrsnash.1 /builddir/build/BUILDROOT/lrslib-6.2-7.fc28.riscv64/usr/share/man/man1/lrsnash.1 + for f in *.1 + sed s/@VERSION@/062/ plrs.1 + touch -r plrs.1 /builddir/build/BUILDROOT/lrslib-6.2-7.fc28.riscv64/usr/share/man/man1/plrs.1 + /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: lrslib-6.2-7.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.9KQxOO + umask 022 + cd /builddir/build/BUILD + cd lrslib-062 + DOCDIR=/builddir/build/BUILDROOT/lrslib-6.2-7.fc28.riscv64/usr/share/doc/lrslib + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/lrslib-6.2-7.fc28.riscv64/usr/share/doc/lrslib + cp -pr README /builddir/build/BUILDROOT/lrslib-6.2-7.fc28.riscv64/usr/share/doc/lrslib + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.doYVmy + umask 022 + cd /builddir/build/BUILD + cd lrslib-062 + LICENSEDIR=/builddir/build/BUILDROOT/lrslib-6.2-7.fc28.riscv64/usr/share/licenses/lrslib + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/lrslib-6.2-7.fc28.riscv64/usr/share/licenses/lrslib + cp -pr COPYING /builddir/build/BUILDROOT/lrslib-6.2-7.fc28.riscv64/usr/share/licenses/lrslib + exit 0 Provides: liblrsgmp.so.6()(64bit) liblrslong.so.6()(64bit) liblrsmp.so.6()(64bit) liblrsnashlib.so.6()(64bit) lrslib = 6.2-7.fc28 lrslib(riscv-64) = 6.2-7.fc28 Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig 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) libgmp.so.10()(64bit) liblrsgmp.so.6()(64bit) rtld(GNU_HASH) Processing files: lrslib-devel-6.2-7.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.I8vGXY + umask 022 + cd /builddir/build/BUILD + cd lrslib-062 + DOCDIR=/builddir/build/BUILDROOT/lrslib-6.2-7.fc28.riscv64/usr/share/doc/lrslib-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/lrslib-6.2-7.fc28.riscv64/usr/share/doc/lrslib-devel + cp -pr chdemo.c /builddir/build/BUILDROOT/lrslib-6.2-7.fc28.riscv64/usr/share/doc/lrslib-devel + cp -pr lpdemo.c /builddir/build/BUILDROOT/lrslib-6.2-7.fc28.riscv64/usr/share/doc/lrslib-devel + cp -pr vedemo.c /builddir/build/BUILDROOT/lrslib-6.2-7.fc28.riscv64/usr/share/doc/lrslib-devel + exit 0 Provides: lrslib-devel = 6.2-7.fc28 lrslib-devel(riscv-64) = 6.2-7.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: liblrsgmp.so.6()(64bit) liblrslong.so.6()(64bit) liblrsmp.so.6()(64bit) liblrsnashlib.so.6()(64bit) Processing files: lrslib-utils-6.2-7.fc28.riscv64 Provides: lrslib-utils = 6.2-7.fc28 lrslib-utils(riscv-64) = 6.2-7.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) libboost_system.so.1.66.0()(64bit) libboost_thread.so.1.66.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgmp.so.10()(64bit) liblrsgmp.so.6()(64bit) liblrsmp.so.6()(64bit) libm.so.6()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/lrslib-6.2-7.fc28.riscv64 Wrote: /builddir/build/SRPMS/lrslib-6.2-7.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/lrslib-6.2-7.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/lrslib-devel-6.2-7.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/lrslib-utils-6.2-7.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.LWGmV3 + umask 022 + cd /builddir/build/BUILD + cd lrslib-062 + /usr/bin/rm -rf /builddir/build/BUILDROOT/lrslib-6.2-7.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