Closed tumic0 closed 3 years ago
please do not report content problems here.
Please go to our mailing lists like opensuse-buildservice in such cases.
Is this really a content problem? Does OBS generally work fine with Debian transitional packages that are causing the issue and only the Debian build hosts at build.opensuse.org are broken?!
have choice for libjpeg-dev needed by libgdk-pixbuf-2.0-dev: libjpeg-dev libjpeg62-turbo-dev, have choice for libjpeg-dev needed by libtiff-dev: libjpeg-dev libjpeg62-turbo-dev
@adrianschroeter If a package doesn't directly depend on libjpeg-dev, it shouldn't need to specify it as a dependency, right? The build service should try to resolve package dependency ambiguities in some default headless manner. A bug of the worker's APT preferences or some such.
For anyone stumbling over this problem, here is the solution. e.g. in your case you'd add something like the following to your prjconf:
Prefer: -libjpeg-dev
@Lukey3332 Thanks, but IIUC, this works for RPM spec files, not for debian control files, right?
No, works for debian too. You don't add this config to the package itself, but to your obs project under the "Project Config" tab.
@Lukey3332 Thanks! This fixed it for Debian_Testing
target, but it seemingly didn't do anything for xUbuntu_21.10
and xUbuntu_22.04
targets with the exact same issue, even after manually triggering a rebuild. Any ideas? 😅
Managed to fix that for Debian as well as xUbuntu targets with:
Prefer: -libjpeg-dev
Prefer: libjpeg-turbo8-dev
in Project Config tab. Thanks!
Debian_Testing/Debian_Unstable builds using qtbase5-private-dev are unresolvable on build.opensuse.org due to the following issue:
unresolvable: have choice for libfontconfig1-dev needed by qtbase5-private-dev: libfontconfig-dev libfontconfig1-dev
See the GPXSee build for an example.