regro / conda-forge-feedstock-check-solvable

A mamba- or rattler-based package to check if a conda-forge feedstock is solvable.
BSD 3-Clause "New" or "Revised" License
1 stars 8 forks source link

v1 recipe format solvable tests are failing #61

Closed beckermr closed 4 weeks ago

beckermr commented 4 weeks ago

We are seeing a failure in the solvability checks for the v1 format.

see here: https://github.com/regro/conda-forge-feedstock-check-solvable/pull/60

beckermr commented 4 weeks ago

error message

AssertionError: ['linux_64_: Rattler build errors: ╭─ Finding outputs from recipe\n'
E          ' │ Found 1 variants\n'
E          ' │ Build variant: jolt-physics-5.1.0-hff21bea_0\n'
E          ' │ \n'
E          ' │ ╭──────────────────────┬──────────────────╮\n'
E          ' │ │ Variant              ┆ Version          │\n'
E          ' │ ╞══════════════════════╪══════════════════╡\n'
E          ' │ │ c_stdlib             ┆ sysroot          │\n'
E          ' │ │ c_stdlib_version     ┆ 2.17             │\n'
E          ' │ │ channel_targets      ┆ conda-forge main │\n'
E          ' │ │ cxx_compiler         ┆ gxx              │\n'
E          ' │ │ cxx_compiler_version ┆ 13               │\n'
E          ' │ │ target_platform      ┆ linux-64         │\n'
E          ' │ ╰──────────────────────┴──────────────────╯\n'
E          ' │\n'
E          ' ╰─────────────────── (took 0 seconds)\n'
E          '\n'
E          ' ╭─ Resolving environments\n'
E          ' │ \n'
E          ' │ Resolving build environment:\n'
E          ' │   Platform: linux-64 [__unix=0=0, __linux=6.8.0=0, __glibc=2.50=0, '
E          '__archspec=1=zen2]\n'
E          ' │   Channels: \n'
E          ' │    - '
E          'file:///home/runner/work/conda-forge-feedstock-check-solvable/conda-forge-feedstock-check-solvable/output/\n'
E          ' │    - file:///home/runner/work/_temp/tmp0vm4fzvt/\n'
E          ' │    - conda-forge\n'
E          ' │    - file:///home/runner/work/_temp/tmp0vm4fzvt/\n'
E          ' │   Specs:\n'
E          ' │    - gxx_linux-64 13.*\n'
E          ' │    - sysroot_linux-64 2.17.*\n'
E          ' │    - cmake\n'
E          ' │    - ninja\n'
E          ' │\n'
E          ' │ ╭─ Resolving environments\n'
E          ' │ │\n'
E          ' │ ╰─────────────────── (took 0 seconds)\n'
E          ' │\n'
E          ' │ ╭─ Resolving environments\n'
E          ' │ │\n'
E          ' │ ╰─────────────────── (took 0 seconds)\n'
E          ' │\n'
E          ' │ ╭─ Resolving environments\n'
E          ' │ │\n'
E          ' │ ╰─────────────────── (took 0 seconds)\n'
E          ' │\n'
E          ' │ ╭─ Resolving environments\n'
E          ' │ │\n'
E          ' │ ╰─────────────────── (took 0 seconds)\n'
E          ' │\n'
E          ' │ ╭─ Resolving environments\n'
E          ' │ │\n'
E          ' │ ╰─────────────────── (took 0 seconds)\n'
E          ' │\n'
E          ' │ ╭─ Resolving environments\n'
E          ' │ │\n'
E          ' │ ╰─────────────────── (took 0 seconds)\n'
E          ' │ \n'
E          ' │ '
E          '╭──────────────────────────┬──────────────┬──────────────┬─────────────┬────────────╮\n'
E          ' │ │ Package                  ┆ Version      ┆ Build        ┆ Channel     ┆ '
E          'Size       │\n'
E          ' │ '
E          '╞══════════════════════════╪══════════════╪══════════════╪═════════════╪════════════╡\n'
E          ' │ │ __glibc                  ┆ 2.50         ┆ 0            ┆ tmp0vm4fzvt ┆ '
E          '0 B        │\n'
E          ' │ │ __unix                   ┆ 0            ┆ 0            ┆ tmp0vm4fzvt ┆ '
E          '0 B        │\n'
E          ' │ │ _libgcc_mutex            ┆ 0.1          ┆ conda_forge  ┆ conda-forge ┆ '
E          '2.50 KiB   │\n'
E          ' │ │ _openmp_mutex            ┆ 4.5          ┆ 2_gnu        ┆ conda-forge ┆ '
E          '23.07 KiB  │\n'
E          ' │ │ binutils_impl_linux-64   ┆ 2.43         ┆ h4bf12b8_1   ┆ conda-forge ┆ '
E          '5.94 MiB   │\n'
E          ' │ │ binutils_linux-64        ┆ 2.43         ┆ h4852527_1   ┆ conda-forge ┆ '
E          '34.09 KiB  │\n'
E          ' │ │ bzip2                    ┆ 1.0.8        ┆ h4bc722e_7   ┆ conda-forge ┆ '
E          '246.86 KiB │\n'
E          ' │ │ c-ares                   ┆ 1.33.1       ┆ heb4867d_0   ┆ conda-forge ┆ '
E          '178.51 KiB │\n'
E          ' │ │ ca-certificates          ┆ 2024.8.30    ┆ hbcca054_0   ┆ conda-forge ┆ '
E          '155.28 KiB │\n'
E          ' │ │ cmake                    ┆ 3.30.4       ┆ hf9cb763_0   ┆ conda-forge ┆ '
E          '18.79 MiB  │\n'
E          ' │ │ gcc_impl_linux-64        ┆ 13.3.0       ┆ hfea6d02_1   ┆ conda-forge ┆ '
E          '64.34 MiB  │\n'
E          ' │ │ gcc_linux-64             ┆ 13.3.0       ┆ hc28eda2_4   ┆ conda-forge ┆ '
E          '31.13 KiB  │\n'
E          ' │ │ gxx_impl_linux-64        ┆ 13.3.0       ┆ hdbfa832_1   ┆ conda-forge ┆ '
E          '12.72 MiB  │\n'
E          ' │ │ gxx_linux-64             ┆ 13.3.0       ┆ h6834431_4   ┆ conda-forge ┆ '
E          '29.50 KiB  │\n'
E          ' │ │ kernel-headers_linux-64  ┆ 3.10.0       ┆ he073ed8_17  ┆ conda-forge ┆ '
E          '922.94 KiB │\n'
E          ' │ │ keyutils                 ┆ 1.6.1        ┆ h166bdaf_0   ┆ conda-forge ┆ '
E          '115.07 KiB │\n'
E          ' │ │ krb5                     ┆ 1.21.3       ┆ h659f571_0   ┆ conda-forge ┆ '
E          '1.31 MiB   │\n'
E          ' │ │ ld_impl_linux-64         ┆ 2.43         ┆ h712a8e2_1   ┆ conda-forge ┆ '
E          '653.92 KiB │\n'
E          ' │ │ libcurl                  ┆ 8.10.1       ┆ hbbe4b11_0   ┆ conda-forge ┆ '
E          '414.94 KiB │\n'
E          ' │ │ libedit                  ┆ 3.1.20191231 ┆ he28a2e2_2   ┆ conda-forge ┆ '
E          '120.97 KiB │\n'
E          ' │ │ libev                    ┆ 4.33         ┆ hd590300_2   ┆ conda-forge ┆ '
E          '110.12 KiB │\n'
E          ' │ │ libexpat                 ┆ 2.6.3        ┆ h5888daf_0   ┆ conda-forge ┆ '
E          '71.[89](https://github.com/regro/conda-forge-feedstock-check-solvable/actions/runs/11220996357/job/31190350830?pr=60#step:6:90) KiB  │\n'
E          ' │ │ libgcc                   ┆ 14.1.0       ┆ h77fa898_1   ┆ conda-forge ┆ '
E          '826.54 KiB │\n'
E          ' │ │ libgcc-devel_linux-64    ┆ 13.3.0       ┆ h84ea5a7_101 ┆ conda-forge ┆ '
E          '2.48 MiB   │\n'
E          ' │ │ libgcc-ng                ┆ 14.1.0       ┆ h69a702a_1   ┆ conda-forge ┆ '
E          '50.95 KiB  │\n'
E          ' │ │ libgomp                  ┆ 14.1.0       ┆ h77fa898_1   ┆ conda-forge ┆ '
E          '449.43 KiB │\n'
E          ' │ │ libnghttp2               ┆ 1.58.0       ┆ h47da74e_1   ┆ conda-forge ┆ '
E          '617.12 KiB │\n'
E          ' │ │ libsanitizer             ┆ 13.3.0       ┆ heb74ff8_1   ┆ conda-forge ┆ '
E          '3.94 MiB   │\n'
E          ' │ │ libssh2                  ┆ 1.11.0       ┆ h0841786_0   ┆ conda-forge ┆ '
E          '264.78 KiB │\n'
E          ' │ │ libstdcxx                ┆ 14.1.0       ┆ hc0a3c3a_1   ┆ conda-forge ┆ '
E          '3.71 MiB   │\n'
E          ' │ │ libstdcxx-devel_linux-64 ┆ 13.3.0       ┆ h84ea5a7_101 ┆ conda-forge ┆ '
E          '13.42 MiB  │\n'
E          ' │ │ libstdcxx-ng             ┆ 14.1.0       ┆ h4852527_1   ┆ conda-forge ┆ '
E          '51.00 KiB  │\n'
E          ' │ │ libuv                    ┆ 1.49.0       ┆ hb9d3cd8_0   ┆ conda-forge ┆ '
E          '857.81 KiB │\n'
E          ' │ │ libzlib                  ┆ 1.3.1        ┆ hb9d3cd8_2   ┆ conda-forge ┆ '
E          '59.53 KiB  │\n'
E          ' │ │ ncurses                  ┆ 6.5          ┆ he02047a_1   ┆ conda-forge ┆ '
E          '868.25 KiB │\n'
E          ' │ │ ninja                    ┆ 1.12.1       ┆ h297d8ca_0   ┆ conda-forge ┆ '
E          '2.10 MiB   │\n'
E          ' │ │ openssl                  ┆ 3.3.2        ┆ hb9d3cd8_0   ┆ conda-forge ┆ '
E          '2.76 MiB   │\n'
E          ' │ │ rhash                    ┆ 1.4.4        ┆ hd5[90](https://github.com/regro/conda-forge-feedstock-check-solvable/actions/runs/11220996357/job/31190350830?pr=60#step:6:91)300_0   ┆ conda-forge ┆ '
E          '180.80 KiB │\n'
E          ' │ │ sysroot_linux-64         ┆ 2.17         ┆ h4a8ded7_17  ┆ conda-forge ┆ '
E          '14.44 MiB  │\n'
E          ' │ │ tzdata                   ┆ 2024b        ┆ hc8b5060_0   ┆ conda-forge ┆ '
E          '119.49 KiB │\n'
E          ' │ │ xz                       ┆ 5.2.6        ┆ h166bdaf_0   ┆ conda-forge ┆ '
E          '408.56 KiB │\n'
E          ' │ │ zstd                     ┆ 1.5.6        ┆ ha6fb4c9_0   ┆ conda-forge ┆ '
E          '541.84 KiB │\n'
E          ' │ '
E          '╰──────────────────────────┴──────────────┴──────────────┴─────────────┴────────────╯\n'
E          ' │\n'
E          ' ╰─────────────────── (took 0 seconds)\n'
E          'Error:   × Could not collect run exports\n'
E          '  ├─▶ an io error occurred\n'
E          '  ╰─▶ No such file or directory (os error 2)']
E       assert False
wolfv commented 4 weeks ago

The problem was that rattler-build tried to find the run exports for the 'fake' virtual packages. But since the fake packages do not exist, it failed.

The solution is to add an empty run_exports entry in the repodata. Rattler-build already parses this information and is not going to try to fetch the package to obtain the information in that case.

beckermr commented 4 weeks ago

Did you mean to close this because you made a pr or do we need to make a pr?

wolfv commented 4 weeks ago

Sorry, I accidentally pushed to main (notified you on Gitter). Let me know what you want to do.

beckermr commented 4 weeks ago

Thanks for the fix!

beckermr commented 4 weeks ago

Happy to keep it as is.