Bug #4562
closed
OBS: limesuite fails to build
Added by osmith almost 4 years ago.
Updated almost 4 years ago.
Description
The Limesuite package has not been built for various debian distributions in the build infrastructure we use (OBS), because of a dependency rename between debian versions:
libwxgtk3.0-dev <> libwxgtk3.0-gtk3-dev
As I was doing another OBS related task and assumed this would be easy to fix in the project config, I did so and set appropriate "Substitute" lines in the OBS project config. Now OBS overrides the dependencies and installs the correct one, and starts to build the packages. However, the build fails in the end because the dependencies are checked again by debian's dpkg and it finds that what's installed does not match the debian/control file:
dpkg-checkbuilddeps: error: Unmet build dependencies: libwxgtk3.0-dev
- % Done changed from 0 to 90
I've solved it with the same method as for osmo-trx and osmo-gsm-manuals: create a distribution specific second package on OBS, that has a distribution specific patch (to fix the dependency).
Patches:
Please let me merge those patches, as they need to be done together with OBS configuration for the new packages.
While researching I found that it would even be possible to use the same package with distribution specific patches / distro specific sources. But this would need major refactoring of our OBS build scripts, as we would also need to have an additional .dsc file for the distributions that need changes. It did not seem worth to spend that much time on it.
https://en.opensuse.org/openSUSE:Build_Service_Debian_builds#Providing_different_configurations_for_different_distro_versions
- Status changed from In Progress to Resolved
- % Done changed from 90 to 100
Also available in: Atom
PDF