openSUSE / open-build-service

Build and distribute Linux packages from sources in an automatic, consistent and reproducible way #obs
https://openbuildservice.org
GNU General Public License v2.0
940 stars 440 forks source link

OBS cannot resolve unversioned module dependencies for CentOS Stream 8 #11512

Open Conan-Kudo opened 3 years ago

Conan-Kudo commented 3 years ago

Issue Description

When trying to build PHP extension packages for CentOS Stream 8, OBS seems to be unable to resolve that the nginx module dependency from php-7.4 module stream is satisfied by the nginx-1.18 module stream I've enabled in my OBS project.

Expected Result

I expected that OBS would handle the unversioned nginx module dependency and match it to the one I've enabled and start building packages.

How to Reproduce

  1. Go to https://build.opensuse.org/project/show/isv:Datto:Backports:PHP_Extensions
  2. Note that prj configuration has both httpd-2.4 and nginx-1.18 modules enabled
  3. See that no packages are building
  4. Use osc results -v --show-excluded isv:Datto:Backports:PHP_Extensions php-pecl-redis5 to see that it is failing to resolve the nginx module dependency
Conan-Kudo commented 3 years ago

This also needs a fix in OBS-2.10.x for private instances to help fix #11231.

Conan-Kudo commented 2 years ago

@hennevogel @mlschroe This got fixed in perl-BSSolv now, can we get this deployed and released for build.opensuse.org and OBS 2.10 for private instances?