Local build for Ubuntu: Package setup problem
I'm experimenting with builds for Ubuntu 22.04 on OBS. Generally, this works fine on the server, but when I'm trying to do a local build I get the following error during package setup: ``` osc build -j 4 xUbuntu_22.04 x86_64 .... [ 41s] [394/558] installing libdebuginfod-common-0.186-1build1 [ 42s] /usr/bin/ucf: 352: getopt: not found [ 42s] dpkg: error processing package libdebuginfod-common (--install): [ 42s] installed libdebuginfod-common package post-installation script subprocess returned error exit status 127 [ 42s] Errors were encountered while processing: [ 42s] libdebuginfod-common [ 42s] exit ... [ 42s] [ 42s] gepard failed "build openboard.dsc" at Fri Oct 28 06:26:06 UTC 2022. ``` I already deleted the package cache under `/var/tmp/osbuild-packagecache` and the buildroot under `/var/tmp/build-root/`, but this did not help. Any idea what casuses this issue?
On Okt 28 2022, Martin Winter wrote:
Any idea what casuses this issue?
Does this still happen if you add --nodebugpackages? -- 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."
But what did the trick was continuing with the broken buildroot! [ 0s] Your build system is broken!! Shall I execute [ 0s] [ 0s] rm -rf -- /var/tmp/build-root/xUbuntu_22.04-x86_64/* [ 0s] [ 0s] y - yes, cleanup the build root [ 0s] N - No, abort build (default on enter) [ 0s] c - Continue anyway with this build root c [ 6s] [y/N/c] reordering...cycle: libc6 -> libgcc-s1 After that, the remaining packages were successfully installed and the build was started. Now I'm able to debug my actual problem, which is somwhere in cmake. But I'm happy to be able to do that locally.
participants (2)
-
Andreas Schwab
-
Martin Winter