Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Gentoo: MIPS

merging /lib32 into /lib

 

 

Gentoo mips RSS feed   Index | Next | Previous | View Threaded


jfaulkne at ccs

Oct 9, 2011, 11:08 AM

Post #1 of 7 (1815 views)
Permalink
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.


mattst88 at gentoo

Oct 9, 2011, 11:43 AM

Post #2 of 7 (1756 views)
Permalink
Re: merging /lib32 into /lib [In reply to]

On Sun, Oct 9, 2011 at 2:08 PM, Jim Faulkner <jfaulkne [at] ccs> 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


cgs at ldsys

Oct 10, 2011, 4:13 AM

Post #3 of 7 (1756 views)
Permalink
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/


jfaulkne at ccs

Oct 10, 2011, 7:15 AM

Post #4 of 7 (1762 views)
Permalink
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.


jfaulkne at ccs

Oct 10, 2011, 4:52 PM

Post #5 of 7 (1755 views)
Permalink
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.
Attachments: emerge--info.txt (3.76 KB)
  emerge-uD_world.txt (2.11 KB)


mattst88 at gentoo

Oct 10, 2011, 5:35 PM

Post #6 of 7 (1751 views)
Permalink
Re: merging /lib32 into /lib [In reply to]

On Mon, Oct 10, 2011 at 11:52 PM, Jim Faulkner <jfaulkne [at] ccs> 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


jfaulkne at ccs

Oct 11, 2011, 9:16 AM

Post #7 of 7 (1737 views)
Permalink
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

Gentoo mips RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.