Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-apache-sedona.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1681705241.169093/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-apache-sedona.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 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-apache-sedona-1.4.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-apache-sedona.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1681705241.169093/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-apache-sedona.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 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-apache-sedona-1.4.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-apache-sedona.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1681705241.169093/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-apache-sedona.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 Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.23F8Y9 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf apache-sedona-1.4.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/apache-sedona-1.4.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd apache-sedona-1.4.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.p4rVx5 + umask 022 + cd /builddir/build/BUILD + cd apache-sedona-1.4.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/sedona copying sedona/exceptions.py -> build/lib.linux-x86_64-3.9/sedona copying sedona/__init__.py -> build/lib.linux-x86_64-3.9/sedona copying sedona/version.py -> build/lib.linux-x86_64-3.9/sedona creating build/lib.linux-x86_64-3.9/sedona/register copying sedona/register/__init__.py -> build/lib.linux-x86_64-3.9/sedona/register copying sedona/register/java_libs.py -> build/lib.linux-x86_64-3.9/sedona/register copying sedona/register/geo_registrator.py -> build/lib.linux-x86_64-3.9/sedona/register creating build/lib.linux-x86_64-3.9/sedona/utils copying sedona/utils/prep.py -> build/lib.linux-x86_64-3.9/sedona/utils copying sedona/utils/jvm.py -> build/lib.linux-x86_64-3.9/sedona/utils copying sedona/utils/serde.py -> build/lib.linux-x86_64-3.9/sedona/utils copying sedona/utils/abstract_parser.py -> build/lib.linux-x86_64-3.9/sedona/utils copying sedona/utils/types.py -> build/lib.linux-x86_64-3.9/sedona/utils copying sedona/utils/__init__.py -> build/lib.linux-x86_64-3.9/sedona/utils copying sedona/utils/decorators.py -> build/lib.linux-x86_64-3.9/sedona/utils copying sedona/utils/geometry_serde_general.py -> build/lib.linux-x86_64-3.9/sedona/utils copying sedona/utils/meta.py -> build/lib.linux-x86_64-3.9/sedona/utils copying sedona/utils/geometry_serde.py -> build/lib.linux-x86_64-3.9/sedona/utils copying sedona/utils/binary_parser.py -> build/lib.linux-x86_64-3.9/sedona/utils copying sedona/utils/adapter.py -> build/lib.linux-x86_64-3.9/sedona/utils copying sedona/utils/spatial_rdd_parser.py -> build/lib.linux-x86_64-3.9/sedona/utils copying sedona/utils/geometry_adapter.py -> build/lib.linux-x86_64-3.9/sedona/utils creating build/lib.linux-x86_64-3.9/sedona/core copying sedona/core/utils.py -> build/lib.linux-x86_64-3.9/sedona/core copying sedona/core/__init__.py -> build/lib.linux-x86_64-3.9/sedona/core creating build/lib.linux-x86_64-3.9/sedona/sql copying sedona/sql/exceptions.py -> build/lib.linux-x86_64-3.9/sedona/sql copying sedona/sql/st_constructors.py -> build/lib.linux-x86_64-3.9/sedona/sql copying sedona/sql/st_predicates.py -> build/lib.linux-x86_64-3.9/sedona/sql copying sedona/sql/types.py -> build/lib.linux-x86_64-3.9/sedona/sql copying sedona/sql/__init__.py -> build/lib.linux-x86_64-3.9/sedona/sql copying sedona/sql/st_functions.py -> build/lib.linux-x86_64-3.9/sedona/sql copying sedona/sql/st_aggregates.py -> build/lib.linux-x86_64-3.9/sedona/sql copying sedona/sql/dataframe_api.py -> build/lib.linux-x86_64-3.9/sedona/sql creating build/lib.linux-x86_64-3.9/sedona/core/jvm copying sedona/core/jvm/abstract.py -> build/lib.linux-x86_64-3.9/sedona/core/jvm copying sedona/core/jvm/config.py -> build/lib.linux-x86_64-3.9/sedona/core/jvm copying sedona/core/jvm/translate.py -> build/lib.linux-x86_64-3.9/sedona/core/jvm copying sedona/core/jvm/__init__.py -> build/lib.linux-x86_64-3.9/sedona/core/jvm creating build/lib.linux-x86_64-3.9/sedona/core/spatialOperator copying sedona/core/spatialOperator/rdd.py -> build/lib.linux-x86_64-3.9/sedona/core/spatialOperator copying sedona/core/spatialOperator/knn_query.py -> build/lib.linux-x86_64-3.9/sedona/core/spatialOperator copying sedona/core/spatialOperator/join_query_raw.py -> build/lib.linux-x86_64-3.9/sedona/core/spatialOperator copying sedona/core/spatialOperator/__init__.py -> build/lib.linux-x86_64-3.9/sedona/core/spatialOperator copying sedona/core/spatialOperator/range_query.py -> build/lib.linux-x86_64-3.9/sedona/core/spatialOperator copying sedona/core/spatialOperator/join_params.py -> build/lib.linux-x86_64-3.9/sedona/core/spatialOperator copying sedona/core/spatialOperator/join_query.py -> build/lib.linux-x86_64-3.9/sedona/core/spatialOperator copying sedona/core/spatialOperator/range_query_raw.py -> build/lib.linux-x86_64-3.9/sedona/core/spatialOperator creating build/lib.linux-x86_64-3.9/sedona/core/geom copying sedona/core/geom/envelope.py -> build/lib.linux-x86_64-3.9/sedona/core/geom copying sedona/core/geom/circle.py -> build/lib.linux-x86_64-3.9/sedona/core/geom copying sedona/core/geom/__init__.py -> build/lib.linux-x86_64-3.9/sedona/core/geom creating build/lib.linux-x86_64-3.9/sedona/core/formatMapper copying sedona/core/formatMapper/disc_utils.py -> build/lib.linux-x86_64-3.9/sedona/core/formatMapper copying sedona/core/formatMapper/wkt_reader.py -> build/lib.linux-x86_64-3.9/sedona/core/formatMapper copying sedona/core/formatMapper/__init__.py -> build/lib.linux-x86_64-3.9/sedona/core/formatMapper copying sedona/core/formatMapper/geo_reader.py -> build/lib.linux-x86_64-3.9/sedona/core/formatMapper copying sedona/core/formatMapper/wkb_reader.py -> build/lib.linux-x86_64-3.9/sedona/core/formatMapper copying sedona/core/formatMapper/geo_json_reader.py -> build/lib.linux-x86_64-3.9/sedona/core/formatMapper creating build/lib.linux-x86_64-3.9/sedona/core/SpatialRDD copying sedona/core/SpatialRDD/point_rdd.py -> build/lib.linux-x86_64-3.9/sedona/core/SpatialRDD copying sedona/core/SpatialRDD/polygon_rdd.py -> build/lib.linux-x86_64-3.9/sedona/core/SpatialRDD copying sedona/core/SpatialRDD/spatial_rdd.py -> build/lib.linux-x86_64-3.9/sedona/core/SpatialRDD copying sedona/core/SpatialRDD/spatial_rdd_factory.py -> build/lib.linux-x86_64-3.9/sedona/core/SpatialRDD copying sedona/core/SpatialRDD/rectangle_rdd.py -> build/lib.linux-x86_64-3.9/sedona/core/SpatialRDD copying sedona/core/SpatialRDD/__init__.py -> build/lib.linux-x86_64-3.9/sedona/core/SpatialRDD copying sedona/core/SpatialRDD/circle_rdd.py -> build/lib.linux-x86_64-3.9/sedona/core/SpatialRDD copying sedona/core/SpatialRDD/linestring_rdd.py -> build/lib.linux-x86_64-3.9/sedona/core/SpatialRDD creating build/lib.linux-x86_64-3.9/sedona/core/enums copying sedona/core/enums/spatial.py -> build/lib.linux-x86_64-3.9/sedona/core/enums copying sedona/core/enums/index_type.py -> build/lib.linux-x86_64-3.9/sedona/core/enums copying sedona/core/enums/__init__.py -> build/lib.linux-x86_64-3.9/sedona/core/enums copying sedona/core/enums/file_data_splitter.py -> build/lib.linux-x86_64-3.9/sedona/core/enums copying sedona/core/enums/join_build_side.py -> build/lib.linux-x86_64-3.9/sedona/core/enums copying sedona/core/enums/grid_type.py -> build/lib.linux-x86_64-3.9/sedona/core/enums creating build/lib.linux-x86_64-3.9/sedona/core/formatMapper/shapefileParser copying sedona/core/formatMapper/shapefileParser/shape_file_reader.py -> build/lib.linux-x86_64-3.9/sedona/core/formatMapper/shapefileParser copying sedona/core/formatMapper/shapefileParser/__init__.py -> build/lib.linux-x86_64-3.9/sedona/core/formatMapper/shapefileParser running build_ext building 'sedona.utils.geomserde_speedup' 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 -I/usr/include/python3.9 -c src/geom_buf.c -o build/temp.linux-x86_64-3.9/src/geom_buf.o src/geom_buf.c:20:10: fatal error: geom_buf.h: No such file or directory 20 | #include "geom_buf.h" | ^~~~~~~~~~~~ compilation terminated. error: command '/usr/bin/gcc' failed with exit code 1 error: Bad exit status from /var/tmp/rpm-tmp.p4rVx5 (%build) Bad exit status from /var/tmp/rpm-tmp.p4rVx5 (%build) RPM build errors: 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-apache-sedona.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-apache-sedona.spec