Bug#635685: general: gcc -m32 has no access to system-specific includes in multiarch world
On 2011-07-29 17:50 +0200, Steve Langasek wrote:
> On Fri, Jul 29, 2011 at 01:44:06PM +0200, Sven Joachim wrote:
>
>> > 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
>
> No, it does not. libc6-dev-i386 Conflicts: with the versions of libc6-dev
> shipping /usr/include, which means they are removed from disk before
> libc6-dev-i386 is unpacked.
They are not if libc6-dev-i386 was already installed, because
libc6-dev-i386 itself contained files under /usr/include/{sys,gnu} in
versions up to 2.13-10.
> The only reason I see why this would fail would
> be because of one of the other -dev packages mentioned.
Or if libc6-dev-i386 was upgraded, rather then freshly installed.
>> 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.
>
> Yes, which is why I told you to file a separate bug report.
Do you still want that, or should I clone the current one?
Cheers,
Sven
Reply to: