TEST START: /home/conda/feedstock_root/build_artifacts/linux-64/ld64_osx-arm64-951.9-hc53bb4b_3.conda
WARNING: Multiple meta files found. The meta.yaml file in the base directory (/tmp/tmpwxylx85c/info/recipe) will be used.
Traceback (most recent call last):
File "/opt/conda/bin/conda-build", line 11, in <module>
sys.exit(execute())
^^^^^^^^^
File "/opt/conda/lib/python3.12/site-packages/conda_build/cli/main_build.py", line 622, in execute
api.build(
File "/opt/conda/lib/python3.12/site-packages/conda_build/api.py", line 211, in build
return build_tree(
^^^^^^^^^^^
File "/opt/conda/lib/python3.12/site-packages/conda_build/build.py", line 3671, in build_tree
test(pkg, config=metadata.config.copy(), stats=stats)
File "/opt/conda/lib/python3.12/site-packages/conda_build/build.py", line 3269, in test
metadata, hash_input = construct_metadata_for_test(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.12/site-packages/conda_build/build.py", line 3011, in construct_metadata_for_test
return _construct_metadata_for_test_from_package(recipedir_or_package, config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.12/site-packages/conda_build/build.py", line 2931, in _construct_metadata_for_test_from_package
metadata = render_recipe(
^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.12/site-packages/conda_build/render.py", line 974, in render_recipe
m = MetaData(str(recipe), config=config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.12/site-packages/conda_build/metadata.py", line 1187, in __init__
self.config.variants = get_package_variants(self)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.12/site-packages/conda_build/variants.py", line 698, in get_package_variants
combined_spec, specs = get_package_combined_spec(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.12/site-packages/conda_build/variants.py", line 662, in get_package_combined_spec
validate_spec(f, spec)
File "/opt/conda/lib/python3.12/site-packages/conda_build/variants.py", line 201, in validate_spec
raise ValueError(
ValueError: Variant configuration errors in /tmp/tmpwxylx85c/info/recipe/conda_build_config.yaml:
zip_key entry cross_macos_machine in group frozenset({'cross_macos_machine', 'cross_platform', 'uname_machine'}) is a duplicate, keys can only occur in one group
zip_key entry cross_platform in group frozenset({'cross_macos_machine', 'cross_platform', 'uname_machine'}) is a duplicate, keys can only occur in one group
##[error]Bash exited with code '1'.
Checklist
What happened?
One feedstock we use for our compiler toolchain only gets rebuilt every ~6 months or so, and in conda-forge/cctools-and-ld64-feedstock#82, I got some errors about duplicate zip keys. After digging a bit, I realized that there was a collision between a local key in
CBCand conda-forge's global pinning (macos_machine). However, even after resolving that ambiguity and ensuring that the local keys in CBC are unique, I get the same error:Notably this error happens after all the packages have been built, when the first output gets tested:
stacktrace
Looking at the actual variant configs, I also don't see where any duplication could occur:
sample variant config
This happens across all platforms
Conda Info
Details
++ conda info active environment : base active env location : /opt/conda shell level : 1 user config file : /home/conda/.condarc populated config files : /opt/conda/.condarc /home/conda/.condarc conda version : 25.1.1 conda-build version : 25.1.1 python version : 3.12.8.final.0 solver : libmamba (default) virtual packages : __archspec=1=x86_64_v4 __conda=25.1.1=0 __glibc=2.34=0 __linux=6.5.0=0 __unix=0=0 base environment : /opt/conda (writable) conda av data dir : /opt/conda/etc/conda conda av metadata url : None channel URLs : https://conda.anaconda.org/conda-forge/linux-64 https://conda.anaconda.org/conda-forge/noarch package cache : /home/conda/feedstock_root/build_artifacts/pkg_cache /opt/conda/pkgs envs directories : /opt/conda/envs /home/conda/.conda/envs platform : linux-64 user-agent : conda/25.1.1 requests/2.32.3 CPython/3.12.8 Linux/6.5.0-1025-azure almalinux/9.5 glibc/2.34 solver/libmamba conda-libmamba-solver/25.1.1 libmambapy/2.0.5 UID:GID : 1001:1001 netrc file : None offline mode : FalseConda Config
Details
Conda list
Details
Additional Context
No response