Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ann.spec'], chrootPath='/var/lib/mock/f40-build-801199-143703/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ann.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1705881600 Wrote: /builddir/build/SRPMS/ann-1.1.2-27.fc40.src.rpm RPM build warnings: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ann.spec'], chrootPath='/var/lib/mock/f40-build-801199-143703/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ann.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1705881600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.VgubEZ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ann_1.1.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ann_1.1.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ann_1.1.2 + rm -rf /builddir/build/BUILD/ann_1.1.2-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/ann_1.1.2-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (ann-make.patch):' Patch #0 (ann-make.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .make --fuzz=0 patching file Make-config patching file Makefile patching file src/Makefile + echo 'Patch #1 (ann-gcc43.patch):' Patch #1 (ann-gcc43.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .gcc43 --fuzz=0 patching file src/kd_dump.cpp patching file test/ann_test.cpp + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6ErSb2 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ann_1.1.2 + /usr/bin/make -O -j4 V=1 VERBOSE=1 linux 'CFLAGS=-fPIC -DPIC -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer' cd src ; /usr/bin/make linux /usr/bin/make targets \ "ANNLIB = libANN.so.1.0" \ "ANNDEVLIB = libANN.so" \ "C++ = g++" \ "MAKELIB = g++ -shared -Wl,-soname -Wl,libANN.so.1 -o" \ "RANLIB = true" make[2]: Entering directory '/builddir/build/BUILD/ann_1.1.2/src' g++ -c -I../include -fPIC -DPIC -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer brute.cpp make[2]: Leaving directory '/builddir/build/BUILD/ann_1.1.2/src' In file included from brute.cpp:28: pr_queue_k.h: In member function ‘void ANNmin_k::insert(PQKkey, PQKinfo)’: pr_queue_k.h:103:38: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 103 | register int i; | ^ make[2]: Entering directory '/builddir/build/BUILD/ann_1.1.2/src' g++ -c -I../include -fPIC -DPIC -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ANN.cpp make[2]: Leaving directory '/builddir/build/BUILD/ann_1.1.2/src' ANN.cpp: In function ‘ANNdist annDist(int, ANNpoint, ANNpoint)’: ANN.cpp:51:22: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 51 | register int d; | ^ ANN.cpp:52:27: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 52 | register ANNcoord diff; | ^~~~ ANN.cpp:53:27: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 53 | register ANNcoord dist; | ^~~~ make[2]: Entering directory '/builddir/build/BUILD/ann_1.1.2/src' g++ -c -I../include -fPIC -DPIC -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer kd_tree.cpp make[2]: Leaving directory '/builddir/build/BUILD/ann_1.1.2/src' make[2]: Entering directory '/builddir/build/BUILD/ann_1.1.2/src' g++ -c -I../include -fPIC -DPIC -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer kd_util.cpp make[2]: Leaving directory '/builddir/build/BUILD/ann_1.1.2/src' kd_util.cpp: In function ‘ANNdist annBoxDistance(ANNpoint, ANNpoint, ANNpoint, int)’: kd_util.cpp:130:26: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 130 | register ANNdist dist = 0.0; // sum of squared distances | ^~~~ kd_util.cpp:131:26: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 131 | register ANNdist t; | ^ kd_util.cpp:133:27: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 133 | for (register int d = 0; d < dim; d++) { | ^ kd_util.cpp: In function ‘void annMedianSplit(ANNpointArray, ANNidxArray, int, int, ANNcoord&, int)’: kd_util.cpp:241:30: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 241 | register int i = (r+l)/2; // select middle as pivot | ^ kd_util.cpp:242:30: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 242 | register int k; | ^ make[2]: Entering directory '/builddir/build/BUILD/ann_1.1.2/src' g++ -c -I../include -fPIC -DPIC -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer kd_split.cpp make[2]: Leaving directory '/builddir/build/BUILD/ann_1.1.2/src' make[2]: Entering directory '/builddir/build/BUILD/ann_1.1.2/src' g++ -c -I../include -fPIC -DPIC -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer kd_search.cpp In file included from kd_search.h:30, from kd_search.cpp:27: pr_queue_k.h: In member function ‘void ANNmin_k::insert(PQKkey, PQKinfo)’: pr_queue_k.h:103:38: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 103 | register int i; | ^ kd_search.cpp: In member function ‘virtual void ANNkd_leaf::ann_search(ANNdist)’: kd_search.cpp:174:26: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 174 | register ANNdist dist; // distance to data point | ^~~~ kd_search.cpp:175:28: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 175 | register ANNcoord* pp; // data coordinate pointer | ^~ kd_search.cpp:176:28: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 176 | register ANNcoord* qq; // query coordinate pointer | ^~ kd_search.cpp:177:26: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 177 | register ANNdist min_dist; // distance to k-th closest point | ^~~~~~~~ kd_search.cpp:178:27: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 178 | register ANNcoord t; | ^ kd_search.cpp:179:22: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 179 | register int d; | ^ make[2]: Leaving directory '/builddir/build/BUILD/ann_1.1.2/src' make[2]: Entering directory '/builddir/build/BUILD/ann_1.1.2/src' g++ -c -I../include -fPIC -DPIC -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer kd_pr_search.cpp make[2]: Leaving directory '/builddir/build/BUILD/ann_1.1.2/src' In file included from kd_pr_search.h:30, from kd_pr_search.cpp:25: pr_queue.h: In member function ‘void ANNpr_queue::insert(PQkey, PQinfo)’: pr_queue.h:89:38: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 89 | register int r = n; | ^ pr_queue.h:91:46: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 91 | register int p = r/2; | ^ pr_queue.h: In member function ‘void ANNpr_queue::extr_min(PQkey&, void*&)’: pr_queue.h:108:40: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 108 | register PQkey kn = pq[n--].key;// last item in queue | ^~ pr_queue.h:109:38: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 109 | register int p = 1; // p points to item out of position | ^ pr_queue.h:110:38: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 110 | register int r = p<<1; // left child of p | ^ In file included from kd_pr_search.h:31: pr_queue_k.h: In member function ‘void ANNmin_k::insert(PQKkey, PQKinfo)’: pr_queue_k.h:103:38: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 103 | register int i; | ^ kd_pr_search.cpp: In member function ‘virtual void ANNkd_leaf::ann_pri_search(ANNdist)’: kd_pr_search.cpp:183:26: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 183 | register ANNdist dist; // distance to data point | ^~~~ kd_pr_search.cpp:184:28: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 184 | register ANNcoord* pp; // data coordinate pointer | ^~ kd_pr_search.cpp:185:28: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 185 | register ANNcoord* qq; // query coordinate pointer | ^~ kd_pr_search.cpp:186:26: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 186 | register ANNdist min_dist; // distance to k-th closest point | ^~~~~~~~ kd_pr_search.cpp:187:27: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 187 | register ANNcoord t; | ^ kd_pr_search.cpp:188:22: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 188 | register int d; | ^ make[2]: Entering directory '/builddir/build/BUILD/ann_1.1.2/src' g++ -c -I../include -fPIC -DPIC -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer kd_dump.cpp make[2]: Leaving directory '/builddir/build/BUILD/ann_1.1.2/src' make[2]: Entering directory '/builddir/build/BUILD/ann_1.1.2/src' g++ -c -I../include -fPIC -DPIC -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer kd_fix_rad_search.cpp In file included from kd_fix_rad_search.h:30, from kd_fix_rad_search.cpp:25: pr_queue_k.h: In member function ‘void ANNmin_k::insert(PQKkey, PQKinfo)’: pr_queue_k.h:103:38: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 103 | register int i; | ^ kd_fix_rad_search.cpp: In member function ‘virtual void ANNkd_leaf::ann_FR_search(ANNdist)’: kd_fix_rad_search.cpp:150:26: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 150 | register ANNdist dist; // distance to data point | ^~~~ kd_fix_rad_search.cpp:151:28: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 151 | register ANNcoord* pp; // data coordinate pointer | ^~ kd_fix_rad_search.cpp:152:28: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 152 | register ANNcoord* qq; // query coordinate pointer | ^~ kd_fix_rad_search.cpp:153:27: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 153 | register ANNcoord t; | ^ kd_fix_rad_search.cpp:154:22: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 154 | register int d; | ^ make[2]: Leaving directory '/builddir/build/BUILD/ann_1.1.2/src' make[2]: Entering directory '/builddir/build/BUILD/ann_1.1.2/src' g++ -c -I../include -fPIC -DPIC -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer bd_search.cpp make[2]: Leaving directory '/builddir/build/BUILD/ann_1.1.2/src' In file included from kd_search.h:30, from bd_search.cpp:26: pr_queue_k.h: In member function ‘void ANNmin_k::insert(PQKkey, PQKinfo)’: pr_queue_k.h:103:38: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 103 | register int i; | ^ make[2]: Entering directory '/builddir/build/BUILD/ann_1.1.2/src' g++ -c -I../include -fPIC -DPIC -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer bd_pr_search.cpp In file included from kd_pr_search.h:30, from bd_pr_search.cpp:26: pr_queue.h: In member function ‘void ANNpr_queue::insert(PQkey, PQinfo)’: pr_queue.h:89:38: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 89 | register int r = n; | ^ pr_queue.h:91:46: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 91 | register int p = r/2; | ^ pr_queue.h: In member function ‘void ANNpr_queue::extr_min(PQkey&, void*&)’: pr_queue.h:108:40: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 108 | register PQkey kn = pq[n--].key;// last item in queue | ^~ pr_queue.h:109:38: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 109 | register int p = 1; // p points to item out of position | ^ pr_queue.h:110:38: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 110 | register int r = p<<1; // left child of p | ^ In file included from kd_pr_search.h:31: pr_queue_k.h: In member function ‘void ANNmin_k::insert(PQKkey, PQKinfo)’: pr_queue_k.h:103:38: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 103 | register int i; | ^ make[2]: Leaving directory '/builddir/build/BUILD/ann_1.1.2/src' make[2]: Entering directory '/builddir/build/BUILD/ann_1.1.2/src' g++ -c -I../include -fPIC -DPIC -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer bd_tree.cpp make[2]: Leaving directory '/builddir/build/BUILD/ann_1.1.2/src' make[2]: Entering directory '/builddir/build/BUILD/ann_1.1.2/src' g++ -c -I../include -fPIC -DPIC -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer bd_fix_rad_search.cpp In file included from kd_fix_rad_search.h:30, from bd_fix_rad_search.cpp:26: pr_queue_k.h: In member function ‘void ANNmin_k::insert(PQKkey, PQKinfo)’: pr_queue_k.h:103:38: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 103 | register int i; | ^ make[2]: Leaving directory '/builddir/build/BUILD/ann_1.1.2/src' make[2]: Entering directory '/builddir/build/BUILD/ann_1.1.2/src' g++ -c -I../include -fPIC -DPIC -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer perf.cpp make[2]: Leaving directory '/builddir/build/BUILD/ann_1.1.2/src' make[2]: Entering directory '/builddir/build/BUILD/ann_1.1.2/src' g++ -shared -Wl,-soname -Wl,libANN.so.1 -o libANN.so.1.0 ANN.o brute.o kd_tree.o kd_util.o kd_split.o kd_dump.o kd_search.o kd_pr_search.o kd_fix_rad_search.o bd_tree.o bd_search.o bd_pr_search.o bd_fix_rad_search.o perf.o true libANN.so.1.0 ln -s libANN.so.1.0 libANN.so mv libANN.so.1.0 libANN.so ../lib make[2]: Leaving directory '/builddir/build/BUILD/ann_1.1.2/src' cd test ; /usr/bin/make linux /usr/bin/make targets \ "ANNLIB = libANN.so.1.0" \ "ANNDEVLIB = libANN.so" \ "C++ = g++" \ "MAKELIB = g++ -shared -Wl,-soname -Wl,libANN.so.1 -o" \ "RANLIB = true" make[2]: Entering directory '/builddir/build/BUILD/ann_1.1.2/test' g++ -c -I../include -fPIC -DPIC -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer rand.cpp make[2]: Leaving directory '/builddir/build/BUILD/ann_1.1.2/test' make[2]: Entering directory '/builddir/build/BUILD/ann_1.1.2/test' g++ -c -I../include -fPIC -DPIC -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ann_test.cpp make[2]: Leaving directory '/builddir/build/BUILD/ann_1.1.2/test' ann_test.cpp: In function ‘int main(int, char**)’: ann_test.cpp:1068:41: warning: ‘method’ may be used uninitialized [-Wmaybe-uninitialized] 1068 | if (method != STANDARD) { | ^~ ann_test.cpp:992:51: note: ‘method’ was declared here 992 | enum {STANDARD, PRIORITY} method; | ^~~~~~ make[2]: Entering directory '/builddir/build/BUILD/ann_1.1.2/test' g++ ann_test.o rand.o -o ann_test -L../lib -lANN -lm mv ann_test ../bin make[2]: Leaving directory '/builddir/build/BUILD/ann_1.1.2/test' cd sample ; /usr/bin/make linux /usr/bin/make targets \ "ANNLIB = libANN.so.1.0" \ "ANNDEVLIB = libANN.so" \ "C++ = g++" \ "MAKELIB = g++ -shared -Wl,-soname -Wl,libANN.so.1 -o" \ "RANLIB = true" make[2]: Entering directory '/builddir/build/BUILD/ann_1.1.2/sample' g++ -c -I../include -fPIC -DPIC -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ann_sample.cpp make[2]: Leaving directory '/builddir/build/BUILD/ann_1.1.2/sample' make[2]: Entering directory '/builddir/build/BUILD/ann_1.1.2/sample' g++ ann_sample.o -o ann_sample -L../lib -lANN -lm mv ann_sample ../bin make[2]: Leaving directory '/builddir/build/BUILD/ann_1.1.2/sample' cd ann2fig ; /usr/bin/make linux /usr/bin/make targets \ "ANNLIB = libANN.so.1.0" \ "ANNDEVLIB = libANN.so" \ "C++ = g++" \ "MAKELIB = g++ -shared -Wl,-soname -Wl,libANN.so.1 -o" \ "RANLIB = true" make[2]: Entering directory '/builddir/build/BUILD/ann_1.1.2/ann2fig' g++ -c -I../include ann2fig.cpp ann2fig.cpp:583:1: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type] 583 | main(int argc, char **argv) | ^~~~ make[2]: Leaving directory '/builddir/build/BUILD/ann_1.1.2/ann2fig' make[2]: Entering directory '/builddir/build/BUILD/ann_1.1.2/ann2fig' g++ ann2fig.o -o ann2fig -L../lib -lANN -lm mv ann2fig ../bin make[2]: Leaving directory '/builddir/build/BUILD/ann_1.1.2/ann2fig' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.55eeHb + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ann-1.1.2-27.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ann-1.1.2-27.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/ann-1.1.2-27.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ann-1.1.2-27.fc40.riscv64 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ann_1.1.2 + mkdir -p /builddir/build/BUILDROOT/ann-1.1.2-27.fc40.riscv64/usr/include/ANN + mkdir -p /builddir/build/BUILDROOT/ann-1.1.2-27.fc40.riscv64/usr/lib64 + mkdir -p /builddir/build/BUILDROOT/ann-1.1.2-27.fc40.riscv64/usr/lib64/pkgconfig + mkdir -p /builddir/build/BUILDROOT/ann-1.1.2-27.fc40.riscv64/usr/bin + install -p -m 0644 include/ANN/ANN.h include/ANN/ANNperf.h include/ANN/ANNx.h /builddir/build/BUILDROOT/ann-1.1.2-27.fc40.riscv64/usr/include/ANN + install -p -m 0755 lib/libANN.so.1.0 /builddir/build/BUILDROOT/ann-1.1.2-27.fc40.riscv64/usr/lib64 + install -p -m 0755 bin/ann2fig /builddir/build/BUILDROOT/ann-1.1.2-27.fc40.riscv64/usr/bin + pushd /builddir/build/BUILDROOT/ann-1.1.2-27.fc40.riscv64/usr/lib64 ~/build/BUILDROOT/ann-1.1.2-27.fc40.riscv64/usr/lib64 ~/build/BUILD/ann_1.1.2 + ln -s libANN.so.1.0 libANN.so.1 + ln -s libANN.so.1.0 libANN.so + popd ~/build/BUILD/ann_1.1.2 + cat + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 1.1.2-27.fc40 --unique-debug-suffix -1.1.2-27.fc40.riscv64 --unique-debug-src-base ann-1.1.2-27.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/ann_1.1.2 find-debuginfo: starting Extracting debug info from 2 files Error while writing index for `/builddir/build/BUILDROOT/ann-1.1.2-27.fc40.riscv64/usr/bin/ann2fig': No debugging symbols gdb-add-index: No index was created for /builddir/build/BUILDROOT/ann-1.1.2-27.fc40.riscv64/usr/bin/ann2fig gdb-add-index: [Was there no debuginfo? Was there already an index?] DWARF-compressing 2 files dwz: Too few files for multifile optimization sepdebugcrcfix: Updated 1 CRC32s, 1 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/ann-1.1.2-27.fc40.riscv64 418 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: ann-1.1.2-27.fc40.riscv64 Provides: ann = 1.1.2-27.fc40 ann(riscv-64) = 1.1.2-27.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libANN.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.32)(64bit) rtld(GNU_HASH) Processing files: ann-libs-1.1.2-27.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.JciW7p + umask 022 + cd /builddir/build/BUILD + cd ann_1.1.2 + DOCDIR=/builddir/build/BUILDROOT/ann-1.1.2-27.fc40.riscv64/usr/share/doc/ann-libs + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ann-1.1.2-27.fc40.riscv64/usr/share/doc/ann-libs + cp -pr /builddir/build/BUILD/ann_1.1.2/Copyright.txt /builddir/build/BUILDROOT/ann-1.1.2-27.fc40.riscv64/usr/share/doc/ann-libs + cp -pr /builddir/build/BUILD/ann_1.1.2/License.txt /builddir/build/BUILDROOT/ann-1.1.2-27.fc40.riscv64/usr/share/doc/ann-libs + cp -pr /builddir/build/BUILD/ann_1.1.2/ReadMe.txt /builddir/build/BUILDROOT/ann-1.1.2-27.fc40.riscv64/usr/share/doc/ann-libs + RPM_EC=0 ++ jobs -p + exit 0 Provides: ann-libs = 1.1.2-27.fc40 ann-libs(riscv-64) = 1.1.2-27.fc40 libANN.so.1()(64bit) 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) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.8)(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.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.32)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH) Processing files: ann-devel-1.1.2-27.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Te5Iyw + umask 022 + cd /builddir/build/BUILD + cd ann_1.1.2 + DOCDIR=/builddir/build/BUILDROOT/ann-1.1.2-27.fc40.riscv64/usr/share/doc/ann-devel + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ann-1.1.2-27.fc40.riscv64/usr/share/doc/ann-devel + cp -pr /builddir/build/BUILD/ann_1.1.2/doc/ANNmanual.pdf /builddir/build/BUILDROOT/ann-1.1.2-27.fc40.riscv64/usr/share/doc/ann-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: ann-devel = 1.1.2-27.fc40 ann-devel(riscv-64) = 1.1.2-27.fc40 pkgconfig(ann) = 1.1.2 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libANN.so.1()(64bit) Processing files: ann-debugsource-1.1.2-27.fc40.riscv64 Provides: ann-debugsource = 1.1.2-27.fc40 ann-debugsource(riscv-64) = 1.1.2-27.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ann-debuginfo-1.1.2-27.fc40.riscv64 Provides: ann-debuginfo = 1.1.2-27.fc40 ann-debuginfo(riscv-64) = 1.1.2-27.fc40 debuginfo(build-id) = 4dd4c06c40ad1021f4a8ea17e7e369b680932141 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ann-debugsource(riscv-64) = 1.1.2-27.fc40 Processing files: ann-libs-debuginfo-1.1.2-27.fc40.riscv64 Provides: ann-libs-debuginfo = 1.1.2-27.fc40 ann-libs-debuginfo(riscv-64) = 1.1.2-27.fc40 debuginfo(build-id) = a4939861c4a0de0f44de0c19378c189a860927e4 libANN.so.1.0-1.1.2-27.fc40.riscv64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ann-debugsource(riscv-64) = 1.1.2-27.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ann-1.1.2-27.fc40.riscv64 Wrote: /builddir/build/RPMS/ann-libs-1.1.2-27.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/ann-devel-1.1.2-27.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/ann-1.1.2-27.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/ann-libs-debuginfo-1.1.2-27.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/ann-debuginfo-1.1.2-27.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/ann-debugsource-1.1.2-27.fc40.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.wQoiMm + umask 022 + cd /builddir/build/BUILD + cd ann_1.1.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ann-1.1.2-27.fc40.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.cTQNjq + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/ann_1.1.2-SPECPARTS + rm -rf ann_1.1.2 ann_1.1.2.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Child return code was: 0