* Cross-building for older releases on trixie broken?
@ 2025-09-18 5:49 'Jan Kiszka' via isar-users
2025-09-19 8:23 ` Uladzimir Bely
0 siblings, 1 reply; 4+ messages in thread
From: 'Jan Kiszka' via isar-users @ 2025-09-18 5:49 UTC (permalink / raw)
To: isar-users
Hi,
for some days, I'm playing with a trixie-based kas container (currently
available via kas-isar:next from upstream), and I it seems I ran into an
issue that might be isar-related: Building e.g. qemu-arm64:bookworm with
that container fails:
| Setup apt archive
| -----------------
|
| Merged Build-Depends: debhelper-compat (= 13), build-essential:amd64,
crossbuild-essential-arm64:amd64, apt-utils:amd64, libc-dev:arm64,
libstdc++-dev:arm64
| Filtered Build-Depends: debhelper-compat (= 13),
build-essential:amd64, crossbuild-essential-arm64:amd64,
apt-utils:amd64, libc-dev:arm64, libstdc++-dev:arm64
| dpkg-deb: building package 'sbuild-build-depends-main-dummy' in
'/build/sshd-regen-keys-QAjoa6/resolver-ruuPrM/apt_archive/sbuild-build-depends-main-dummy.deb'.
| Ign:1 copy:/build/sshd-regen-keys-QAjoa6/resolver-ruuPrM/apt_archive
./ InRelease
| Get:2 copy:/build/sshd-regen-keys-QAjoa6/resolver-ruuPrM/apt_archive
./ Release [609 B]
| Ign:3 copy:/build/sshd-regen-keys-QAjoa6/resolver-ruuPrM/apt_archive
./ Release.gpg
| Get:4 copy:/build/sshd-regen-keys-QAjoa6/resolver-ruuPrM/apt_archive
./ Sources [690 B]
| Get:5 copy:/build/sshd-regen-keys-QAjoa6/resolver-ruuPrM/apt_archive
./ Packages [733 B]
| Fetched 2032 B in 0s (0 B/s)
| Reading package lists...
| Reading package lists...
|
| Install main build dependencies (apt-based resolver)
| ----------------------------------------------------
|
| Installing build dependencies
| Reading package lists...
| Building dependency tree...
| Reading state information...
| E: Unable to locate package sbuild-build-depends-main-dummy
| apt-get failed.
| E: Package installation failed
| Not removing build depends: cloned chroot in use
| Reading package lists...
| Building dependency tree...
| Reading state information...
| E: Unable to locate package sbuild-build-depends-main-dummy
| apt-get failed.
|
That was part of the sshd-regen-keys package build, but all package seem
to fail this way.
I suspect we are improperly using the host dpkg tooling here, rather
than that from the target distro (see other recent discussions we had
here)...
Jan
--
Siemens AG, Foundational Technologies
Linux Expert Center
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/4dca8e24-ece6-405c-8f99-28f39d85780e%40siemens.com.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Cross-building for older releases on trixie broken?
2025-09-18 5:49 Cross-building for older releases on trixie broken? 'Jan Kiszka' via isar-users
@ 2025-09-19 8:23 ` Uladzimir Bely
2025-09-19 9:32 ` 'Jan Kiszka' via isar-users
0 siblings, 1 reply; 4+ messages in thread
From: Uladzimir Bely @ 2025-09-19 8:23 UTC (permalink / raw)
To: Jan Kiszka, isar-users
On Thu, 2025-09-18 at 07:49 +0200, 'Jan Kiszka' via isar-users wrote:
> Hi,
>
> for some days, I'm playing with a trixie-based kas container
> (currently
> available via kas-isar:next from upstream), and I it seems I ran into
> an
> issue that might be isar-related: Building e.g. qemu-arm64:bookworm
> with
> that container fails:
>
> > Setup apt archive
> > -----------------
> >
> > Merged Build-Depends: debhelper-compat (= 13), build-
> > essential:amd64,
> crossbuild-essential-arm64:amd64, apt-utils:amd64, libc-dev:arm64,
> libstdc++-dev:arm64
> > Filtered Build-Depends: debhelper-compat (= 13),
> build-essential:amd64, crossbuild-essential-arm64:amd64,
> apt-utils:amd64, libc-dev:arm64, libstdc++-dev:arm64
> > dpkg-deb: building package 'sbuild-build-depends-main-dummy' in
> '/build/sshd-regen-keys-QAjoa6/resolver-ruuPrM/apt_archive/sbuild-
> build-depends-main-dummy.deb'.
> > Ign:1 copy:/build/sshd-regen-keys-QAjoa6/resolver-
> > ruuPrM/apt_archive
> ./ InRelease
> > Get:2 copy:/build/sshd-regen-keys-QAjoa6/resolver-
> > ruuPrM/apt_archive
> ./ Release [609 B]
> > Ign:3 copy:/build/sshd-regen-keys-QAjoa6/resolver-
> > ruuPrM/apt_archive
> ./ Release.gpg
> > Get:4 copy:/build/sshd-regen-keys-QAjoa6/resolver-
> > ruuPrM/apt_archive
> ./ Sources [690 B]
> > Get:5 copy:/build/sshd-regen-keys-QAjoa6/resolver-
> > ruuPrM/apt_archive
> ./ Packages [733 B]
> > Fetched 2032 B in 0s (0 B/s)
> > Reading package lists...
> > Reading package lists...
> >
> > Install main build dependencies (apt-based resolver)
> > ----------------------------------------------------
> >
> > Installing build dependencies
> > Reading package lists...
> > Building dependency tree...
> > Reading state information...
> > E: Unable to locate package sbuild-build-depends-main-dummy
> > apt-get failed.
> > E: Package installation failed
> > Not removing build depends: cloned chroot in use
> > Reading package lists...
> > Building dependency tree...
> > Reading state information...
> > E: Unable to locate package sbuild-build-depends-main-dummy
> > apt-get failed.
> >
>
> That was part of the sshd-regen-keys package build, but all package
> seem
> to fail this way.
>
> I suspect we are improperly using the host dpkg tooling here, rather
> than that from the target distro (see other recent discussions we had
> here)...
>
> Jan
>
> --
> Siemens AG, Foundational Technologies
> Linux Expert Center
Hello, Jan.
I took a quick look at this. It seems cross-building is broken for
trixie host only for bookworm target. Buster, bullseye and trixie
targets looks OK.
The reason is still not clear for me - some failure happens with
apt/dependencies, even before dpkg-buildpackage is called.
Will try to debug.
--
Best regards,
Uladzimir.
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/7dffd1d05be653b03c844296d58f8183791118b5.camel%40ilbers.de.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Cross-building for older releases on trixie broken?
2025-09-19 8:23 ` Uladzimir Bely
@ 2025-09-19 9:32 ` 'Jan Kiszka' via isar-users
2025-10-03 13:50 ` Uladzimir Bely
0 siblings, 1 reply; 4+ messages in thread
From: 'Jan Kiszka' via isar-users @ 2025-09-19 9:32 UTC (permalink / raw)
To: Uladzimir Bely, isar-users
On 19.09.25 10:23, Uladzimir Bely wrote:
> On Thu, 2025-09-18 at 07:49 +0200, 'Jan Kiszka' via isar-users wrote:
>> Hi,
>>
>> for some days, I'm playing with a trixie-based kas container
>> (currently
>> available via kas-isar:next from upstream), and I it seems I ran into
>> an
>> issue that might be isar-related: Building e.g. qemu-arm64:bookworm
>> with
>> that container fails:
>>
>>> Setup apt archive
>>> -----------------
>>>
>>> Merged Build-Depends: debhelper-compat (= 13), build-
>>> essential:amd64,
>> crossbuild-essential-arm64:amd64, apt-utils:amd64, libc-dev:arm64,
>> libstdc++-dev:arm64
>>> Filtered Build-Depends: debhelper-compat (= 13),
>> build-essential:amd64, crossbuild-essential-arm64:amd64,
>> apt-utils:amd64, libc-dev:arm64, libstdc++-dev:arm64
>>> dpkg-deb: building package 'sbuild-build-depends-main-dummy' in
>> '/build/sshd-regen-keys-QAjoa6/resolver-ruuPrM/apt_archive/sbuild-
>> build-depends-main-dummy.deb'.
>>> Ign:1 copy:/build/sshd-regen-keys-QAjoa6/resolver-
>>> ruuPrM/apt_archive
>> ./ InRelease
>>> Get:2 copy:/build/sshd-regen-keys-QAjoa6/resolver-
>>> ruuPrM/apt_archive
>> ./ Release [609 B]
>>> Ign:3 copy:/build/sshd-regen-keys-QAjoa6/resolver-
>>> ruuPrM/apt_archive
>> ./ Release.gpg
>>> Get:4 copy:/build/sshd-regen-keys-QAjoa6/resolver-
>>> ruuPrM/apt_archive
>> ./ Sources [690 B]
>>> Get:5 copy:/build/sshd-regen-keys-QAjoa6/resolver-
>>> ruuPrM/apt_archive
>> ./ Packages [733 B]
>>> Fetched 2032 B in 0s (0 B/s)
>>> Reading package lists...
>>> Reading package lists...
>>>
>>> Install main build dependencies (apt-based resolver)
>>> ----------------------------------------------------
>>>
>>> Installing build dependencies
>>> Reading package lists...
>>> Building dependency tree...
>>> Reading state information...
>>> E: Unable to locate package sbuild-build-depends-main-dummy
>>> apt-get failed.
>>> E: Package installation failed
>>> Not removing build depends: cloned chroot in use
>>> Reading package lists...
>>> Building dependency tree...
>>> Reading state information...
>>> E: Unable to locate package sbuild-build-depends-main-dummy
>>> apt-get failed.
>>>
>>
>> That was part of the sshd-regen-keys package build, but all package
>> seem
>> to fail this way.
>>
>> I suspect we are improperly using the host dpkg tooling here, rather
>> than that from the target distro (see other recent discussions we had
>> here)...
>>
>> Jan
>>
>> --
>> Siemens AG, Foundational Technologies
>> Linux Expert Center
>
> Hello, Jan.
>
> I took a quick look at this. It seems cross-building is broken for
> trixie host only for bookworm target. Buster, bullseye and trixie
> targets looks OK.
>
Hmm, maybe we are lucky with the other ones, but the same issue applies
in principle.
> The reason is still not clear for me - some failure happens with
> apt/dependencies, even before dpkg-buildpackage is called.
>
> Will try to debug.
>
Thanks in advance!
Jan
--
Siemens AG, Foundational Technologies
Linux Expert Center
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/637e2b17-9d29-486b-8eb3-f31db15910d7%40siemens.com.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Cross-building for older releases on trixie broken?
2025-09-19 9:32 ` 'Jan Kiszka' via isar-users
@ 2025-10-03 13:50 ` Uladzimir Bely
0 siblings, 0 replies; 4+ messages in thread
From: Uladzimir Bely @ 2025-10-03 13:50 UTC (permalink / raw)
To: Jan Kiszka, isar-users
On Fri, 2025-09-19 at 11:32 +0200, Jan Kiszka wrote:
> On 19.09.25 10:23, Uladzimir Bely wrote:
> > On Thu, 2025-09-18 at 07:49 +0200, 'Jan Kiszka' via isar-users
> > wrote:
> > > Hi,
> > >
> > > for some days, I'm playing with a trixie-based kas container
> > > (currently
> > > available via kas-isar:next from upstream), and I it seems I ran
> > > into
> > > an
> > > issue that might be isar-related: Building e.g. qemu-
> > > arm64:bookworm
> > > with
> > > that container fails:
> > >
> > > > Setup apt archive
> > > > -----------------
> > > >
> > > > Merged Build-Depends: debhelper-compat (= 13), build-
> > > > essential:amd64,
> > > crossbuild-essential-arm64:amd64, apt-utils:amd64, libc-
> > > dev:arm64,
> > > libstdc++-dev:arm64
> > > > Filtered Build-Depends: debhelper-compat (= 13),
> > > build-essential:amd64, crossbuild-essential-arm64:amd64,
> > > apt-utils:amd64, libc-dev:arm64, libstdc++-dev:arm64
> > > > dpkg-deb: building package 'sbuild-build-depends-main-dummy' in
> > > '/build/sshd-regen-keys-QAjoa6/resolver-
> > > ruuPrM/apt_archive/sbuild-
> > > build-depends-main-dummy.deb'.
> > > > Ign:1 copy:/build/sshd-regen-keys-QAjoa6/resolver-
> > > > ruuPrM/apt_archive
> > > ./ InRelease
> > > > Get:2 copy:/build/sshd-regen-keys-QAjoa6/resolver-
> > > > ruuPrM/apt_archive
> > > ./ Release [609 B]
> > > > Ign:3 copy:/build/sshd-regen-keys-QAjoa6/resolver-
> > > > ruuPrM/apt_archive
> > > ./ Release.gpg
> > > > Get:4 copy:/build/sshd-regen-keys-QAjoa6/resolver-
> > > > ruuPrM/apt_archive
> > > ./ Sources [690 B]
> > > > Get:5 copy:/build/sshd-regen-keys-QAjoa6/resolver-
> > > > ruuPrM/apt_archive
> > > ./ Packages [733 B]
> > > > Fetched 2032 B in 0s (0 B/s)
> > > > Reading package lists...
> > > > Reading package lists...
> > > >
> > > > Install main build dependencies (apt-based resolver)
> > > > ----------------------------------------------------
> > > >
> > > > Installing build dependencies
> > > > Reading package lists...
> > > > Building dependency tree...
> > > > Reading state information...
> > > > E: Unable to locate package sbuild-build-depends-main-dummy
> > > > apt-get failed.
> > > > E: Package installation failed
> > > > Not removing build depends: cloned chroot in use
> > > > Reading package lists...
> > > > Building dependency tree...
> > > > Reading state information...
> > > > E: Unable to locate package sbuild-build-depends-main-dummy
> > > > apt-get failed.
> > > >
> > >
> > > That was part of the sshd-regen-keys package build, but all
> > > package
> > > seem
> > > to fail this way.
> > >
> > > I suspect we are improperly using the host dpkg tooling here,
> > > rather
> > > than that from the target distro (see other recent discussions we
> > > had
> > > here)...
> > >
> > > Jan
> > >
> > > --
> > > Siemens AG, Foundational Technologies
> > > Linux Expert Center
> >
> > Hello, Jan.
> >
> > I took a quick look at this. It seems cross-building is broken for
> > trixie host only for bookworm target. Buster, bullseye and trixie
> > targets looks OK.
> >
>
> Hmm, maybe we are lucky with the other ones, but the same issue
> applies
> in principle.
>
> > The reason is still not clear for me - some failure happens with
> > apt/dependencies, even before dpkg-buildpackage is called.
> >
> > Will try to debug.
> >
>
> Thanks in advance!
>
> Jan
Hello again.
Got some time to debug it a bit more, but with no success.
So, the picture is still the same:
- Cross building trixie/bookworm (host/target) fails.
- It fails on any target architecture
- Non-ross building trixie/bookworm (host/target) is OK
- Cross building trixie/buster, trixie/bullseye, trixie/trixie is OK.
For me it looks like sbuild issue. But the reason remains unclear. ALl
build depependencies sbuild lists are already in sbuild chroot, but if
fails to generate dummy package...
Probably, it could be useful to try trixie/bookworm cross-building
outside of isar to get clear understanding if sbuild itself is in blame
or the way we use it is incorrect.
--
Best regards,
Uladzimir.
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/15097b6c6d84466e550646c7f35eabbbbede6abb.camel%40ilbers.de.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-10-03 13:50 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-18 5:49 Cross-building for older releases on trixie broken? 'Jan Kiszka' via isar-users
2025-09-19 8:23 ` Uladzimir Bely
2025-09-19 9:32 ` 'Jan Kiszka' via isar-users
2025-10-03 13:50 ` Uladzimir Bely
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox