chanzuckerberg / cellxgene-census

CZ CELLxGENE Discover Census
https://chanzuckerberg.github.io/cellxgene-census/
MIT License
72 stars 19 forks source link

Cannot pip install cellxgene-census in docker image for linux/arm64 #1087

Closed ubyndr closed 2 months ago

ubyndr commented 3 months ago

Describe the Bug

While attempting to install cellxgene-census within a Docker image built from the python:3.9 base image for the linux/arm64 architecture, the installation process fails. The Dockerfile includes steps to update the system, install build essentials, set up a Python virtual environment, and upgrade pip and wheel before attempting to install cellxgene-census. Despite these preparatory steps, the cellxgene-census installation does not complete successfully. This issue has been observed consistently in the context of building an ARM64-compatible Docker image, suggesting a potential compatibility or dependency resolution problem with the cellxgene-census package or its dependencies on the ARM64 architecture.

To Reproduce

Steps to reproduce the behavior:

  1. Create a Dockerfile with the following content:

    FROM python:3.9
    
    SHELL ["/bin/bash", "-c"]
    
    RUN apt-get update && apt-get install -y build-essential && apt-get clean && rm -rf /var/lib/apt/lists/*
    
    WORKDIR /app
    
    ENV VENV="/opt/env"
    ENV PATH="$VENV/bin:$PATH"
    
    RUN python3 -m venv $VENV
    
    RUN pip3 install --upgrade pip wheel
    
    RUN pip3 install cellxgene-census
  2. Build the Docker container:

    docker buildx build --platform linux/arm64/v8 -t cellxgene_census_bug .

Expected Behavior

Being able to successfully build the image.

Environment

Host:

Additional Context

Error message ```txt 299.3 Building wheels for collected packages: tiledbsoma, tiledb, session-info 299.3 Building wheel for tiledbsoma (pyproject.toml): started 371.5 Building wheel for tiledbsoma (pyproject.toml): still running... 371.7 Building wheel for tiledbsoma (pyproject.toml): finished with status 'error' 371.8 error: subprocess-exited-with-error 371.8 371.8 × Building wheel for tiledbsoma (pyproject.toml) did not run successfully. 371.8 │ exit code: 1 371.8 ╰─> [81 lines of output] 371.8 running bdist_wheel 371.8 Build with TileDB: /tmp/pip-install-4qk2z4gg/tiledbsoma_31557d620c684f41ade37a7526288fef/dist_links/dist 371.8 Building Release build 371.8 -- Using default install prefix /tmp/pip-install-4qk2z4gg/tiledbsoma_31557d620c684f41ade37a7526288fef/dist_links/dist. To control CMAKE_INSTALL_PREFIX, set OVERRIDE_INSTALL_PREFIX=OFF 371.8 -- Install prefix is /tmp/pip-install-4qk2z4gg/tiledbsoma_31557d620c684f41ade37a7526288fef/dist_links/dist. 371.8 -- The C compiler identification is GNU 12.2.0 371.8 -- The CXX compiler identification is GNU 12.2.0 371.8 -- Detecting C compiler ABI info 371.8 -- Detecting C compiler ABI info - done 371.8 -- Check for working C compiler: /usr/bin/cc - skipped 371.8 -- Detecting C compile features 371.8 -- Detecting C compile features - done 371.8 -- Detecting CXX compiler ABI info 371.8 -- Detecting CXX compiler ABI info - done 371.8 -- Check for working CXX compiler: /usr/bin/c++ - skipped 371.8 -- Detecting CXX compile features 371.8 -- Detecting CXX compile features - done 371.8 -- Starting TileDB-SOMA superbuild. 371.8 -- Could NOT find TileDB (missing: TileDB_DIR) 371.8 -- Adding TileDB as an external project 371.8 -- Could NOT find spdlog (missing: spdlog_DIR) 371.8 -- Adding spdlog as an external project 371.8 -- Not found clang-tidy 371.8 -- Not found clang-format 371.8 -- Configuring done (8.7s) 371.8 -- Generating done (0.1s) 371.8 -- Build files have been written to: /tmp/pip-install-4qk2z4gg/tiledbsoma_31557d620c684f41ade37a7526288fef/dist_links/build 371.8 [ 4%] Creating directories for 'ep_tiledb' 371.8 [ 8%] Performing download step (download, verify and extract) for 'ep_tiledb' 371.8 -- ep_tiledb download command succeeded. See also /tmp/pip-install-4qk2z4gg/tiledbsoma_31557d620c684f41ade37a7526288fef/dist_links/build/externals/src/ep_tiledb-stamp/ep_tiledb-download-*.log 371.8 [ 12%] No update step for 'ep_tiledb' 371.8 [ 16%] No patch step for 'ep_tiledb' 371.8 [ 20%] Performing configure step for 'ep_tiledb' 371.8 CMake Error at /tmp/pip-install-4qk2z4gg/tiledbsoma_31557d620c684f41ade37a7526288fef/dist_links/build/externals/src/ep_tiledb-stamp/ep_tiledb-configure-Release.cmake:49 (message): 371.8 Command failed: 1 371.8 371.8 '/tmp/pip-build-env-ua2anfxx/overlay/lib/python3.9/site-packages/cmake/data/bin/cmake' '-DCMAKE_INSTALL_PREFIX=/tmp/pip-install-4qk2z4gg/tiledbsoma_31557d620c684f41ade37a7526288fef/dist_links/build/externals/install' '-DCMAKE_PREFIX_PATH=/tmp/pip-install-4qk2z4gg/tiledbsoma_31557d620c684f41ade37a7526288fef/dist_links/build/externals/install' '-DTILEDB_S3=ON' '-DTILEDB_AZURE=ON' '-DTILEDB_GCS=OFF' '-DTILEDB_HDFS=OFF' '-DTILEDB_SERIALIZATION=ON' '-DTILEDB_WERROR=OFF' '-DTILEDB_VERBOSE=OFF' '-DTILEDB_TESTS=OFF' '-DCMAKE_BUILD_TYPE=Release' '-DCMAKE_OSX_ARCHITECTURES=' '-DCMAKE_C_FLAGS=' '-DCMAKE_CXX_FLAGS=' '-DCMAKE_CXX_COMPILER=/usr/bin/c++' '-DCMAKE_C_COMPILER=/usr/bin/cc' '' '-DCMAKE_POSITION_INDEPENDENT_CODE=ON' '-GUnix Makefiles' '-S' '/tmp/pip-install-4qk2z4gg/tiledbsoma_31557d620c684f41ade37a7526288fef/dist_links/build/externals/src/ep_tiledb' '-B' '/tmp/pip-install-4qk2z4gg/tiledbsoma_31557d620c684f41ade37a7526288fef/dist_links/build/externals/src/ep_tiledb-build' 371.8 371.8 See also 371.8 371.8 /tmp/pip-install-4qk2z4gg/tiledbsoma_31557d620c684f41ade37a7526288fef/dist_links/build/externals/src/ep_tiledb-stamp/ep_tiledb-configure-*.log 371.8 371.8 371.8 gmake[2]: *** [CMakeFiles/ep_tiledb.dir/build.make:92: externals/src/ep_tiledb-stamp/ep_tiledb-configure] Error 1 371.8 gmake[1]: *** [CMakeFiles/Makefile2:89: CMakeFiles/ep_tiledb.dir/all] Error 2 371.8 gmake: *** [Makefile:91: all] Error 2 371.8 Checking: /tmp/pip-install-4qk2z4gg/tiledbsoma_31557d620c684f41ade37a7526288fef/dist_links/dist/lib/libtiledbsoma.so exists: False 371.8 Checking: /tmp/pip-install-4qk2z4gg/tiledbsoma_31557d620c684f41ade37a7526288fef/dist_links/dist/lib64/libtiledbsoma.so exists: False 371.8 Checking: /tmp/pip-install-4qk2z4gg/tiledbsoma_31557d620c684f41ade37a7526288fef/dist_links/dist/lib/x86_64-linux-gnu/libtiledbsoma.so exists: False 371.8 libtiledbsoma.so: cannot open shared object file: No such file or directory 371.8 Traceback (most recent call last): 371.8 File "/opt/env/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in 371.8 main() 371.8 File "/opt/env/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main 371.8 json_out['return_val'] = hook(**hook_input['kwargs']) 371.8 File "/opt/env/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel 371.8 return _build_backend().build_wheel(wheel_directory, config_settings, 371.8 File "/tmp/pip-build-env-ua2anfxx/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 410, in build_wheel 371.8 return self._build_with_temp_dir( 371.8 File "/tmp/pip-build-env-ua2anfxx/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 395, in _build_with_temp_dir 371.8 self.run_setup() 371.8 File "/tmp/pip-build-env-ua2anfxx/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 311, in run_setup 371.8 exec(code, locals()) 371.8 File "", line 256, in 371.8 File "/tmp/pip-build-env-ua2anfxx/overlay/lib/python3.9/site-packages/setuptools/__init__.py", line 104, in setup 371.8 return distutils.core.setup(**attrs) 371.8 File "/tmp/pip-build-env-ua2anfxx/overlay/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup 371.8 return run_commands(dist) 371.8 File "/tmp/pip-build-env-ua2anfxx/overlay/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands 371.8 dist.run_commands() 371.8 File "/tmp/pip-build-env-ua2anfxx/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands 371.8 self.run_command(cmd) 371.8 File "/tmp/pip-build-env-ua2anfxx/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 967, in run_command 371.8 super().run_command(command) 371.8 File "/tmp/pip-build-env-ua2anfxx/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command 371.8 cmd_obj.run() 371.8 File "", line 213, in run 371.8 File "", line 175, in find_or_build_package_data 371.8 File "/usr/local/lib/python3.9/subprocess.py", line 528, in run 371.8 raise CalledProcessError(retcode, process.args, 371.8 subprocess.CalledProcessError: Command '['./bld', '--tiledb=/tmp/pip-install-4qk2z4gg/tiledbsoma_31557d620c684f41ade37a7526288fef/dist_links/dist']' returned non-zero exit status 2. 371.8 [end of output] 371.8 371.8 note: This error originates from a subprocess, and is likely not a problem with pip. 371.8 ERROR: Failed building wheel for tiledbsoma 371.9 Building wheel for tiledb (pyproject.toml): started 431.9 Building wheel for tiledb (pyproject.toml): still running... 432.5 Building wheel for tiledb (pyproject.toml): finished with status 'error' 432.6 error: subprocess-exited-with-error 432.6 432.6 × Building wheel for tiledb (pyproject.toml) did not run successfully. 432.6 │ exit code: 1 432.6 ╰─> [93 lines of output] 432.6 :9: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html 432.6 /tmp/pip-build-env-tp7fkzff/overlay/lib/python3.9/site-packages/setuptools/config/expand.py:133: SetuptoolsWarning: File '/tmp/pip-install-4qk2z4gg/tiledb_b7b9dcf48e284238a7bd112d0468a493/requirements_wheel.txt' cannot be found 432.6 return '\n'.join( 432.6 TILEDB_PATH from env: '' 432.6 libtiledb_exists checking 'library_dirs': [] 432.6 libtiledb_exists found: 'None' 432.6 running bdist_wheel 432.6 Cloning into '/tmp/pip-install-4qk2z4gg/tiledb_b7b9dcf48e284238a7bd112d0468a493/build/TileDB-2.21.1'... 432.6 Note: switching to 'acd5c50ecc50bb64c4786508c145febb156f3525'. 432.6 432.6 You are in 'detached HEAD' state. You can look around, make experimental 432.6 changes and commit them, and you can discard any commits you make in this 432.6 state without impacting any branches by switching back to a branch. 432.6 432.6 If you want to create a new branch to retain commits you create, you may 432.6 do so (now or later) by using -c with the switch command. Example: 432.6 432.6 git switch -c 432.6 432.6 Or undo this operation with: 432.6 432.6 git switch - 432.6 432.6 Turn off this advice by setting config variable advice.detachedHead to false 432.6 432.6 GNU Make 4.3 432.6 Built for aarch64-unknown-linux-gnu 432.6 Copyright (C) 1988-2020 Free Software Foundation, Inc. 432.6 License GPLv3+: GNU GPL version 3 or later 432.6 This is free software: you are free to change and redistribute it. 432.6 There is NO WARRANTY, to the extent permitted by law. 432.6 TILEDB_DISABLE_AUTO_VCPKG is not defined. Fetch a local copy of vcpkg. 432.6 Vcpkg commit string used: 72010900b7cee36cea77aebb97695095c9358eaf 432.6 Using vcpkg features: serialization;s3;webp 432.6 -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 432.6 -- Not found clang-tidy 432.6 -- Not found clang-format 432.6 -- was unable to find clang-format 432.6 -- Bootstrapping vcpkg before install 432.6 -- Bootstrapping vcpkg before install - failed 432.6 CMake Error at build/_deps/vcpkg-src/scripts/buildsystems/vcpkg.cmake:899 (message): 432.6 vcpkg install failed. See logs for more information: 432.6 /tmp/pip-install-4qk2z4gg/tiledb_b7b9dcf48e284238a7bd112d0468a493/build/TileDB-2.21.1/build/vcpkg-bootstrap.log 432.6 Call Stack (most recent call first): 432.6 /tmp/pip-build-env-tp7fkzff/normal/lib/python3.9/site-packages/cmake/data/share/cmake-3.29/Modules/CMakeDetermineSystem.cmake:146 (include) 432.6 CMakeLists.txt:142 (project) 432.6 432.6 432.6 CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool. 432.6 CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage 432.6 CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage 432.6 -- Configuring incomplete, errors occurred! 432.6 ext_modules: [, , ] 432.6 tiledb_ext: 432.6 main_ext: 432.6 tiledb_cc_ext: 432.6 tiledb_ext.library_dirs: [] 432.6 libtiledb_exists checking 'library_dirs': [] 432.6 libtiledb_exists found: 'None' 432.6 Building libtiledb in directory /tmp/pip-install-4qk2z4gg/tiledb_b7b9dcf48e284238a7bd112d0468a493/build/TileDB-2.21.1/build... 432.6 CMake configure command: ['cmake', '-DCMAKE_INSTALL_PREFIX=/tmp/pip-install-4qk2z4gg/tiledb_b7b9dcf48e284238a7bd112d0468a493/build/TileDB-2.21.1/dist', '-DTILEDB_TESTS=OFF', '-DTILEDB_S3=ON', '-DTILEDB_WERROR=OFF', '-DTILEDB_HDFS=ON', '-DTILEDB_INSTALL_LIBDIR=lib', '-DTILEDB_CPP_API=ON', '-DTILEDB_LOG_OUTPUT_ON_FAILURE=ON', '-DTILEDB_FORCE_ALL_DEPS:BOOL=OFF', '-DTILEDB_SERIALIZATION:BOOL=ON', '-DCMAKE_BUILD_TYPE=Release', '/tmp/pip-install-4qk2z4gg/tiledb_b7b9dcf48e284238a7bd112d0468a493/build/TileDB-2.21.1'] 432.6 Traceback (most recent call last): 432.6 File "/opt/env/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in 432.6 main() 432.6 File "/opt/env/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main 432.6 json_out['return_val'] = hook(**hook_input['kwargs']) 432.6 File "/opt/env/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel 432.6 return _build_backend().build_wheel(wheel_directory, config_settings, 432.6 File "/tmp/pip-build-env-tp7fkzff/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 410, in build_wheel 432.6 return self._build_with_temp_dir( 432.6 File "/tmp/pip-build-env-tp7fkzff/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 395, in _build_with_temp_dir 432.6 self.run_setup() 432.6 File "/tmp/pip-build-env-tp7fkzff/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 311, in run_setup 432.6 exec(code, locals()) 432.6 File "", line 791, in 432.6 File "/tmp/pip-build-env-tp7fkzff/overlay/lib/python3.9/site-packages/setuptools/__init__.py", line 104, in setup 432.6 return distutils.core.setup(**attrs) 432.6 File "/tmp/pip-build-env-tp7fkzff/overlay/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup 432.6 return run_commands(dist) 432.6 File "/tmp/pip-build-env-tp7fkzff/overlay/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands 432.6 dist.run_commands() 432.6 File "/tmp/pip-build-env-tp7fkzff/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands 432.6 self.run_command(cmd) 432.6 File "/tmp/pip-build-env-tp7fkzff/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 967, in run_command 432.6 super().run_command(command) 432.6 File "/tmp/pip-build-env-tp7fkzff/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command 432.6 cmd_obj.run() 432.6 File "", line 514, in run 432.6 File "", line 322, in find_or_install_libtiledb 432.6 File "", line 283, in build_libtiledb 432.6 File "/usr/local/lib/python3.9/subprocess.py", line 373, in check_call 432.6 raise CalledProcessError(retcode, cmd) 432.6 subprocess.CalledProcessError: Command '['cmake', '-DCMAKE_INSTALL_PREFIX=/tmp/pip-install-4qk2z4gg/tiledb_b7b9dcf48e284238a7bd112d0468a493/build/TileDB-2.21.1/dist', '-DTILEDB_TESTS=OFF', '-DTILEDB_S3=ON', '-DTILEDB_WERROR=OFF', '-DTILEDB_HDFS=ON', '-DTILEDB_INSTALL_LIBDIR=lib', '-DTILEDB_CPP_API=ON', '-DTILEDB_LOG_OUTPUT_ON_FAILURE=ON', '-DTILEDB_FORCE_ALL_DEPS:BOOL=OFF', '-DTILEDB_SERIALIZATION:BOOL=ON', '-DCMAKE_BUILD_TYPE=Release', '/tmp/pip-install-4qk2z4gg/tiledb_b7b9dcf48e284238a7bd112d0468a493/build/TileDB-2.21.1']' returned non-zero exit status 1. 432.6 [end of output] 432.6 432.6 note: This error originates from a subprocess, and is likely not a problem with pip. 432.6 ERROR: Failed building wheel for tiledb 432.6 Building wheel for session-info (setup.py): started 435.8 Building wheel for session-info (setup.py): finished with status 'done' 435.8 Created wheel for session-info: filename=session_info-1.0.0-py3-none-any.whl size=8045 sha256=0875b0b3e794af448974bf0d79ce9ca02f047cd2688e6363d8bcdaf3a75a0e73 435.8 Stored in directory: /root/.cache/pip/wheels/d4/fc/2e/00ca60bac7954b84907efd41baa9b4853500eaeec4228410c6 435.8 Successfully built session-info 435.8 Failed to build tiledbsoma tiledb 435.8 ERROR: Could not build wheels for tiledbsoma, tiledb, which is required to install pyproject.toml-based projects ``` <.details>
ebezzi commented 3 months ago

Hey @ubyndr,

we're able to reproduce the issue on our side - we will work with the TileDB team for a fix.

Would you be willing to use conda instead of pypi for this project? If so, we may have a quicker solution available. Let me know.

ubyndr commented 3 months ago

Hi @ebezzi,

Thank you for your prompt response. I appreciate it. Could you please provide more details about the conda solution? I'm particularly interested in understanding how it works and how it can be applied to our current situation.

ebezzi commented 3 months ago

Here is a Dockerfile that should work on Linux/ARM64:

FROM python:3.11

SHELL ["/bin/bash", "-c"]

RUN apt-get update && \
    apt-get install -y build-essential zip unzip tar ninja-build && \
    apt-get clean && rm -rf /var/lib/apt/lists/*

WORKDIR /app

# required for libtiledb source build

ENV VCPKG_FORCE_SYSTEM_BINARIES=1
ENV VENV="/opt/env"
ENV PATH="$VENV/bin:$PATH"

RUN python3 -m venv $VENV

RUN pip3 install --upgrade pip wheel

RUN pip3 install cellxgene-census

Let me know if you into any other issue.

ubyndr commented 3 months ago

Hi @ebezzi , Thank you for providing the Dockerfile example. I couldn't managed to build the image in my linux environment nor in my github action runner. It fails after almost 2 hours in the runner with the following error message;

Error message: ```txt #23 384.6 Building wheel for tiledbsoma (pyproject.toml): started #23 3623.4 Building wheel for tiledbsoma (pyproject.toml): still running... #23 3623.5 Building wheel for tiledbsoma (pyproject.toml): finished with status 'error' #23 3623.6 error: subprocess-exited-with-error #23 3623.6 #23 3623.6 × Building wheel for tiledbsoma (pyproject.toml) did not run successfully. #23 3623.6 │ exit code: 1 #23 3623.6 ╰─> [81 lines of output] #23 3623.6 running bdist_wheel #23 3623.6 Build with TileDB: /tmp/pip-install-i4vjr53l/tiledbsoma_bbdb55af5f3c422a8d7829f0a496fb75/dist_links/dist #23 3623.6 Building Release build #23 3623.6 -- Using default install prefix /tmp/pip-install-i4vjr53l/tiledbsoma_bbdb55af5f3c422a8d7829f0a496fb75/dist_links/dist. To control CMAKE_INSTALL_PREFIX, set OVERRIDE_INSTALL_PREFIX=OFF #23 3623.6 -- Install prefix is /tmp/pip-install-i4vjr53l/tiledbsoma_bbdb55af5f3c422a8d7829f0a496fb75/dist_links/dist. #23 3623.6 -- The C compiler identification is GNU 12.2.0 #23 3623.6 -- The CXX compiler identification is GNU 12.2.0 #23 3623.6 -- Detecting C compiler ABI info #23 3623.6 -- Detecting C compiler ABI info - done #23 3623.6 -- Check for working C compiler: /usr/bin/cc - skipped #23 3623.6 -- Detecting C compile features #23 3623.6 -- Detecting C compile features - done #23 3623.6 -- Detecting CXX compiler ABI info #23 3623.6 -- Detecting CXX compiler ABI info - done #23 3623.6 -- Check for working CXX compiler: /usr/bin/c++ - skipped #23 3623.6 -- Detecting CXX compile features #23 3623.6 -- Detecting CXX compile features - done #23 3623.6 -- Starting TileDB-SOMA superbuild. #23 3623.6 -- Could NOT find TileDB (missing: TileDB_DIR) #23 3623.6 -- Adding TileDB as an external project #23 3623.6 -- Could NOT find spdlog (missing: spdlog_DIR) #23 3623.6 -- Adding spdlog as an external project #23 3623.6 -- Not found clang-tidy #23 3623.6 -- Not found clang-format #23 3623.6 -- Configuring done (6.2s) #23 3623.6 -- Generating done (0.0s) #23 3623.6 -- Build files have been written to: /tmp/pip-install-i4vjr53l/tiledbsoma_bbdb55af5f3c422a8d7829f0a496fb75/dist_links/build #23 3623.6 [ 4%] Creating directories for 'ep_tiledb' #23 3623.6 [ 8%] Performing download step (download, verify and extract) for 'ep_tiledb' #23 3623.6 -- ep_tiledb download command succeeded. See also /tmp/pip-install-i4vjr53l/tiledbsoma_bbdb55af5f3c422a8d7829f0a496fb75/dist_links/build/externals/src/ep_tiledb-stamp/ep_tiledb-download-*.log #23 3623.6 [ 12%] No update step for 'ep_tiledb' #23 3623.6 [ 16%] No patch step for 'ep_tiledb' #23 3623.6 [ 20%] Performing configure step for 'ep_tiledb' #23 3623.6 CMake Error at /tmp/pip-install-i4vjr53l/tiledbsoma_bbdb55af5f3c422a8d7829f0a496fb75/dist_links/build/externals/src/ep_tiledb-stamp/ep_tiledb-configure-Release.cmake:49 (message): #23 3623.6 Command failed: 1 #23 3623.6 #23 3623.6 '/tmp/pip-build-env-1_tvqwuy/overlay/lib/python3.9/site-packages/cmake/data/bin/cmake' '-DCMAKE_INSTALL_PREFIX=/tmp/pip-install-i4vjr53l/tiledbsoma_bbdb55af5f3c422a8d7829f0a496fb75/dist_links/build/externals/install' '-DCMAKE_PREFIX_PATH=/tmp/pip-install-i4vjr53l/tiledbsoma_bbdb55af5f3c422a8d7829f0a496fb75/dist_links/build/externals/install' '-DTILEDB_S3=ON' '-DTILEDB_AZURE=ON' '-DTILEDB_GCS=OFF' '-DTILEDB_HDFS=OFF' '-DTILEDB_SERIALIZATION=ON' '-DTILEDB_WERROR=OFF' '-DTILEDB_VERBOSE=OFF' '-DTILEDB_TESTS=OFF' '-DCMAKE_BUILD_TYPE=Release' '-DCMAKE_OSX_ARCHITECTURES=' '-DCMAKE_C_FLAGS=' '-DCMAKE_CXX_FLAGS=' '-DCMAKE_CXX_COMPILER=/usr/bin/c++' '-DCMAKE_C_COMPILER=/usr/bin/cc' '' '-DCMAKE_POSITION_INDEPENDENT_CODE=ON' '-GUnix Makefiles' '-S' '/tmp/pip-install-i4vjr53l/tiledbsoma_bbdb55af5f3c422a8d7829f0a496fb75/dist_links/build/externals/src/ep_tiledb' '-B' '/tmp/pip-install-i4vjr53l/tiledbsoma_bbdb55af5f3c422a8d7829f0a496fb75/dist_links/build/externals/src/ep_tiledb-build' #23 3623.6 #23 3623.6 See also #23 3623.6 #23 3623.6 /tmp/pip-install-i4vjr53l/tiledbsoma_bbdb55af5f3c422a8d7829f0a496fb75/dist_links/build/externals/src/ep_tiledb-stamp/ep_tiledb-configure-*.log #23 3623.6 #23 3623.6 #23 3623.6 gmake[2]: *** [CMakeFiles/ep_tiledb.dir/build.make:92: externals/src/ep_tiledb-stamp/ep_tiledb-configure] Error 1 #23 3623.6 gmake[1]: *** [CMakeFiles/Makefile2:89: CMakeFiles/ep_tiledb.dir/all] Error 2 #23 3623.6 gmake: *** [Makefile:91: all] Error 2 #23 3623.6 Checking: /tmp/pip-install-i4vjr53l/tiledbsoma_bbdb55af5f3c422a8d7829f0a496fb75/dist_links/dist/lib/libtiledbsoma.so exists: False #23 3623.6 Checking: /tmp/pip-install-i4vjr53l/tiledbsoma_bbdb55af5f3c422a8d7829f0a496fb75/dist_links/dist/lib64/libtiledbsoma.so exists: False #23 3623.6 Checking: /tmp/pip-install-i4vjr53l/tiledbsoma_bbdb55af5f3c422a8d7829f0a496fb75/dist_links/dist/lib/x86_64-linux-gnu/libtiledbsoma.so exists: False #23 3623.6 libtiledbsoma.so: cannot open shared object file: No such file or directory #23 3623.6 Traceback (most recent call last): #23 3623.6 File "/opt/env/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in #23 3623.6 main() #23 3623.6 File "/opt/env/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main #23 3623.6 json_out['return_val'] = hook(**hook_input['kwargs']) #23 3623.6 File "/opt/env/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel #23 3623.6 return _build_backend().build_wheel(wheel_directory, config_settings, #23 3623.6 File "/tmp/pip-build-env-1_tvqwuy/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 410, in build_wheel #23 3623.6 return self._build_with_temp_dir( #23 3623.6 File "/tmp/pip-build-env-1_tvqwuy/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 395, in _build_with_temp_dir #23 3623.6 self.run_setup() #23 3623.6 File "/tmp/pip-build-env-1_tvqwuy/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 311, in run_setup #23 3623.6 exec(code, locals()) #23 3623.6 File "", line 258, in #23 3623.6 File "/tmp/pip-build-env-1_tvqwuy/overlay/lib/python3.9/site-packages/setuptools/__init__.py", line 104, in setup #23 3623.6 return distutils.core.setup(**attrs) #23 3623.6 File "/tmp/pip-build-env-1_tvqwuy/overlay/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup #23 3623.6 return run_commands(dist) #23 3623.6 File "/tmp/pip-build-env-1_tvqwuy/overlay/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands #23 3623.6 dist.run_commands() #23 3623.6 File "/tmp/pip-build-env-1_tvqwuy/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands #23 3623.6 self.run_command(cmd) #23 3623.6 File "/tmp/pip-build-env-1_tvqwuy/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 967, in run_command #23 3623.6 super().run_command(command) #23 3623.6 File "/tmp/pip-build-env-1_tvqwuy/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command #23 3623.6 cmd_obj.run() #23 3623.6 File "", line 215, in run #23 3623.6 File "", line 177, in find_or_build_package_data #23 3623.6 File "/usr/local/lib/python3.9/subprocess.py", line 528, in run #23 3623.6 raise CalledProcessError(retcode, process.args, #23 3623.6 subprocess.CalledProcessError: Command '['./bld', '--tiledb=/tmp/pip-install-i4vjr53l/tiledbsoma_bbdb55af5f3c422a8d7829f0a496fb75/dist_links/dist']' returned non-zero exit status 2. #23 3623.6 [end of output] #23 3623.6 #23 3623.6 note: This error originates from a subprocess, and is likely not a problem with pip. #23 3623.7 ERROR: Failed building wheel for tiledbsoma #23 3623.7 Building wheel for pysolr (setup.py): started #23 3627.5 Building wheel for pysolr (setup.py): finished with status 'done' #23 3627.5 Created wheel for pysolr: filename=pysolr-3.9.0-py2.py3-none-any.whl size=19685 sha256=22793e227b610c250d91ecfe26c222fc8f1218cfafd6036c3868d644aeb4ed57 #23 3627.5 Stored in directory: /root/.cache/pip/wheels/8f/e3/bb/f4c2a751045824a821ab25757e9762a66da88028d8f5f136ce #23 3627.5 Building wheel for ratelimit (setup.py): started #23 3629.7 Building wheel for ratelimit (setup.py): finished with status 'done' #23 3629.7 Created wheel for ratelimit: filename=ratelimit-2.2.1-py3-none-any.whl size=5910 sha256=f403878159f7e80ea0247ebfd1eef50d86150bf077040aa30741219d9f09b5cf #23 3629.7 Stored in directory: /root/.cache/pip/wheels/14/1e/97/126009a0884bdf7e26436cace73d9a4f4596dada4fdc4950ce #23 3629.8 Building wheel for tiledb (pyproject.toml): started #23 3705.4 Building wheel for tiledb (pyproject.toml): still running... #23 6846.5 Building wheel for tiledb (pyproject.toml): still running... #23 6846.7 Building wheel for tiledb (pyproject.toml): finished with status 'error' #23 6846.8 error: subprocess-exited-with-error #23 6846.8 #23 6846.8 × Building wheel for tiledb (pyproject.toml) did not run successfully. #23 6846.8 │ exit code: 1 #23 6846.8 ╰─> [93 lines of output] #23 6846.8 :9: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html #23 6846.8 /tmp/pip-build-env-hqsncdnu/overlay/lib/python3.9/site-packages/setuptools/config/expand.py:133: SetuptoolsWarning: File '/tmp/pip-install-i4vjr53l/tiledb_7b[2265](https://github.com/Cellular-Semantics/CL_KG/actions/runs/8575242388/job/23503807184#step:8:2267)7fb22b472cab9ceae342a7530f/requirements_wheel.txt' cannot be found #23 6846.8 return '\n'.join( #23 6846.8 TILEDB_PATH from env: '' #23 6846.8 libtiledb_exists checking 'library_dirs': [] #23 6846.8 libtiledb_exists found: 'None' #23 6846.8 running bdist_wheel #23 6846.8 Cloning into '/tmp/pip-install-i4vjr53l/tiledb_7b22657fb22b472cab9ceae342a7530f/build/TileDB-2.20.1'... #23 6846.8 Note: switching to '249c02481ed261a643b7fc63b748a90bce060e70'. #23 6846.8 #23 6846.8 You are in 'detached HEAD' state. You can look around, make experimental #23 6846.8 changes and commit them, and you can discard any commits you make in this #23 6846.8 state without impacting any branches by switching back to a branch. #23 6846.8 #23 6846.8 If you want to create a new branch to retain commits you create, you may #23 6846.8 do so (now or later) by using -c with the switch command. Example: #23 6846.8 #23 6846.8 git switch -c #23 6846.8 #23 6846.8 Or undo this operation with: #23 6846.8 #23 6846.8 git switch - #23 6846.8 #23 6846.8 Turn off this advice by setting config variable advice.detachedHead to false #23 6846.8 #23 6846.8 GNU Make 4.3 #23 6846.8 Built for aarch64-unknown-linux-gnu #23 6846.8 Copyright (C) 1988-2020 Free Software Foundation, Inc. #23 6846.8 License GPLv3+: GNU GPL version 3 or later #23 6846.8 This is free software: you are free to change and redistribute it. #23 6846.8 There is NO WARRANTY, to the extent permitted by law. #23 6846.8 TILEDB_DISABLE_AUTO_VCPKG is not defined. Fetch a local copy of vcpkg. #23 6846.8 Vcpkg commit string used: ac2a14f35fcd57d7a38f09af75dd5258e96dd6ac #23 6846.8 Using vcpkg features: serialization;s3;webp #23 6846.8 -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) #23 6846.8 -- Not found clang-tidy #23 6846.8 -- Not found clang-format #23 6846.8 -- was unable to find clang-format #23 6846.8 -- Bootstrapping vcpkg before install #23 6846.8 -- Bootstrapping vcpkg before install - failed #23 6846.8 CMake Error at build/_deps/vcpkg-src/scripts/buildsystems/vcpkg.cmake:899 (message): #23 6846.8 vcpkg install failed. See logs for more information: #23 6846.8 /tmp/pip-install-i4vjr53l/tiledb_7b22657fb22b472cab9ceae342a7530f/build/TileDB-2.20.1/build/vcpkg-bootstrap.log #23 6846.8 Call Stack (most recent call first): #23 6846.8 /tmp/pip-build-env-hqsncdnu/normal/lib/python3.9/site-packages/cmake/data/share/cmake-3.29/Modules/CMakeDetermineSystem.cmake:146 (include) #23 6846.8 CMakeLists.txt:139 (project) #23 6846.8 #23 6846.8 #23 6846.8 CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool. #23 6846.8 CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage #23 6846.8 CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage #23 6846.8 -- Configuring incomplete, errors occurred! #23 6846.8 ext_modules: [, , ] #23 6846.8 tiledb_ext: #23 6846.8 main_ext: #23 6846.8 tiledb_cc_ext: #23 6846.8 tiledb_ext.library_dirs: [] #23 6846.8 libtiledb_exists checking 'library_dirs': [] #23 6846.8 libtiledb_exists found: 'None' #23 6846.8 Building libtiledb in directory /tmp/pip-install-i4vjr53l/tiledb_7b22657fb22b472cab9ceae342a7530f/build/TileDB-2.20.1/build... #23 6846.8 CMake configure command: ['cmake', '-DCMAKE_INSTALL_PREFIX=/tmp/pip-install-i4vjr53l/tiledb_7b22657fb22b472cab9ceae342a7530f/build/TileDB-2.20.1/dist', '-DTILEDB_TESTS=OFF', '-DTILEDB_S3=ON', '-DTILEDB_WERROR=OFF', '-DTILEDB_HDFS=ON', '-DTILEDB_INSTALL_LIBDIR=lib', '-DTILEDB_CPP_API=ON', '-DTILEDB_LOG_OUTPUT_ON_FAILURE=ON', '-DTILEDB_FORCE_ALL_DEPS:BOOL=OFF', '-DTILEDB_SERIALIZATION:BOOL=ON', '-DCMAKE_BUILD_TYPE=Release', '/tmp/pip-install-i4vjr53l/tiledb_7b22657fb22b472cab9ceae342a7530f/build/TileDB-2.20.1'] #23 6846.8 Traceback (most recent call last): #23 6846.8 File "/opt/env/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in #23 6846.8 main() #23 6846.8 File "/opt/env/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main #23 6846.8 json_out['return_val'] = hook(**hook_input['kwargs']) #23 6846.8 File "/opt/env/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel #23 6846.8 return _build_backend().build_wheel(wheel_directory, config_settings, #23 6846.8 File "/tmp/pip-build-env-hqsncdnu/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 410, in build_wheel #23 6846.8 return self._build_with_temp_dir( #23 6846.8 File "/tmp/pip-build-env-hqsncdnu/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 395, in _build_with_temp_dir #23 6846.8 self.run_setup() #23 6846.8 File "/tmp/pip-build-env-hqsncdnu/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 311, in run_setup #23 6846.8 exec(code, locals()) #23 6846.8 File "", line 791, in #23 6846.8 File "/tmp/pip-build-env-hqsncdnu/overlay/lib/python3.9/site-packages/setuptools/__init__.py", line 104, in setup #23 6846.8 return distutils.core.setup(**attrs) #23 6846.8 File "/tmp/pip-build-env-hqsncdnu/overlay/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup #23 6846.8 return run_commands(dist) #23 6846.8 File "/tmp/pip-build-env-hqsncdnu/overlay/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands #23 6846.8 dist.run_commands() #23 6846.8 File "/tmp/pip-build-env-hqsncdnu/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands #23 6846.8 self.run_command(cmd) #23 6846.8 File "/tmp/pip-build-env-hqsncdnu/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 967, in run_command #23 6846.8 super().run_command(command) #23 6846.8 File "/tmp/pip-build-env-hqsncdnu/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command #23 6846.8 cmd_obj.run() #23 6846.8 File "", line 514, in run #23 6846.8 File "", line 322, in find_or_install_libtiledb #23 6846.8 File "", line 283, in build_libtiledb #23 6846.8 File "/usr/local/lib/python3.9/subprocess.py", line 373, in check_call #23 6846.8 raise CalledProcessError(retcode, cmd) #23 6846.8 subprocess.CalledProcessError: Command '['cmake', '-DCMAKE_INSTALL_PREFIX=/tmp/pip-install-i4vjr53l/tiledb_7b22657fb22b472cab9ceae342a7530f/build/TileDB-2.20.1/dist', '-DTILEDB_TESTS=OFF', '-DTILEDB_S3=ON', '-DTILEDB_WERROR=OFF', '-DTILEDB_HDFS=ON', '-DTILEDB_INSTALL_LIBDIR=lib', '-DTILEDB_CPP_API=ON', '-DTILEDB_LOG_OUTPUT_ON_FAILURE=ON', '-DTILEDB_FORCE_ALL_DEPS:BOOL=OFF', '-DTILEDB_SERIALIZATION:BOOL=ON', '-DCMAKE_BUILD_TYPE=Release', '/tmp/pip-install-i4vjr53l/tiledb_7b22657fb22b472cab9ceae342a7530f/build/TileDB-2.20.1']' returned non-zero exit status 1. #23 6846.8 [end of output] #23 6846.8 #23 6846.8 note: This error originates from a subprocess, and is likely not a problem with pip. #23 6846.8 ERROR: Failed building wheel for tiledb #23 6846.8 Building wheel for session-info (setup.py): started #23 6849.3 Building wheel for session-info (setup.py): finished with status 'done' #23 6849.3 Created wheel for session-info: filename=session_info-1.0.0-py3-none-any.whl size=8045 sha256=45eade140311af8c65f1be95454b7d1732bc607da61d18d16bf8830917168884 #23 6849.3 Stored in directory: /root/.cache/pip/wheels/d4/fc/2e/00ca60bac7954b84907efd41baa9b4853500eaeec4[2284](https://github.com/Cellular-Semantics/CL_KG/actions/runs/8575242388/job/23503807184#step:8:2286)10c6 #23 6849.3 Building wheel for antlr4-python3-runtime (setup.py): started #23 6851.9 Building wheel for antlr4-python3-runtime (setup.py): finished with status 'done' #23 6851.9 Created wheel for antlr4-python3-runtime: filename=antlr4_python3_runtime-4.9.3-py3-none-any.whl size=144576 sha256=fe3c57fc21310ae37ac2c391efe425f74be309560c5d20d74f352c341d625a0c #23 6851.9 Stored in directory: /root/.cache/pip/wheels/23/cf/80/f3efa822e6ab23277902ee9165fe772eeb1dfb8014f359020a #23 6851.9 Building wheel for pytest-logging (setup.py): started #23 6854.2 Building wheel for pytest-logging (setup.py): finished with status 'done' #23 6854.2 Created wheel for pytest-logging: filename=pytest_logging-2015.11.4-py3-none-any.whl size=4358 sha256=f4c5c120fc3e37cc4889c524410b2f7c30ddb0c346a4fdcc57b691477cfd7ae0 #23 6854.2 Stored in directory: /root/.cache/pip/wheels/bb/88/20/eddb2c2101b5bbd5e502e447de446d87c4080d9e790f2a68a8 #23 6854.2 Successfully built pygraphviz pysolr ratelimit session-info antlr4-python3-runtime pytest-logging #23 6854.2 Failed to build tiledbsoma tiledb #23 6854.2 ERROR: Could not build wheels for tiledbsoma, tiledb, which is required to install pyproject.toml-based projects #23 ERROR: process "/bin/bash -c pip install -r requirements.txt" did not complete successfully: exit code: 1 ------ > [linux/arm64 8/9] RUN pip install -r requirements.txt: 6851.9 Building wheel for antlr4-python3-runtime (setup.py): finished with status 'done' 6851.9 Created wheel for antlr4-python3-runtime: filename=antlr4_python3_runtime-4.9.3-py3-none-any.whl size=144576 sha256=fe3c57fc21310ae37ac2c391efe425f74be309560c5d20d74f352c341d625a0c 6851.9 Stored in directory: /root/.cache/pip/wheels/23/cf/80/f3efa822e6ab23277902ee9165fe772eeb1dfb8014f359020a 6851.9 Building wheel for pytest-logging (setup.py): started 6854.2 Building wheel for pytest-logging (setup.py): finished with status 'done' 6854.2 Created wheel for pytest-logging: filename=pytest_logging-2015.11.4-py3-none-any.whl size=4358 sha256=f4c5c120fc3e37cc4889c524410b2f7c30ddb0c346a4fdcc57b691477cfd7ae0 6854.2 Stored in directory: /root/.cache/pip/wheels/bb/88/20/eddb2c2101b5bbd5e502e447de446d87c4080d9e790f2a68a8 6854.2 Successfully built pygraphviz pysolr ratelimit session-info antlr4-python3-runtime pytest-logging 6854.2 Failed to build tiledbsoma tiledb 6854.2 ERROR: Could not build wheels for tiledbsoma, tiledb, which is required to install pyproject.toml-based projects ------ Dockerfile:20 -------------------- 18 | 19 | COPY requirements.txt ./ 20 | >>> RUN pip install -r requirements.txt 21 | 22 | COPY src/ ./src -------------------- ERROR: failed to solve: process "/bin/bash -c pip install -r requirements.txt" did not complete successfully: exit code: 1 ```
ebezzi commented 3 months ago

I believe it could be an issue with python 3.9 - are you able to try with python 3.11 or is there any version constraint that requires you to use 3.9? If so, let me know and I'll do more investigation.

ihnorton commented 3 months ago

I believe it could be an issue with python 3.9

I was not able to build in the 3.9 image due to the older gcc version, so I switched to the 3.11 image.

ubyndr commented 3 months ago

I've also tried it with python 3.11, it still fails;

Error message: ```txt 31.79 Building wheels for collected packages: tiledbsoma, tiledb, session-info 31.79 Building wheel for tiledbsoma (pyproject.toml): started 320.7 Building wheel for tiledbsoma (pyproject.toml): still running... 320.7 Building wheel for tiledbsoma (pyproject.toml): finished with status 'error' 320.7 error: subprocess-exited-with-error 320.7 320.7 × Building wheel for tiledbsoma (pyproject.toml) did not run successfully. 320.7 │ exit code: 1 320.7 ╰─> [86 lines of output] 320.7 running bdist_wheel 320.7 Build with TileDB: /tmp/pip-install-6bdcgfss/tiledbsoma_3998ef6a50424ecab43477ba81314b7f/dist_links/dist 320.7 Building Release build 320.7 -- Using default install prefix /tmp/pip-install-6bdcgfss/tiledbsoma_3998ef6a50424ecab43477ba81314b7f/dist_links/dist. To control CMAKE_INSTALL_PREFIX, set OVERRIDE_INSTALL_PREFIX=OFF 320.7 -- Install prefix is /tmp/pip-install-6bdcgfss/tiledbsoma_3998ef6a50424ecab43477ba81314b7f/dist_links/dist. 320.7 -- The C compiler identification is GNU 12.2.0 320.7 -- The CXX compiler identification is GNU 12.2.0 320.7 -- Detecting C compiler ABI info 320.7 -- Detecting C compiler ABI info - done 320.7 -- Check for working C compiler: /usr/bin/cc - skipped 320.7 -- Detecting C compile features 320.7 -- Detecting C compile features - done 320.7 -- Detecting CXX compiler ABI info 320.7 -- Detecting CXX compiler ABI info - done 320.7 -- Check for working CXX compiler: /usr/bin/c++ - skipped 320.7 -- Detecting CXX compile features 320.7 -- Detecting CXX compile features - done 320.7 -- Starting TileDB-SOMA superbuild. 320.7 -- Could NOT find TileDB (missing: TileDB_DIR) 320.7 -- Adding TileDB as an external project 320.7 -- Could NOT find spdlog (missing: spdlog_DIR) 320.7 -- Adding spdlog as an external project 320.7 -- Not found clang-tidy 320.7 -- Not found clang-format 320.7 -- Configuring done (0.3s) 320.7 -- Generating done (0.0s) 320.7 -- Build files have been written to: /tmp/pip-install-6bdcgfss/tiledbsoma_3998ef6a50424ecab43477ba81314b7f/dist_links/build 320.7 [ 4%] Creating directories for 'ep_tiledb' 320.7 [ 8%] Performing download step (download, verify and extract) for 'ep_tiledb' 320.7 -- ep_tiledb download command succeeded. See also /tmp/pip-install-6bdcgfss/tiledbsoma_3998ef6a50424ecab43477ba81314b7f/dist_links/build/externals/src/ep_tiledb-stamp/ep_tiledb-download-*.log 320.7 [ 12%] No update step for 'ep_tiledb' 320.7 [ 16%] No patch step for 'ep_tiledb' 320.7 [ 20%] Performing configure step for 'ep_tiledb' 320.7 CMake Error at /tmp/pip-install-6bdcgfss/tiledbsoma_3998ef6a50424ecab43477ba81314b7f/dist_links/build/externals/src/ep_tiledb-stamp/ep_tiledb-configure-Release.cmake:49 (message): 320.7 Command failed: 1 320.7 320.7 '/tmp/pip-build-env-8qylp2ej/overlay/lib/python3.11/site-packages/cmake/data/bin/cmake' '-DCMAKE_INSTALL_PREFIX=/tmp/pip-install-6bdcgfss/tiledbsoma_3998ef6a50424ecab43477ba81314b7f/dist_links/build/externals/install' '-DCMAKE_PREFIX_PATH=/tmp/pip-install-6bdcgfss/tiledbsoma_3998ef6a50424ecab43477ba81314b7f/dist_links/build/externals/install' '-DTILEDB_S3=ON' '-DTILEDB_AZURE=ON' '-DTILEDB_GCS=OFF' '-DTILEDB_HDFS=OFF' '-DTILEDB_SERIALIZATION=ON' '-DTILEDB_WERROR=OFF' '-DTILEDB_VERBOSE=OFF' '-DTILEDB_TESTS=OFF' '-DCMAKE_BUILD_TYPE=Release' '-DCMAKE_OSX_ARCHITECTURES=' '-DCMAKE_C_FLAGS=' '-DCMAKE_CXX_FLAGS=' '-DCMAKE_CXX_COMPILER=/usr/bin/c++' '-DCMAKE_C_COMPILER=/usr/bin/cc' '' '-DCMAKE_POSITION_INDEPENDENT_CODE=ON' '-GUnix Makefiles' '-S' '/tmp/pip-install-6bdcgfss/tiledbsoma_3998ef6a50424ecab43477ba81314b7f/dist_links/build/externals/src/ep_tiledb' '-B' '/tmp/pip-install-6bdcgfss/tiledbsoma_3998ef6a50424ecab43477ba81314b7f/dist_links/build/externals/src/ep_tiledb-build' 320.7 320.7 See also 320.7 320.7 /tmp/pip-install-6bdcgfss/tiledbsoma_3998ef6a50424ecab43477ba81314b7f/dist_links/build/externals/src/ep_tiledb-stamp/ep_tiledb-configure-*.log 320.7 320.7 320.7 gmake[2]: *** [CMakeFiles/ep_tiledb.dir/build.make:92: externals/src/ep_tiledb-stamp/ep_tiledb-configure] Error 1 320.7 gmake[1]: *** [CMakeFiles/Makefile2:89: CMakeFiles/ep_tiledb.dir/all] Error 2 320.7 gmake: *** [Makefile:91: all] Error 2 320.7 Checking: /tmp/pip-install-6bdcgfss/tiledbsoma_3998ef6a50424ecab43477ba81314b7f/dist_links/dist/lib/libtiledbsoma.so exists: False 320.7 Checking: /tmp/pip-install-6bdcgfss/tiledbsoma_3998ef6a50424ecab43477ba81314b7f/dist_links/dist/lib64/libtiledbsoma.so exists: False 320.7 Checking: /tmp/pip-install-6bdcgfss/tiledbsoma_3998ef6a50424ecab43477ba81314b7f/dist_links/dist/lib/x86_64-linux-gnu/libtiledbsoma.so exists: False 320.7 libtiledbsoma.so: cannot open shared object file: No such file or directory 320.7 Traceback (most recent call last): 320.7 File "/opt/env/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in 320.7 main() 320.7 File "/opt/env/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main 320.7 json_out['return_val'] = hook(**hook_input['kwargs']) 320.7 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 320.7 File "/opt/env/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel 320.7 return _build_backend().build_wheel(wheel_directory, config_settings, 320.7 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 320.7 File "/tmp/pip-build-env-8qylp2ej/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 410, in build_wheel 320.7 return self._build_with_temp_dir( 320.7 ^^^^^^^^^^^^^^^^^^^^^^^^^^ 320.7 File "/tmp/pip-build-env-8qylp2ej/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 395, in _build_with_temp_dir 320.7 self.run_setup() 320.7 File "/tmp/pip-build-env-8qylp2ej/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 311, in run_setup 320.7 exec(code, locals()) 320.7 File "", line 256, in 320.7 File "/tmp/pip-build-env-8qylp2ej/overlay/lib/python3.11/site-packages/setuptools/__init__.py", line 104, in setup 320.7 return distutils.core.setup(**attrs) 320.7 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 320.7 File "/tmp/pip-build-env-8qylp2ej/overlay/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 185, in setup 320.7 return run_commands(dist) 320.7 ^^^^^^^^^^^^^^^^^^ 320.7 File "/tmp/pip-build-env-8qylp2ej/overlay/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 201, in run_commands 320.7 dist.run_commands() 320.7 File "/tmp/pip-build-env-8qylp2ej/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands 320.7 self.run_command(cmd) 320.7 File "/tmp/pip-build-env-8qylp2ej/overlay/lib/python3.11/site-packages/setuptools/dist.py", line 967, in run_command 320.7 super().run_command(command) 320.7 File "/tmp/pip-build-env-8qylp2ej/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command 320.7 cmd_obj.run() 320.7 File "", line 213, in run 320.7 File "", line 175, in find_or_build_package_data 320.7 File "/usr/local/lib/python3.11/subprocess.py", line 571, in run 320.7 raise CalledProcessError(retcode, process.args, 320.7 subprocess.CalledProcessError: Command '['./bld', '--tiledb=/tmp/pip-install-6bdcgfss/tiledbsoma_3998ef6a50424ecab43477ba81314b7f/dist_links/dist']' returned non-zero exit status 2. 320.7 [end of output] 320.7 320.7 note: This error originates from a subprocess, and is likely not a problem with pip. 320.7 ERROR: Failed building wheel for tiledbsoma 320.7 Building wheel for tiledb (pyproject.toml): started 372.2 Building wheel for tiledb (pyproject.toml): finished with status 'error' 372.2 error: subprocess-exited-with-error 372.2 372.2 × Building wheel for tiledb (pyproject.toml) did not run successfully. 372.2 │ exit code: 1 372.2 ╰─> [210 lines of output] 372.2 :9: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html 372.2 /tmp/pip-build-env-6lefs9yx/overlay/lib/python3.11/site-packages/setuptools/config/expand.py:133: SetuptoolsWarning: File '/tmp/pip-install-6bdcgfss/tiledb_d9e21c64847a444990172939e66e4f01/requirements_wheel.txt' cannot be found 372.2 return '\n'.join( 372.2 TILEDB_PATH from env: '' 372.2 libtiledb_exists checking 'library_dirs': [] 372.2 libtiledb_exists found: 'None' 372.2 running bdist_wheel 372.2 Cloning into '/tmp/pip-install-6bdcgfss/tiledb_d9e21c64847a444990172939e66e4f01/build/TileDB-2.21.1'... 372.2 Note: switching to 'acd5c50ecc50bb64c4786508c145febb156f3525'. 372.2 372.2 You are in 'detached HEAD' state. You can look around, make experimental 372.2 changes and commit them, and you can discard any commits you make in this 372.2 state without impacting any branches by switching back to a branch. 372.2 372.2 If you want to create a new branch to retain commits you create, you may 372.2 do so (now or later) by using -c with the switch command. Example: 372.2 372.2 git switch -c 372.2 372.2 Or undo this operation with: 372.2 372.2 git switch - 372.2 372.2 Turn off this advice by setting config variable advice.detachedHead to false 372.2 372.2 GNU Make 4.3 372.2 Built for aarch64-unknown-linux-gnu 372.2 Copyright (C) 1988-2020 Free Software Foundation, Inc. 372.2 License GPLv3+: GNU GPL version 3 or later 372.2 This is free software: you are free to change and redistribute it. 372.2 There is NO WARRANTY, to the extent permitted by law. 372.2 TILEDB_DISABLE_AUTO_VCPKG is not defined. Fetch a local copy of vcpkg. 372.2 Vcpkg commit string used: 72010900b7cee36cea77aebb97695095c9358eaf 372.2 Using vcpkg features: serialization;s3;webp 372.2 -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 372.2 -- Not found clang-tidy 372.2 -- Not found clang-format 372.2 -- was unable to find clang-format 372.2 -- Bootstrapping vcpkg before install 372.2 -- Bootstrapping vcpkg before install - done 372.2 -- Running vcpkg install 372.2 Detecting compiler hash for triplet arm64-linux... 372.2 The following packages will be built and installed: 372.2 * aws-c-auth:arm64-linux -> 0.7.8 -- /tmp/pip-install-6bdcgfss/tiledb_d9e21c64847a444990172939e66e4f01/build/TileDB-2.21.1/build/_deps/vcpkg-src/buildtrees/versioning_/versions/aws-c-auth/e80f8a3a15231a8d513d03ff7761acf4a5c18269 372.2 * aws-c-cal:arm64-linux -> 0.6.9 -- /tmp/pip-install-6bdcgfss/tiledb_d9e21c64847a444990172939e66e4f01/build/TileDB-2.21.1/build/_deps/vcpkg-src/buildtrees/versioning_/versions/aws-c-cal/43c961d933d7a928c15cdfb7c5f7a6c16875bed5 372.2 * aws-c-common:arm64-linux -> 0.9.10 -- /tmp/pip-install-6bdcgfss/tiledb_d9e21c64847a444990172939e66e4f01/build/TileDB-2.21.1/build/_deps/vcpkg-src/buildtrees/versioning_/versions/aws-c-common/e07be2013141ae49e6bf3340ccce57b0031cfb17 372.2 * aws-c-compression:arm64-linux -> 0.2.17 -- /tmp/pip-install-6bdcgfss/tiledb_d9e21c64847a444990172939e66e4f01/build/TileDB-2.21.1/build/_deps/vcpkg-src/buildtrees/versioning_/versions/aws-c-compression/a0373f54fe747cd91672c56b2d86ce0e8d9e4491 372.2 * aws-c-event-stream:arm64-linux -> 0.3.2 -- /tmp/pip-install-6bdcgfss/tiledb_d9e21c64847a444990172939e66e4f01/build/TileDB-2.21.1/build/_deps/vcpkg-src/buildtrees/versioning_/versions/aws-c-event-stream/c0c5daf2e95fa6a4e02f178c8ff091b0c8ed6b0e 372.2 * aws-c-http:arm64-linux -> 0.7.14 -- /tmp/pip-install-6bdcgfss/tiledb_d9e21c64847a444990172939e66e4f01/build/TileDB-2.21.1/build/_deps/vcpkg-src/buildtrees/versioning_/versions/aws-c-http/eb6f67641f77b8ba24d435c6cf49b7a36cf80536 372.2 * aws-c-io:arm64-linux -> 0.13.36 -- /tmp/pip-install-6bdcgfss/tiledb_d9e21c64847a444990172939e66e4f01/build/TileDB-2.21.1/build/_deps/vcpkg-src/buildtrees/versioning_/versions/aws-c-io/586cb06ad50ef2627c4dd30ab97b88d79e559fd5 372.2 * aws-c-mqtt:arm64-linux -> 0.9.10 -- /tmp/pip-install-6bdcgfss/tiledb_d9e21c64847a444990172939e66e4f01/build/TileDB-2.21.1/build/_deps/vcpkg-src/buildtrees/versioning_/versions/aws-c-mqtt/79c21d94b22888e395bd53041457397fcb013486 372.2 * aws-c-s3:arm64-linux -> 0.4.3 -- /tmp/pip-install-6bdcgfss/tiledb_d9e21c64847a444990172939e66e4f01/build/TileDB-2.21.1/build/_deps/vcpkg-src/buildtrees/versioning_/versions/aws-c-s3/e12d01447182cce36c5524fbd6a22f8135dd9ecb 372.2 * aws-c-sdkutils:arm64-linux -> 0.1.12 -- /tmp/pip-install-6bdcgfss/tiledb_d9e21c64847a444990172939e66e4f01/build/TileDB-2.21.1/build/_deps/vcpkg-src/buildtrees/versioning_/versions/aws-c-sdkutils/23164b5e925decd15773f93c5fbe0330be7ac9f5 372.2 * aws-checksums:arm64-linux -> 0.1.17 -- /tmp/pip-install-6bdcgfss/tiledb_d9e21c64847a444990172939e66e4f01/build/TileDB-2.21.1/build/_deps/vcpkg-src/buildtrees/versioning_/versions/aws-checksums/05e17cee2b7d221bb49bebe55e8801f9cea99014 372.2 * aws-crt-cpp:arm64-linux -> 0.24.8 -- /tmp/pip-install-6bdcgfss/tiledb_d9e21c64847a444990172939e66e4f01/build/TileDB-2.21.1/build/_deps/vcpkg-src/buildtrees/versioning_/versions/aws-crt-cpp/0ec1e5fdb18e38dc54d06842860ec7f95df53c5a 372.2 aws-sdk-cpp[cognito-identity,core,identity-management,s3,sts]:arm64-linux -> 1.11.215 -- /tmp/pip-install-6bdcgfss/tiledb_d9e21c64847a444990172939e66e4f01/build/TileDB-2.21.1/build/_deps/vcpkg-src/buildtrees/versioning_/versions/aws-sdk-cpp/bbebf005503aa74f6725df8f4d04eb21a894e127 372.2 bzip2[core,tool]:arm64-linux -> 1.0.8#5 -- /tmp/pip-install-6bdcgfss/tiledb_d9e21c64847a444990172939e66e4f01/build/TileDB-2.21.1/build/_deps/vcpkg-src/buildtrees/versioning_/versions/bzip2/92e9a8bbf1abbd89872b48ad82fcf75852de1006 372.2 capnproto:arm64-linux -> 1.0.1 -- /tmp/pip-install-6bdcgfss/tiledb_d9e21c64847a444990172939e66e4f01/build/TileDB-2.21.1/build/_deps/vcpkg-src/buildtrees/versioning_/versions/capnproto/4a615543c6406b84fc52a931335d7fdb70037627 372.2 curl[core,non-http,openssl,ssl,zstd]:arm64-linux -> 8.4.0 -- /tmp/pip-install-6bdcgfss/tiledb_d9e21c64847a444990172939e66e4f01/build/TileDB-2.21.1/build/_deps/vcpkg-src/buildtrees/versioning_/versions/curl/6125c796d6e2913a89a2996d7082375ce16b02dd 372.2 * fmt:arm64-linux -> 10.1.1 -- /tmp/pip-install-6bdcgfss/tiledb_d9e21c64847a444990172939e66e4f01/build/TileDB-2.21.1/build/_deps/vcpkg-src/buildtrees/versioning_/versions/fmt/dfe9aa860f5a8317f341a21d317be1cf44e89f18 372.2 libmagic:arm64-linux -> 5.40#1 -- /tmp/pip-install-6bdcgfss/tiledb_d9e21c64847a444990172939e66e4f01/build/TileDB-2.21.1/ports/libmagic 372.2 libwebp[core,libwebpmux,nearlossless,simd]:arm64-linux -> 1.3.2 -- /tmp/pip-install-6bdcgfss/tiledb_d9e21c64847a444990172939e66e4f01/build/TileDB-2.21.1/build/_deps/vcpkg-src/buildtrees/versioning_/versions/libwebp/0b981028589375097039d5e39e7d87659cdfa824 372.2 lz4:arm64-linux -> 1.9.4#1 -- /tmp/pip-install-6bdcgfss/tiledb_d9e21c64847a444990172939e66e4f01/build/TileDB-2.21.1/build/_deps/vcpkg-src/buildtrees/versioning_/versions/lz4/d7704e3869f579ffdf927b5419579473e9d702d4 372.2 openssl:arm64-linux -> 1.1.1t -- /tmp/pip-install-6bdcgfss/tiledb_d9e21c64847a444990172939e66e4f01/build/TileDB-2.21.1/ports/openssl 372.2 * pcre2[core,jit,platform-default-features]:arm64-linux -> 10.42#1 -- /tmp/pip-install-6bdcgfss/tiledb_d9e21c64847a444990172939e66e4f01/build/TileDB-2.21.1/ports/pcre2 372.2 * s2n:arm64-linux -> 1.3.56 -- /tmp/pip-install-6bdcgfss/tiledb_d9e21c64847a444990172939e66e4f01/build/TileDB-2.21.1/build/_deps/vcpkg-src/buildtrees/versioning_/versions/s2n/1a5705f86914ceeaa101adb9b7aca73c785aa584 372.2 spdlog:arm64-linux -> 1.12.0 -- /tmp/pip-install-6bdcgfss/tiledb_d9e21c64847a444990172939e66e4f01/build/TileDB-2.21.1/build/_deps/vcpkg-src/buildtrees/versioning_/versions/spdlog/41cf31aa350a44644863d7777489501d240f248c 372.2 * vcpkg-cmake:arm64-linux -> 2023-05-04 -- /tmp/pip-install-6bdcgfss/tiledb_d9e21c64847a444990172939e66e4f01/build/TileDB-2.21.1/build/_deps/vcpkg-src/buildtrees/versioning_/versions/vcpkg-cmake/88a7058fc7fa73a9c4c99cfcae9d79e2abf87a5a 372.2 * vcpkg-cmake-config:arm64-linux -> 2022-02-06#1 -- /tmp/pip-install-6bdcgfss/tiledb_d9e21c64847a444990172939e66e4f01/build/TileDB-2.21.1/build/_deps/vcpkg-src/buildtrees/versioning_/versions/vcpkg-cmake-config/8d54cc4f487d51b655abec5f9c9c3f86ca83311f 372.2 zlib:arm64-linux -> 1.3 -- /tmp/pip-install-6bdcgfss/tiledb_d9e21c64847a444990172939e66e4f01/build/TileDB-2.21.1/build/_deps/vcpkg-src/buildtrees/versioning_/versions/zlib/5ac18c6e6e3e2bf5a9e3d0bc8a845f198e4c4e05 372.2 zstd:arm64-linux -> 1.5.5#2 -- /tmp/pip-install-6bdcgfss/tiledb_d9e21c64847a444990172939e66e4f01/build/TileDB-2.21.1/build/_deps/vcpkg-src/buildtrees/versioning_/versions/zstd/259dc461801ecb946995e13fd3d94b1381d02441 372.2 Additional packages (*) will be modified to complete this operation. 372.2 Restored 28 package(s) from /root/.cache/vcpkg/archives in 736 ms. Use --debug to see more details. 372.2 Installing 1/28 vcpkg-cmake:arm64-linux... 372.2 Elapsed time to handle vcpkg-cmake:arm64-linux: 440 us 372.2 Installing 2/28 bzip2:arm64-linux... 372.2 Elapsed time to handle bzip2:arm64-linux: 653 us 372.2 Installing 3/28 vcpkg-cmake-config:arm64-linux... 372.2 Elapsed time to handle vcpkg-cmake-config:arm64-linux: 251 us 372.2 Installing 4/28 pcre2:arm64-linux... 372.2 Elapsed time to handle pcre2:arm64-linux: 700 us 372.2 Installing 5/28 libmagic:arm64-linux... 372.2 Elapsed time to handle libmagic:arm64-linux: 452 us 372.2 Installing 6/28 lz4:arm64-linux... 372.2 Elapsed time to handle lz4:arm64-linux: 439 us 372.2 Installing 7/28 openssl:arm64-linux... 372.2 Elapsed time to handle openssl:arm64-linux: 1.57 ms 372.2 Installing 8/28 fmt:arm64-linux... 372.2 Elapsed time to handle fmt:arm64-linux: 642 us 372.2 Installing 9/28 spdlog:arm64-linux... 372.2 Elapsed time to handle spdlog:arm64-linux: 1.46 ms 372.2 Installing 10/28 zlib:arm64-linux... 372.2 Elapsed time to handle zlib:arm64-linux: 497 us 372.2 Installing 11/28 zstd:arm64-linux... 372.2 Elapsed time to handle zstd:arm64-linux: 463 us 372.2 Installing 12/28 curl:arm64-linux... 372.2 Elapsed time to handle curl:arm64-linux: 986 us 372.2 Installing 13/28 s2n:arm64-linux... 372.2 Elapsed time to handle s2n:arm64-linux: 557 us 372.2 Installing 14/28 aws-c-common:arm64-linux... 372.2 Elapsed time to handle aws-c-common:arm64-linux: 1.6 ms 372.2 Installing 15/28 aws-checksums:arm64-linux... 372.2 Elapsed time to handle aws-checksums:arm64-linux: 565 us 372.2 Installing 16/28 aws-c-sdkutils:arm64-linux... 372.2 Elapsed time to handle aws-c-sdkutils:arm64-linux: 595 us 372.2 Installing 17/28 aws-c-cal:arm64-linux... 372.2 Elapsed time to handle aws-c-cal:arm64-linux: 633 us 372.2 Installing 18/28 aws-c-io:arm64-linux... 372.2 Elapsed time to handle aws-c-io:arm64-linux: 776 us 372.2 Installing 19/28 aws-c-compression:arm64-linux... 372.2 Elapsed time to handle aws-c-compression:arm64-linux: 555 us 372.2 Installing 20/28 aws-c-http:arm64-linux... 372.2 Elapsed time to handle aws-c-http:arm64-linux: 614 us 372.2 Installing 21/28 aws-c-auth:arm64-linux... 372.2 Elapsed time to handle aws-c-auth:arm64-linux: 646 us 372.2 Installing 22/28 aws-c-s3:arm64-linux... 372.2 Elapsed time to handle aws-c-s3:arm64-linux: 559 us 372.2 Installing 23/28 aws-c-mqtt:arm64-linux... 372.2 Elapsed time to handle aws-c-mqtt:arm64-linux: 679 us 372.2 Installing 24/28 aws-c-event-stream:arm64-linux... 372.2 Elapsed time to handle aws-c-event-stream:arm64-linux: 612 us 372.2 Installing 25/28 aws-crt-cpp:arm64-linux... 372.2 Elapsed time to handle aws-crt-cpp:arm64-linux: 1.18 ms 372.2 Installing 26/28 aws-sdk-cpp:arm64-linux... 372.2 Elapsed time to handle aws-sdk-cpp:arm64-linux: 19.5 ms 372.2 Installing 27/28 capnproto:arm64-linux... 372.2 Elapsed time to handle capnproto:arm64-linux: 2.32 ms 372.2 Installing 28/28 libwebp:arm64-linux... 372.2 Elapsed time to handle libwebp:arm64-linux: 1.47 ms 372.2 Total install time: 41.6 ms 372.2 -- Running vcpkg install - done 372.2 -- The C compiler identification is GNU 12.2.0 372.2 -- The CXX compiler identification is GNU 12.2.0 372.2 -- Detecting C compiler ABI info 372.2 -- Detecting C compiler ABI info - done 372.2 -- Check for working C compiler: /usr/bin/cc - skipped 372.2 -- Detecting C compile features 372.2 -- Detecting C compile features - done 372.2 -- Detecting CXX compiler ABI info 372.2 -- Detecting CXX compiler ABI info - done 372.2 -- Check for working CXX compiler: /usr/bin/c++ - skipped 372.2 -- Detecting CXX compile features 372.2 -- Detecting CXX compile features - done 372.2 -- Starting TileDB superbuild. 372.2 -- Found BZip2: optimized;/tmp/pip-install-6bdcgfss/tiledb_d9e21c64847a444990172939e66e4f01/build/TileDB-2.21.1/build/vcpkg_installed/arm64-linux/lib/libbz2.a;debug;/tmp/pip-install-6bdcgfss/tiledb_d9e21c64847a444990172939e66e4f01/build/TileDB-2.21.1/build/vcpkg_installed/arm64-linux/debug/lib/libbz2d.a (found version "1.0.8") 372.2 -- Looking for BZ2_bzCompressInit 372.2 -- Looking for BZ2_bzCompressInit - found 372.2 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD 372.2 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success 372.2 -- Found Threads: TRUE 372.2 -- Found ZLIB: optimized;/tmp/pip-install-6bdcgfss/tiledb_d9e21c64847a444990172939e66e4f01/build/TileDB-2.21.1/build/vcpkg_installed/arm64-linux/lib/libz.a;debug;/tmp/pip-install-6bdcgfss/tiledb_d9e21c64847a444990172939e66e4f01/build/TileDB-2.21.1/build/vcpkg_installed/arm64-linux/debug/lib/libz.a (found version "1.3.0") 372.2 CMake Error at build/vcpkg_installed/arm64-linux/share/WebP/WebPConfig.cmake:15 (message): 372.2 File or directory 372.2 /tmp/pip-install-6bdcgfss/tiledb_d9e21c64847a444990172939e66e4f01/build/TileDB-2.21.1/build/vcpkg_installed/include 372.2 referenced by variable WebP_INCLUDE_DIR does not exist ! 372.2 Call Stack (most recent call first): 372.2 build/vcpkg_installed/arm64-linux/share/WebP/WebPConfig.cmake:38 (set_and_check) 372.2 build/_deps/vcpkg-src/scripts/buildsystems/vcpkg.cmake:859 (_find_package) 372.2 cmake/Modules/FindWebp_EP.cmake:31 (find_package) 372.2 cmake/TileDB-Superbuild.cmake:110 (include) 372.2 CMakeLists.txt:151 (include) 372.2 372.2 372.2 -- Configuring incomplete, errors occurred! 372.2 ext_modules: [, , ] 372.2 tiledb_ext: 372.2 main_ext: 372.2 tiledb_cc_ext: 372.2 tiledb_ext.library_dirs: [] 372.2 libtiledb_exists checking 'library_dirs': [] 372.2 libtiledb_exists found: 'None' 372.2 Building libtiledb in directory /tmp/pip-install-6bdcgfss/tiledb_d9e21c64847a444990172939e66e4f01/build/TileDB-2.21.1/build... 372.2 CMake configure command: ['cmake', '-DCMAKE_INSTALL_PREFIX=/tmp/pip-install-6bdcgfss/tiledb_d9e21c64847a444990172939e66e4f01/build/TileDB-2.21.1/dist', '-DTILEDB_TESTS=OFF', '-DTILEDB_S3=ON', '-DTILEDB_WERROR=OFF', '-DTILEDB_HDFS=ON', '-DTILEDB_INSTALL_LIBDIR=lib', '-DTILEDB_CPP_API=ON', '-DTILEDB_LOG_OUTPUT_ON_FAILURE=ON', '-DTILEDB_FORCE_ALL_DEPS:BOOL=OFF', '-DTILEDB_SERIALIZATION:BOOL=ON', '-DCMAKE_BUILD_TYPE=Release', '/tmp/pip-install-6bdcgfss/tiledb_d9e21c64847a444990172939e66e4f01/build/TileDB-2.21.1'] 372.2 Traceback (most recent call last): 372.2 File "/opt/env/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in 372.2 main() 372.2 File "/opt/env/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main 372.2 json_out['return_val'] = hook(**hook_input['kwargs']) 372.2 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 372.2 File "/opt/env/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel 372.2 return _build_backend().build_wheel(wheel_directory, config_settings, 372.2 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 372.2 File "/tmp/pip-build-env-6lefs9yx/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 410, in build_wheel 372.2 return self._build_with_temp_dir( 372.2 ^^^^^^^^^^^^^^^^^^^^^^^^^^ 372.2 File "/tmp/pip-build-env-6lefs9yx/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 395, in _build_with_temp_dir 372.2 self.run_setup() 372.2 File "/tmp/pip-build-env-6lefs9yx/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 311, in run_setup 372.2 exec(code, locals()) 372.2 File "", line 791, in 372.2 File "/tmp/pip-build-env-6lefs9yx/overlay/lib/python3.11/site-packages/setuptools/__init__.py", line 104, in setup 372.2 return distutils.core.setup(**attrs) 372.2 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 372.2 File "/tmp/pip-build-env-6lefs9yx/overlay/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 185, in setup 372.2 return run_commands(dist) 372.2 ^^^^^^^^^^^^^^^^^^ 372.2 File "/tmp/pip-build-env-6lefs9yx/overlay/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 201, in run_commands 372.2 dist.run_commands() 372.2 File "/tmp/pip-build-env-6lefs9yx/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands 372.2 self.run_command(cmd) 372.2 File "/tmp/pip-build-env-6lefs9yx/overlay/lib/python3.11/site-packages/setuptools/dist.py", line 967, in run_command 372.2 super().run_command(command) 372.2 File "/tmp/pip-build-env-6lefs9yx/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command 372.2 cmd_obj.run() 372.2 File "", line 514, in run 372.2 File "", line 322, in find_or_install_libtiledb 372.2 File "", line 283, in build_libtiledb 372.2 File "/usr/local/lib/python3.11/subprocess.py", line 413, in check_call 372.2 raise CalledProcessError(retcode, cmd) 372.2 subprocess.CalledProcessError: Command '['cmake', '-DCMAKE_INSTALL_PREFIX=/tmp/pip-install-6bdcgfss/tiledb_d9e21c64847a444990172939e66e4f01/build/TileDB-2.21.1/dist', '-DTILEDB_TESTS=OFF', '-DTILEDB_S3=ON', '-DTILEDB_WERROR=OFF', '-DTILEDB_HDFS=ON', '-DTILEDB_INSTALL_LIBDIR=lib', '-DTILEDB_CPP_API=ON', '-DTILEDB_LOG_OUTPUT_ON_FAILURE=ON', '-DTILEDB_FORCE_ALL_DEPS:BOOL=OFF', '-DTILEDB_SERIALIZATION:BOOL=ON', '-DCMAKE_BUILD_TYPE=Release', '/tmp/pip-install-6bdcgfss/tiledb_d9e21c64847a444990172939e66e4f01/build/TileDB-2.21.1']' returned non-zero exit status 1. 372.2 [end of output] 372.2 372.2 note: This error originates from a subprocess, and is likely not a problem with pip. 372.2 ERROR: Failed building wheel for tiledb 372.2 Building wheel for session-info (setup.py): started 372.4 Building wheel for session-info (setup.py): finished with status 'done' 372.4 Created wheel for session-info: filename=session_info-1.0.0-py3-none-any.whl size=8026 sha256=52b9fb019304156d77b6d37ad66e05a0b19190e7b47b07f4b6ea389afb9f4351 372.4 Stored in directory: /root/.cache/pip/wheels/4e/56/35/a748fc57279a4b84d0b332879445fed1ad8478e7257986b015 372.4 Successfully built session-info 372.4 Failed to build tiledbsoma tiledb 372.4 ERROR: Could not build wheels for tiledbsoma, tiledb, which is required to install pyproject.toml-based projects ------ Dockerfile:21 -------------------- 19 | RUN pip3 install --upgrade pip wheel 20 | 21 | >>> RUN pip3 install cellxgene-census 22 | -------------------- ERROR: failed to solve: process "/bin/bash -c pip3 install cellxgene-census" did not complete successfully: exit code: 1 ```
ebezzi commented 3 months ago

@ubyndr can you share the latest Dockerfile you used for your build, so I can try to reproduce the issue on my own? In the meanwhile, I am looking into an alternative setup with Conda.

ubyndr commented 3 months ago

I've used the Dockerfile you provided;

FROM python:3.11

SHELL ["/bin/bash", "-c"]

RUN apt-get update && \
    apt-get install -y build-essential zip unzip tar ninja-build && \
    apt-get clean && rm -rf /var/lib/apt/lists/*

WORKDIR /app

# required for libtiledb source build

ENV VCPKG_FORCE_SYSTEM_BINARIES=1
ENV VENV="/opt/env"
ENV PATH="$VENV/bin:$PATH"

RUN python3 -m venv $VENV

RUN pip3 install --upgrade pip wheel

RUN pip3 install cellxgene-census
ebezzi commented 2 months ago

Hi @ubyndr ,

apologies for the delay in the response. I am not quite sure why that Dockerfile doesn't work for you (likely an issue with cross-compilation on your specific machine), but we now have a Conda release of tiledbsoma that comes with prebuilt binaries (and should therefore not cause issues at build time):

FROM condaforge/miniforge3

RUN export MAMBA_NO_BANNER=1
RUN mamba install -c jdblischak/label/experimental -c conda-forge -c tiledb tiledbsoma-py=1.9.5
RUN pip install cellxgene-census

Let me know if this is any help.

ubyndr commented 2 months ago

Thank you @ebezzi , I've managed to build the image. Appreciated.

ebezzi commented 2 months ago

Glad to hear that you managed to build it, @ubyndr ! I'll close this issue, but feel free to reach out if you have any other questions.