Open woutdenolf opened 1 year ago
I have a similar problem when trying to build a conda package on a Gitlab CI runner. The process still works on a local windows machine though
CURRENT_DIRECTORY = Path(__file__).parent.absolute()
OUTPUT_FOLDER = os.path.join(CURRENT_DIRECTORY, r"local_conda_packages_temp")
subprocess.run( [ "conda", "mambabuild", os.path.join(CURRENT_DIRECTORY, "meta_yamls", "fine"), "--output-folder", OUTPUT_FOLDER, "-c", "conda-forge", "-r", os.path.join(CURRENT_DIRECTORY, "conda_package_folder"), ], check=True, )
WARNING: No numpy version specified in conda_build_config.yaml. Falling back to default numpy value of 1.22 Updating build index: /builds/iek-3/shared-code/ethos-installation/local_conda_packages_temp Adding in variants from internal_defaults Attempting to finalize metadata for fine conda-forge/linux-64 Using cache conda-forge/noarch Using cache Reloading output folder: /builds/iek-3/shared-code/ethos-installation/local_conda_packages_temp Reloading output folder: /builds/iek-3/shared-code/ethos-installation/local_conda_packages_temp Reloading output folder: /builds/iek-3/shared-code/ethos-installation/local_conda_packages_temp BUILD START: ['fine-2.2.3-pypy_0.tar.bz2'] Reloading output folder: /builds/iek-3/shared-code/ethos-installation/local_conda_packages_temp Package Plan environment location: /opt/conda/conda-bld/fine_1705083043911/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol The following NEW packages will be INSTALLED: _libgcc_mutex: 0.1-conda_forge conda-forge _openmp_mutex: 4.5-2_gnu conda-forge bzip2: 1.0.8-hd590300_5 conda-forge ca-certificates: 2023.11.17-hbcca054_0 conda-forge ld_impl_linux-64: 2.40-h41732ed_0 conda-forge libexpat: 2.5.0-hcb278e6_1 conda-forge libffi: 3.4.2-h7f98852_5 conda-forge libgcc-ng: 13.2.0-h807b86a_3 conda-forge libgomp: 13.2.0-h807b86a_3 conda-forge libnsl: 2.0.1-hd590300_0 conda-forge libsqlite: 3.44.2-h2797004_0 conda-forge libuuid: 2.38.1-h0b41bf4_0 conda-forge libxcrypt: 4.4.36-hd590300_1 conda-forge libzlib: 1.2.13-hd590300_5 conda-forge ncurses: 6.4-h59595ed_2 conda-forge openssl: 3.2.0-hd590300_1 conda-forge pip: 23.3.2-pyhd8ed1ab_0 conda-forge python: 3.12.1-hab00c5b_1_cpython conda-forge readline: 8.2-h8228510_1 conda-forge setuptools: 69.0.3-pyhd8ed1ab_0 conda-forge setuptools-git: 1.2-py_1 conda-forge tk: 8.6.13-noxft_h4845f30_101 conda-forge tzdata: 2023d-h0c530f3_0 conda-forge wheel: 0.42.0-pyhd8ed1ab_0 conda-forge xz: 5.2.6-h166bdaf_0 conda-forge Preparing transaction: ...working... done Verifying transaction: ...working... done Executing transaction: ...working... done Reloading output folder: /builds/iek-3/shared-code/ethos-installation/local_conda_packages_temp Reloading output folder: /builds/iek-3/shared-code/ethos-installation/local_conda_packages_temp Conda package build process starts Traceback (most recent call last): File "/builds/iek-3/shared-code/ethos-installation/create_conda_packages.py", line 8, in <module> subprocess.run( File "/opt/conda/lib/python3.11/subprocess.py", line 571, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['conda', 'mambabuild', '/builds/iek-3/shared-code/ethos-installation/meta_yamls/fine', '--output-folder', '/builds/iek-3/shared-code/ethos-installation/local_conda_packages_temp', '-c', 'conda-forge', '-r', '/builds/iek-3/shared-code/ethos-installation/conda_package_folder']' died with <Signals.SIGKILL: 9>.
I run the command from this environment: ` Install:
Still a relevant issue. A workaround is to set CONDA_BLD_PATH to ensure no overlap.
Checklist
What happened?
Conda Info
Conda Config
Conda list
Additional Context
No response