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

Bug#635685: general: gcc -m32 has no access to system-specific includes in multiarch world



On Fri, Jul 29, 2011 at 09:58:18AM +0200, Sven Joachim wrote:
> > On Thu, Jul 28, 2011 at 11:39:50AM +0200, Sven Joachim wrote:

> Sorry for not reading carefully enough.  But I can also reproduce Tim's
> problem in an amd64 chroot with "apt-get -b source bzip2":

> ,----
> | gcc -m32 -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64  -D_REENTRANT -o blocksort.o -c blocksort.c
> | In file included from /usr/include/stdlib.h:25:0,
> |                  from bzlib_private.h:25,
> |                  from blocksort.c:22:
> | /usr/include/features.h:356:25: fatal error: sys/cdefs.h: No such file or directory
> `----

Do you happen to have any of the following packages installed in this
chroot?
  libacl1-dev
  libapparmor-dev
  libasound2-dev
  libcap-dev
  libsbuf-dev
  systemtap-sdt-dev

I see, much to my surprise, that libc6-dev is not the only package shipping
files in this directory; so if you have one of these packages installed, the
/usr/include/sys directory will fail to be replaced by a symlink as
intended.

So that's definitely a bug and needs to be fixed.  I'm not sure if it's the
bug that Tim and you are seeing?

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek@ubuntu.com                                     vorlon@debian.org

Attachment: signature.asc
Description: Digital signature


Reply to: