From 720d512768f21b2f767defc5cf263460cbf0b828 Mon Sep 17 00:00:00 2001 From: Bjoern Gruening Date: Wed, 18 Dec 2024 22:56:34 +0100 Subject: [PATCH] try adding setuptools --- recipes/chia-rep/build_failure.linux-64.yaml | 104 ------------------- recipes/chia-rep/build_failure.osx-64.yaml | 104 ------------------- recipes/chia-rep/meta.yaml | 1 + 3 files changed, 1 insertion(+), 208 deletions(-) delete mode 100644 recipes/chia-rep/build_failure.linux-64.yaml delete mode 100644 recipes/chia-rep/build_failure.osx-64.yaml diff --git a/recipes/chia-rep/build_failure.linux-64.yaml b/recipes/chia-rep/build_failure.linux-64.yaml deleted file mode 100644 index 2da8006503a6b..0000000000000 --- a/recipes/chia-rep/build_failure.linux-64.yaml +++ /dev/null @@ -1,104 +0,0 @@ -recipe_sha: 8ff458bbc184c34e9233f6597ebad2bc7eb9de8afd151614a49ac3ad0787623f # The hash of the recipe's meta.yaml at which this recipe failed to build. -skiplist: true # Set to true to skiplist this recipe so that it will be ignored as long as its latest commit is the one given above. -log: |2- - reading manifest file 'ChIA_Rep.egg-info/SOURCES.txt' - reading manifest template 'MANIFEST.in' - adding license file 'LICENSE' - writing manifest file 'ChIA_Rep.egg-info/SOURCES.txt' - copying chia_rep/util.c -> build/lib.linux-x86_64-cpython-312/chia_rep - copying chia_rep/util.pyx -> build/lib.linux-x86_64-cpython-312/chia_rep - running build_ext - building 'chia_rep.util' extension - creating build/temp.linux-x86_64-cpython-312 - creating build/temp.linux-x86_64-cpython-312/chia_rep - /opt/conda/conda-bld/chia-rep_1717892898024/_build_env/bin/x86_64-conda-linux-gnu-cc -fno-strict-overflow -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /opt/conda/conda-bld/chia-rep_1717892898024/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/include -fPIC -O2 -isystem /opt/conda/conda-bld/chia-rep_1717892898024/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/include -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /opt/conda/conda-bld/chia-rep_1717892898024/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/include -fdebug-prefix-map=/opt/conda/conda-bld/chia-rep_1717892898024/work=/usr/local/src/conda/chia-rep-3.1.1 -fdebug-prefix-map=/opt/conda/conda-bld/chia-rep_1717892898024/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac=/usr/local/src/conda-prefix -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /opt/conda/conda-bld/chia-rep_1717892898024/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/include -fPIC -I/opt/conda/conda-bld/chia-rep_1717892898024/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/include/python3.12 -c chia_rep/util.c -o build/temp.linux-x86_64-cpython-312/chia_rep/util.o - chia_rep/util.c:211:12: fatal error: longintrepr.h: No such file or directory - 211 | #include "longintrepr.h" - | ^~~~~~~~~~~~~~~ - compilation terminated. - error: command '/opt/conda/conda-bld/chia-rep_1717892898024/_build_env/bin/x86_64-conda-linux-gnu-cc' failed with exit code 1 - [1;31merror[0m: [1msubprocess-exited-with-error[0m - - [31m[0m [32mpython setup.py bdist_wheel[0m did not run successfully. - [31m[0m exit code: [1;36m1[0m - [31m>[0m See above for output. - - [1;35mnote[0m: This error originates from a subprocess, and is likely not a problem with pip. - [1;35mfull command[0m: [34m/opt/conda/conda-bld/chia-rep_1717892898024/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/bin/python -u -c '[0m - [34m exec(compile('"'"''"'"''"'"'[0m - [34m # This is -- a caller that pip uses to run setup.py[0m - [34m #[0m - [34m # - It imports setuptools before invoking setup.py, to enable projects that directly[0m - [34m # import from distutils.core to work with newer packaging standards.[0m - [34m # - It provides a clear error message when setuptools is not installed.[0m - [34m # - It sets sys.argv[0] to the underlying setup.py, when invoking setup.py so[0m - [34m # setuptools doesn'"'"'t think the script is -c. This avoids the following warning:[0m - [34m # manifest_maker: standard file '"'"'-c'"'"' not found".[0m - [34m # - It generates a shim setup.py, for handling setup.cfg-only projects.[0m - [34m import os, sys, tokenize[0m - [34m [0m - [34m try:[0m - [34m import setuptools[0m - [34m except ImportError as error:[0m - [34m print([0m - [34m "ERROR: Can not execute setup.py since setuptools is not available in "[0m - [34m "the build environment.",[0m - [34m file=sys.stderr,[0m - [34m )[0m - [34m sys.exit(1)[0m - [34m [0m - [34m __file__ = %r[0m - [34m sys.argv[0] = __file__[0m - [34m [0m - [34m if os.path.exists(__file__):[0m - [34m filename = __file__[0m - [34m with tokenize.open(__file__) as f:[0m - [34m setup_py_code = f.read()[0m - [34m else:[0m - [34m filename = ""[0m - [34m setup_py_code = "from setuptools import setup; setup()"[0m - [34m [0m - [34m exec(compile(setup_py_code, filename, "exec"))[0m - [34m '"'"''"'"''"'"' % ('"'"'/opt/conda/conda-bld/chia-rep_1717892898024/work/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-f89o_ox3[0m - [1;35mcwd[0m: /opt/conda/conda-bld/chia-rep_1717892898024/work/ - Building wheel for ChIA-Rep (setup.py): finished with status 'error' - [31m ERROR: Failed building wheel for ChIA-Rep[0m[31m - [0m Running setup.py clean for ChIA-Rep - Running command python setup.py clean - running clean - removing 'build/temp.linux-x86_64-cpython-312' (and everything under it) - removing 'build/lib.linux-x86_64-cpython-312' (and everything under it) - 'build/bdist.linux-x86_64' does not exist -- can't clean it - 'build/scripts-3.12' does not exist -- can't clean it - removing 'build' - Failed to build ChIA-Rep - [31mERROR: Could not build wheels for ChIA-Rep, which is required to install pyproject.toml-based projects[0m[31m - [0mException information: - Traceback (most recent call last): - File "$PREFIX/lib/python3.12/site-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper - status = run_func(*args) - ^^^^^^^^^^^^^^^ - File "$PREFIX/lib/python3.12/site-packages/pip/_internal/cli/req_command.py", line 245, in wrapper - return func(self, options, args) - ^^^^^^^^^^^^^^^^^^^^^^^^^ - File "$PREFIX/lib/python3.12/site-packages/pip/_internal/commands/install.py", line 429, in run - raise InstallationError( - pip._internal.exceptions.InstallationError: Could not build wheels for ChIA-Rep, which is required to install pyproject.toml-based projects - Removed build tracker: '/tmp/pip-build-tracker-hxy4xhuy' - Traceback (most recent call last): - File "/opt/conda/bin/conda-build", line 11, in - sys.exit(execute()) - File "/opt/conda/lib/python3.10/site-packages/conda_build/cli/main_build.py", line 590, in execute - api.build( - File "/opt/conda/lib/python3.10/site-packages/conda_build/api.py", line 250, in build - return build_tree( - File "/opt/conda/lib/python3.10/site-packages/conda_build/build.py", line 3638, in build_tree - packages_from_this = build( - File "/opt/conda/lib/python3.10/site-packages/conda_build/build.py", line 2506, in build - utils.check_call_env( - File "/opt/conda/lib/python3.10/site-packages/conda_build/utils.py", line 405, in check_call_env - return _func_defaulting_env_to_os_environ("call", *popenargs, **kwargs) - File "/opt/conda/lib/python3.10/site-packages/conda_build/utils.py", line 381, in _func_defaulting_env_to_os_environ - raise subprocess.CalledProcessError(proc.returncode, _args) - subprocess.CalledProcessError: Command '['/bin/bash', '-o', 'errexit', '/opt/conda/conda-bld/chia-rep_1717892898024/work/conda_build.sh']' returned non-zero exit status 1. -# Last 100 lines of the build log. diff --git a/recipes/chia-rep/build_failure.osx-64.yaml b/recipes/chia-rep/build_failure.osx-64.yaml deleted file mode 100644 index 943283b5e9828..0000000000000 --- a/recipes/chia-rep/build_failure.osx-64.yaml +++ /dev/null @@ -1,104 +0,0 @@ -recipe_sha: 8ff458bbc184c34e9233f6597ebad2bc7eb9de8afd151614a49ac3ad0787623f # The hash of the recipe's meta.yaml at which this recipe failed to build. -skiplist: true # Set to true to skiplist this recipe so that it will be ignored as long as its latest commit is the one given above. -log: |- - export PREFIX=/opt/mambaforge/envs/bioconda/conda-bld/chia-rep_1717683959380/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place - export BUILD_PREFIX=/opt/mambaforge/envs/bioconda/conda-bld/chia-rep_1717683959380/_build_env - export SRC_DIR=/opt/mambaforge/envs/bioconda/conda-bld/chia-rep_1717683959380/work - INFO: activate_clang_osx-64.sh made the following environmental changes: - AR=x86_64-apple-darwin13.4.0-ar - AS=x86_64-apple-darwin13.4.0-as - CC=x86_64-apple-darwin13.4.0-clang - CC_FOR_BUILD=$BUILD_PREFIX/bin/x86_64-apple-darwin13.4.0-clang - api.build( - File "/opt/mambaforge/envs/bioconda/lib/python3.10/site-packages/conda_build/api.py", line 250, in build - return build_tree( - File "/opt/mambaforge/envs/bioconda/lib/python3.10/site-packages/conda_build/build.py", line 3638, in build_tree - packages_from_this = build( - File "/opt/mambaforge/envs/bioconda/lib/python3.10/site-packages/conda_build/build.py", line 2506, in build - utils.check_call_env( - File "/opt/mambaforge/envs/bioconda/lib/python3.10/site-packages/conda_build/utils.py", line 405, in check_call_env - CFLAGS=-march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -isystem $PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/chia-rep-3.1.1 -fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix - CHECKSYMS=x86_64-apple-darwin13.4.0-checksyms - CLANG=x86_64-apple-darwin13.4.0-clang - return _func_defaulting_env_to_os_environ("call", *popenargs, **kwargs) - CMAKE_ARGS=-DCMAKE_AR=$BUILD_PREFIX/bin/x86_64-apple-darwin13.4.0-ar -DCMAKE_CXX_COMPILER_AR=$BUILD_PREFIX/bin/x86_64-apple-darwin13.4.0-ar -DCMAKE_C_COMPILER_AR=$BUILD_PREFIX/bin/x86_64-apple-darwin13.4.0-ar -DCMAKE_RANLIB=$BUILD_PREFIX/bin/x86_64-apple-darwin13.4.0-ranlib -DCMAKE_CXX_COMPILER_RANLIB=$BUILD_PREFIX/bin/x86_64-apple-darwin13.4.0-ranlib -DCMAKE_C_COMPILER_RANLIB=$BUILD_PREFIX/bin/x86_64-apple-darwin13.4.0-ranlib -DCMAKE_LINKER=$BUILD_PREFIX/bin/x86_64-apple-darwin13.4.0-ld -DCMAKE_STRIP=$BUILD_PREFIX/bin/x86_64-apple-darwin13.4.0-strip -DCMAKE_INSTALL_NAME_TOOL=$BUILD_PREFIX/bin/x86_64-apple-darwin13.4.0-install_name_tool -DCMAKE_LIBTOOL=$BUILD_PREFIX/bin/x86_64-apple-darwin13.4.0-libtool -DCMAKE_OSX_DEPLOYMENT_TARGET=10.9 -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_SYSROOT=/Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_FIND_APPBUNDLE=LAST -DCMAKE_INSTALL_PREFIX=$PREFIX -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_PROGRAM_PATH=$BUILD_PREFIX/bin;$PREFIX/bin - CMAKE_PREFIX_PATH=:$PREFIX - CONDA_TOOLCHAIN_BUILD=x86_64-apple-darwin13.4.0 - File "/opt/mambaforge/envs/bioconda/lib/python3.10/site-packages/conda_build/utils.py", line 381, in _func_defaulting_env_to_os_environ - raise subprocess.CalledProcessError(proc.returncode, _args) - CONDA_TOOLCHAIN_HOST=x86_64-apple-darwin13.4.0 - CPPFLAGS=-D_FORTIFY_SOURCE=2 -isystem $PREFIX/include -mmacosx-version-min=10.9 - DEBUG_CFLAGS=-march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -Og -g -Wall -Wextra -isystem $PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/chia-rep-3.1.1 -fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix - HOST=x86_64-apple-darwin13.4.0 - INSTALL_NAME_TOOL=x86_64-apple-darwin13.4.0-install_name_tool - LD=x86_64-apple-darwin13.4.0-ld - LDFLAGS=-Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs -Wl,-rpath,$PREFIX/lib -L$PREFIX/lib - LDFLAGS_LD=-headerpad_max_install_names -dead_strip_dylibs -rpath $PREFIX/lib -L$PREFIX/lib - LIBTOOL=x86_64-apple-darwin13.4.0-libtool - LIPO=x86_64-apple-darwin13.4.0-lipo - MESON_ARGS=--buildtype release --prefix=$PREFIX -Dlibdir=lib - NM=x86_64-apple-darwin13.4.0-nm - NMEDIT=x86_64-apple-darwin13.4.0-nmedit - OBJC=x86_64-apple-darwin13.4.0-clang - OBJC_FOR_BUILD=$BUILD_PREFIX/bin/x86_64-apple-darwin13.4.0-clang - OTOOL=x86_64-apple-darwin13.4.0-otool - subprocess.CalledProcessError: Command '['/bin/bash', '-o', 'errexit', '/opt/mambaforge/envs/bioconda/conda-bld/chia-rep_1717683959380/work/conda_build.sh']' returned non-zero exit status 1. - PAGESTUFF=x86_64-apple-darwin13.4.0-pagestuff - RANLIB=x86_64-apple-darwin13.4.0-ranlib - REDO_PREBINDING=x86_64-apple-darwin13.4.0-redo_prebinding - SDKROOT=/Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk - SEGEDIT=x86_64-apple-darwin13.4.0-segedit - SEG_ADDR_TABLE=x86_64-apple-darwin13.4.0-seg_addr_table - SEG_HACK=x86_64-apple-darwin13.4.0-seg_hack - SIZE=x86_64-apple-darwin13.4.0-size - STRINGS=x86_64-apple-darwin13.4.0-strings - STRIP=x86_64-apple-darwin13.4.0-strip - _CONDA_PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata_x86_64_apple_darwin13_4_0 - ac_cv_func_malloc_0_nonnull=yes - ac_cv_func_realloc_0_nonnull=yes - build_alias=x86_64-apple-darwin13.4.0 - host_alias=x86_64-apple-darwin13.4.0 - INFO: activate_clangxx_osx-64.sh made the following environmental changes: - CLANGXX=x86_64-apple-darwin13.4.0-clang - CXX=x86_64-apple-darwin13.4.0-clang - CXXFLAGS=-march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -stdlib=libc -fvisibility-inlines-hidden -fmessage-length=0 -isystem $PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/chia-rep-3.1.1 -fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix - CXX_FOR_BUILD=$BUILD_PREFIX/bin/x86_64-apple-darwin13.4.0-clang - DEBUG_CXXFLAGS=-march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -stdlib=libc -fvisibility-inlines-hidden -fmessage-length=0 -Og -g -Wall -Wextra -isystem $PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/chia-rep-3.1.1 -fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix - Using pip 24.0 from $PREFIX/lib/python3.11/site-packages/pip (python 3.11) - Non-user install because user site-packages disabled - Ignoring indexes: https://pypi.org/simple - Created temporary directory: /private/tmp/pip-build-tracker-el8qa0rn - Initialized build tracking at /private/tmp/pip-build-tracker-el8qa0rn - Created build tracker: /private/tmp/pip-build-tracker-el8qa0rn - Entered build tracker: /private/tmp/pip-build-tracker-el8qa0rn - Created temporary directory: /private/tmp/pip-install-19ejc1lj - Created temporary directory: /private/tmp/pip-ephem-wheel-cache-h_bxkjw_ - Processing $SRC_DIR - Added file://$SRC_DIR to build tracker '/private/tmp/pip-build-tracker-el8qa0rn' - Running setup.py (path:$SRC_DIR/setup.py) egg_info for package from file://$SRC_DIR - Created temporary directory: /private/tmp/pip-pip-egg-info-wh38j9_a - Preparing metadata (setup.py): started - Preparing metadata (setup.py): finished with status 'done' - Source in $SRC_DIR has version 3.1.1, which satisfies requirement ChIA-Rep==3.1.1 from file://$SRC_DIR - Removed ChIA-Rep==3.1.1 from file://$SRC_DIR from build tracker '/private/tmp/pip-build-tracker-el8qa0rn' - Created temporary directory: /private/tmp/pip-unpack-6k50nkfr - Building wheels for collected packages: ChIA-Rep - Created temporary directory: /private/tmp/pip-wheel-b85llgno - Building wheel for ChIA-Rep (setup.py): started - Destination directory: /private/tmp/pip-wheel-b85llgno - Building wheel for ChIA-Rep (setup.py): finished with status 'error' - Running setup.py clean for ChIA-Rep - Failed to build ChIA-Rep - Exception information: - Traceback (most recent call last): - File "$PREFIX/lib/python3.11/site-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper - status = run_func(*args) - ^^^^^^^^^^^^^^^ - File "$PREFIX/lib/python3.11/site-packages/pip/_internal/cli/req_command.py", line 245, in wrapper - return func(self, options, args) - ^^^^^^^^^^^^^^^^^^^^^^^^^ - File "$PREFIX/lib/python3.11/site-packages/pip/_internal/commands/install.py", line 429, in run - raise InstallationError( - pip._internal.exceptions.InstallationError: Could not build wheels for ChIA-Rep, which is required to install pyproject.toml-based projects - Removed build tracker: '/private/tmp/pip-build-tracker-el8qa0rn' -# Last 100 lines of the build log. diff --git a/recipes/chia-rep/meta.yaml b/recipes/chia-rep/meta.yaml index f9c88f62c885b..4b1fa56755eef 100644 --- a/recipes/chia-rep/meta.yaml +++ b/recipes/chia-rep/meta.yaml @@ -21,6 +21,7 @@ requirements: host: - pip - python + - setuptools run: - numpy >=1.17.0 - pybedgraph >=0.5.40