[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Cross compiling with interpreter extension library



From: Helmut Grohne <helmut@subdivi.de>
Date: Thu, 04 Sep 2025 23:13:38 +0200

> I don't think we have policy about this, but if your package requires
> qemu-binfmt, I consider it failing to cross build and may send you a
> patch.

That seems reasonable. How can I test to make sure I'm not relying on
qemu-binfmt? All of the necessary support gets installed in the
cowbuilder tree by default afaict, so accidentally using the wrong
dependency won't cause a build failure.

> Hmm. That sounds a bit like we'd the following if you agree.
> 
> Build-Depends: nickle:any, nickle <!nocheck>

That would install the :native version when building without tests and
the host arch version when testing is enabled? That would work, and
allow executing nickle during the build, but that isn't actually
required for building cairo-5c.

> Sounds reasonable except that I'd prefer a :any or :native on nickle
> here. It probably works both ways, because we're not actually running
> /usr/bin/nickle unless testing and what is really required for a nocheck
> build (cross or native) is the headers.

Given that we're not running the binary, is there any benefit to
allowing the native version to be installed instead of the host arch
version?

> >  7. altos: https://git.gag.com/?p=fw/altos;a=commitdiff;h=838f3eb97a81d27fbc615aaa862a78eb2eb23f26;hp=4104f9bd9653c5932e9aeac2b2523c4fcbcebc2e
>
> The default-jdk:native part is a bit odd. Would it make sense to split
> the rather large altos binary package into some smaller parts and
> possibly an Arch:all package?

That's the only way I could get the native javac installed -- otherwise
you get the host arch version. Maybe that should be marked 'Multi-Arch: foreign'?

> http://crossqa.debian.net/src/altos indicates that ruby-asciidoctor-pdf
> still is a problem.

We fixed that at debconf by splitting it into two packages. Version
2.3.19-2 has already migrated to testing. Altos just needs to switch to
depending on asciidoctor-pdf (which is upstream but unreleased).

-- 
-keith

Attachment: signature.asc
Description: PGP signature


Reply to: