Unsuccessful cross build of qemu on Debian 12
Hi all,
I asked the buildd team about this issue and they pointed me here, I'm
hoping someone can help me resolve this problem.
I'm having trouble with my sbuild setup only when I'm building qemu and
packages with similar dependencies for a foreign architecture.
The details are: I have my sbuild / schroot set up according to the cross
build instructions at
https://wiki.debian.org/CrossCompiling#Building_with_sbuild and I'm able
to cross build (amd64 build for arm64 host) stuff like vim, nano,
bucketloads. But when I try qemu using the same instructions it fails at
the resolver step.
I captured success and failure logs with typescript and pastebin'd them.
- Successful nano amd64-arm64: https://pastebin.com/vfZWvb65
- Successful qemu amd64-amd64 build: https://pastebin.com/kL1N3i8Z
- Unsuccessful qemu amd64-arm64 build: https://pastebin.com/hRzrCYHy
I'm say sbuild because that's the first thing I tried and probably the
solution I'd prefer, but both 'sbuild --host arm64 qemu' and 'dget ... ;
pdebuild -- --host-arch arm64' fail in the same way, so I didn't think it
was sbuild/schroot specific and more of a general build thing.
I'm confident it's not a qemu-specific thing, though, since the exact same
resolver issue happens with building other packages. I tried a few by
looking at rdepends of python3-venv (the failure qemu shows) and all the
ones I tried failed.
--
-Joe MacDonald.
:wq
Reply to: