public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-embedded] crossdev conflict between sys-libs/glibc and cross-arm-unknown-linux-gnueabi/glibc?
@ 2011-04-26 19:13 chris
  2011-04-27  0:57 ` solar
  0 siblings, 1 reply; 3+ messages in thread
From: chris @ 2011-04-26 19:13 UTC (permalink / raw
  To: gentoo-embedded

 I installed the following toolchain with crossdev:
 arm-unknown-linux-gnueabi
 which installs glibc into /usr/arm-unknown-linux-gnueabi/ under the 
 name cross-arm-unknown-linux-gnueabi/glibc

 I then installed udev, which depends on sys-fs/glibc

 As far as I know sys-fs/glibc is already installed into SYSROOT, except 
 with a different name as mentioned above.

 I noted that the two installs of glibc had the same version, so I went 
 ahead with the installation anyway. Sure enough portage reported a bunch 
 of file collisions.

 I'm guessing that the solution is to move SYSROOT into another 
 directory. I think I've seen how to do this in some documentation, but I 
 can't find it anymore. Would setting SYSROOT to another directory 
 separate the two glibc installs? I was also wondering if it was possible 
 to ask portage to install packages and build filesystem in directories 
 owned by users. The advantage of which is to let users create their own 
 filesystems in more a of a sandbox environment.

 Thanks,
 Chris



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-embedded] crossdev conflict between sys-libs/glibc and cross-arm-unknown-linux-gnueabi/glibc?
  2011-04-26 19:13 [gentoo-embedded] crossdev conflict between sys-libs/glibc and cross-arm-unknown-linux-gnueabi/glibc? chris
@ 2011-04-27  0:57 ` solar
  2011-04-27  1:07   ` Christopher Harvey
  0 siblings, 1 reply; 3+ messages in thread
From: solar @ 2011-04-27  0:57 UTC (permalink / raw
  To: gentoo-embedded

On Tue, 2011-04-26 at 14:13 -0500, chris@basementcode.com wrote:
> I installed the following toolchain with crossdev:
>  arm-unknown-linux-gnueabi
>  which installs glibc into /usr/arm-unknown-linux-gnueabi/ under the 
>  name cross-arm-unknown-linux-gnueabi/glibc
> 
>  I then installed udev, which depends on sys-fs/glibc
> 
>  As far as I know sys-fs/glibc is already installed into SYSROOT, except 
>  with a different name as mentioned above.
> 
>  I noted that the two installs of glibc had the same version, so I went 
>  ahead with the installation anyway. Sure enough portage reported a bunch 
>  of file collisions.

We disable collision-protect iirc for the wrappers crossdev now
provides.


-- 
solar <solar@gentoo.org>
Gentoo Linux




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-embedded] crossdev conflict between sys-libs/glibc and cross-arm-unknown-linux-gnueabi/glibc?
  2011-04-27  0:57 ` solar
@ 2011-04-27  1:07   ` Christopher Harvey
  0 siblings, 0 replies; 3+ messages in thread
From: Christopher Harvey @ 2011-04-27  1:07 UTC (permalink / raw
  To: gentoo-embedded

On 04/26/11 20:57, solar wrote:
> On Tue, 2011-04-26 at 14:13 -0500, chris@basementcode.com wrote:
>> I installed the following toolchain with crossdev:
>>   arm-unknown-linux-gnueabi
>>   which installs glibc into /usr/arm-unknown-linux-gnueabi/ under the
>>   name cross-arm-unknown-linux-gnueabi/glibc
>>
>>   I then installed udev, which depends on sys-fs/glibc
>>
>>   As far as I know sys-fs/glibc is already installed into SYSROOT, except
>>   with a different name as mentioned above.
>>
>>   I noted that the two installs of glibc had the same version, so I went
>>   ahead with the installation anyway. Sure enough portage reported a bunch
>>   of file collisions.
>
> We disable collision-protect iirc for the wrappers crossdev now
> provides.
yes, I was able to install the package without any real problems. Still 
wondering about the overall correctness issue.
Seems to me like there should be a way to separate toolchain libraries 
from the others.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-04-27  2:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-26 19:13 [gentoo-embedded] crossdev conflict between sys-libs/glibc and cross-arm-unknown-linux-gnueabi/glibc? chris
2011-04-27  0:57 ` solar
2011-04-27  1:07   ` Christopher Harvey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox