[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 2011-07-29 12:27 +0200, Steve Langasek wrote:

> 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

No, but libc6-dev-i386 had been installed before, shipping a
/usr/include/sys directory.

> 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.

That intention needs to be expressed by actually doing the conversion in
the libc6-dev-i386 postinst -- which does not currently exist.

> 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?

It seems so.  After purging and reinstalling libc6-dev-i386,
"apt-get -b source bzip2" actually succeeds.

On i386 however, libc6-dev 2.13-11 still ships files under
/usr/include/{sys,gnu,bits}, so that ncurses is unbuildable even in a
clean chroot.

Cheers,
       Sven



Reply to: