Build failure for Raspbian_12 armv7l

Hi, Having not used OBS Website / osc for a while, yesterday I updated a project and when building with osc for Raspbian_12 armv7l I received the following output:- mgrantprg@horace:osc build -k /home/mgrantprg/SWDev/oscbuilder/Raspbian_12/armv7l/built-pkgs -p /home/mgrantprg/SWDev/oscbuilder/Raspbian_12/armv7l/tmp-pkg-cache Raspbian_12 armv7ll WARNING: native compile is not possible, a emulator via binfmt misc handler must be configured! Building agmaint-Raspbian_12.dsc for Raspbian_12/armv7l Using local file: agmaint-Raspbian_12.dsc Scanning the following dirs for local preferred packages: /home/mgrantprg/SWDev/oscbuilder/Raspbian_12/armv7l/tmp-pkg-cache Getting buildconfig from server and store to /home/mgrantprg/SWDev/Projects/Packaging/OBS/home:m-grant-prg/agmaint/.osc/_buildconfig-Raspbian_12-armv7l Getting buildinfo from server and store to /home/mgrantprg/SWDev/Projects/Packaging/OBS/home:m-grant-prg/agmaint/.osc/_buildinfo-Raspbian_12-armv7l.xml buildinfo is broken... it says: unresolvable: vminstalls: nothing provides kernel-obs-build I'm afraid I have no idea when this problem really cropped up. Any hints would be greatly appreciated. Regards, Mark

Something has changed, the build is still broken but the error is different:- On 07/01/2025 09:47, Mark Grant wrote:
Hi,
Having not used OBS Website / osc for a while, yesterday I updated a project and when building with osc for Raspbian_12 armv7l I received the following output:-
mgrantprg@horace:osc build -k /home/mgrantprg/SWDev/oscbuilder/Raspbian_12/armv7l/built-pkgs -p /home/mgrantprg/SWDev/oscbuilder/Raspbian_12/armv7l/tmp-pkg-cache Raspbian_12 armv7ll WARNING: native compile is not possible, a emulator via binfmt misc handler must be configured! Building agmaint-Raspbian_12.dsc for Raspbian_12/armv7l Using local file: agmaint-Raspbian_12.dsc Scanning the following dirs for local preferred packages: /home/mgrantprg/SWDev/oscbuilder/Raspbian_12/armv7l/tmp-pkg-cache Getting buildconfig from server and store to /home/mgrantprg/SWDev/Projects/Packaging/OBS/home:m-grant-prg/agmaint/.osc/_buildconfig-Raspbian_12-armv7l Getting buildinfo from server and store to /home/mgrantprg/SWDev/Projects/Packaging/OBS/home:m-grant-prg/agmaint/.osc/_buildinfo-Raspbian_12-armv7l.xml buildinfo is broken... it says: unresolvable: vminstalls: nothing provides kernel-obs-build
I'm afraid I have no idea when this problem really cropped up.
mgrantprg@leonidas:~/SWDev/Projects/Packaging/OBS/home:m-grant-prg/mgrant-obs-deb-keyring$ osc wipe WARNING: native compile is not possible, a emulator via binfmt misc handler must be configured! Really wipe '/var/tmp/build-root/Raspbian_12-armv7l'? y)yes / n)no (default=n): y Wiping build root: '/var/tmp/build-root/Raspbian_12-armv7l' The buildroot was: /var/tmp/build-root/Raspbian_12-armv7l mgrantprg@leonidas:~/SWDev/Projects/Packaging/OBS/home:m-grant-prg/mgrant-obs-deb-keyring$ osc build -k /home/mgrantprg/SWDev/oscbuilder/Raspbian_12/armv7l/built-pkgs -p /home/mgrantprg/SWDev/oscbuilder/Raspbian_12/armv7l/tmp-pkg-cache Raspbian_12 armv7l --clean WARNING: native compile is not possible, a emulator via binfmt misc handler must be configured! Building mgrant-obs-deb-keyring-Raspbian_12.dsc for Raspbian_12/armv7l Using local file: mgrant-obs-deb-keyring-Raspbian_12.dsc Scanning the following dirs for local preferred packages: /home/mgrantprg/SWDev/oscbuilder/Raspbian_12/armv7l/tmp-pkg-cache Getting buildconfig from server and store to /home/mgrantprg/SWDev/Projects/Packaging/OBS/home:m-grant-prg/mgrant-obs-deb-keyring/.osc/_buildconfig-Raspbian_12-armv7l Getting buildinfo from server and store to /home/mgrantprg/SWDev/Projects/Packaging/OBS/home:m-grant-prg/mgrant-obs-deb-keyring/.osc/_buildinfo-Raspbian_12-armv7l.xml WARNING: It is guessed to build on hostarch 'x86_64' for 'armv7l' via QEMU user emulation. Updating cache of required packages 0.0% cache miss. 181/181 dependencies cached. WARNING: deb packages get not verified, they can compromise your system ! Writing build configuration Running build logging output to /var/tmp/build-root/Raspbian_12-armv7l/.build.log... [ 0s] Memory limit set to 6100804KB [ 0s] Using BUILD_ROOT=/var/tmp/build-root/Raspbian_12-armv7l [ 0s] Using BUILD_ARCH=armv7l:armv6l:armv5tel [ 0s] [ 0s] [ 0s] leonidas started "build mgrant-obs-deb-keyring-Raspbian_12.dsc" at Sat Jan 11 10:17:20 UTC 2025. [ 0s] [ 0s] [ 0s] processing recipe /home/mgrantprg/SWDev/Projects/Packaging/OBS/home:m-grant-prg/mgrant-obs-deb-keyring/mgrant-obs-deb-keyring-Raspbian_12.dsc ... [ 0s] running changelog2spec --target debian --file /home/mgrantprg/SWDev/Projects/Packaging/OBS/home:m-grant-prg/mgrant-obs-deb-keyring/mgrant-obs-deb-keyring-Raspbian_12.dsc [ 0s] don't know how to convert changelog to format 'debian' [ 0s] init_buildsystem --configdir /usr/lib/build/configs --cachedir /var/cache/build --clean --rpmlist /tmp/rpmlist.ppzzx8gb /home/mgrantprg/SWDev/Projects/Packaging/OBS/home:m-grant-prg/mgrant-obs-deb-keyring/mgrant-obs-deb-keyring-Raspbian_12.dsc ... [ 0s] Warning: cross compile not possible due to missing static binaries. please install build-initvm package for that purpose. [ 0s] check that the right architecture is available for your build host, you need for this one. [ 1s] cycle: libc6 -> libgcc-s1 [ 1s] breaking dependency libgcc-s1 -> libc6 [ 1s] [1/73] preinstalling debconf... <snip> [ 5s] [73/73] preinstalling init-system-helpers... [ 5s] running base-files postinstall script [ 5s] chown: invalid user: 'root:root' [ 5s] running base-passwd preinstall script [ 6s] running base-passwd postinstall script [ 6s] running gawk postinstall script [ 6s] running user-setup postinstall script [ 12s] reordering...cycle: libc6 -> libgcc-s1 [ 12s] breaking dependency libgcc-s1 -> libc6 [ 12s] done [ 12s] querying package ids... [ 13s] [1/181] installing autotools-dev-20220109.1 [ 15s] [2/181] installing binutils-common-2.40-2+rpi2 [ 17s] [3/181] installing debconf-1.5.82 [ 20s] [4/181] installing gcc-12-base-12.2.0-14+rpi1 [ 21s] [5/181] installing kernel-obs-build-6.4.0-150601.21 [ 21s] dpkg: error processing archive .init_b_cache/kernel-obs-build.deb (--install): [ 21s] package architecture (arm64) does not match system (armhf) [ 21s] Errors were encountered while processing: [ 21s] .init_b_cache/kernel-obs-build.deb [ 22s] exit ... [ 22s] [ 22s] leonidas failed "build mgrant-obs-deb-keyring-Raspbian_12.dsc" at Sat Jan 11 10:17:42 UTC 2025. [ 22s] Build failed with exit code 1 The buildroot was: /var/tmp/build-root/Raspbian_12-armv7l Cleaning the build root may fix the problem or allow you to start debugging from a well-defined state: - add '--clean' option to your 'osc build' command - run 'osc wipe [--vm-type=...]' prior running your 'osc build' command again
Any hints would be greatly appreciated.
Regards, Mark

On Samstag, 11. Januar 2025, 11:27:04 CET Mark Grant wrote:
Something has changed, the build is still broken but the error is different:-
....
.init_b_cache/kernel-obs-build.deb (--install): [ 21s] package architecture (arm64) does not match system (armhf) [ 21s] Errors were encountered while processing: [ 21s] .init_b_cache/kernel-obs-build.deb [ 22s] exit ...
Yes, you need to use the very latest build script version from git to overcome this. I will roll a new version next for openSUSE:Tools project. -- Adrian Schroeter <adrian@suse.de> Build Infrastructure Project Manager SUSE Software Solutions Germany GmbH, Frankenstraße 146, 90461 Nürnberg, Germany (HRB 36809, AG Nürnberg) Geschäftsführer: Ivo Totev

On 11/01/2025 13:31, Adrian Schröter wrote:
On Samstag, 11. Januar 2025, 11:27:04 CET Mark Grant wrote:
Something has changed, the build is still broken but the error is different:- .... .init_b_cache/kernel-obs-build.deb (--install): [ 21s] package architecture (arm64) does not match system (armhf) [ 21s] Errors were encountered while processing: [ 21s] .init_b_cache/kernel-obs-build.deb [ 22s] exit ... Yes, you need to use the very latest build script version from git to overcome this.
I will roll a new version next for openSUSE:Tools project.
I can confirm that Raspbian armv7l builds succeed on build.opensuse.org and local osc builds. Thanks, Mark
participants (2)
-
Adrian Schröter
-
Mark Grant