Mailing List Archive

merging /lib32 into /lib
sys-apps/baselayout-2.1 tells me I need to merge my /lib32 dir into
/lib. What's the best way to do this on a live system? Basic commands
like "mv" and "ln" are linked against /lib32/libc.so.6, so I can't
delete or rename that directory without hosing my system.
Re: merging /lib32 into /lib [ In reply to ]
On Sun, Oct 9, 2011 at 2:08 PM, Jim Faulkner <jfaulkne@ccs.neu.edu> wrote:
> sys-apps/baselayout-2.1 tells me I need to merge my /lib32 dir into
> /lib.  What's the best way to do this on a live system?  Basic commands
> like "mv" and "ln" are linked against /lib32/libc.so.6, so I can't
> delete or rename that directory without hosing my system.

I haven't heard of this, probably because I haven't done much lately.
Assuming you're using an n32 system (multilib or otherwise) this isn't
correct.

I'm looking at baselayout-2.1.ebuild, and I think the problem is that
I don't have SYMLINK_LIB="no" in the mips profiles.

Relevant: https://bugs.gentoo.org/show_bug.cgi?id=355283#c4

I'll update those profiles. emerge --sync in an hour or two and let me
know if the problem goes away.

Thanks,
Matt
Re: merging /lib32 into /lib [ In reply to ]
----- Original Message -----
> sys-apps/baselayout-2.1 tells me I need to merge my /lib32 dir into
> /lib. What's the best way to do this on a live system? Basic
> commands
> like "mv" and "ln" are linked against /lib32/libc.so.6, so I can't
> delete or rename that directory without hosing my system.

I can't directly address your primary issue, but do you have /sbin/sln?

--
Christopher G. Stach II
http://ldsys.net/~cgs/
Re: merging /lib32 into /lib [ In reply to ]
On Mon, Oct 10, 2011 at 06:13:17AM -0500, Christopher G. Stach II wrote:
> > like "mv" and "ln" are linked against /lib32/libc.so.6, so I can't
> > delete or rename that directory without hosing my system.
>
> I can't directly address your primary issue, but do you have /sbin/sln?

I do indeed have /sbin/sln. Thanks for the tip, good to know that
there's always a statically linked ln available. I also compiled a
static busybox so I'd have that available in an emergency as well.
Re: merging /lib32 into /lib [ In reply to ]
On Sun, Oct 09, 2011 at 02:43:58PM -0400, Matt Turner wrote:
> > sys-apps/baselayout-2.1 tells me I need to merge my /lib32 dir into /lib.
>
> I'll update those profiles. emerge --sync in an hour or two and let me
> know if the problem goes away.

I do have a multilib n32 system. I waited ~24 hours, but baselayout is
still telling me to merge /lib32 into /lib. I've attached my emerge
--info and the output of emerge baselayout.
Re: merging /lib32 into /lib [ In reply to ]
On Mon, Oct 10, 2011 at 11:52 PM, Jim Faulkner <jfaulkne@ccs.neu.edu> wrote:
> On Sun, Oct 09, 2011 at 02:43:58PM -0400, Matt Turner wrote:
>> > sys-apps/baselayout-2.1 tells me I need to merge my /lib32 dir into /lib.
>>
>> I'll update those profiles. emerge --sync in an hour or two and let me
>> know if the problem goes away.
>
> I do have a multilib n32 system.  I waited ~24 hours, but baselayout is
> still telling me to merge /lib32 into /lib.  I've attached my emerge
> --info and the output of emerge baselayout.

Ah, I see the problem now. Thanks for the logs.

The problem is that the baselayout ebuild thinks that lib and lib32
must never exist. This is true on other platforms, but these two
folders can exist together on mips.

I'll file a bug report in a day or so if you don't beat me to it. :)

Thanks,
Matt
Re: merging /lib32 into /lib [ In reply to ]
On Tue, Oct 11, 2011 at 12:35:45AM +0000, Matt Turner wrote:
> >
> > I do have a multilib n32 system. ?I waited ~24 hours, but baselayout is
> > still telling me to merge /lib32 into /lib. ?I've attached my emerge
> > --info and the output of emerge baselayout.
>
> The problem is that the baselayout ebuild thinks that lib and lib32
> must never exist. This is true on other platforms, but these two
> folders can exist together on mips.

OK, I've filed a bug report here:

https://bugs.gentoo.org/show_bug.cgi?id=386821