We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello all,
I'm getting the attached errors when I run conda build.
conda build
conda create -n bug_report python=3.8 conda activate bug_report git clone https://github.com/pybind/python_example.git cd python_example/conda.recipe conda build .
No numpy version specified in conda_build_config.yaml. Falling back to default numpy value of 1.16 WARNING:conda_build.metadata:No numpy version specified in conda_build_config.yaml. Falling back to default numpy value of 1.16 Adding in variants from internal_defaults INFO:conda_build.variants:Adding in variants from internal_defaults Attempting to finalize metadata for python_example INFO:conda_build.metadata:Attempting to finalize metadata for python_example DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443 DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/main/osx-64/repodata.json HTTP/1.1" 304 0 DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/main/noarch/repodata.json HTTP/1.1" 304 0 DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/r/osx-64/repodata.json HTTP/1.1" 304 0 DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/r/noarch/repodata.json HTTP/1.1" 304 0 DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/main/channeldata.json HTTP/1.1" 200 None DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/r/channeldata.json HTTP/1.1" 200 None Collecting package metadata (repodata.json): ...working... done Solving environment: ...working... done Collecting package metadata (repodata.json): ...working... done Solving environment: ...working... done Collecting package metadata (repodata.json): ...working... done Solving environment: ...working... done BUILD START: ['python_example-0.0.1-py39ha5a8b8e_0.tar.bz2'] Collecting package metadata (repodata.json): ...working... done Solving environment: ...working... done ## Package Plan ## environment location: /Users/kejang/opt/anaconda3/conda-bld/python_example_1655698551452/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p The following NEW packages will be INSTALLED: ca-certificates: 2022.4.26-hecd8cb5_0 certifi: 2022.5.18.1-py39hecd8cb5_0 libcxx: 12.0.0-h2f01273_0 libffi: 3.3-hb1e8313_2 ncurses: 6.3-hca72f7f_2 openssl: 1.1.1o-hca72f7f_0 pip: 21.2.4-py39hecd8cb5_0 pybind11: 2.9.1-py39hc29d2bd_0 python: 3.9.12-hdfd78df_1 readline: 8.1.2-hca72f7f_1 setuptools: 61.2.0-py39hecd8cb5_0 sqlite: 3.38.3-h707629a_0 tk: 8.6.12-h5d9f67b_0 tzdata: 2022a-hda174b7_0 wheel: 0.37.1-pyhd3eb1b0_0 xz: 5.2.5-hca72f7f_1 zlib: 1.2.12-h4dc903c_2 Preparing transaction: ...working... done Verifying transaction: ...working... done Executing transaction: ...working... done Collecting package metadata (repodata.json): ...working... done Solving environment: ...working... done Collecting package metadata (repodata.json): ...working... done Solving environment: ...working... done ## Package Plan ## environment location: /Users/kejang/opt/anaconda3/conda-bld/python_example_1655698551452/_build_env The following NEW packages will be INSTALLED: cctools_osx-64: 949.0.1-hc7db93f_23 clang: 12.0.0-hecd8cb5_2 clang-12: 12.0.0-default_hfcad0e5_2 clang_osx-64: 12.0.0-h7ad7729_2 clangxx: 12.0.0-default_hfcad0e5_2 clangxx_osx-64: 12.0.0-he0c6f94_2 compiler-rt: 12.0.0-hd87ff74_2 compiler-rt_osx-64: 12.0.0-hfb26b64_2 ld64_osx-64: 530-h70f3046_23 ldid: 2.1.2-h2d21305_2 libclang-cpp12: 12.0.0-default_hfcad0e5_2 libcxx: 12.0.0-h2f01273_0 libllvm12: 12.0.0-h9b2ccf5_3 llvm-tools: 12.0.0-h9b2ccf5_3 tapi: 1000.10.8-ha1b3eb9_0 zlib: 1.2.12-h4dc903c_2 Preparing transaction: ...working... done Verifying transaction: ...working... done Executing transaction: ...working... done Copying /Users/kejang/Local/small_projects/python_example to /Users/kejang/opt/anaconda3/conda-bld/python_example_1655698551452/work/ source tree in: /Users/kejang/opt/anaconda3/conda-bld/python_example_1655698551452/work export PREFIX=/Users/kejang/opt/anaconda3/conda-bld/python_example_1655698551452/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p export BUILD_PREFIX=/Users/kejang/opt/anaconda3/conda-bld/python_example_1655698551452/_build_env export SRC_DIR=/Users/kejang/opt/anaconda3/conda-bld/python_example_1655698551452/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 +CFLAGS=-march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -isystem $PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/python_example-0.0.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 +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=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -DCMAKE_INSTALL_PREFIX=$PREFIX -DCMAKE_INSTALL_LIBDIR=lib +CMAKE_PREFIX_PATH=:$PREFIX +CONDA_BUILD_SYSROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk +CONDA_TOOLCHAIN_BUILD=x86_64-apple-darwin13.4.0 +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 -fPIE -fstack-protector-strong -O2 -pipe -Og -g -Wall -Wextra -isystem $PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/python_example-0.0.1 -fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix +HOST=x86_64-apple-darwin13.4.0 +INDR=x86_64-apple-darwin13.4.0-indr +INSTALL_NAME_TOOL=x86_64-apple-darwin13.4.0-install_name_tool +LD=x86_64-apple-darwin13.4.0-ld +LDFLAGS=-Wl,-pie -Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs -Wl,-rpath,$PREFIX/lib -L$PREFIX/lib +LDFLAGS_LD=-pie -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 +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=/Library/Developer/CommandLineTools/SDKs/MacOSX.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 -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -std=c++14 -fmessage-length=0 -isystem $PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/python_example-0.0.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 -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -std=c++14 -fmessage-length=0 -Og -g -Wall -Wextra -isystem $PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/python_example-0.0.1 -fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix Using pip 21.2.4 from $PREFIX/lib/python3.9/site-packages/pip (python 3.9) Non-user install because user site-packages disabled Ignoring indexes: https://pypi.org/simple Created temporary directory: /private/tmp/pip-ephem-wheel-cache-ktnwkn09 Created temporary directory: /private/tmp/pip-req-tracker-w6r1e96_ Initialized build tracking at /private/tmp/pip-req-tracker-w6r1e96_ Created build tracker: /private/tmp/pip-req-tracker-w6r1e96_ Entered build tracker: /private/tmp/pip-req-tracker-w6r1e96_ Created temporary directory: /private/tmp/pip-install-3a_80d5s Processing $SRC_DIR Created temporary directory: /private/tmp/pip-req-build-5ynustjn DEPRECATION: A future pip version will change local packages to be built in-place without first copying to a temporary directory. We recommend you use --use-feature=in-tree-build to test your packages with this new behavior before it becomes the default. pip 21.3 will remove support for this functionality. You can find discussion regarding this at https://github.com/pypa/pip/issues/7555. Added file://$SRC_DIR to build tracker '/private/tmp/pip-req-tracker-w6r1e96_' Created temporary directory: /private/tmp/pip-modern-metadata-vjdahyhz Preparing wheel metadata: started Running command /Users/kejang/opt/anaconda3/conda-bld/python_example_1655698551452/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/bin/python /Users/kejang/opt/anaconda3/conda-bld/python_example_1655698551452/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /tmp/tmp4ukppx24 running dist_info creating /private/tmp/pip-modern-metadata-vjdahyhz/python_example.egg-info writing /private/tmp/pip-modern-metadata-vjdahyhz/python_example.egg-info/PKG-INFO writing dependency_links to /private/tmp/pip-modern-metadata-vjdahyhz/python_example.egg-info/dependency_links.txt writing requirements to /private/tmp/pip-modern-metadata-vjdahyhz/python_example.egg-info/requires.txt writing top-level names to /private/tmp/pip-modern-metadata-vjdahyhz/python_example.egg-info/top_level.txt writing manifest file '/private/tmp/pip-modern-metadata-vjdahyhz/python_example.egg-info/SOURCES.txt' reading manifest file '/private/tmp/pip-modern-metadata-vjdahyhz/python_example.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file '/private/tmp/pip-modern-metadata-vjdahyhz/python_example.egg-info/SOURCES.txt' creating '/private/tmp/pip-modern-metadata-vjdahyhz/python_example.dist-info' adding license file "LICENSE" (matched pattern "LICEN[CS]E*") Preparing wheel metadata: finished with status 'done' Source in /private/tmp/pip-req-build-5ynustjn has version 0.0.1, which satisfies requirement python-example==0.0.1 from file://$SRC_DIR Removed python-example==0.0.1 from file://$SRC_DIR from build tracker '/private/tmp/pip-req-tracker-w6r1e96_' Created temporary directory: /private/tmp/pip-unpack-u2bof02c Building wheels for collected packages: python-example Created temporary directory: /private/tmp/pip-wheel-jyg0v0kw Destination directory: /private/tmp/pip-wheel-jyg0v0kw Building wheel for python-example (PEP 517): started Running command /Users/kejang/opt/anaconda3/conda-bld/python_example_1655698551452/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/bin/python /Users/kejang/opt/anaconda3/conda-bld/python_example_1655698551452/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /tmp/tmpoz_uuaku running bdist_wheel running build running build_ext x86_64-apple-darwin13.4.0-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -isystem /Users/kejang/opt/anaconda3/conda-bld/python_example_1655698551452/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/include -arch x86_64 -I/Users/kejang/opt/anaconda3/conda-bld/python_example_1655698551452/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/include -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -isystem /Users/kejang/opt/anaconda3/conda-bld/python_example_1655698551452/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/include -arch x86_64 -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -isystem /Users/kejang/opt/anaconda3/conda-bld/python_example_1655698551452/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/include -fdebug-prefix-map=/Users/kejang/opt/anaconda3/conda-bld/python_example_1655698551452/work=/usr/local/src/conda/python_example-0.0.1 -fdebug-prefix-map=/Users/kejang/opt/anaconda3/conda-bld/python_example_1655698551452/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p=/usr/local/src/conda-prefix -D_FORTIFY_SOURCE=2 -isystem /Users/kejang/opt/anaconda3/conda-bld/python_example_1655698551452/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/include -mmacosx-version-min=10.9 -I/Users/kejang/opt/anaconda3/conda-bld/python_example_1655698551452/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/include/python3.9 -c flagcheck.cpp -o flagcheck.o -std=c++17 building 'python_example' extension creating build/temp.macosx-10.9-x86_64-3.9 creating build/temp.macosx-10.9-x86_64-3.9/src x86_64-apple-darwin13.4.0-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -isystem /Users/kejang/opt/anaconda3/conda-bld/python_example_1655698551452/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/include -arch x86_64 -I/Users/kejang/opt/anaconda3/conda-bld/python_example_1655698551452/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/include -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -isystem /Users/kejang/opt/anaconda3/conda-bld/python_example_1655698551452/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/include -arch x86_64 -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -isystem /Users/kejang/opt/anaconda3/conda-bld/python_example_1655698551452/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/include -fdebug-prefix-map=/Users/kejang/opt/anaconda3/conda-bld/python_example_1655698551452/work=/usr/local/src/conda/python_example-0.0.1 -fdebug-prefix-map=/Users/kejang/opt/anaconda3/conda-bld/python_example_1655698551452/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p=/usr/local/src/conda-prefix -D_FORTIFY_SOURCE=2 -isystem /Users/kejang/opt/anaconda3/conda-bld/python_example_1655698551452/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/include -mmacosx-version-min=10.9 -DVERSION_INFO=0.0.1 -I/Users/kejang/opt/anaconda3/conda-bld/python_example_1655698551452/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/lib/python3.9/site-packages/pybind11/include -I/Users/kejang/opt/anaconda3/conda-bld/python_example_1655698551452/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/include/python3.9 -c src/main.cpp -o build/temp.macosx-10.9-x86_64-3.9/src/main.o -std=c++17 -fvisibility=hidden -g0 -stdlib=libc++ creating build/lib.macosx-10.9-x86_64-3.9 x86_64-apple-darwin13.4.0-clang++ -bundle -undefined dynamic_lookup -Wl,-pie -Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs -Wl,-rpath,/Users/kejang/opt/anaconda3/conda-bld/python_example_1655698551452/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/lib -L/Users/kejang/opt/anaconda3/conda-bld/python_example_1655698551452/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/lib -L/Users/kejang/opt/anaconda3/conda-bld/python_example_1655698551452/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/lib -Wl,-pie -Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs -Wl,-rpath,/Users/kejang/opt/anaconda3/conda-bld/python_example_1655698551452/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/lib -L/Users/kejang/opt/anaconda3/conda-bld/python_example_1655698551452/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/lib -Wl,-pie -Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs -Wl,-rpath,/Users/kejang/opt/anaconda3/conda-bld/python_example_1655698551452/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/lib -L/Users/kejang/opt/anaconda3/conda-bld/python_example_1655698551452/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/lib -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -isystem /Users/kejang/opt/anaconda3/conda-bld/python_example_1655698551452/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/include -fdebug-prefix-map=/Users/kejang/opt/anaconda3/conda-bld/python_example_1655698551452/work=/usr/local/src/conda/python_example-0.0.1 -fdebug-prefix-map=/Users/kejang/opt/anaconda3/conda-bld/python_example_1655698551452/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p=/usr/local/src/conda-prefix -D_FORTIFY_SOURCE=2 -isystem /Users/kejang/opt/anaconda3/conda-bld/python_example_1655698551452/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/include -mmacosx-version-min=10.9 build/temp.macosx-10.9-x86_64-3.9/src/main.o -o build/lib.macosx-10.9-x86_64-3.9/python_example.cpython-39-darwin.so -stdlib=libc++ ld: warning: -pie being ignored. It is only used when linking a main executable ld: unsupported tapi file type '!tapi-tbd' in YAML file '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd' for architecture x86_64 clang-12: error: linker command failed with exit code 1 (use -v to see invocation) error: command '/Users/kejang/opt/anaconda3/conda-bld/python_example_1655698551452/_build_env/bin/x86_64-apple-darwin13.4.0-clang++' failed with exit code 1 Building wheel for python-example (PEP 517): finished with status 'error' ERROR: Failed building wheel for python-example Failed to build python-example ERROR: Could not build wheels for python-example which use PEP 517 and cannot be installed directly Exception information: Traceback (most recent call last): File "$PREFIX/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 173, in _main status = self.run(options, args) File "$PREFIX/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 203, in wrapper return func(self, options, args) File "$PREFIX/lib/python3.9/site-packages/pip/_internal/commands/install.py", line 357, in run raise InstallationError( pip._internal.exceptions.InstallationError: Could not build wheels for python-example which use PEP 517 and cannot be installed directly Removed build tracker: '/private/tmp/pip-req-tracker-w6r1e96_' Traceback (most recent call last): File "/Users/kejang/opt/anaconda3/bin/conda-build", line 11, in <module> sys.exit(main()) File "/Users/kejang/opt/anaconda3/lib/python3.9/site-packages/conda_build/cli/main_build.py", line 488, in main execute(sys.argv[1:]) File "/Users/kejang/opt/anaconda3/lib/python3.9/site-packages/conda_build/cli/main_build.py", line 477, in execute outputs = api.build(args.recipe, post=args.post, test_run_post=args.test_run_post, File "/Users/kejang/opt/anaconda3/lib/python3.9/site-packages/conda_build/api.py", line 186, in build return build_tree( File "/Users/kejang/opt/anaconda3/lib/python3.9/site-packages/conda_build/build.py", line 3088, in build_tree packages_from_this = build(metadata, stats, File "/Users/kejang/opt/anaconda3/lib/python3.9/site-packages/conda_build/build.py", line 2211, in build utils.check_call_env(cmd, env=env, rewrite_stdout_env=rewrite_env, File "/Users/kejang/opt/anaconda3/lib/python3.9/site-packages/conda_build/utils.py", line 411, in check_call_env return _func_defaulting_env_to_os_environ('call', *popenargs, **kwargs) File "/Users/kejang/opt/anaconda3/lib/python3.9/site-packages/conda_build/utils.py", line 391, in _func_defaulting_env_to_os_environ raise subprocess.CalledProcessError(proc.returncode, _args) subprocess.CalledProcessError: Command '['/bin/bash', '-o', 'errexit', '/Users/kejang/opt/anaconda3/conda-bld/python_example_1655698551452/work/conda_build.sh']' returned non-zero exit status 1.
The text was updated successfully, but these errors were encountered:
Hello @kejang, did you manage to resolve this issue? I seem to be having the same problem and don't know how to rectify it.
Sorry, something went wrong.
No branches or pull requests
Hello all,
I'm getting the attached errors when I run
conda build
.Demo
Error message on macOS (12.4 (Monterey))
The text was updated successfully, but these errors were encountered: