Ubuntu 22.04 build order issue when building in OBS
Hello, when I try to use Ubuntu 22.04 I always get [ 11s] [234/305] installing libssl-dev-3.0.2-0ubuntu1 [ 11s] [235/305] installing fontconfig-config-2.13.1-4.2ubuntu5 [ 11s] [236/305] installing libdebuginfod-common-0.186-1build1 [ 11s] /usr/bin/ucf: 352: getopt: not found [ 11s] dpkg: error processing package libdebuginfod-common (--install): [ 11s] installed libdebuginfod-common package post-installation script subprocess returned error exit status 127 [ 11s] Errors were encountered while processing: [ 11s] libdebuginfod-common It seems there is an installation conflict that getopt is required before util-linux is installed. Could this please be fixed? Also it seems Ubuntu 21.04 universe should be refreshed. I tries to download e.g. http://ftp.halifax.rwth-aachen.de/ubuntu/pool/universe/t/texlive-lang/texliv... but this file doesn't exist on this server. P.S. I build with osc locally. Freedom in Peace -- https://www.dstoecker.eu/ (PGP key available)
I'm also running into this when trying to build 22.04 packages with osc. I've been able to work around this by disabling debug tooling with --nodebugpackages for now, but that's not ideal, of course. If anyone has suggestions (can I force package order in my project config, maybe?) I'd appreciate it!
On Fri, May 5, 2023 at 4:20 PM Dalton Miner <daltonminer@gmail.com> wrote:
I'm also running into this when trying to build 22.04 packages with osc. I've been able to work around this by disabling debug tooling with --nodebugpackages for now, but that's not ideal, of course. If anyone has suggestions (can I force package order in my project config, maybe?) I'd appreciate it!
You can force package order in your project config by doing the following: Order: util-linux:libdebuginfod-common This should probably be added to the Ubuntu:22.04 project config in the openSUSE Build Service so that everyone doesn't have to implement this individually, though. -- 真実はいつも一つ!/ Always, there's only one truth!
On Fri, May 5, 2023 at 4:45 PM Neal Gompa <ngompa13@gmail.com> wrote:
On Fri, May 5, 2023 at 4:20 PM Dalton Miner <daltonminer@gmail.com> wrote:
I'm also running into this when trying to build 22.04 packages with osc. I've been able to work around this by disabling debug tooling with --nodebugpackages for now, but that's not ideal, of course. If anyone has suggestions (can I force package order in my project config, maybe?) I'd appreciate it!
You can force package order in your project config by doing the following:
Order: util-linux:libdebuginfod-common
This should probably be added to the Ubuntu:22.04 project config in the openSUSE Build Service so that everyone doesn't have to implement this individually, though.
Looking at the Ubuntu 22.04 config, it looks like util-linux is also only installed with "VMInstall" rather than "Preinstall". This means that for non-VM type builds (such as chroots or containers), util-linux will be missing by default. That's probably what's actually causing the problem. You can locally fix it in your project configs with the following: Preinstall: util-linux But this *definitely* needs to be fixed in Ubuntu:22.04 in the openSUSE Build Service. -- 真実はいつも一つ!/ Always, there's only one truth!
This was it in my case, thank you! I didn't realize that util-linux would only be installed in a VM build when I checked my _buildinfo file. For anyone else, that's indicated by the `vminstall=1` attribute.
On Mai 05 2023, Neal Gompa wrote:
Looking at the Ubuntu 22.04 config, it looks like util-linux is also only installed with "VMInstall" rather than "Preinstall". This means that for non-VM type builds (such as chroots or containers), util-linux will be missing by default. That's probably what's actually causing the problem.
But then, if libdebuginfod-common (indirectly) needs util-linux, it should have a dependency on it. So it looks more like a Ubuntu bug. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."
On Fri, May 5, 2023 at 5:45 PM Andreas Schwab <schwab@linux-m68k.org> wrote:
On Mai 05 2023, Neal Gompa wrote:
Looking at the Ubuntu 22.04 config, it looks like util-linux is also only installed with "VMInstall" rather than "Preinstall". This means that for non-VM type builds (such as chroots or containers), util-linux will be missing by default. That's probably what's actually causing the problem.
But then, if libdebuginfod-common (indirectly) needs util-linux, it should have a dependency on it. So it looks more like a Ubuntu bug.
util-linux is an "essential" package, meaning that Debian/Ubuntu policy indicates packages can assume they are installed and do not need to depend on them. It will not be fixed. (I have encountered this before.) -- 真実はいつも一つ!/ Always, there's only one truth!
participants (4)
-
Andreas Schwab
-
Dalton Miner
-
Dirk Stöcker
-
Neal Gompa