aerospike-client-python icon indicating copy to clipboard operation
aerospike-client-python copied to clipboard

add python 3.10 support

Open databasedav opened this issue 3 years ago • 0 comments

getting this when attempting to install aerospike 6.1.2 on Ubuntu 21.10 with Python 3.10.2 (this does not happen on Python 3.9.10)

Collecting aerospike==6.1.2
  Using cached aerospike-6.1.2.tar.gz (2.8 MB)
  Preparing metadata (setup.py) ... done
Building wheels for collected packages: aerospike
  Building wheel for aerospike (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [113 lines of output]
      running bdist_wheel
      running build
      Compiling core aerospike-client-c
      ['make', 'V=1'] ['/usr/local/opt/openssl/lib', '/usr/local/lib'] ['ssl', 'crypto', 'pthread', 'm', 'z', 'rt']
      make -e -C modules/common libaerospike-common.a
      make[1]: Entering directory '/tmp/pip-install-6us9xq9g/aerospike_88db8181c3594016b1cdabae7c9dca17/aerospike-client-c/modules/common'
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_aerospike.o -c src/main/aerospike/as_aerospike.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_arraylist.o -c src/main/aerospike/as_arraylist.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_arraylist_hooks.o -c src/main/aerospike/as_arraylist_hooks.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_arraylist_iterator.o -c src/main/aerospike/as_arraylist_iterator.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_arraylist_iterator_hooks.o -c src/main/aerospike/as_arraylist_iterator_hooks.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_boolean.o -c src/main/aerospike/as_boolean.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_buffer.o -c src/main/aerospike/as_buffer.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_buffer_pool.o -c src/main/aerospike/as_buffer_pool.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_bytes.o -c src/main/aerospike/as_bytes.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_double.o -c src/main/aerospike/as_double.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_geojson.o -c src/main/aerospike/as_geojson.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_hashmap.o -c src/main/aerospike/as_hashmap.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_hashmap_hooks.o -c src/main/aerospike/as_hashmap_hooks.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_hashmap_iterator.o -c src/main/aerospike/as_hashmap_iterator.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_hashmap_iterator_hooks.o -c src/main/aerospike/as_hashmap_iterator_hooks.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_integer.o -c src/main/aerospike/as_integer.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_iterator.o -c src/main/aerospike/as_iterator.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_list.o -c src/main/aerospike/as_list.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_log.o -c src/main/aerospike/as_log.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_map.o -c src/main/aerospike/as_map.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_memtracker.o -c src/main/aerospike/as_memtracker.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_module.o -c src/main/aerospike/as_module.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_msgpack.o -c src/main/aerospike/as_msgpack.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_msgpack_ext.o -c src/main/aerospike/as_msgpack_ext.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_msgpack_serializer.o -c src/main/aerospike/as_msgpack_serializer.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_nil.o -c src/main/aerospike/as_nil.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_pair.o -c src/main/aerospike/as_pair.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_password.o -c src/main/aerospike/as_password.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_queue.o -c src/main/aerospike/as_queue.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_queue_mt.o -c src/main/aerospike/as_queue_mt.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_random.o -c src/main/aerospike/as_random.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_rec.o -c src/main/aerospike/as_rec.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_result.o -c src/main/aerospike/as_result.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_serializer.o -c src/main/aerospike/as_serializer.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_stream.o -c src/main/aerospike/as_stream.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_string.o -c src/main/aerospike/as_string.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_string_builder.o -c src/main/aerospike/as_string_builder.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_thread_pool.o -c src/main/aerospike/as_thread_pool.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_timer.o -c src/main/aerospike/as_timer.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_val.o -c src/main/aerospike/as_val.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_vector.o -c src/main/aerospike/as_vector.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/crypt_blowfish.o -c src/main/aerospike/crypt_blowfish.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/ssl_util.o -c src/main/aerospike/ssl_util.c
      src/main/aerospike/ssl_util.c:37:10: fatal error: openssl/x509.h: No such file or directory
         37 | #include <openssl/x509.h>
            |          ^~~~~~~~~~~~~~~~
      compilation terminated.
      make[1]: *** [Makefile:161: target/Linux-x86_64/obj/common/aerospike/ssl_util.o] Error 1
      make[1]: Leaving directory '/tmp/pip-install-6us9xq9g/aerospike_88db8181c3594016b1cdabae7c9dca17/aerospike-client-c/modules/common'
      make: *** [project/modules.mk:36: modules/common/target/Linux-x86_64/lib/libaerospike-common.a] Error 2
      running build_py
      creating build
      creating build/lib.linux-x86_64-3.10
      creating build/lib.linux-x86_64-3.10/aerospike_helpers
      copying aerospike_helpers/cdt_ctx.py -> build/lib.linux-x86_64-3.10/aerospike_helpers
      copying aerospike_helpers/__init__.py -> build/lib.linux-x86_64-3.10/aerospike_helpers
      creating build/lib.linux-x86_64-3.10/aerospike_helpers/operations
      copying aerospike_helpers/operations/list_operations.py -> build/lib.linux-x86_64-3.10/aerospike_helpers/operations
      copying aerospike_helpers/operations/expression_operations.py -> build/lib.linux-x86_64-3.10/aerospike_helpers/operations
      copying aerospike_helpers/operations/hll_operations.py -> build/lib.linux-x86_64-3.10/aerospike_helpers/operations
      copying aerospike_helpers/operations/operations.py -> build/lib.linux-x86_64-3.10/aerospike_helpers/operations
      copying aerospike_helpers/operations/__init__.py -> build/lib.linux-x86_64-3.10/aerospike_helpers/operations
      copying aerospike_helpers/operations/map_operations.py -> build/lib.linux-x86_64-3.10/aerospike_helpers/operations
      copying aerospike_helpers/operations/bitwise_operations.py -> build/lib.linux-x86_64-3.10/aerospike_helpers/operations
      creating build/lib.linux-x86_64-3.10/aerospike_helpers/expressions
      copying aerospike_helpers/expressions/list.py -> build/lib.linux-x86_64-3.10/aerospike_helpers/expressions
      copying aerospike_helpers/expressions/arithmetic.py -> build/lib.linux-x86_64-3.10/aerospike_helpers/expressions
      copying aerospike_helpers/expressions/bitwise_operators.py -> build/lib.linux-x86_64-3.10/aerospike_helpers/expressions
      copying aerospike_helpers/expressions/resources.py -> build/lib.linux-x86_64-3.10/aerospike_helpers/expressions
      copying aerospike_helpers/expressions/hll.py -> build/lib.linux-x86_64-3.10/aerospike_helpers/expressions
      copying aerospike_helpers/expressions/base.py -> build/lib.linux-x86_64-3.10/aerospike_helpers/expressions
      copying aerospike_helpers/expressions/bitwise.py -> build/lib.linux-x86_64-3.10/aerospike_helpers/expressions
      copying aerospike_helpers/expressions/map.py -> build/lib.linux-x86_64-3.10/aerospike_helpers/expressions
      copying aerospike_helpers/expressions/__init__.py -> build/lib.linux-x86_64-3.10/aerospike_helpers/expressions
      creating build/lib.linux-x86_64-3.10/aerospike_helpers/awaitable
      copying aerospike_helpers/awaitable/io.py -> build/lib.linux-x86_64-3.10/aerospike_helpers/awaitable
      copying aerospike_helpers/awaitable/__init__.py -> build/lib.linux-x86_64-3.10/aerospike_helpers/awaitable
      running egg_info
      writing aerospike.egg-info/PKG-INFO
      writing dependency_links to aerospike.egg-info/dependency_links.txt
      writing top-level names to aerospike.egg-info/top_level.txt
      reading manifest file 'aerospike.egg-info/SOURCES.txt'
      reading manifest template 'MANIFEST.in'
      warning: no files found matching 'modules/aerospike-lua-core/src/*.lua'
      adding license file 'LICENSE'
      writing manifest file 'aerospike.egg-info/SOURCES.txt'
      running build_ext
      building 'aerospike' extension
      creating build/temp.linux-x86_64-3.10
      creating build/temp.linux-x86_64-3.10/src
      creating build/temp.linux-x86_64-3.10/src/main
      creating build/temp.linux-x86_64-3.10/src/main/cdt_types
      creating build/temp.linux-x86_64-3.10/src/main/client
      creating build/temp.linux-x86_64-3.10/src/main/geospatial
      creating build/temp.linux-x86_64-3.10/src/main/global_hosts
      creating build/temp.linux-x86_64-3.10/src/main/key_ordered_dict
      creating build/temp.linux-x86_64-3.10/src/main/nullobject
      creating build/temp.linux-x86_64-3.10/src/main/query
      creating build/temp.linux-x86_64-3.10/src/main/scan
      gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -I/home/linuxbrew/.linuxbrew/opt/zlib -I/home/linuxbrew/.linuxbrew/opt/zlib -fPIC -Isrc/include -I/usr/local/opt/openssl/include -Iaerospike-client-c/modules/common/src/include -I/usr/local/opt/openssl/include -I/tmp/pip-install-6us9xq9g/aerospike_88db8181c3594016b1cdabae7c9dca17/aerospike-client-c/target/Linux-x86_64/include -I/home/avi/.pyenv/versions/3.10.2/include/python3.10 -c src/main/aerospike.c -o build/temp.linux-x86_64-3.10/src/main/aerospike.o -std=gnu99 -g -Wall -fPIC -O1 -DDEBUG -fno-common -fno-strict-aliasing -Wno-strict-prototypes -march=nocona -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DMARCH_x86_64 -Wno-implicit-function-declaration -rdynamic -finline-functions
      In file included from src/include/client.h:21,
                       from src/main/aerospike.c:22:
      src/include/types.h:22:10: fatal error: aerospike/aerospike.h: No such file or directory
         22 | #include <aerospike/aerospike.h>
            |          ^~~~~~~~~~~~~~~~~~~~~~~
      compilation terminated.
      error: command '/usr/bin/gcc' failed with exit code 1
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for aerospike
  Running setup.py clean for aerospike
Failed to build aerospike
Installing collected packages: aerospike
  Running setup.py install for aerospike ... error
  error: subprocess-exited-with-error
  
  × Running setup.py install for aerospike did not run successfully.
  │ exit code: 1
  ╰─> [76 lines of output]
      running install
      running build
      Compiling core aerospike-client-c
      ['make', 'V=1'] ['/usr/local/opt/openssl/lib', '/usr/local/lib'] ['ssl', 'crypto', 'pthread', 'm', 'z', 'rt']
      make -e -C modules/common libaerospike-common.a
      make[1]: Entering directory '/tmp/pip-install-6us9xq9g/aerospike_88db8181c3594016b1cdabae7c9dca17/aerospike-client-c/modules/common'
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_aerospike.o -c src/main/aerospike/as_aerospike.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_arraylist.o -c src/main/aerospike/as_arraylist.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_arraylist_hooks.o -c src/main/aerospike/as_arraylist_hooks.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_arraylist_iterator.o -c src/main/aerospike/as_arraylist_iterator.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_arraylist_iterator_hooks.o -c src/main/aerospike/as_arraylist_iterator_hooks.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_boolean.o -c src/main/aerospike/as_boolean.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_buffer.o -c src/main/aerospike/as_buffer.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_buffer_pool.o -c src/main/aerospike/as_buffer_pool.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_bytes.o -c src/main/aerospike/as_bytes.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_double.o -c src/main/aerospike/as_double.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_geojson.o -c src/main/aerospike/as_geojson.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_hashmap.o -c src/main/aerospike/as_hashmap.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_hashmap_hooks.o -c src/main/aerospike/as_hashmap_hooks.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_hashmap_iterator.o -c src/main/aerospike/as_hashmap_iterator.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_hashmap_iterator_hooks.o -c src/main/aerospike/as_hashmap_iterator_hooks.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_integer.o -c src/main/aerospike/as_integer.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_iterator.o -c src/main/aerospike/as_iterator.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_list.o -c src/main/aerospike/as_list.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_log.o -c src/main/aerospike/as_log.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_map.o -c src/main/aerospike/as_map.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_memtracker.o -c src/main/aerospike/as_memtracker.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_module.o -c src/main/aerospike/as_module.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_msgpack.o -c src/main/aerospike/as_msgpack.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_msgpack_ext.o -c src/main/aerospike/as_msgpack_ext.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_msgpack_serializer.o -c src/main/aerospike/as_msgpack_serializer.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_nil.o -c src/main/aerospike/as_nil.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_pair.o -c src/main/aerospike/as_pair.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_password.o -c src/main/aerospike/as_password.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_queue.o -c src/main/aerospike/as_queue.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_queue_mt.o -c src/main/aerospike/as_queue_mt.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_random.o -c src/main/aerospike/as_random.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_rec.o -c src/main/aerospike/as_rec.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_result.o -c src/main/aerospike/as_result.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_serializer.o -c src/main/aerospike/as_serializer.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_stream.o -c src/main/aerospike/as_stream.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_string.o -c src/main/aerospike/as_string.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_string_builder.o -c src/main/aerospike/as_string_builder.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_thread_pool.o -c src/main/aerospike/as_thread_pool.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_timer.o -c src/main/aerospike/as_timer.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_val.o -c src/main/aerospike/as_val.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/as_vector.o -c src/main/aerospike/as_vector.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/crypt_blowfish.o -c src/main/aerospike/crypt_blowfish.c
      cc -Isrc/include -std=gnu99 -g -Wall -fPIC -O3 -fno-common -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -march=nocona -finline-functions -rdynamic -o target/Linux-x86_64/obj/common/aerospike/ssl_util.o -c src/main/aerospike/ssl_util.c
      src/main/aerospike/ssl_util.c:37:10: fatal error: openssl/x509.h: No such file or directory
         37 | #include <openssl/x509.h>
            |          ^~~~~~~~~~~~~~~~
      compilation terminated.
      make[1]: *** [Makefile:161: target/Linux-x86_64/obj/common/aerospike/ssl_util.o] Error 1
      make[1]: Leaving directory '/tmp/pip-install-6us9xq9g/aerospike_88db8181c3594016b1cdabae7c9dca17/aerospike-client-c/modules/common'
      make: *** [project/modules.mk:36: modules/common/target/Linux-x86_64/lib/libaerospike-common.a] Error 2
      running build_py
      running egg_info
      writing aerospike.egg-info/PKG-INFO
      writing dependency_links to aerospike.egg-info/dependency_links.txt
      writing top-level names to aerospike.egg-info/top_level.txt
      reading manifest file 'aerospike.egg-info/SOURCES.txt'
      reading manifest template 'MANIFEST.in'
      warning: no files found matching 'modules/aerospike-lua-core/src/*.lua'
      adding license file 'LICENSE'
      writing manifest file 'aerospike.egg-info/SOURCES.txt'
      running build_ext
      building 'aerospike' extension
      gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -I/home/linuxbrew/.linuxbrew/opt/zlib -I/home/linuxbrew/.linuxbrew/opt/zlib -fPIC -Isrc/include -I/usr/local/opt/openssl/include -Iaerospike-client-c/modules/common/src/include -I/usr/local/opt/openssl/include -I/tmp/pip-install-6us9xq9g/aerospike_88db8181c3594016b1cdabae7c9dca17/aerospike-client-c/target/Linux-x86_64/include -I/home/avi/.pyenv/versions/3.10.2/include/python3.10 -c src/main/aerospike.c -o build/temp.linux-x86_64-3.10/src/main/aerospike.o -std=gnu99 -g -Wall -fPIC -O1 -DDEBUG -fno-common -fno-strict-aliasing -Wno-strict-prototypes -march=nocona -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DMARCH_x86_64 -Wno-implicit-function-declaration -rdynamic -finline-functions
      In file included from src/include/client.h:21,
                       from src/main/aerospike.c:22:
      src/include/types.h:22:10: fatal error: aerospike/aerospike.h: No such file or directory
         22 | #include <aerospike/aerospike.h>
            |          ^~~~~~~~~~~~~~~~~~~~~~~
      compilation terminated.
      error: command '/usr/bin/gcc' failed with exit code 1
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> aerospike

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.

databasedav avatar Feb 25 '22 09:02 databasedav