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

Re: Need help figuring out an e2fsprogs FTBFS on mips/mipsel



* Andreas Barth (aba@not.so.argh.org) [111006 22:11]:
> * Theodore Ts'o (tytso@mit.edu) [111006 21:00]:
> > I was hoping someone could look into this build failure for e2fsprogs:
> > 
> > https://buildd.debian.org/status/package.php?p=e2fsprogs
> > 
> > make[2]: Leaving directory `/build/buildd2-e2fsprogs_1.42~WIP-2011-10-05-1-mips-sIYDQD/e2fsprogs-1.42~WIP-2011-10-05/debian/BUILD-MIPS-64/lib/ext2fs'
> > making all in lib/et
> > make[2]: Entering directory `/build/buildd2-e2fsprogs_1.42~WIP-2011-10-05-1-mips-sIYDQD/e2fsprogs-1.42~WIP-2011-10-05/debian/BUILD-MIPS-64/lib/et'
> > 	CC /build/buildd2-e2fsprogs_1.42~WIP-2011-10-05-1-mips-sIYDQD/e2fsprogs-1.42~WIP-2011-10-05/lib/et/error_message.c
> > In file included from /usr/include/stdio.h:28:0,
> >                  from /build/buildd2-e2fsprogs_1.42~WIP-2011-10-05-1-mips-sIYDQD/e2fsprogs-1.42~WIP-2011-10-05/lib/et/error_message.c:20:
> > /usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory
> > compilation terminated.
> > 
> > This looks like buggy header files, but I tried reproducing it on
> > gabrielli.debian.org, and it seems to work just fine there.  It looks
> > like gabrielli is a 32-bit MIPS machine, and it doesn't look like any of
> > the public MIPS machines are 64-bits?   Or is there a magic chroot I
> > need to use to get a 64-bit environment?
> 
> Userland is 32bit everywhere (or should), and kernel is 64bit
> everywhere. In fact, gabrielli, lucatelli and corelli should be
> exactly same kernel and chroot wise.

Looks to me like a missing build-dependency on gcc-multilib.
Adding this one resolves the issue (and the package is installed on
gabrielli already, that's why it doesn't happen there).

The other option would be to remove the mips-special-code - but please
don't ask me why this was added.

Looks to me like related to #329074. I'll let the answer to that to
someone more knowledgeable.


Andi


Reply to: