Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-gryd.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1682448030.417214/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-gryd.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 /etc/profile.d/system-info.sh: line 55: ps: command not found sh: line 1: lon: command not found sh: line 1: lat: command not found sh: line 1: lon: command not found sh: line 1: lat: command not found sh: line 1: zoom: command not found sh: line 1: width: command not found sh: line 1: height: command not found sh: line 1: token: command not found sh: line 1: lon: command not found sh: line 1: lat: command not found sh: line 1: lon: command not found sh: line 1: lat: command not found sh: line 1: zoom: command not found sh: line 1: width: command not found sh: line 1: height: command not found sh: line 1: token: command not found sh: line 1: lon: command not found sh: line 1: lat: command not found sh: line 1: lon: command not found sh: line 1: lat: command not found sh: line 1: zoom: command not found sh: line 1: width: command not found sh: line 1: height: command not found sh: line 1: token: command not found Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-Gryd-2.0.0-1.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-gryd.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1682448030.417214/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-gryd.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 /etc/profile.d/system-info.sh: line 55: ps: command not found sh: line 1: lon: command not found sh: line 1: lat: command not found sh: line 1: lon: command not found sh: line 1: lat: command not found sh: line 1: zoom: command not found sh: line 1: width: command not found sh: line 1: height: command not found sh: line 1: token: command not found sh: line 1: lon: command not found sh: line 1: lat: command not found sh: line 1: lon: command not found sh: line 1: lat: command not found sh: line 1: zoom: command not found sh: line 1: width: command not found sh: line 1: height: command not found sh: line 1: token: command not found sh: line 1: lon: command not found sh: line 1: lat: command not found sh: line 1: lon: command not found sh: line 1: lat: command not found sh: line 1: zoom: command not found sh: line 1: width: command not found sh: line 1: height: command not found sh: line 1: token: command not found Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-Gryd-2.0.0-1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-gryd.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1682448030.417214/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-gryd.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 /etc/profile.d/system-info.sh: line 55: ps: command not found sh: line 1: lon: command not found sh: line 1: lat: command not found sh: line 1: lon: command not found sh: line 1: lat: command not found sh: line 1: zoom: command not found sh: line 1: width: command not found sh: line 1: height: command not found sh: line 1: token: command not found sh: line 1: lon: command not found sh: line 1: lat: command not found sh: line 1: lon: command not found sh: line 1: lat: command not found sh: line 1: zoom: command not found sh: line 1: width: command not found sh: line 1: height: command not found sh: line 1: token: command not found sh: line 1: lon: command not found sh: line 1: lat: command not found sh: line 1: lon: command not found sh: line 1: lat: command not found sh: line 1: zoom: command not found sh: line 1: width: command not found sh: line 1: height: command not found sh: line 1: token: command not found Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.DIhQrw + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Gryd-2.0.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/Gryd-2.0.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd Gryd-2.0.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.30kUl7 + umask 022 + cd /builddir/build/BUILD + cd Gryd-2.0.0 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection ' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib.linux-x86_64-3.9 creating build/lib.linux-x86_64-3.9/Gryd copying Gryd/ing.py -> build/lib.linux-x86_64-3.9/Gryd copying Gryd/geodesy.py -> build/lib.linux-x86_64-3.9/Gryd copying Gryd/geohash.py -> build/lib.linux-x86_64-3.9/Gryd copying Gryd/utm.py -> build/lib.linux-x86_64-3.9/Gryd copying Gryd/mgrs.py -> build/lib.linux-x86_64-3.9/Gryd copying Gryd/__init__.py -> build/lib.linux-x86_64-3.9/Gryd copying Gryd/bng.py -> build/lib.linux-x86_64-3.9/Gryd running egg_info writing Gryd.egg-info/PKG-INFO writing dependency_links to Gryd.egg-info/dependency_links.txt writing top-level names to Gryd.egg-info/top_level.txt reading manifest file 'Gryd.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'Gryd.egg-info/SOURCES.txt' creating build/lib.linux-x86_64-3.9/Gryd/db copying Gryd/db/epsg.sqlite -> build/lib.linux-x86_64-3.9/Gryd/db running build_ext building 'Gryd.geoid' extension creating build/temp.linux-x86_64-3.9 creating build/temp.linux-x86_64-3.9/src gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Isrc/ -I/usr/include/python3.9 -c src/geoid.c -o build/temp.linux-x86_64-3.9/src/geoid.o In file included from src/geoid.c:27: src/./geoid.h:188:15: warning: ‘footpoint_latitude’ defined but not used [-Wunused-function] 188 | static double footpoint_latitude(double a, double e, double distance){ | ^~~~~~~~~~~~~~~~~~ src/./geoid.h:157:15: warning: ‘geodesic_latitude’ defined but not used [-Wunused-function] 157 | static double geodesic_latitude(double e, double iso_phi){ | ^~~~~~~~~~~~~~~~~ In file included from src/geoid.c:27: src/./geoid.h:155:15: warning: ‘isometric_latitude’ defined but not used [-Wunused-function] 155 | static double isometric_latitude(double e, double latitude){return log(tan(M_PI/4 + latitude/2) * pow((1-e*sin(latitude))/(1+e*sin(latitude)), e/2));} | ^~~~~~~~~~~~~~~~~~ src/./geoid.h:154:15: warning: ‘rho’ defined but not used [-Wunused-function] 154 | static double rho(double a, double e, double latitude) {return a * (1-e*e) / pow(1 - pow(e * sin(latitude), 2), 1.5);} | ^~~ src/./geoid.h:153:15: warning: ‘p’ defined but not used [-Wunused-function] 153 | static double p(double a, double e, double latitude) {return cos(latitude) * nhu(a, e, latitude);} | ^ src/./geoid.h:140:13: warning: ‘factorial’ defined but not used [-Wunused-function] 140 | static long factorial(long n){ | ^~~~~~~~~ src/./geoid.h:40:15: warning: ‘RADIAN2DEG’ defined but not used [-Wunused-variable] 40 | static double RADIAN2DEG = 180.0/M_PI; | ^~~~~~~~~~ src/./geoid.h:39:15: warning: ‘DEGREE2RAD’ defined but not used [-Wunused-variable] 39 | static double DEGREE2RAD = M_PI/180.0; | ^~~~~~~~~~ src/./geoid.h:38:15: warning: ‘TWO_PI’ defined but not used [-Wunused-variable] 38 | static double TWO_PI = M_PI*2; | ^~~~~~ src/./geoid.h:37:15: warning: ‘HALF_PI’ defined but not used [-Wunused-variable] 37 | static double HALF_PI = M_PI/2; | ^~~~~~~ src/geoid.c: In function ‘distance’: src/geoid.c:163:33: warning: ‘c2sigma_m’ may be used uninitialized in this function [-Wmaybe-uninitialized] 163 | Dsigma = B*ssigma * (c2sigma_m + B/4*(csigma*(-1 + 2*c2sigma_m*c2sigma_m) - B/6*c2sigma_m*(-3 + 4*ssigma*ssigma)*(-3 + 4*c2sigma_m*c2sigma_m))); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/geoid.c:159:15: warning: ‘calpha2’ may be used uninitialized in this function [-Wmaybe-uninitialized] 159 | u2 = calpha2 * (ellps->a*ellps->a - ellps->b*ellps->b) / pow(ellps->b, 2); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/geoid.c:165:38: warning: ‘sigma’ may be used uninitialized in this function [-Wmaybe-uninitialized] 165 | result.distance = ellps->b*A*(sigma - Dsigma); | ~~~~~~~^~~~~~~~~ src/geoid.c:163:46: warning: ‘csigma’ may be used uninitialized in this function [-Wmaybe-uninitialized] 163 | Dsigma = B*ssigma * (c2sigma_m + B/4*(csigma*(-1 + 2*c2sigma_m*c2sigma_m) - B/6*c2sigma_m*(-3 + 4*ssigma*ssigma)*(-3 + 4*c2sigma_m*c2sigma_m))); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/geoid.c:163:12: warning: ‘ssigma’ may be used uninitialized in this function [-Wmaybe-uninitialized] 163 | Dsigma = B*ssigma * (c2sigma_m + B/4*(csigma*(-1 + 2*c2sigma_m*c2sigma_m) - B/6*c2sigma_m*(-3 + 4*ssigma*ssigma)*(-3 + 4*c2sigma_m*c2sigma_m))); | ~^~~~~~~ src/geoid.c:167:58: warning: ‘cx’ may be used uninitialized in this function [-Wmaybe-uninitialized] 167 | result.final_bearing = atan2(cU1*sx, (-sU1*cU2 + cU1*sU2*cx)); | ~~~~~~~^~~ src/geoid.c:167:25: warning: ‘sx’ may be used uninitialized in this function [-Wmaybe-uninitialized] 167 | result.final_bearing = atan2(cU1*sx, (-sU1*cU2 + cU1*sU2*cx)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/geoid.c: In function ‘destination’: src/geoid.c:200:24: warning: ‘csigma’ may be used uninitialized in this function [-Wmaybe-uninitialized] 200 | tmp = sU1*ssigma - cU1*csigma*calpha1; | ~~~^~~~~~~ src/geoid.c:200:11: warning: ‘ssigma’ may be used uninitialized in this function [-Wmaybe-uninitialized] 200 | tmp = sU1*ssigma - cU1*csigma*calpha1; | ~~~^~~~~~~ src/geoid.c:204:66: warning: ‘c2sigma_m’ may be used uninitialized in this function [-Wmaybe-uninitialized] 204 | L = lambda - (1-C)*ellps->f*salpha*(sigma + C*ssigma*(c2sigma_m + C*csigma*(-1 + 2*c2sigma_m*c2sigma_m))); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -shared -g -g -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection build/temp.linux-x86_64-3.9/src/geoid.o -L/usr/lib64 -o build/lib.linux-x86_64-3.9/Gryd/geoid.so building 'Gryd.proj' extension gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Isrc/ -I/usr/include/python3.9 -c src/eqc.c -o build/temp.linux-x86_64-3.9/src/eqc.o In file included from src/eqc.c:3: src/./geoid.h:188:15: warning: ‘footpoint_latitude’ defined but not used [-Wunused-function] 188 | static double footpoint_latitude(double a, double e, double distance){ | ^~~~~~~~~~~~~~~~~~ src/./geoid.h:157:15: warning: ‘geodesic_latitude’ defined but not used [-Wunused-function] 157 | static double geodesic_latitude(double e, double iso_phi){ | ^~~~~~~~~~~~~~~~~ In file included from src/eqc.c:3: src/./geoid.h:155:15: warning: ‘isometric_latitude’ defined but not used [-Wunused-function] 155 | static double isometric_latitude(double e, double latitude){return log(tan(M_PI/4 + latitude/2) * pow((1-e*sin(latitude))/(1+e*sin(latitude)), e/2));} | ^~~~~~~~~~~~~~~~~~ src/./geoid.h:154:15: warning: ‘rho’ defined but not used [-Wunused-function] 154 | static double rho(double a, double e, double latitude) {return a * (1-e*e) / pow(1 - pow(e * sin(latitude), 2), 1.5);} | ^~~ src/./geoid.h:153:15: warning: ‘p’ defined but not used [-Wunused-function] 153 | static double p(double a, double e, double latitude) {return cos(latitude) * nhu(a, e, latitude);} | ^ src/./geoid.h:140:13: warning: ‘factorial’ defined but not used [-Wunused-function] 140 | static long factorial(long n){ | ^~~~~~~~~ src/./geoid.h:41:15: warning: ‘ARCSEC2RAD’ defined but not used [-Wunused-variable] 41 | static double ARCSEC2RAD = M_PI/648000; | ^~~~~~~~~~ src/./geoid.h:40:15: warning: ‘RADIAN2DEG’ defined but not used [-Wunused-variable] 40 | static double RADIAN2DEG = 180.0/M_PI; | ^~~~~~~~~~ src/./geoid.h:39:15: warning: ‘DEGREE2RAD’ defined but not used [-Wunused-variable] 39 | static double DEGREE2RAD = M_PI/180.0; | ^~~~~~~~~~ src/./geoid.h:38:15: warning: ‘TWO_PI’ defined but not used [-Wunused-variable] 38 | static double TWO_PI = M_PI*2; | ^~~~~~ src/./geoid.h:37:15: warning: ‘HALF_PI’ defined but not used [-Wunused-variable] 37 | static double HALF_PI = M_PI/2; | ^~~~~~~ gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Isrc/ -I/usr/include/python3.9 -c src/lcc.c -o build/temp.linux-x86_64-3.9/src/lcc.o In file included from src/lcc.c:3: src/./geoid.h:188:15: warning: ‘footpoint_latitude’ defined but not used [-Wunused-function] 188 | static double footpoint_latitude(double a, double e, double distance){ | ^~~~~~~~~~~~~~~~~~ In file included from src/lcc.c:3: src/./geoid.h:154:15: warning: ‘rho’ defined but not used [-Wunused-function] 154 | static double rho(double a, double e, double latitude) {return a * (1-e*e) / pow(1 - pow(e * sin(latitude), 2), 1.5);} | ^~~ src/./geoid.h:153:15: warning: ‘p’ defined but not used [-Wunused-function] 153 | static double p(double a, double e, double latitude) {return cos(latitude) * nhu(a, e, latitude);} | ^ src/./geoid.h:140:13: warning: ‘factorial’ defined but not used [-Wunused-function] 140 | static long factorial(long n){ | ^~~~~~~~~ src/./geoid.h:41:15: warning: ‘ARCSEC2RAD’ defined but not used [-Wunused-variable] 41 | static double ARCSEC2RAD = M_PI/648000; | ^~~~~~~~~~ src/./geoid.h:40:15: warning: ‘RADIAN2DEG’ defined but not used [-Wunused-variable] 40 | static double RADIAN2DEG = 180.0/M_PI; | ^~~~~~~~~~ src/./geoid.h:39:15: warning: ‘DEGREE2RAD’ defined but not used [-Wunused-variable] 39 | static double DEGREE2RAD = M_PI/180.0; | ^~~~~~~~~~ src/./geoid.h:38:15: warning: ‘TWO_PI’ defined but not used [-Wunused-variable] 38 | static double TWO_PI = M_PI*2; | ^~~~~~ src/./geoid.h:37:15: warning: ‘HALF_PI’ defined but not used [-Wunused-variable] 37 | static double HALF_PI = M_PI/2; | ^~~~~~~ src/lcc.c: In function ‘coef’: src/lcc.c:34:12: warning: ‘ys’ may be used uninitialized in this function [-Wmaybe-uninitialized] 34 | result[4] = ys; | ~~~~~~~~~~^~~~ src/lcc.c:33:12: warning: ‘xs’ may be used uninitialized in this function [-Wmaybe-uninitialized] 33 | result[3] = xs; | ~~~~~~~~~~^~~~ src/lcc.c:32:12: warning: ‘c’ may be used uninitialized in this function [-Wmaybe-uninitialized] 32 | result[2] = c; | ~~~~~~~~~~^~~ src/lcc.c:31:12: warning: ‘n’ may be used uninitialized in this function [-Wmaybe-uninitialized] 31 | result[1] = n; | ~~~~~~~~~~^~~ gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Isrc/ -I/usr/include/python3.9 -c src/merc.c -o build/temp.linux-x86_64-3.9/src/merc.o In file included from src/merc.c:3: src/./geoid.h:188:15: warning: ‘footpoint_latitude’ defined but not used [-Wunused-function] 188 | static double footpoint_latitude(double a, double e, double distance){ | ^~~~~~~~~~~~~~~~~~ In file included from src/merc.c:3: src/./geoid.h:154:15: warning: ‘rho’ defined but not used [-Wunused-function] 154 | static double rho(double a, double e, double latitude) {return a * (1-e*e) / pow(1 - pow(e * sin(latitude), 2), 1.5);} | ^~~ src/./geoid.h:153:15: warning: ‘p’ defined but not used [-Wunused-function] 153 | static double p(double a, double e, double latitude) {return cos(latitude) * nhu(a, e, latitude);} | ^ src/./geoid.h:140:13: warning: ‘factorial’ defined but not used [-Wunused-function] 140 | static long factorial(long n){ | ^~~~~~~~~ src/./geoid.h:41:15: warning: ‘ARCSEC2RAD’ defined but not used [-Wunused-variable] 41 | static double ARCSEC2RAD = M_PI/648000; | ^~~~~~~~~~ src/./geoid.h:40:15: warning: ‘RADIAN2DEG’ defined but not used [-Wunused-variable] 40 | static double RADIAN2DEG = 180.0/M_PI; | ^~~~~~~~~~ src/./geoid.h:39:15: warning: ‘DEGREE2RAD’ defined but not used [-Wunused-variable] 39 | static double DEGREE2RAD = M_PI/180.0; | ^~~~~~~~~~ src/./geoid.h:38:15: warning: ‘TWO_PI’ defined but not used [-Wunused-variable] 38 | static double TWO_PI = M_PI*2; | ^~~~~~ src/./geoid.h:37:15: warning: ‘HALF_PI’ defined but not used [-Wunused-variable] 37 | static double HALF_PI = M_PI/2; | ^~~~~~~ gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Isrc/ -I/usr/include/python3.9 -c src/miller.c -o build/temp.linux-x86_64-3.9/src/miller.o In file included from src/miller.c:3: src/./geoid.h:188:15: warning: ‘footpoint_latitude’ defined but not used [-Wunused-function] 188 | static double footpoint_latitude(double a, double e, double distance){ | ^~~~~~~~~~~~~~~~~~ src/./geoid.h:157:15: warning: ‘geodesic_latitude’ defined but not used [-Wunused-function] 157 | static double geodesic_latitude(double e, double iso_phi){ | ^~~~~~~~~~~~~~~~~ In file included from src/miller.c:3: src/./geoid.h:155:15: warning: ‘isometric_latitude’ defined but not used [-Wunused-function] 155 | static double isometric_latitude(double e, double latitude){return log(tan(M_PI/4 + latitude/2) * pow((1-e*sin(latitude))/(1+e*sin(latitude)), e/2));} | ^~~~~~~~~~~~~~~~~~ src/./geoid.h:154:15: warning: ‘rho’ defined but not used [-Wunused-function] 154 | static double rho(double a, double e, double latitude) {return a * (1-e*e) / pow(1 - pow(e * sin(latitude), 2), 1.5);} | ^~~ src/./geoid.h:153:15: warning: ‘p’ defined but not used [-Wunused-function] 153 | static double p(double a, double e, double latitude) {return cos(latitude) * nhu(a, e, latitude);} | ^ src/./geoid.h:140:13: warning: ‘factorial’ defined but not used [-Wunused-function] 140 | static long factorial(long n){ | ^~~~~~~~~ src/./geoid.h:41:15: warning: ‘ARCSEC2RAD’ defined but not used [-Wunused-variable] 41 | static double ARCSEC2RAD = M_PI/648000; | ^~~~~~~~~~ src/./geoid.h:40:15: warning: ‘RADIAN2DEG’ defined but not used [-Wunused-variable] 40 | static double RADIAN2DEG = 180.0/M_PI; | ^~~~~~~~~~ src/./geoid.h:39:15: warning: ‘DEGREE2RAD’ defined but not used [-Wunused-variable] 39 | static double DEGREE2RAD = M_PI/180.0; | ^~~~~~~~~~ src/./geoid.h:38:15: warning: ‘TWO_PI’ defined but not used [-Wunused-variable] 38 | static double TWO_PI = M_PI*2; | ^~~~~~ src/./geoid.h:37:15: warning: ‘HALF_PI’ defined but not used [-Wunused-variable] 37 | static double HALF_PI = M_PI/2; | ^~~~~~~ gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Isrc/ -I/usr/include/python3.9 -c src/tmerc.c -o build/temp.linux-x86_64-3.9/src/tmerc.o In file included from src/tmerc.c:3: src/./geoid.h:157:15: warning: ‘geodesic_latitude’ defined but not used [-Wunused-function] 157 | static double geodesic_latitude(double e, double iso_phi){ | ^~~~~~~~~~~~~~~~~ In file included from src/tmerc.c:3: src/./geoid.h:155:15: warning: ‘isometric_latitude’ defined but not used [-Wunused-function] 155 | static double isometric_latitude(double e, double latitude){return log(tan(M_PI/4 + latitude/2) * pow((1-e*sin(latitude))/(1+e*sin(latitude)), e/2));} | ^~~~~~~~~~~~~~~~~~ src/./geoid.h:153:15: warning: ‘p’ defined but not used [-Wunused-function] 153 | static double p(double a, double e, double latitude) {return cos(latitude) * nhu(a, e, latitude);} | ^ src/./geoid.h:140:13: warning: ‘factorial’ defined but not used [-Wunused-function] 140 | static long factorial(long n){ | ^~~~~~~~~ src/./geoid.h:41:15: warning: ‘ARCSEC2RAD’ defined but not used [-Wunused-variable] 41 | static double ARCSEC2RAD = M_PI/648000; | ^~~~~~~~~~ src/./geoid.h:40:15: warning: ‘RADIAN2DEG’ defined but not used [-Wunused-variable] 40 | static double RADIAN2DEG = 180.0/M_PI; | ^~~~~~~~~~ src/./geoid.h:39:15: warning: ‘DEGREE2RAD’ defined but not used [-Wunused-variable] 39 | static double DEGREE2RAD = M_PI/180.0; | ^~~~~~~~~~ src/./geoid.h:38:15: warning: ‘TWO_PI’ defined but not used [-Wunused-variable] 38 | static double TWO_PI = M_PI*2; | ^~~~~~ src/./geoid.h:37:15: warning: ‘HALF_PI’ defined but not used [-Wunused-variable] 37 | static double HALF_PI = M_PI/2; | ^~~~~~~ gcc -shared -g -g -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection build/temp.linux-x86_64-3.9/src/eqc.o build/temp.linux-x86_64-3.9/src/lcc.o build/temp.linux-x86_64-3.9/src/merc.o build/temp.linux-x86_64-3.9/src/miller.o build/temp.linux-x86_64-3.9/src/tmerc.o -L/usr/lib64 -o build/lib.linux-x86_64-3.9/Gryd/proj.so + sleep 1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.CEc7q6 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-Gryd-2.0.0-1.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-Gryd-2.0.0-1.x86_64 ++ dirname /builddir/build/BUILDROOT/python-Gryd-2.0.0-1.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-Gryd-2.0.0-1.x86_64 + cd Gryd-2.0.0 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection ' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-Gryd-2.0.0-1.x86_64 running install /usr/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install_lib creating /builddir/build/BUILDROOT/python-Gryd-2.0.0-1.x86_64/usr creating /builddir/build/BUILDROOT/python-Gryd-2.0.0-1.x86_64/usr/lib64 creating /builddir/build/BUILDROOT/python-Gryd-2.0.0-1.x86_64/usr/lib64/python3.9 creating /builddir/build/BUILDROOT/python-Gryd-2.0.0-1.x86_64/usr/lib64/python3.9/site-packages creating /builddir/build/BUILDROOT/python-Gryd-2.0.0-1.x86_64/usr/lib64/python3.9/site-packages/Gryd copying build/lib.linux-x86_64-3.9/Gryd/geoid.so -> /builddir/build/BUILDROOT/python-Gryd-2.0.0-1.x86_64/usr/lib64/python3.9/site-packages/Gryd copying build/lib.linux-x86_64-3.9/Gryd/ing.py -> /builddir/build/BUILDROOT/python-Gryd-2.0.0-1.x86_64/usr/lib64/python3.9/site-packages/Gryd copying build/lib.linux-x86_64-3.9/Gryd/geodesy.py -> /builddir/build/BUILDROOT/python-Gryd-2.0.0-1.x86_64/usr/lib64/python3.9/site-packages/Gryd copying build/lib.linux-x86_64-3.9/Gryd/geohash.py -> /builddir/build/BUILDROOT/python-Gryd-2.0.0-1.x86_64/usr/lib64/python3.9/site-packages/Gryd copying build/lib.linux-x86_64-3.9/Gryd/utm.py -> /builddir/build/BUILDROOT/python-Gryd-2.0.0-1.x86_64/usr/lib64/python3.9/site-packages/Gryd copying build/lib.linux-x86_64-3.9/Gryd/mgrs.py -> /builddir/build/BUILDROOT/python-Gryd-2.0.0-1.x86_64/usr/lib64/python3.9/site-packages/Gryd copying build/lib.linux-x86_64-3.9/Gryd/__init__.py -> /builddir/build/BUILDROOT/python-Gryd-2.0.0-1.x86_64/usr/lib64/python3.9/site-packages/Gryd copying build/lib.linux-x86_64-3.9/Gryd/proj.so -> /builddir/build/BUILDROOT/python-Gryd-2.0.0-1.x86_64/usr/lib64/python3.9/site-packages/Gryd creating /builddir/build/BUILDROOT/python-Gryd-2.0.0-1.x86_64/usr/lib64/python3.9/site-packages/Gryd/db copying build/lib.linux-x86_64-3.9/Gryd/db/epsg.sqlite -> /builddir/build/BUILDROOT/python-Gryd-2.0.0-1.x86_64/usr/lib64/python3.9/site-packages/Gryd/db copying build/lib.linux-x86_64-3.9/Gryd/bng.py -> /builddir/build/BUILDROOT/python-Gryd-2.0.0-1.x86_64/usr/lib64/python3.9/site-packages/Gryd byte-compiling /builddir/build/BUILDROOT/python-Gryd-2.0.0-1.x86_64/usr/lib64/python3.9/site-packages/Gryd/ing.py to ing.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-Gryd-2.0.0-1.x86_64/usr/lib64/python3.9/site-packages/Gryd/geodesy.py to geodesy.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-Gryd-2.0.0-1.x86_64/usr/lib64/python3.9/site-packages/Gryd/geohash.py to geohash.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-Gryd-2.0.0-1.x86_64/usr/lib64/python3.9/site-packages/Gryd/utm.py to utm.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-Gryd-2.0.0-1.x86_64/usr/lib64/python3.9/site-packages/Gryd/mgrs.py to mgrs.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-Gryd-2.0.0-1.x86_64/usr/lib64/python3.9/site-packages/Gryd/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-Gryd-2.0.0-1.x86_64/usr/lib64/python3.9/site-packages/Gryd/bng.py to bng.cpython-39.pyc writing byte-compilation script '/tmp/tmp7dp2q4_f.py' /usr/bin/python3 /tmp/tmp7dp2q4_f.py removing /tmp/tmp7dp2q4_f.py running install_egg_info running egg_info writing Gryd.egg-info/PKG-INFO writing dependency_links to Gryd.egg-info/dependency_links.txt writing top-level names to Gryd.egg-info/top_level.txt reading manifest file 'Gryd.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'Gryd.egg-info/SOURCES.txt' Copying Gryd.egg-info to /builddir/build/BUILDROOT/python-Gryd-2.0.0-1.x86_64/usr/lib64/python3.9/site-packages/Gryd-2.0.0-py3.9.egg-info running install_scripts + install -d -m755 /builddir/build/BUILDROOT/python-Gryd-2.0.0-1.x86_64//usr/share/doc/python-Gryd + '[' -d doc ']' ~/build/BUILDROOT/python-Gryd-2.0.0-1.x86_64 ~/build/BUILD/Gryd-2.0.0 + '[' -d docs ']' + '[' -d example ']' + '[' -d examples ']' + pushd /builddir/build/BUILDROOT/python-Gryd-2.0.0-1.x86_64 + '[' -d usr/lib ']' + '[' -d usr/lib64 ']' + find usr/lib64 -type f -printf '/%h/%f\n' + '[' -d usr/bin ']' + '[' -d usr/sbin ']' + touch doclist.lst + '[' -d usr/share/man ']' + popd ~/build/BUILD/Gryd-2.0.0 + mv /builddir/build/BUILDROOT/python-Gryd-2.0.0-1.x86_64/filelist.lst . + mv /builddir/build/BUILDROOT/python-Gryd-2.0.0-1.x86_64/doclist.lst . + /usr/bin/find-debuginfo -j4 --strict-build-id -i --build-id-seed 2.0.0-1 --unique-debug-suffix -2.0.0-1.x86_64 --unique-debug-src-base python-Gryd-2.0.0-1.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/Gryd-2.0.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/python-Gryd-2.0.0-1.x86_64/usr/lib64/python3.9/site-packages/Gryd/geoid.so explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/python-Gryd-2.0.0-1.x86_64/usr/lib64/python3.9/site-packages/Gryd/proj.so extracting debug info from /builddir/build/BUILDROOT/python-Gryd-2.0.0-1.x86_64/usr/lib64/python3.9/site-packages/Gryd/geoid.so extracting debug info from /builddir/build/BUILDROOT/python-Gryd-2.0.0-1.x86_64/usr/lib64/python3.9/site-packages/Gryd/proj.so 43 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-Gryd-2.0.0-1.x86_64/usr/lib64/python3.9 using /usr/bin/python3.9 Bytecompiling .py files below /builddir/build/BUILDROOT/python-Gryd-2.0.0-1.x86_64/usr/lib/debug/usr/lib64/python3.9 using /usr/bin/python3.9 + /usr/lib/rpm/brp-python-hardlink Processing files: python3-Gryd-2.0.0-1.noarch error: Directory not found: /builddir/build/BUILDROOT/python-Gryd-2.0.0-1.x86_64/usr/lib/python3.9/site-packages/* RPM build errors: Directory not found: /builddir/build/BUILDROOT/python-Gryd-2.0.0-1.x86_64/usr/lib/python3.9/site-packages/* Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-gryd.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-gryd.spec