conda-forge / libva-feedstock

A conda-smithy repository for libva.
BSD 3-Clause "New" or "Revised" License
0 stars 5 forks source link

Problematic libxcb pinning leads to failed installations for FFmpeg and other packages combined #41

Closed ehfd closed 1 month ago

ehfd commented 4 months ago

Solution to issue cannot be found in the documentation.

Issue

The whole issue: GStreamer 1.24 prefers FFmpeg 6.1.

And, a problematic pinning for libxcb pinning leads to failures in the installation, especially in aarch64 and ppc64le.

Installed packages

conda create --name example "libva=2.21.0=*_1" "ffmpeg==6.1.*"
Channels:
 - conda-forge
Platform: linux-aarch64
Collecting package metadata (repodata.json): done
Solving environment: failed

LibMambaUnsatisfiableError: Encountered problems while solving:
  - package libva-2.21.0-h68df207_1 requires libxcb >=1.16,<1.17.0a0, but none of the providers can be installed

Could not solve for environment specs
The following packages are incompatible
├─ ffmpeg 6.1**  is installable and it requires
│  └─ libxcb >=1.15,<1.16.0a0 , which can be installed;
└─ libva 2.21.0 *_1 is not installable because it requires
   └─ libxcb >=1.16,<1.17.0a0 , which conflicts with any installable versions previously reported.

conda create --name example "libva=2.21.0=*_1" "ffmpeg==6.1.1"
Channels:
 - conda-forge
Platform: linux-aarch64
Collecting package metadata (repodata.json): done
Solving environment: failed

LibMambaUnsatisfiableError: Encountered problems while solving:
  - package libva-2.21.0-h68df207_1 requires libxcb >=1.16,<1.17.0a0, but none of the providers can be installed

Could not solve for environment specs
The following packages are incompatible
├─ ffmpeg 6.1.1  is installable and it requires
│  └─ libxcb >=1.15,<1.16.0a0 , which can be installed;
└─ libva 2.21.0 *_1 is not installable because it requires
   └─ libxcb >=1.16,<1.17.0a0 , which conflicts with any installable versions previously reported.

conda create --name example "libva=2.21.0=*_1" "ffmpeg==7.0.*"
Channels:
 - conda-forge
Platform: linux-aarch64
Collecting package metadata (repodata.json): done
Solving environment: failed

LibMambaUnsatisfiableError: Encountered problems while solving:
  - package libva-2.21.0-h68df207_1 requires libxcb >=1.16,<1.17.0a0, but none of the providers can be installed

Could not solve for environment specs
The following packages are incompatible
├─ ffmpeg 7.0**  is installable and it requires
│  └─ libxcb >=1.15,<1.16.0a0 , which can be installed;
└─ libva 2.21.0 *_1 is not installable because it requires
   └─ libxcb >=1.16,<1.17.0a0 , which conflicts with any installable versions previously reported.

conda create --name example "libva=2.21.0=*_1" "ffmpeg==7.0.1"
Channels:
 - conda-forge
Platform: linux-aarch64
Collecting package metadata (repodata.json): done
Solving environment: failed

LibMambaUnsatisfiableError: Encountered problems while solving:
  - package libva-2.21.0-h68df207_1 requires libxcb >=1.16,<1.17.0a0, but none of the providers can be installed

Could not solve for environment specs
The following packages are incompatible
├─ ffmpeg 7.0.1  is installable and it requires
│  └─ libxcb >=1.15,<1.16.0a0 , which can be installed;
└─ libva 2.21.0 *_1 is not installable because it requires
   └─ libxcb >=1.16,<1.17.0a0 , which conflicts with any installable versions previously reported.

Environment info

N/A
ehfd commented 4 months ago
Retrieving notices: ...working... done
Channels:
 - conda-forge
Platform: linux-64
Collecting package metadata (repodata.json): done
Solving environment: failed

LibMambaUnsatisfiableError: Encountered problems while solving:
  - package libva-2.21.0-h4ab18f5_1 requires libxcb >=1.16,<1.17.0a0, but none of the providers can be installed

Could not solve for environment specs
The following packages are incompatible
├─ ffmpeg 7.0.1  is installable and it requires
│  └─ libxcb >=1.15,<1.16.0a0 , which can be installed;
└─ libva 2.21.0 *_1 is not installable because it requires
   └─ libxcb >=1.16,<1.17.0a0 , which conflicts with any installable versions previously reported.
Could not solve for environment specs
The following packages are incompatible
├─ ffmpeg 6.0.1  is installable and it requires
│  └─ libass >=0.17.1,<0.17.2.0a0  with the potential options
│     ├─ libass 0.17.1 would require
│     │  └─ harfbuzz >=8.1.1,<9.0a0  with the potential options
│     │     ├─ harfbuzz [7.3.0|8.1.1|8.2.0|8.2.1] would require
│     │     │  ├─ cairo >=1.16.0,<2.0a0  with the potential options
│     │     │  │  ├─ cairo 1.16.0 would require
│     │     │  │  │  └─ icu >=58.2,<59.0a0 , which can be installed;
│     │     │  │  ├─ cairo 1.16.0 would require
│     │     │  │  │  └─ icu >=67.1,<68.0a0 , which can be installed;
│     │     │  │  ├─ cairo 1.16.0 would require
│     │     │  │  │  └─ icu >=68.1,<69.0a0 , which can be installed;
│     │     │  │  ├─ cairo 1.16.0 would require
│     │     │  │  │  └─ icu >=69.1,<70.0a0 , which can be installed;
│     │     │  │  ├─ cairo 1.16.0 would require
│     │     │  │  │  └─ libxcb >=1.13,<1.14.0a0 , which can be installed;
│     │     │  │  ├─ cairo 1.16.0 would require
│     │     │  │  │  └─ icu >=64.2,<65.0a0 , which can be installed;
│     │     │  │  └─ cairo [1.16.0|1.18.0] would require
│     │     │  │     └─ libxcb >=1.15,<1.16.0a0 , which can be installed;
│     │     │  └─ icu >=73.2,<74.0a0 , which conflicts with any installable versions previously reported;
│     │     └─ harfbuzz [8.3.0|8.4.0|8.5.0] would require
│     │        └─ cairo >=1.18.0,<2.0a0 , which can be installed (as previously explained);
│     └─ libass 0.17.1 would require
│        └─ harfbuzz >=7.2.0,<8.0a0  but there are no viable options
│           ├─ harfbuzz [7.2.0|7.3.0] would require
│           │  ├─ cairo >=1.16.0,<2.0a0 , which can be installed (as previously explained);
│           │  └─ icu >=72.1,<73.0a0 , which conflicts with any installable versions previously reported;
│           └─ harfbuzz [7.3.0|8.1.1|8.2.0|8.2.1], which cannot be installed (as previously explained);
└─ libva 2.21.0 *_1 is not installable because it requires
   └─ libxcb >=1.16,<1.17.0a0 , which conflicts with any installable versions previously reported.
ehfd commented 4 months ago

@hmaarrfk I do feel that build 1 might have indeed been catastrophic, although the pinning could have just been manually updated.

hmaarrfk commented 4 months ago

Lets see what: https://github.com/conda-forge/libxcb-feedstock/issues/20 says.

I think build 2 was built with libxcb 1.15 so this should unblock you while xcb maintainers chime in.

ehfd commented 4 months ago

I think build 2 was built with libxcb 1.15 so this should unblock you while xcb maintainers chime in.

Yeah, I just panicked because my PR might have blocked a package that gets >100000 downloads per version. Thanks for understanding.

ehfd commented 1 month ago

Fixed because of the migration.

hmaarrfk commented 1 month ago

awesome thanks for your time!