Skip to content

Conda-build freeze during the step "attempting to finalize metadata for ...." #5795

@AugustinErnoult

Description

@AugustinErnoult

Checklist

  • I added a descriptive title
  • I searched open reports and couldn't find a duplicate

What happened?

I have a gitlab project for which the conda package is directly generated on the continuous integration server. This was fully functional until few days.
However I had to update the conda version on this server and since this update I have a strange issue that I do not understand and I do not find a way to solve it: conda build freeze at the step "Attempting to finalize metadata for openwind"

here the command and the result

$ conda build . --no-include-recipe
Adding in variants from internal_defaults                                       
WARNING: No numpy version specified in conda_build_config.yaml.  Falling back to default numpy value of 1.26                                                    
WARNING: Number of parsed outputs does not match detected raw metadata blocks. Identified output block may be wrong! If you are using Jinja conditionals to include or exclude outputs, consider using `skip: true  # [condition]` instead.     
Attempting to finalize metadata for openwind

When I execute this command locally this is ok.

I tried to create different virtual environment with different python version from 3.13 to 3.10 (which I think the version previously install on the server) without success. I also tried to install full anaconda instead of miniconda without success....

Conda Info

active environment : OW2conda
    active env location : ~/miniconda3/envs/OW2conda
            shell level : 1
       user config file : ~/.condarc
 populated config files : ~/miniconda3/.condarc
                          ~/.condarc
          conda version : 25.7.0
    conda-build version : 25.7.0
         python version : 3.13.5.final.0
                 solver : libmamba (default)
       virtual packages : __archspec=1=broadwell
                          __conda=25.7.0=0
                          __glibc=2.35=0
                          __linux=5.15.0=0
                          __unix=0=0
       base environment : ~/miniconda3  (writable)
      conda av data dir : ~/miniconda3/etc/conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : ~/miniconda3/pkgs
                          ~/.conda/pkgs
       envs directories : ~/miniconda3/envs
                          ~/.conda/envs
               platform : linux-64
             user-agent : conda/25.7.0 requests/2.32.5 CPython/3.13.5 Linux/5.15.0-136-generic ubuntu/22.04.4 glibc/2.35 solver/libmamba conda-libmamba-solver/25.4.0 libmambapy/2.3.2 aau/0.7.3 c/. s/. e/.
                UID:GID : 999:999
             netrc file : None
           offline mode : False

Conda Config

==> ~/miniconda3/.condarc <==
channels:
  - defaults

==> ~/.condarc <==
auto_activate: False
channels:
  - https://conda.anaconda.org/conda-forge/
  - conda-forge
  - defaults
anaconda_upload: False

==> envvars <==
allow_softlinks: False

Conda list

# packages in environment at ~/miniconda3/envs/OW2conda:
#
# Name                       Version          Build               Channel
_libgcc_mutex                0.1              conda_forge         conda-forge
_openmp_mutex                4.5              2_gnu               conda-forge
archspec                     0.2.5            pyhd8ed1ab_0        conda-forge
attrs                        25.3.0           pyh71513ae_0        conda-forge
beautifulsoup4               4.13.5           pyha770c72_0        conda-forge
boltons                      25.0.0           pyhd8ed1ab_0        conda-forge
brotli-python                1.1.0            py310hea6c23e_4     conda-forge
bzip2                        1.0.8            hda65f42_8          conda-forge
c-ares                       1.34.5           hb9d3cd8_0          conda-forge
ca-certificates              2025.8.3         hbd8a1cb_0          conda-forge
certifi                      2025.8.3         pyhd8ed1ab_0        conda-forge
cffi                         1.17.1           py310h34a4b09_1     conda-forge
chardet                      5.2.0            pyhd8ed1ab_3        conda-forge
charset-normalizer           3.4.3            pyhd8ed1ab_0        conda-forge
click                        8.3.0            pyh707e725_0        conda-forge
colorama                     0.4.6            pyhd8ed1ab_1        conda-forge
conda                        25.7.0           py310hff52083_0     conda-forge
conda-build                  25.7.0           py310hff52083_0     conda-forge
conda-index                  0.6.1            pyhd8ed1ab_0        conda-forge
conda-libmamba-solver        25.4.0           pyhd8ed1ab_0        conda-forge
conda-package-handling       2.4.0            pyh7900ff3_2        conda-forge
conda-package-streaming      0.12.0           pyhd8ed1ab_0        conda-forge
cpp-expected                 1.1.0            hff21bea_1          conda-forge
distro                       1.9.0            pyhd8ed1ab_1        conda-forge
evalidate                    2.0.5            pyhe01879c_0        conda-forge
filelock                     3.19.1           pyhd8ed1ab_0        conda-forge
fmt                          11.2.0           h07f6e7f_0          conda-forge
frozendict                   2.4.6            py310h7c4b9e2_1     conda-forge
h2                           4.3.0            pyhcf101f3_0        conda-forge
hpack                        4.1.0            pyhd8ed1ab_0        conda-forge
hyperframe                   6.1.0            pyhd8ed1ab_0        conda-forge
icu                          75.1             he02047a_0          conda-forge
idna                         3.10             pyhd8ed1ab_1        conda-forge
jinja2                       3.1.6            pyhd8ed1ab_0        conda-forge
jsonpatch                    1.33             pyhd8ed1ab_1        conda-forge
jsonpointer                  3.0.0            py310hff52083_2     conda-forge
jsonschema                   4.25.1           pyhe01879c_0        conda-forge
jsonschema-specifications    2025.9.1         pyhcf101f3_0        conda-forge
keyutils                     1.6.3            hb9d3cd8_0          conda-forge
krb5                         1.21.3           h659f571_0          conda-forge
ld_impl_linux-64             2.44             h1423503_1          conda-forge
libarchive                   3.8.1            gpl_h7be2006_101    conda-forge
libcurl                      8.14.1           h332b0f4_0          conda-forge
libedit                      3.1.20250104     pl5321h7949ede_0    conda-forge
libev                        4.33             hd590300_2          conda-forge
libexpat                     2.7.1            hecca717_0          conda-forge
libffi                       3.4.6            h2dba641_1          conda-forge
libgcc                       15.1.0           h767d61c_5          conda-forge
libgcc-ng                    15.1.0           h69a702a_5          conda-forge
libgomp                      15.1.0           h767d61c_5          conda-forge
libiconv                     1.18             h3b78370_2          conda-forge
liblief                      0.16.6           h5888daf_0          conda-forge
liblzma                      5.8.1            hb9d3cd8_2          conda-forge
libmamba                     2.3.2            hae34dd5_0          conda-forge
libmambapy                   2.3.2            py310hccbc6c6_0     conda-forge
libnghttp2                   1.67.0           had1ee68_0          conda-forge
libnsl                       2.0.1            hb9d3cd8_1          conda-forge
libsolv                      0.7.35           h9463b59_0          conda-forge
libsqlite                    3.50.4           h0c1763c_0          conda-forge
libssh2                      1.11.1           hcf80075_0          conda-forge
libstdcxx                    15.1.0           h8f9b012_5          conda-forge
libstdcxx-ng                 15.1.0           h4852527_5          conda-forge
libuuid                      2.41.2           he9a06e4_0          conda-forge
libxcrypt                    4.4.36           hd590300_1          conda-forge
libxml2                      2.15.0           h26afc86_0          conda-forge
libxml2-16                   2.15.0           ha9997c6_0          conda-forge
libzlib                      1.3.1            hb9d3cd8_2          conda-forge
lz4-c                        1.10.0           h5888daf_1          conda-forge
lzo                          2.10             h280c20c_1002       conda-forge
markupsafe                   3.0.2            py310h89163eb_1     conda-forge
mbedtls                      3.6.3.1          h5888daf_0          conda-forge
menuinst                     2.3.1            py310hff52083_1     conda-forge
msgpack-python               1.1.1            py310h03d9f68_1     conda-forge
ncurses                      6.5              h2d0b736_3          conda-forge
nlohmann_json                3.11.3           he02047a_1          conda-forge
openssl                      3.5.3            h26f9b46_1          conda-forge
packaging                    25.0             pyh29332c3_1        conda-forge
patch                        2.8              hb03c661_1002       conda-forge
patchelf                     0.17.2           h58526e2_0          conda-forge
pip                          25.2             pyh8b19718_0        conda-forge
pkginfo                      1.12.1.2         pyhd8ed1ab_0        conda-forge
platformdirs                 4.4.0            pyhcf101f3_0        conda-forge
pluggy                       1.6.0            pyhd8ed1ab_0        conda-forge
psutil                       7.1.0            py310h7c4b9e2_0     conda-forge
py-lief                      0.16.6           py310hf71b8c6_0     conda-forge
pybind11-abi                 4                hd8ed1ab_3          conda-forge
pycosat                      0.6.6            py310h7c4b9e2_3     conda-forge
pycparser                    2.22             pyh29332c3_1        conda-forge
pysocks                      1.7.1            pyha55dd90_7        conda-forge
python                       3.10.18          hd6af730_0_cpython  conda-forge
python-libarchive-c          5.3              pyhe01879c_1        conda-forge
python_abi                   3.10             8_cp310             conda-forge
pytz                         2025.2           pyhd8ed1ab_0        conda-forge
pyyaml                       6.0.2            py310h89163eb_2     conda-forge
readline                     8.2              h8c095d6_2          conda-forge
referencing                  0.36.2           pyh29332c3_0        conda-forge
reproc                       14.2.5.post0     hb9d3cd8_0          conda-forge
reproc-cpp                   14.2.5.post0     h5888daf_0          conda-forge
requests                     2.32.5           pyhd8ed1ab_0        conda-forge
ripgrep                      14.1.1           h8fae777_1          conda-forge
rpds-py                      0.27.1           py310hd8f68c5_1     conda-forge
ruamel.yaml                  0.18.15          py310h7c4b9e2_1     conda-forge
ruamel.yaml.clib             0.2.12           py310h7c4b9e2_1     conda-forge
setuptools                   80.9.0           pyhff2d567_0        conda-forge
simdjson                     3.13.0           h84d6215_0          conda-forge
soupsieve                    2.8              pyhd8ed1ab_0        conda-forge
tk                           8.6.13           noxft_hd72426e_102  conda-forge
tomli                        2.2.1            pyhe01879c_2        conda-forge
tqdm                         4.67.1           pyhd8ed1ab_1        conda-forge
truststore                   0.10.3           pyhe01879c_0        conda-forge
typing-extensions            4.15.0           h396c80c_0          conda-forge
typing_extensions            4.15.0           pyhcf101f3_0        conda-forge
tzdata                       2025b            h78e105d_0          conda-forge
urllib3                      2.5.0            pyhd8ed1ab_0        conda-forge
wheel                        0.45.1           pyhd8ed1ab_1        conda-forge
yaml                         0.2.5            h280c20c_3          conda-forge
yaml-cpp                     0.8.0            h3f2d84a_0          conda-forge
zstandard                    0.25.0           py310h139afa4_0     conda-forge
zstd                         1.5.7            hb8e6e7a_2          conda-forge

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type::bugdescribes erroneous operation, use severity::* to classify the type

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions