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

Re: cross build support in perl 5.22.1-7

Hi Niko,

On Fri, Sep 15, 2017 at 08:41:01PM +0300, Niko Tyni wrote:
> I expect it usually happily reads /usr/include/errno.h, which indeed
> looks incorrect for a cross build but nobody noticed until now.
> OOI, do you know why you don't have that file? I'd sort of expect the
> current code to trip without one also in native builds.

I suspect that Wookey is using a toolchain from rebootstrap and
rebootstrap applies some patches to some packages. Notably, it includes
#798955 (i.e. move all libc headers to /usr/include/<triplet>). This
patch is necessary to allow musl to coexist with glibc for instance. I
expect that it breaks stuff, but the archive rebuild is still

If that is correct, Wookey will have
/usr/include/x86_64-linux-gnu/errno.h and
/usr/include/aarch64-linux-gnu_ilp32/errno.h rather than
/usr/include/errno.h. That'd also imply that the issue is reproducible
natively once you use a patched glibc (or you just move /usr/include/*
to /usr/include/<nativetriplet> for testing).

> Please file a bug about this and I'll look into it at some point.

If you do, please check whether it should be marked as a blocker of


Reply to: