+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/CVector.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: Tue Sep 1 2010 Takanori MATSUURA - 1.0.3-1.5Aug09 warning: bogus date in %changelog: Tue Sep 1 2010 Takanori MATSUURA - 1.0.3-0.7.5Aug09 warning: bogus date in %changelog: Tue Sep 1 2010 Takanori MATSUURA - 1.0.3-0.6.5Aug09 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.yzLjLT + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf CVector-1.0.3.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/CVector-1.0.3.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd CVector-1.0.3.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (CVector-1.0.3.1-dynamic.patch):' Patch #0 (CVector-1.0.3.1-dynamic.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .dynamic --fuzz=0 patching file Makefile + echo 'Patch #1 (CVector-1.0.3-lib64.patch):' Patch #1 (CVector-1.0.3-lib64.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .lib64 --fuzz=0 patching file Makefile Hunk #1 succeeded at 75 (offset 7 lines). Hunk #2 succeeded at 96 (offset 7 lines). Hunk #3 succeeded at 191 (offset 7 lines). Hunk #4 succeeded at 219 (offset 7 lines). + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.AqXwZW + umask 022 + cd /builddir/build/BUILD + cd CVector-1.0.3.1 + 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 ' -j4 *************************************************************** PLEASE READ README_CVector.txt and lgpl.txt Before making the CVector library and example programs, check that the chosen settings are correct The current compile command is: 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 The current library link command is: libtool --mode=link gcc -version-info 2:0:0 -release 1.0.3 -no-undefined -rpath /usr/local/lib64 The current library local, dynamic and static build commands are: 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. 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 /usr/local/include 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 /usr/local/include Before installing the CVector library and example programs, check that the install directory and install commands are correct: The current values are : /usr/local libtool --mode=install cp To compile the CVector library and example programs type: make clean make all To run a set of tests type: make tests To clean up the directories type: make clean To install the library and binaries type: make install *************************************************************** + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.NRzB2t + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/CVector-1.0.3.1-14.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/CVector-1.0.3.1-14.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/CVector-1.0.3.1-14.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/CVector-1.0.3.1-14.fc28.riscv64 + cd CVector-1.0.3.1 + rm -rf /builddir/build/BUILDROOT/CVector-1.0.3.1-14.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 ' INSTALL_PREFIX=/builddir/build/BUILDROOT/CVector-1.0.3.1-14.fc28.riscv64/usr 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 ./CVector.c 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 ./CVector.c -fPIC -DPIC -o .libs/CVector.o 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 ./CVector.c -o CVector.o >/dev/null 2>&1 libtool --mode=link gcc -version-info 2:0:0 -release 1.0.3 -no-undefined -rpath /builddir/build/BUILDROOT/CVector-1.0.3.1-14.fc28.riscv64/usr/lib64 -o ./lib64/libCVector.la *.lo libtool: link: gcc -shared -fPIC -DPIC .libs/CVector.o -Wl,-soname -Wl,libCVector-1.0.3.so.2 -o ./lib64/.libs/libCVector-1.0.3.so.2.0.0 libtool: link: (cd "./lib64/.libs" && rm -f "libCVector-1.0.3.so.2" && ln -s "libCVector-1.0.3.so.2.0.0" "libCVector-1.0.3.so.2") libtool: link: (cd "./lib64/.libs" && rm -f "libCVector.so" && ln -s "libCVector-1.0.3.so.2.0.0" "libCVector.so") libtool: link: ar cru ./lib64/.libs/libCVector.a CVector.o libtool: link: ranlib ./lib64/.libs/libCVector.a libtool: link: ( cd "./lib64/.libs" && rm -f "libCVector.la" && ln -s "../libCVector.la" "libCVector.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. ./CVectorBasicTest.c ./lib64/libCVector.la \ -o bin/CVectorBasicTest 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. ./CVectorBasicTest.c -o bin/.libs/CVectorBasicTest ./lib64/.libs/libCVector.so -Wl,-rpath -Wl,/builddir/build/BUILDROOT/CVector-1.0.3.1-14.fc28.riscv64/usr/lib64 mkdir -p /builddir/build/BUILDROOT/CVector-1.0.3.1-14.fc28.riscv64/usr mkdir -p /builddir/build/BUILDROOT/CVector-1.0.3.1-14.fc28.riscv64/usr/lib64 mkdir -p /builddir/build/BUILDROOT/CVector-1.0.3.1-14.fc28.riscv64/usr/include libtool --mode=install cp ./lib64/libCVector.la /builddir/build/BUILDROOT/CVector-1.0.3.1-14.fc28.riscv64/usr/lib64/libCVector.la libtool: install: cp ./lib64/.libs/libCVector-1.0.3.so.2.0.0 /builddir/build/BUILDROOT/CVector-1.0.3.1-14.fc28.riscv64/usr/lib64/libCVector-1.0.3.so.2.0.0 libtool: install: (cd /builddir/build/BUILDROOT/CVector-1.0.3.1-14.fc28.riscv64/usr/lib64 && { ln -s -f libCVector-1.0.3.so.2.0.0 libCVector-1.0.3.so.2 || { rm -f libCVector-1.0.3.so.2 && ln -s libCVector-1.0.3.so.2.0.0 libCVector-1.0.3.so.2; }; }) libtool: install: (cd /builddir/build/BUILDROOT/CVector-1.0.3.1-14.fc28.riscv64/usr/lib64 && { ln -s -f libCVector-1.0.3.so.2.0.0 libCVector.so || { rm -f libCVector.so && ln -s libCVector-1.0.3.so.2.0.0 libCVector.so; }; }) libtool: install: cp ./lib64/.libs/libCVector.lai /builddir/build/BUILDROOT/CVector-1.0.3.1-14.fc28.riscv64/usr/lib64/libCVector.la libtool: install: cp ./lib64/.libs/libCVector.a /builddir/build/BUILDROOT/CVector-1.0.3.1-14.fc28.riscv64/usr/lib64/libCVector.a libtool: install: chmod 644 /builddir/build/BUILDROOT/CVector-1.0.3.1-14.fc28.riscv64/usr/lib64/libCVector.a libtool: install: ranlib /builddir/build/BUILDROOT/CVector-1.0.3.1-14.fc28.riscv64/usr/lib64/libCVector.a libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin" ldconfig -n /builddir/build/BUILDROOT/CVector-1.0.3.1-14.fc28.riscv64/usr/lib64 ---------------------------------------------------------------------- Libraries have been installed in: /builddir/build/BUILDROOT/CVector-1.0.3.1-14.fc28.riscv64/usr/lib64 If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the '-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the 'LD_RUN_PATH' environment variable during linking - use the '-Wl,-rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to '/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- libtool --mode=finish /builddir/build/BUILDROOT/CVector-1.0.3.1-14.fc28.riscv64/usr/lib64/libCVector.la cp /builddir/build/BUILDROOT/CVector-1.0.3.1-14.fc28.riscv64/usr/include/CVector.h /builddir/build/BUILDROOT/CVector-1.0.3.1-14.fc28.riscv64/usr/include/CVector_old.h cp: cannot stat '/builddir/build/BUILDROOT/CVector-1.0.3.1-14.fc28.riscv64/usr/include/CVector.h': No such file or directory make: [Makefile:198: install] Error 1 (ignored) cp ./CVector.h /builddir/build/BUILDROOT/CVector-1.0.3.1-14.fc28.riscv64/usr/include/CVector.h chmod 644 /builddir/build/BUILDROOT/CVector-1.0.3.1-14.fc28.riscv64/usr/include/CVector.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/CVector-1.0.3.1-14.fc28.riscv64/usr/include ./CVectorBasicTest.c \ -L/builddir/build/BUILDROOT/CVector-1.0.3.1-14.fc28.riscv64/usr/lib64 -lCVector -o ./bin/CVectorBasicTest_dynamic 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/CVector-1.0.3.1-14.fc28.riscv64/usr/include ./CVectorBasicTest.c -o ./bin/CVectorBasicTest_dynamic -L/builddir/build/BUILDROOT/CVector-1.0.3.1-14.fc28.riscv64/usr/lib64 /builddir/build/BUILDROOT/CVector-1.0.3.1-14.fc28.riscv64/usr/lib64/libCVector.so -Wl,-rpath -Wl,/builddir/build/BUILDROOT/CVector-1.0.3.1-14.fc28.riscv64/usr/lib64 -Wl,-rpath -Wl,/builddir/build/BUILDROOT/CVector-1.0.3.1-14.fc28.riscv64/usr/lib64 ./bin/CVectorBasicTest_dynamic > ./CVectorBasicTest_dynamic.lst diff -b -c ./CVectorBasicTest_orig.lst \ ./CVectorBasicTest_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/CVector-1.0.3.1-14.fc28.riscv64/usr/include ./CVectorBasicTest.c \ -L/builddir/build/BUILDROOT/CVector-1.0.3.1-14.fc28.riscv64/usr/lib64 -lCVector -o ./bin/CVectorBasicTest_static 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/CVector-1.0.3.1-14.fc28.riscv64/usr/include ./CVectorBasicTest.c -o ./bin/CVectorBasicTest_static -L/builddir/build/BUILDROOT/CVector-1.0.3.1-14.fc28.riscv64/usr/lib64 /builddir/build/BUILDROOT/CVector-1.0.3.1-14.fc28.riscv64/usr/lib64/libCVector.so -Wl,-rpath -Wl,/builddir/build/BUILDROOT/CVector-1.0.3.1-14.fc28.riscv64/usr/lib64 -Wl,-rpath -Wl,/builddir/build/BUILDROOT/CVector-1.0.3.1-14.fc28.riscv64/usr/lib64 ./bin/CVectorBasicTest_static > ./CVectorBasicTest_static.lst diff -b -c ./CVectorBasicTest_orig.lst \ ./CVectorBasicTest_static.lst + find /builddir/build/BUILDROOT/CVector-1.0.3.1-14.fc28.riscv64 -name '*.la' -exec rm -f '{}' ';' + find /builddir/build/BUILDROOT/CVector-1.0.3.1-14.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: CVector-1.0.3.1-14.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.BkRjDF + umask 022 + cd /builddir/build/BUILD + cd CVector-1.0.3.1 + DOCDIR=/builddir/build/BUILDROOT/CVector-1.0.3.1-14.fc28.riscv64/usr/share/doc/CVector + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/CVector-1.0.3.1-14.fc28.riscv64/usr/share/doc/CVector + cp -pr README_CVector.html /builddir/build/BUILDROOT/CVector-1.0.3.1-14.fc28.riscv64/usr/share/doc/CVector + cp -pr README_CVector.txt /builddir/build/BUILDROOT/CVector-1.0.3.1-14.fc28.riscv64/usr/share/doc/CVector + cp -pr lgpl.txt /builddir/build/BUILDROOT/CVector-1.0.3.1-14.fc28.riscv64/usr/share/doc/CVector + exit 0 Provides: CVector = 1.0.3.1-14.fc28 CVector(riscv-64) = 1.0.3.1-14.fc28 libCVector-1.0.3.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: libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: CVector-devel-1.0.3.1-14.fc28.riscv64 Provides: CVector-devel = 1.0.3.1-14.fc28 CVector-devel(riscv-64) = 1.0.3.1-14.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libCVector-1.0.3.so.2()(64bit) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/CVector-1.0.3.1-14.fc28.riscv64 Wrote: /builddir/build/SRPMS/CVector-1.0.3.1-14.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/CVector-1.0.3.1-14.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/CVector-devel-1.0.3.1-14.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.pfIhSM + umask 022 + cd /builddir/build/BUILD + cd CVector-1.0.3.1 + rm -rf /builddir/build/BUILDROOT/CVector-1.0.3.1-14.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