+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/NearTree.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.8seX63 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf NearTree-3.1.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/NearTree-3.1.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd NearTree-3.1.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (NearTree-3.1-fedora.patch):' Patch #0 (NearTree-3.1-fedora.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fedora --fuzz=0 patching file Makefile + echo 'Patch #1 (NearTree-3.1-lib64.patch):' Patch #1 (NearTree-3.1-lib64.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .lib64 --fuzz=0 patching file Makefile + mv README_NearTree.txt README_NearTree.txt.orig + tr -d '\r' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.YUp2oc + umask 022 + cd /builddir/build/BUILD + cd NearTree-3.1.1 + 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 -ansi -pedantic -DCNEARTREE_SAFE_TRIANG=1' -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 -ansi -pedantic -DCNEARTREE_SAFE_TRIANG=1 -I. -c -c ./CNearTree.c libtool --mode=link g++ -no-undefined -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 -ansi -pedantic -DCNEARTREE_SAFE_TRIANG=1 -I. ./main.cpp ./v.cpp -lm \ -o bin/CPPMain libtool --mode=link g++ -no-undefined -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 -ansi -pedantic -DCNEARTREE_SAFE_TRIANG=1 -I. ./CNearTreeTest.cpp ./v.cpp -lm \ -o bin/CPPNearTreeTest 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 -ansi -pedantic -DCNEARTREE_SAFE_TRIANG=1 -I. -c -c ./CNearTree.c -fPIC -DPIC -o .libs/CNearTree.o ./CNearTree.c: In function 'CNearTreeGetDimEstimate': ./CNearTree.c:1179:13: warning: variable 'bResult' set but not used [-Wunused-but-set-variable] int bResult; ^~~~~~~ ./CNearTree.c:1178:16: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] double dummy; ^~~~~ ./CNearTree.c:1171:16: warning: variable 'probe_index' set but not used [-Wunused-but-set-variable] size_t probe_index; ^~~~~~~~~~~ ./CNearTree.c: In function 'CNearTreeNodeInsert': ./CNearTree.c:1582:36: warning: variable 'obj' set but not used [-Wunused-but-set-variable] const void CNEARTREE_FAR * obj; ^~~ ./CNearTree.c:1577:16: warning: variable 'dTempLeftRight' set but not used [-Wunused-but-set-variable] double dTempLeftRight = 0; ^~~~~~~~~~~~~~ ./CNearTree.c: In function 'CNearTreeNodeInsert_Flip': ./CNearTree.c:1707:36: warning: variable 'obj' set but not used [-Wunused-but-set-variable] const void CNEARTREE_FAR * obj; ^~~ ./CNearTree.c: In function 'CNearTreeCompleteDelayedInsert': ./CNearTree.c:1978:16: warning: variable 'dummyrand' set but not used [-Wunused-but-set-variable] double dummyrand; ^~~~~~~~~ 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 -ansi -pedantic -DCNEARTREE_SAFE_TRIANG=1 -I. ./CNearTreeTest.cpp ./v.cpp -o bin/CPPNearTreeTest -lm 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 -ansi -pedantic -DCNEARTREE_SAFE_TRIANG=1 -I. ./main.cpp ./v.cpp -o bin/CPPMain -lm ./CNearTreeTest.cpp: In function 'void testIterators()': ./CNearTreeTest.cpp:1901:30: warning: variable 'itTest' set but not used [-Wunused-but-set-variable] CNearTree::iterator itTest = tree.end( ); ^~~~~~ 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 -ansi -pedantic -DCNEARTREE_SAFE_TRIANG=1 -I. -c -c ./CNearTree.c -o CNearTree.o >/dev/null 2>&1 libtool --mode=link gcc -version-info 6:0:1 -no-undefined -rpath /usr/local/lib64 -o ./lib64/libCNearTree.la CNearTree.lo -I. \ -lCVector -lm libtool: link: gcc -shared -fPIC -DPIC .libs/CNearTree.o -lCVector -lm -Wl,-soname -Wl,libCNearTree.so.5 -o ./lib64/.libs/libCNearTree.so.5.1.0 libtool: link: (cd "./lib64/.libs" && rm -f "libCNearTree.so.5" && ln -s "libCNearTree.so.5.1.0" "libCNearTree.so.5") libtool: link: (cd "./lib64/.libs" && rm -f "libCNearTree.so" && ln -s "libCNearTree.so.5.1.0" "libCNearTree.so") libtool: link: ar cru ./lib64/.libs/libCNearTree.a CNearTree.o libtool: link: ranlib ./lib64/.libs/libCNearTree.a libtool: link: ( cd "./lib64/.libs" && rm -f "libCNearTree.la" && ln -s "../libCNearTree.la" "libCNearTree.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 -ansi -pedantic -DCNEARTREE_SAFE_TRIANG=1 -I. ./main.c ./CNearTree.c ./lib64/libCNearTree.la -lCVector -lm \ -o bin/CMain 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 -ansi -pedantic -DCNEARTREE_SAFE_TRIANG=1 -I. ./CNearTreeTest.c ./CNearTree.c ./lib64/libCNearTree.la -lCVector -lm \ -o bin/CNearTreeTest 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 -ansi -pedantic -DCNEARTREE_SAFE_TRIANG=1 -I. -DCNEARTREE_INSTRUMENTED ./CNearTreeTest.c ./CNearTree.c ./lib64/libCNearTree.la -lCVector -lm \ -o bin/CNearTreeTestInst 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 -ansi -pedantic -DCNEARTREE_SAFE_TRIANG=1 -I. ./CNearTreeTest.c ./CNearTree.c -o bin/.libs/CNearTreeTest ./lib64/.libs/libCNearTree.so -lCVector -lm -Wl,-rpath -Wl,/usr/local/lib64 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 -ansi -pedantic -DCNEARTREE_SAFE_TRIANG=1 -I. ./main.c ./CNearTree.c -o bin/.libs/CMain ./lib64/.libs/libCNearTree.so -lCVector -lm -Wl,-rpath -Wl,/usr/local/lib64 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 -ansi -pedantic -DCNEARTREE_SAFE_TRIANG=1 -I. -DCNEARTREE_INSTRUMENTED ./CNearTreeTest.c ./CNearTree.c -o bin/.libs/CNearTreeTestInst ./lib64/.libs/libCNearTree.so -lCVector -lm -Wl,-rpath -Wl,/usr/local/lib64 ./CNearTreeTest.c: In function 'testEmptyTree': ./CNearTreeTest.c:163:25: warning: variable 'nFar' set but not used [-Wunused-but-set-variable] int CNEARTREE_FAR * nFar; ^~~~ ./CNearTreeTest.c:161:25: warning: variable 'close' set but not used [-Wunused-but-set-variable] int CNEARTREE_FAR * close; ^~~~~ ./CNearTreeTest.c: In function 'testFindLastObject': ./CNearTreeTest.c:508:12: warning: variable 'fFinal' set but not used [-Wunused-but-set-variable] double fFinal; ^~~~~~ ./CNearTreeTest.c: In function 'testBigVector': ./CNearTreeTest.c:1337:28: warning: variable 'vExtreme' set but not used [-Wunused-but-set-variable] double CNEARTREE_FAR * vExtreme; ^~~~~~~~ ./CNearTreeTest.c: In function 'testEmptyTree': ./CNearTreeTest.c:163:25: warning: variable 'nFar' set but not used [-Wunused-but-set-variable] int CNEARTREE_FAR * nFar; ^~~~ ./CNearTreeTest.c:161:25: warning: variable 'close' set but not used [-Wunused-but-set-variable] int CNEARTREE_FAR * close; ^~~~~ ./CNearTreeTest.c: In function 'testFindLastObject': ./CNearTreeTest.c:508:12: warning: variable 'fFinal' set but not used [-Wunused-but-set-variable] double fFinal; ^~~~~~ ./CNearTreeTest.c: In function 'testBigVector': ./CNearTreeTest.c:1337:28: warning: variable 'vExtreme' set but not used [-Wunused-but-set-variable] double CNEARTREE_FAR * vExtreme; ^~~~~~~~ ./CNearTree.c: In function 'CNearTreeGetDimEstimate': ./CNearTree.c:1179:13: warning: variable 'bResult' set but not used [-Wunused-but-set-variable] int bResult; ^~~~~~~ ./CNearTree.c:1178:16: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] double dummy; ^~~~~ ./CNearTree.c:1171:16: warning: variable 'probe_index' set but not used [-Wunused-but-set-variable] size_t probe_index; ^~~~~~~~~~~ ./CNearTree.c: In function 'CNearTreeNodeInsert': ./CNearTree.c:1582:36: warning: variable 'obj' set but not used [-Wunused-but-set-variable] const void CNEARTREE_FAR * obj; ^~~ ./CNearTree.c:1577:16: warning: variable 'dTempLeftRight' set but not used [-Wunused-but-set-variable] double dTempLeftRight = 0; ^~~~~~~~~~~~~~ ./CNearTree.c: In function 'CNearTreeNodeInsert_Flip': ./CNearTree.c:1707:36: warning: variable 'obj' set but not used [-Wunused-but-set-variable] const void CNEARTREE_FAR * obj; ^~~ ./CNearTree.c: In function 'CNearTreeCompleteDelayedInsert': ./CNearTree.c:1978:16: warning: variable 'dummyrand' set but not used [-Wunused-but-set-variable] double dummyrand; ^~~~~~~~~ ./CNearTree.c: In function 'CNearTreeGetDimEstimate': ./CNearTree.c:1179:13: warning: variable 'bResult' set but not used [-Wunused-but-set-variable] int bResult; ^~~~~~~ ./CNearTree.c:1178:16: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] double dummy; ^~~~~ ./CNearTree.c:1171:16: warning: variable 'probe_index' set but not used [-Wunused-but-set-variable] size_t probe_index; ^~~~~~~~~~~ ./CNearTree.c: In function 'CNearTreeNodeInsert': ./CNearTree.c:1582:36: warning: variable 'obj' set but not used [-Wunused-but-set-variable] const void CNEARTREE_FAR * obj; ^~~ ./CNearTree.c:1577:16: warning: variable 'dTempLeftRight' set but not used [-Wunused-but-set-variable] double dTempLeftRight = 0; ^~~~~~~~~~~~~~ ./CNearTree.c: In function 'CNearTreeNodeInsert_Flip': ./CNearTree.c:1707:36: warning: variable 'obj' set but not used [-Wunused-but-set-variable] const void CNEARTREE_FAR * obj; ^~~ ./CNearTree.c: In function 'CNearTreeCompleteDelayedInsert': ./CNearTree.c:1978:16: warning: variable 'dummyrand' set but not used [-Wunused-but-set-variable] double dummyrand; ^~~~~~~~~ ./CNearTree.c: In function 'CNearTreeGetDimEstimate': ./CNearTree.c:1179:13: warning: variable 'bResult' set but not used [-Wunused-but-set-variable] int bResult; ^~~~~~~ ./CNearTree.c:1178:16: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] double dummy; ^~~~~ ./CNearTree.c:1171:16: warning: variable 'probe_index' set but not used [-Wunused-but-set-variable] size_t probe_index; ^~~~~~~~~~~ ./CNearTree.c: In function 'CNearTreeNodeInsert': ./CNearTree.c:1582:36: warning: variable 'obj' set but not used [-Wunused-but-set-variable] const void CNEARTREE_FAR * obj; ^~~ ./CNearTree.c:1577:16: warning: variable 'dTempLeftRight' set but not used [-Wunused-but-set-variable] double dTempLeftRight = 0; ^~~~~~~~~~~~~~ ./CNearTree.c: In function 'CNearTreeNodeInsert_Flip': ./CNearTree.c:1707:36: warning: variable 'obj' set but not used [-Wunused-but-set-variable] const void CNEARTREE_FAR * obj; ^~~ ./CNearTree.c: In function 'CNearTreeCompleteDelayedInsert': ./CNearTree.c:1978:16: warning: variable 'dummyrand' set but not used [-Wunused-but-set-variable] double dummyrand; ^~~~~~~~~ + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.JZ5Vlt + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/NearTree-3.1.1-8.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/NearTree-3.1.1-8.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/NearTree-3.1.1-8.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/NearTree-3.1.1-8.fc28.riscv64 + cd NearTree-3.1.1 + 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 -ansi -pedantic -DCNEARTREE_SAFE_TRIANG=1' INSTALL_PREFIX=/builddir/build/BUILDROOT/NearTree-3.1.1-8.fc28.riscv64/usr libtool --mode=link g++ -no-undefined -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 -ansi -pedantic -DCNEARTREE_SAFE_TRIANG=1 -I. ./main.cpp ./v.cpp -lm \ -o bin/CPPMain 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 -ansi -pedantic -DCNEARTREE_SAFE_TRIANG=1 -I. ./main.cpp ./v.cpp -o bin/CPPMain -lm 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 -ansi -pedantic -DCNEARTREE_SAFE_TRIANG=1 -I. ./main.c ./CNearTree.c ./lib64/libCNearTree.la -lCVector -lm \ -o bin/CMain 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 -ansi -pedantic -DCNEARTREE_SAFE_TRIANG=1 -I. ./main.c ./CNearTree.c -o bin/.libs/CMain ./lib64/.libs/libCNearTree.so -lCVector -lm -Wl,-rpath -Wl,/usr/local/lib64 ./CNearTree.c: In function 'CNearTreeGetDimEstimate': ./CNearTree.c:1179:13: warning: variable 'bResult' set but not used [-Wunused-but-set-variable] int bResult; ^~~~~~~ ./CNearTree.c:1178:16: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] double dummy; ^~~~~ ./CNearTree.c:1171:16: warning: variable 'probe_index' set but not used [-Wunused-but-set-variable] size_t probe_index; ^~~~~~~~~~~ ./CNearTree.c: In function 'CNearTreeNodeInsert': ./CNearTree.c:1582:36: warning: variable 'obj' set but not used [-Wunused-but-set-variable] const void CNEARTREE_FAR * obj; ^~~ ./CNearTree.c:1577:16: warning: variable 'dTempLeftRight' set but not used [-Wunused-but-set-variable] double dTempLeftRight = 0; ^~~~~~~~~~~~~~ ./CNearTree.c: In function 'CNearTreeNodeInsert_Flip': ./CNearTree.c:1707:36: warning: variable 'obj' set but not used [-Wunused-but-set-variable] const void CNEARTREE_FAR * obj; ^~~ ./CNearTree.c: In function 'CNearTreeCompleteDelayedInsert': ./CNearTree.c:1978:16: warning: variable 'dummyrand' set but not used [-Wunused-but-set-variable] double dummyrand; ^~~~~~~~~ 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 -ansi -pedantic -DCNEARTREE_SAFE_TRIANG=1 -I. ./CNearTreeTest.c ./CNearTree.c ./lib64/libCNearTree.la -lCVector -lm \ -o bin/CNearTreeTest 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 -ansi -pedantic -DCNEARTREE_SAFE_TRIANG=1 -I. ./CNearTreeTest.c ./CNearTree.c -o bin/.libs/CNearTreeTest ./lib64/.libs/libCNearTree.so -lCVector -lm -Wl,-rpath -Wl,/usr/local/lib64 ./CNearTreeTest.c: In function 'testEmptyTree': ./CNearTreeTest.c:163:25: warning: variable 'nFar' set but not used [-Wunused-but-set-variable] int CNEARTREE_FAR * nFar; ^~~~ ./CNearTreeTest.c:161:25: warning: variable 'close' set but not used [-Wunused-but-set-variable] int CNEARTREE_FAR * close; ^~~~~ ./CNearTreeTest.c: In function 'testFindLastObject': ./CNearTreeTest.c:508:12: warning: variable 'fFinal' set but not used [-Wunused-but-set-variable] double fFinal; ^~~~~~ ./CNearTreeTest.c: In function 'testBigVector': ./CNearTreeTest.c:1337:28: warning: variable 'vExtreme' set but not used [-Wunused-but-set-variable] double CNEARTREE_FAR * vExtreme; ^~~~~~~~ ./CNearTree.c: In function 'CNearTreeGetDimEstimate': ./CNearTree.c:1179:13: warning: variable 'bResult' set but not used [-Wunused-but-set-variable] int bResult; ^~~~~~~ ./CNearTree.c:1178:16: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] double dummy; ^~~~~ ./CNearTree.c:1171:16: warning: variable 'probe_index' set but not used [-Wunused-but-set-variable] size_t probe_index; ^~~~~~~~~~~ ./CNearTree.c: In function 'CNearTreeNodeInsert': ./CNearTree.c:1582:36: warning: variable 'obj' set but not used [-Wunused-but-set-variable] const void CNEARTREE_FAR * obj; ^~~ ./CNearTree.c:1577:16: warning: variable 'dTempLeftRight' set but not used [-Wunused-but-set-variable] double dTempLeftRight = 0; ^~~~~~~~~~~~~~ ./CNearTree.c: In function 'CNearTreeNodeInsert_Flip': ./CNearTree.c:1707:36: warning: variable 'obj' set but not used [-Wunused-but-set-variable] const void CNEARTREE_FAR * obj; ^~~ ./CNearTree.c: In function 'CNearTreeCompleteDelayedInsert': ./CNearTree.c:1978:16: warning: variable 'dummyrand' set but not used [-Wunused-but-set-variable] double dummyrand; ^~~~~~~~~ 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 -ansi -pedantic -DCNEARTREE_SAFE_TRIANG=1 -I. -DCNEARTREE_INSTRUMENTED ./CNearTreeTest.c ./CNearTree.c ./lib64/libCNearTree.la -lCVector -lm \ -o bin/CNearTreeTestInst 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 -ansi -pedantic -DCNEARTREE_SAFE_TRIANG=1 -I. -DCNEARTREE_INSTRUMENTED ./CNearTreeTest.c ./CNearTree.c -o bin/.libs/CNearTreeTestInst ./lib64/.libs/libCNearTree.so -lCVector -lm -Wl,-rpath -Wl,/usr/local/lib64 ./CNearTreeTest.c: In function 'testEmptyTree': ./CNearTreeTest.c:163:25: warning: variable 'nFar' set but not used [-Wunused-but-set-variable] int CNEARTREE_FAR * nFar; ^~~~ ./CNearTreeTest.c:161:25: warning: variable 'close' set but not used [-Wunused-but-set-variable] int CNEARTREE_FAR * close; ^~~~~ ./CNearTreeTest.c: In function 'testFindLastObject': ./CNearTreeTest.c:508:12: warning: variable 'fFinal' set but not used [-Wunused-but-set-variable] double fFinal; ^~~~~~ ./CNearTreeTest.c: In function 'testBigVector': ./CNearTreeTest.c:1337:28: warning: variable 'vExtreme' set but not used [-Wunused-but-set-variable] double CNEARTREE_FAR * vExtreme; ^~~~~~~~ ./CNearTree.c: In function 'CNearTreeGetDimEstimate': ./CNearTree.c:1179:13: warning: variable 'bResult' set but not used [-Wunused-but-set-variable] int bResult; ^~~~~~~ ./CNearTree.c:1178:16: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] double dummy; ^~~~~ ./CNearTree.c:1171:16: warning: variable 'probe_index' set but not used [-Wunused-but-set-variable] size_t probe_index; ^~~~~~~~~~~ ./CNearTree.c: In function 'CNearTreeNodeInsert': ./CNearTree.c:1582:36: warning: variable 'obj' set but not used [-Wunused-but-set-variable] const void CNEARTREE_FAR * obj; ^~~ ./CNearTree.c:1577:16: warning: variable 'dTempLeftRight' set but not used [-Wunused-but-set-variable] double dTempLeftRight = 0; ^~~~~~~~~~~~~~ ./CNearTree.c: In function 'CNearTreeNodeInsert_Flip': ./CNearTree.c:1707:36: warning: variable 'obj' set but not used [-Wunused-but-set-variable] const void CNEARTREE_FAR * obj; ^~~ ./CNearTree.c: In function 'CNearTreeCompleteDelayedInsert': ./CNearTree.c:1978:16: warning: variable 'dummyrand' set but not used [-Wunused-but-set-variable] double dummyrand; ^~~~~~~~~ mkdir -p /builddir/build/BUILDROOT/NearTree-3.1.1-8.fc28.riscv64/usr mkdir -p /builddir/build/BUILDROOT/NearTree-3.1.1-8.fc28.riscv64/usr/lib64 mkdir -p /builddir/build/BUILDROOT/NearTree-3.1.1-8.fc28.riscv64/usr/include libtool --mode=install cp ./lib64/libCNearTree.la /builddir/build/BUILDROOT/NearTree-3.1.1-8.fc28.riscv64/usr/lib64/libCNearTree.la libtool: install: cp ./lib64/.libs/libCNearTree.so.5.1.0 /builddir/build/BUILDROOT/NearTree-3.1.1-8.fc28.riscv64/usr/lib64/libCNearTree.so.5.1.0 libtool: install: (cd /builddir/build/BUILDROOT/NearTree-3.1.1-8.fc28.riscv64/usr/lib64 && { ln -s -f libCNearTree.so.5.1.0 libCNearTree.so.5 || { rm -f libCNearTree.so.5 && ln -s libCNearTree.so.5.1.0 libCNearTree.so.5; }; }) libtool: install: (cd /builddir/build/BUILDROOT/NearTree-3.1.1-8.fc28.riscv64/usr/lib64 && { ln -s -f libCNearTree.so.5.1.0 libCNearTree.so || { rm -f libCNearTree.so && ln -s libCNearTree.so.5.1.0 libCNearTree.so; }; }) libtool: install: cp ./lib64/.libs/libCNearTree.lai /builddir/build/BUILDROOT/NearTree-3.1.1-8.fc28.riscv64/usr/lib64/libCNearTree.la libtool: install: cp ./lib64/.libs/libCNearTree.a /builddir/build/BUILDROOT/NearTree-3.1.1-8.fc28.riscv64/usr/lib64/libCNearTree.a libtool: install: chmod 644 /builddir/build/BUILDROOT/NearTree-3.1.1-8.fc28.riscv64/usr/lib64/libCNearTree.a libtool: install: ranlib /builddir/build/BUILDROOT/NearTree-3.1.1-8.fc28.riscv64/usr/lib64/libCNearTree.a libtool: warning: remember to run 'libtool --finish /usr/local/lib64' libtool --mode=finish /builddir/build/BUILDROOT/NearTree-3.1.1-8.fc28.riscv64/usr/lib64/libCNearTree.la cp /builddir/build/BUILDROOT/NearTree-3.1.1-8.fc28.riscv64/usr/include/TNear.h /builddir/build/BUILDROOT/NearTree-3.1.1-8.fc28.riscv64/usr/include/TNear_old.h cp: cannot stat '/builddir/build/BUILDROOT/NearTree-3.1.1-8.fc28.riscv64/usr/include/TNear.h': No such file or directory make: [Makefile:233: install] Error 1 (ignored) cp /builddir/build/BUILDROOT/NearTree-3.1.1-8.fc28.riscv64/usr/include/CNearTree.h /builddir/build/BUILDROOT/NearTree-3.1.1-8.fc28.riscv64/usr/include/CNearTree_old.h cp: cannot stat '/builddir/build/BUILDROOT/NearTree-3.1.1-8.fc28.riscv64/usr/include/CNearTree.h': No such file or directory make: [Makefile:234: install] Error 1 (ignored) cp ./TNear.h /builddir/build/BUILDROOT/NearTree-3.1.1-8.fc28.riscv64/usr/include/TNear.h cp ./rhrand.h /builddir/build/BUILDROOT/NearTree-3.1.1-8.fc28.riscv64/usr/include/rhrand.h cp ./triple.h /builddir/build/BUILDROOT/NearTree-3.1.1-8.fc28.riscv64/usr/include/triple.h cp ./CNearTree.h /builddir/build/BUILDROOT/NearTree-3.1.1-8.fc28.riscv64/usr/include/CNearTree.h chmod 644 /builddir/build/BUILDROOT/NearTree-3.1.1-8.fc28.riscv64/usr/include/TNear.h chmod 644 /builddir/build/BUILDROOT/NearTree-3.1.1-8.fc28.riscv64/usr/include/CNearTree.h chmod 644 /builddir/build/BUILDROOT/NearTree-3.1.1-8.fc28.riscv64/usr/include/rhrand.h chmod 644 /builddir/build/BUILDROOT/NearTree-3.1.1-8.fc28.riscv64/usr/include/triple.h echo "Testing final install dynamic" Testing final install dynamic libtool --mode=link gcc -no-undefined -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 -ansi -pedantic -DCNEARTREE_SAFE_TRIANG=1 -rdynamic -I/builddir/build/BUILDROOT/NearTree-3.1.1-8.fc28.riscv64/usr/include -I. ./CNearTreeTest.c \ -L/builddir/build/BUILDROOT/NearTree-3.1.1-8.fc28.riscv64/usr/lib64 -lCNearTree -lCVector -lm -o ./bin/CNearTreeTest_dynamic libtool: warning: library '/builddir/build/BUILDROOT/NearTree-3.1.1-8.fc28.riscv64/usr/lib64/libCNearTree.la' was moved. libtool: warning: library '/builddir/build/BUILDROOT/NearTree-3.1.1-8.fc28.riscv64/usr/lib64/libCNearTree.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 -ansi -pedantic -DCNEARTREE_SAFE_TRIANG=1 -rdynamic -I/builddir/build/BUILDROOT/NearTree-3.1.1-8.fc28.riscv64/usr/include -I. ./CNearTreeTest.c -o ./bin/CNearTreeTest_dynamic -L/builddir/build/BUILDROOT/NearTree-3.1.1-8.fc28.riscv64/usr/lib64 /builddir/build/BUILDROOT/NearTree-3.1.1-8.fc28.riscv64/usr/lib64/libCNearTree.so -lCVector -lm -Wl,-rpath -Wl,/builddir/build/BUILDROOT/NearTree-3.1.1-8.fc28.riscv64/usr/lib64 -Wl,-rpath -Wl,/builddir/build/BUILDROOT/NearTree-3.1.1-8.fc28.riscv64/usr/lib64 ./CNearTreeTest.c: In function 'testEmptyTree': ./CNearTreeTest.c:163:25: warning: variable 'nFar' set but not used [-Wunused-but-set-variable] int CNEARTREE_FAR * nFar; ^~~~ ./CNearTreeTest.c:161:25: warning: variable 'close' set but not used [-Wunused-but-set-variable] int CNEARTREE_FAR * close; ^~~~~ ./CNearTreeTest.c: In function 'testFindLastObject': ./CNearTreeTest.c:508:12: warning: variable 'fFinal' set but not used [-Wunused-but-set-variable] double fFinal; ^~~~~~ ./CNearTreeTest.c: In function 'testBigVector': ./CNearTreeTest.c:1337:28: warning: variable 'vExtreme' set but not used [-Wunused-but-set-variable] double CNEARTREE_FAR * vExtreme; ^~~~~~~~ ./bin/CNearTreeTest_dynamic testFindFirstObject testFindLastObject testFindInSphereFromBottom testFindInSphereFromTop testFindOutSphere testFindInAnnulus testRandomTree1 testBackwardForward testBigVector testDelayedInsertion testKNearFar test4Sphere testStrings No errors were detected while testing CNearTree 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 -ansi -pedantic -DCNEARTREE_SAFE_TRIANG=1 -static-libtool-libs -I/builddir/build/BUILDROOT/NearTree-3.1.1-8.fc28.riscv64/usr/include -I. ./CNearTreeTest.c \ -L/builddir/build/BUILDROOT/NearTree-3.1.1-8.fc28.riscv64/usr/lib64 -lCNearTree -lCVector -lm -o ./bin/CNearTreeTest_static libtool: warning: library '/builddir/build/BUILDROOT/NearTree-3.1.1-8.fc28.riscv64/usr/lib64/libCNearTree.la' was moved. libtool: warning: library '/builddir/build/BUILDROOT/NearTree-3.1.1-8.fc28.riscv64/usr/lib64/libCNearTree.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 -ansi -pedantic -DCNEARTREE_SAFE_TRIANG=1 -I/builddir/build/BUILDROOT/NearTree-3.1.1-8.fc28.riscv64/usr/include -I. ./CNearTreeTest.c -o ./bin/CNearTreeTest_static -L/builddir/build/BUILDROOT/NearTree-3.1.1-8.fc28.riscv64/usr/lib64 /builddir/build/BUILDROOT/NearTree-3.1.1-8.fc28.riscv64/usr/lib64/libCNearTree.a -lCVector -lm ./CNearTreeTest.c: In function 'testEmptyTree': ./CNearTreeTest.c:163:25: warning: variable 'nFar' set but not used [-Wunused-but-set-variable] int CNEARTREE_FAR * nFar; ^~~~ ./CNearTreeTest.c:161:25: warning: variable 'close' set but not used [-Wunused-but-set-variable] int CNEARTREE_FAR * close; ^~~~~ ./CNearTreeTest.c: In function 'testFindLastObject': ./CNearTreeTest.c:508:12: warning: variable 'fFinal' set but not used [-Wunused-but-set-variable] double fFinal; ^~~~~~ ./CNearTreeTest.c: In function 'testBigVector': ./CNearTreeTest.c:1337:28: warning: variable 'vExtreme' set but not used [-Wunused-but-set-variable] double CNEARTREE_FAR * vExtreme; ^~~~~~~~ ./bin/CNearTreeTest_static testFindFirstObject CNearTreeTest: testFindLastObject: CNearTreeNearestNeighbor failed for double, got 1 CNearTreeTest: testFindLastObject: CNearTreeFarthestNeighbor failed for double, got 1 testFindLastObject testFindInSphereFromBottom testFindInSphereFromTop testFindOutSphere testFindInAnnulus testRandomTree1 testBackwardForward testBigVector testDelayedInsertion testKNearFar test4Sphere testStrings make: *** [Makefile:248: install] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.JZ5Vlt (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.JZ5Vlt (%install) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync Terminated ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff