Bug#1108429: uninstallable build-depends on arm64
close 1108429 thanks On 6/29/25 08:27, Michael Tokarev wrote: These dependencies which bothers you are listed in Build-Depends-Indep, not Build-Depends h, I totally missed this! I was under the impression they are in Build-Depends. All clear now - sorry for the noise and thank you for your help and patience. Regards, Daniel
Bug#1108429: uninstallable build-depends on arm64
On 29.06.2025 08:18, Daniel Baumann wrote: On 6/28/25 23:38, Michael Tokarev wrote: You're complaining that some packages qemu build-depends on are not available on all architectures. I'm asking why binary-arch for a given architecture (!= binary-indep) isn't buildable on that very architecture. If it were the case, qemu wouldn't build on these architectures on debian. While it does. These dependencies which bothers you are listed in Build-Depends-Indep, not Build-Depends, for exactly this purpose. There are many arch-all packages which aren't buildable on anything but x86 That's not the same thing and that is not a problem. It is. In pseudo-code, my expectation and understanding is: for arch in $all_binary_architectures: apt source $package apt build-dep dpkg-buildpackage -B `apt build-dep` will install everything listed in Build-Depends, Build-Depends-Arch, and Build-Depends-Indep. You have to specify --arch-only to apt for it to omit installing Build-Depends-Arch. the result should be _$arch.deb packages for every architecture the package supports. Yes, dpkg-buildpackage -B will only build arch-any pkgs. But apt build-dep doesn't know that you intend to use -B. for qemu, that's not the case: * building it on arm64 fails because build-deps are not installable. * building it on amd64 (or any other arch) doesn't produce arm64 debs. No, this is wrong. It *builds* just fine. But it fails on `apt build-dep` step. so, how are arm64 debs of qemu build exactly? Indeed. See above. /mjt
Bug#1108429: uninstallable build-depends on arm64
On 6/28/25 23:38, Michael Tokarev wrote: You're complaining that some packages qemu build-depends on are not available on all architectures. I'm asking why binary-arch for a given architecture (!= binary-indep) isn't buildable on that very architecture. There are many arch-all packages which aren't buildable on anything but x86 That's not the same thing and that is not a problem. In pseudo-code, my expectation and understanding is: for arch in $all_binary_architectures: apt source $package apt build-dep dpkg-buildpackage -B the result should be _$arch.deb packages for every architecture the package supports. for qemu, that's not the case: * building it on arm64 fails because build-deps are not installable. * building it on amd64 (or any other arch) doesn't produce arm64 debs. so, how are arm64 debs of qemu build exactly? Regards, Daniel
Bug#1108429: uninstallable build-depends on arm64
On 28.06.2025 23:23, Daniel Baumann wrote: Hi Michael, On 6/28/25 18:30, Michael Tokarev wrote: There's #1069367 already, fwiw. I don't want to waste your time, however, it would be nice if yo could explain me the reasoning here - why is this not severity serious? You're complaining that some packages qemu build-depends on are not available on all architectures. As I mentioned in my first reply, I can either drop qemu on these architectures, or you can ask the missing packages maintainers to build the missing packages on your favorite architecture. As long as qemu is concerned, there's a wish it would be buildable without the current dependencies. You can raise the severity back to RC level for sure, - but that would be just a waste of time of everyone looking at real qemu bugs. As far as I understand, every source package that bilds binary-arch for a given architecture, must be buildable on that architecture. Probably. There are many arch-all packages which aren't buildable on anything but x86, - I dunno what to do with these. oiow "apt source qemu && dpkg-buildpackage -B" should work, no? I dunno. Feel free to ask the release managers to drop qemu on architectures where the cross compilers for the firmware aren't available. This is as much as I can do. Or can think of - but I'm definitely open for other alternatives, and would definitely welcome them too. Thanks, /mjt
Bug#1108429: uninstallable build-depends on arm64
Hi Michael, On 6/28/25 18:30, Michael Tokarev wrote: There's #1069367 already, fwiw. I don't want to waste your time, however, it would be nice if yo could explain me the reasoning here - why is this not severity serious? As far as I understand, every source package that bilds binary-arch for a given architecture, must be buildable on that architecture. oiow "apt source qemu && dpkg-buildpackage -B" should work, no? Regards, Daniel
Bug#1108429: uninstallable build-depends on arm64
There's #1069367 already, fwiw. /mjt
Bug#1108429: uninstallable build-depends on arm64
Control: severity -1 wishlist On 28.06.2025 15:41, Daniel Baumann wrote: Package: qemu Version: 1:10.0.2+ds-1 Severity: serious Hi, qemu can't be rebuild on trxie and sid for arm64 because it has build- dependencies to packages that are only available on amd64 and i386: builddeps:. : Depends: gcc-powerpc64-linux-gnu but it is not installable Depends: gcc-hppa64-linux-gnu but it is not installable Depends: gcc-powerpc64-linux-gnu but it is not installable We're going in circles here. What's your suggestion - should I drop qemu on arm64 or you can ask gcc maintainers to provide missing cross-compilers on arm64? Thanks, /mjt
Bug#1108429: uninstallable build-depends on arm64
Package: qemu Version: 1:10.0.2+ds-1 Severity: serious Hi, qemu can't be rebuild on trxie and sid for arm64 because it has build-dependencies to packages that are only available on amd64 and i386: builddeps:. : Depends: gcc-powerpc64-linux-gnu but it is not installable Depends: gcc-hppa64-linux-gnu but it is not installable Depends: gcc-powerpc64-linux-gnu but it is not installable Regards, Daniel

