+ exec
+ rm -rf /rpmbuild
+ mkdir -p /rpmbuild
+ su -c 'rpmbuild -ba /builddir/build/SPECS/CQRlib.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.dgjZMz
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf CQRlib-1.1.2
+ /usr/bin/gzip -dc /builddir/build/SOURCES/CQRlib-1.1.2.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd CQRlib-1.1.2
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (CQRlib-1.0.6-dynamic.patch):'
Patch #0 (CQRlib-1.0.6-dynamic.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .dynamic --fuzz=0
patching file Makefile
+ echo 'Patch #1 (CQRlib-1.0.6-lib64.patch):'
Patch #1 (CQRlib-1.0.6-lib64.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .lib64 --fuzz=0
patching file Makefile
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.VtLPfb
+ umask 022
+ cd /builddir/build/BUILD
+ cd CQRlib-1.1.2
+ make all '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 ' -j4
mkdir ./lib64
mkdir ./bin
libtool --mode=compile 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  -I.  -c -c ./cqrlib.c
libtool --mode=link 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  -DCQR_NOCCODE=1 -I. ./CPPQRTest.cpp -lm \
	      -o bin/CPPQRTest
libtool: compile:  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 -I. -c -c ./cqrlib.c  -fPIC -DPIC -o .libs/cqrlib.o
libtool: link: 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 -DCQR_NOCCODE=1 -I. ./CPPQRTest.cpp -o bin/CPPQRTest  -lm
libtool: compile:  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 -I. -c -c ./cqrlib.c -o cqrlib.o >/dev/null 2>&1
libtool --mode=link  gcc -version-info 3:0:1 -rpath /builddir/lib64 -o ./lib64/libCQRlib.la *.lo 
libtool: link: gcc -shared  -fPIC -DPIC  .libs/cqrlib.o      -Wl,-soname -Wl,libCQRlib.so.2 -o ./lib64/.libs/libCQRlib.so.2.1.0
libtool: link: (cd "./lib64/.libs" && rm -f "libCQRlib.so.2" && ln -s "libCQRlib.so.2.1.0" "libCQRlib.so.2")
libtool: link: (cd "./lib64/.libs" && rm -f "libCQRlib.so" && ln -s "libCQRlib.so.2.1.0" "libCQRlib.so")
libtool: link: ar cru ./lib64/.libs/libCQRlib.a  cqrlib.o
libtool: link: ranlib ./lib64/.libs/libCQRlib.a
libtool: link: ( cd "./lib64/.libs" && rm -f "libCQRlib.la" && ln -s "../libCQRlib.la" "libCQRlib.la" )
libtool --mode=link 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  -I. ./CQRlibTest.c ./lib64/libCQRlib.la -lm \
	      -o bin/CQRlibTest
libtool: link: 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 -I. ./CQRlibTest.c -o bin/.libs/CQRlibTest  ./lib64/.libs/libCQRlib.so -lm -Wl,-rpath -Wl,/builddir/lib64
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.qliQ7k
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64
++ dirname /builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64
+ cd CQRlib-1.1.2
+ rm -rf /builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64
+ make install '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 ' INSTALLDIR=/builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64/usr
mkdir -p /builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64/usr
mkdir -p /builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64/usr/lib64
mkdir -p /builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64/usr/include
libtool --mode=install cp ./lib64/libCQRlib.la /builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64/usr/lib64/libCQRlib.la
libtool: install: cp ./lib64/.libs/libCQRlib.so.2.1.0 /builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64/usr/lib64/libCQRlib.so.2.1.0
libtool: install: (cd /builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64/usr/lib64 && { ln -s -f libCQRlib.so.2.1.0 libCQRlib.so.2 || { rm -f libCQRlib.so.2 && ln -s libCQRlib.so.2.1.0 libCQRlib.so.2; }; })
libtool: install: (cd /builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64/usr/lib64 && { ln -s -f libCQRlib.so.2.1.0 libCQRlib.so || { rm -f libCQRlib.so && ln -s libCQRlib.so.2.1.0 libCQRlib.so; }; })
libtool: install: cp ./lib64/.libs/libCQRlib.lai /builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64/usr/lib64/libCQRlib.la
libtool: install: cp ./lib64/.libs/libCQRlib.a /builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64/usr/lib64/libCQRlib.a
libtool: install: chmod 644 /builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64/usr/lib64/libCQRlib.a
libtool: install: ranlib /builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64/usr/lib64/libCQRlib.a
libtool: warning: remember to run 'libtool --finish /builddir/lib64'
libtool --mode=finish /builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64/usr/lib64/libCQRlib.la
cp /builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64/usr/include/cqrlib.h /builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64/usr/include/CQRlib_old.h
cp: cannot stat '/builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64/usr/include/cqrlib.h': No such file or directory
make: [Makefile:203: install] Error 1 (ignored)
cp ./cqrlib.h /builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64/usr/include/cqrlib.h
chmod 644 /builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64/usr/include/cqrlib.h
echo "Testing final install dynamic"
Testing final install dynamic
libtool --mode=link 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  -rdynamic -I /builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64/usr/include -L/builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64/usr/lib64  ./CQRlibTest.c \
	  -lCQRlib -lm -o ./bin/CQRlibTest_dynamic
libtool: warning: library '/builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64/usr/lib64/libCQRlib.la' was moved.
libtool: warning: library '/builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64/usr/lib64/libCQRlib.la' was moved.
libtool: link: 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 -rdynamic -I /builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64/usr/include ./CQRlibTest.c -o ./bin/CQRlibTest_dynamic  -L/builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64/usr/lib64 /builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64/usr/lib64/libCQRlib.so -lm -Wl,-rpath -Wl,/builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64/usr/lib64 -Wl,-rpath -Wl,/builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64/usr/lib64
./bin/CQRlibTest_dynamic > ./CQRlibTest_dynamic.lst
diff -b -c ./CQRlibTest_orig.lst \
	    ./CQRlibTest_dynamic.lst
echo "Testing final install static"
Testing final install static
libtool --mode=link 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  -static -I /builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64/usr/include -L/builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64/usr/lib64 ./CQRlibTest.c \
	   -lCQRlib -lm -o ./bin/CQRlibTest_static
libtool: warning: library '/builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64/usr/lib64/libCQRlib.la' was moved.
libtool: warning: library '/builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64/usr/lib64/libCQRlib.la' was moved.
libtool: link: 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 -I /builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64/usr/include ./CQRlibTest.c -o ./bin/CQRlibTest_static  -L/builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64/usr/lib64 /builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64/usr/lib64/libCQRlib.so -lm -Wl,-rpath -Wl,/builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64/usr/lib64 -Wl,-rpath -Wl,/builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64/usr/lib64
./bin/CQRlibTest_static > ./CQRlibTest_static.lst
diff -b -c ./CQRlibTest_orig.lst \
	    ./CQRlibTest_static.lst
libtool --mode=link 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  -DCQR_NOCCODE=1 -rdynamic -I /builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64/usr/include -L/builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64/usr/lib64 ./CPPQRTest.cpp \
	    -lm -o ./bin/CPPQRTest_dynamic
libtool: link: 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 -DCQR_NOCCODE=1 -rdynamic -I /builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64/usr/include ./CPPQRTest.cpp -o ./bin/CPPQRTest_dynamic  -L/builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64/usr/lib64 -lm
./bin/CPPQRTest_dynamic > ./CPPQRTest_dynamic.lst
diff -b -c ./CPPQRTest_orig.lst \
	    ./CPPQRTest_dynamic.lst
libtool --mode=link 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  -DCQR_NOCCODE=1 -static -I /builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64/usr/include -L/builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64/usr/lib64 ./CPPQRTest.cpp \
	    -lm -o ./bin/CPPQRTest_static
libtool: link: 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 -DCQR_NOCCODE=1 -I /builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64/usr/include ./CPPQRTest.cpp -o ./bin/CPPQRTest_static  -L/builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64/usr/lib64 -lm
./bin/CPPQRTest_static > ./CPPQRTest_static.lst
diff -b -c ./CPPQRTest_orig.lst \
	    ./CPPQRTest_static.lst
+ find /builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64 -name '*.la' -exec rm -f '{}' ';'
+ find /builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64 -name '*.a' -exec rm -f '{}' ';'
+ /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: CQRlib-1.1.2-13.fc28.riscv64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.zWSvEh
+ umask 022
+ cd /builddir/build/BUILD
+ cd CQRlib-1.1.2
+ DOCDIR=/builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64/usr/share/doc/CQRlib
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64/usr/share/doc/CQRlib
+ cp -pr README_CQRlib.html /builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64/usr/share/doc/CQRlib
+ cp -pr README_CQRlib.txt /builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64/usr/share/doc/CQRlib
+ cp -pr lgpl.txt /builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64/usr/share/doc/CQRlib
+ exit 0
Provides: CQRlib = 1.1.2-13.fc28 CQRlib(riscv-64) = 1.1.2-13.fc28 libCQRlib.so.2()(64bit)
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) rtld(GNU_HASH)
Processing files: CQRlib-devel-1.1.2-13.fc28.riscv64
Provides: CQRlib-devel = 1.1.2-13.fc28 CQRlib-devel(riscv-64) = 1.1.2-13.fc28
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libCQRlib.so.2()(64bit)
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/CQRlib-1.1.2-13.fc28.riscv64
Wrote: /builddir/build/SRPMS/CQRlib-1.1.2-13.fc28.src.rpm
Wrote: /builddir/build/RPMS/riscv64/CQRlib-1.1.2-13.fc28.riscv64.rpm
Wrote: /builddir/build/RPMS/riscv64/CQRlib-devel-1.1.2-13.fc28.riscv64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.oLe8dT
+ umask 022
+ cd /builddir/build/BUILD
+ cd CQRlib-1.1.2
+ rm -rf /builddir/build/BUILDROOT/CQRlib-1.1.2-13.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