Open hepcat72 opened 5 years ago
ping @bioconda/osx
Based on the log I think this is a duplicate of #12755. Could you try adding conda_build_config.yaml? More details in #12755.
CMake Error at /opt/conda/conda-bld/anise_basil_1545325104934/_build_env/share/cmake-3.13/Modules/CMakeDetermineCCompiler.cmake:48 (message):
Could not find compiler set in environment variable CC:
OK. I'm a noob. Where do I get that file (conda_build_config.yaml
) from and where do I add (/put) it? (or can you point me to documentation that answers those questions?)
Based on reading about conda_build_config.yaml
here:
by installing their conda-forge-pinning conda package in our build environment [...] that package unpacks the config YAML into our conda environment so that it can be used for building all recipes.
I tried:
conda install conda-forge-pinning
I then edited meta.yaml to increment the build number and ran circleci build
.
Same result:
CMake Error at /opt/conda/conda-bld/anise_basil_1546897584819/_build_env/share/cmake-3.13/Modules/CMakeDetermineCCompiler.cmake:48 (message):
Could not find compiler set in environment variable CC:
gcc.
Call Stack (most recent call first):
CMakeLists.txt:2 (project)
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
See also "/opt/conda/conda-bld/anise_basil_1546897584819/work/build/CMakeFiles/CMakeOutput.log".
Source cache directory is: /opt/conda/conda-bld/src_cache
Downloading source to cache: 8785a8ccaca992fa9b3baf21e837e888d696a219_bb1606b652.tar.gz
Downloading https://github.com/holtgrewe/lemon-mirror/archive/8785a8ccaca992fa9b3baf21e837e888d696a219.tar.gz
Success
Extracting download
Source cache directory is: /opt/conda/conda-bld/src_cache
Downloading source to cache: seqan-v2.0.1_b0eb92aee2.tar.gz
Downloading https://github.com/seqan/seqan/archive/seqan-v2.0.1.tar.gz
Success
Extracting download
Source cache directory is: /opt/conda/conda-bld/src_cache
Downloading source to cache: v1.2.0_05e727da4b.tar.gz
Downloading https://github.com/seqan/anise_basil/archive/v1.2.0.tar.gz
Success
Extracting download
source tree in: /opt/conda/conda-bld/anise_basil_1546897584819/work
Traceback (most recent call last):
File "/opt/conda/bin/conda-build", line 11, in <module>
sys.exit(main())
File "/opt/conda/lib/python3.6/site-packages/conda_build/cli/main_build.py", line 438, in main
execute(sys.argv[1:])
File "/opt/conda/lib/python3.6/site-packages/conda_build/cli/main_build.py", line 429, in execute
verify=args.verify)
File "/opt/conda/lib/python3.6/site-packages/conda_build/api.py", line 201, in build
notest=notest, need_source_download=need_source_download, variants=variants)
File "/opt/conda/lib/python3.6/site-packages/conda_build/build.py", line 2204, in build_tree
notest=notest,
File "/opt/conda/lib/python3.6/site-packages/conda_build/build.py", line 1445, in build
utils.check_call_env(cmd, env=env, cwd=src_dir, stats=build_stats)
File "/opt/conda/lib/python3.6/site-packages/conda_build/utils.py", line 313, in check_call_env
return _func_defaulting_env_to_os_environ('call', *popenargs, **kwargs)
File "/opt/conda/lib/python3.6/site-packages/conda_build/utils.py", line 293, in _func_defaulting_env_to_os_environ
raise subprocess.CalledProcessError(proc.returncode, _args)
subprocess.CalledProcessError: Command '['/bin/bash', '-e', '/opt/conda/conda-bld/anise_basil_1546897584819/work/conda_build.sh']' returned non-zero exit status 1.
21:48:33 BIOCONDA ERROR BUILD FAILED recipes/anise_basil
21:48:36 BIOCONDA ERROR BUILD SUMMARY: of 1 recipes, 1 failed and 0 were skipped. Details of recipes and environments follow.
21:48:36 BIOCONDA ERROR BUILD SUMMARY: FAILED recipe recipes/anise_basil
Error: Exited with code 1
Step failed
Error: runner failed
{"Runner":true,"level":"error","msg":"runner failed","task-id":"localbuild-1546897436","time":"2019-01-07T21:48:37Z"}
Task failed
Error: job failed
I don't know if this is just me and others on mac can do this successfully, or if no one is trying this on macOS and it's just broken, but while
conda build recipes/anise_basil
and the remote circleci builds for linux and macOS all work, I cannot getcircleci build
or the bootstrap method to work locally.The bootstrap method issues the following error (everything up to the error looks correct/normal).
The circleci build shows:
I've tried a number of things, including...
docker pull bioconda/bioconda-utils-build-env
circleci update check
- already up to dateconda update conda-build
I've also been contemplating a macOS update to mojave. Currently on 10.13.6. Is anyone else having this problem?