Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/ann.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-90374-59041/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/ann-1.1.2-1.oc9.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 --noclean --target aarch64 --nodeps /builddir/build/SPECS/ann.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-90374-59041/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0Vskha + 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 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (ann-make.patch): + echo '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 Patch #1 (ann-gcc43.patch): + echo '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.xnQZBR + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + 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 -j8 V=1 VERBOSE=1 linux 'CFLAGS=-fPIC -DPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection kd_search.cpp make[2]: Leaving directory '/builddir/build/BUILD/ann_1.1.2/src' 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]: Entering directory '/builddir/build/BUILD/ann_1.1.2/src' g++ -c -I../include -fPIC -DPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection bd_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 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]: Entering directory '/builddir/build/BUILD/ann_1.1.2/src' g++ -c -I../include -fPIC -DPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection bd_fix_rad_search.cpp make[2]: Leaving directory '/builddir/build/BUILD/ann_1.1.2/src' 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]: Entering directory '/builddir/build/BUILD/ann_1.1.2/src' g++ -c -I../include -fPIC -DPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection kd_fix_rad_search.cpp make[2]: Leaving directory '/builddir/build/BUILD/ann_1.1.2/src' 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]: Entering directory '/builddir/build/BUILD/ann_1.1.2/src' g++ -c -I../include -fPIC -DPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection 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++ -c -I../include -fPIC -DPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection 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++ -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection ann_test.cpp make[2]: Leaving directory '/builddir/build/BUILD/ann_1.1.2/test' ann_test.cpp: In function 'main': ann_test.cpp:1047:41: warning: 'method' may be used uninitialized [-Wmaybe-uninitialized] 1047 | 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection 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 make[2]: Leaving directory '/builddir/build/BUILD/ann_1.1.2/ann2fig' ann2fig.cpp:583:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type] 583 | main(int argc, char **argv) | ^~~~ 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.hGob0m + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ann-1.1.2-1.oc9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ann-1.1.2-1.oc9.aarch64 ++ dirname /builddir/build/BUILDROOT/ann-1.1.2-1.oc9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ann-1.1.2-1.oc9.aarch64 + cd ann_1.1.2 + mkdir -p /builddir/build/BUILDROOT/ann-1.1.2-1.oc9.aarch64/usr/include/ANN + mkdir -p /builddir/build/BUILDROOT/ann-1.1.2-1.oc9.aarch64/usr/lib64 + mkdir -p /builddir/build/BUILDROOT/ann-1.1.2-1.oc9.aarch64/usr/lib64/pkgconfig + mkdir -p /builddir/build/BUILDROOT/ann-1.1.2-1.oc9.aarch64/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-1.oc9.aarch64/usr/include/ANN + install -p -m 0755 lib/libANN.so.1.0 /builddir/build/BUILDROOT/ann-1.1.2-1.oc9.aarch64/usr/lib64 + install -p -m 0755 bin/ann2fig /builddir/build/BUILDROOT/ann-1.1.2-1.oc9.aarch64/usr/bin + pushd /builddir/build/BUILDROOT/ann-1.1.2-1.oc9.aarch64/usr/lib64 + ln -s libANN.so.1.0 libANN.so.1 ~/build/BUILDROOT/ann-1.1.2-1.oc9.aarch64/usr/lib64 ~/build/BUILD/ann_1.1.2 + ln -s libANN.so.1.0 libANN.so + popd ~/build/BUILD/ann_1.1.2 + cat + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 1.1.2-1.oc9 --unique-debug-suffix -1.1.2-1.oc9.aarch64 --unique-debug-src-base ann-1.1.2-1.oc9.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/ann_1.1.2 extracting debug info from /builddir/build/BUILDROOT/ann-1.1.2-1.oc9.aarch64/usr/lib64/libANN.so.1.0 extracting debug info from /builddir/build/BUILDROOT/ann-1.1.2-1.oc9.aarch64/usr/bin/ann2fig Error while writing index for `/builddir/build/BUILDROOT/ann-1.1.2-1.oc9.aarch64/usr/bin/ann2fig': No debugging symbols gdb-add-index: No index was created for /builddir/build/BUILDROOT/ann-1.1.2-1.oc9.aarch64/usr/bin/ann2fig gdb-add-index: [Was there no debuginfo? Was there already an index?] 418 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: ann-1.1.2-1.oc9.aarch64 Provides: ann = 1.1.2-1.oc9 ann(aarch-64) = 1.1.2-1.oc9 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.17)(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) rtld(GNU_HASH) Processing files: ann-libs-1.1.2-1.oc9.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.OViYBw + umask 022 + cd /builddir/build/BUILD + cd ann_1.1.2 + DOCDIR=/builddir/build/BUILDROOT/ann-1.1.2-1.oc9.aarch64/usr/share/doc/ann-libs + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ann-1.1.2-1.oc9.aarch64/usr/share/doc/ann-libs + cp -pr Copyright.txt /builddir/build/BUILDROOT/ann-1.1.2-1.oc9.aarch64/usr/share/doc/ann-libs + cp -pr License.txt /builddir/build/BUILDROOT/ann-1.1.2-1.oc9.aarch64/usr/share/doc/ann-libs + cp -pr ReadMe.txt /builddir/build/BUILDROOT/ann-1.1.2-1.oc9.aarch64/usr/share/doc/ann-libs + RPM_EC=0 ++ jobs -p + exit 0 Provides: ann-libs = 1.1.2-1.oc9 ann-libs(aarch-64) = 1.1.2-1.oc9 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-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.17)(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.9)(64bit) rtld(GNU_HASH) Processing files: ann-devel-1.1.2-1.oc9.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.JldNwY + umask 022 + cd /builddir/build/BUILD + cd ann_1.1.2 + DOCDIR=/builddir/build/BUILDROOT/ann-1.1.2-1.oc9.aarch64/usr/share/doc/ann-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ann-1.1.2-1.oc9.aarch64/usr/share/doc/ann-devel + cp -pr doc/ANNmanual.pdf /builddir/build/BUILDROOT/ann-1.1.2-1.oc9.aarch64/usr/share/doc/ann-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: ann-devel = 1.1.2-1.oc9 ann-devel(aarch-64) = 1.1.2-1.oc9 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-1.oc9.aarch64 Provides: ann-debugsource = 1.1.2-1.oc9 ann-debugsource(aarch-64) = 1.1.2-1.oc9 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-1.oc9.aarch64 Provides: ann-debuginfo = 1.1.2-1.oc9 ann-debuginfo(aarch-64) = 1.1.2-1.oc9 debuginfo(build-id) = 76f7f57c4fa68f7d7a513af7e1af38d035d60986 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ann-debugsource(aarch-64) = 1.1.2-1.oc9 Processing files: ann-libs-debuginfo-1.1.2-1.oc9.aarch64 Provides: ann-libs-debuginfo = 1.1.2-1.oc9 ann-libs-debuginfo(aarch-64) = 1.1.2-1.oc9 debuginfo(build-id) = 2c144fb5f6e60ca9fd307375be30f5914dd0f2db libANN.so.1.0-1.1.2-1.oc9.aarch64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ann-debugsource(aarch-64) = 1.1.2-1.oc9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ann-1.1.2-1.oc9.aarch64 Wrote: /builddir/build/RPMS/ann-debuginfo-1.1.2-1.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/ann-1.1.2-1.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/ann-libs-1.1.2-1.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/ann-debugsource-1.1.2-1.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/ann-libs-debuginfo-1.1.2-1.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/ann-devel-1.1.2-1.oc9.aarch64.rpm RPM build warnings: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Child return code was: 0