Gentoo Archives: gentoo-alt

From: Steven Trogdon <strogdon@×××××.edu>
To: gentoo-alt <gentoo-alt@l.g.o>
Subject: Re: [gentoo-alt] Prefix hijacking
Date: Wed, 17 Feb 2016 15:31:22
Message-Id: CAL52bMk+Xw662G6xMT1FC60h27XFmEheOtQjy4L5daef_ZyUKg@mail.gmail.com
In Reply to: [gentoo-alt] Prefix hijacking by Steven Trogdon
1 OK, I think I have found part of my problem. Here is a partial result
2 from updating world
3
4 [ebuild R ] dev-libs/libltdl-2.4.6 ABI_X86="(-64*)"
5 [ebuild R ] virtual/service-manager-0 KERNEL="(-linux*)"
6 [ebuild R ] dev-libs/mpfr-3.1.3_p4 ABI_X86="(-64*)"
7 [ebuild R ] dev-libs/mpc-1.0.3 ABI_X86="(-64*)"
8 [ebuild N #] dev-libs/libiconv-1.14-r1 USE="static-libs"
9 [ebuild R ] virtual/libiconv-0-r2 ABI_X86="(-64*)" ELIBC="(-glibc*)"
10 [ebuild N #] dev-libs/libintl-0.19.7 USE="threads -static-libs"
11 [uninstall ] sys-libs/glibc-2.19-r1
12 [blocks b ] sys-libs/glibc ("sys-libs/glibc" is blocking
13 dev-libs/libiconv-1.14-r1)
14 [blocks b ] sys-libs/glibc ("sys-libs/glibc" is blocking
15 dev-libs/libintl-0.19.7)
16 [ebuild R ] virtual/libintl-0-r2 ABI_X86="(-64*)" ELIBC="(-glibc*)"
17 [ebuild R ] sys-libs/zlib-1.2.8-r1 ABI_X86="(-64*)"
18 [ebuild R ] dev-libs/expat-2.1.0-r4 ABI_X86="(-64*)"
19 [ebuild R ] dev-libs/iniparser-3.1-r1 ABI_X86="(-64*)"
20
21 I don't know about the ABI changes, but notice that portage wants to
22 remove sys-libs/glibc. This will break my prefix since I'm not using
23 the host glibc but a prefix installed one. Of course things are pretty
24 much broken now since I can't perform a meaningful update. Some
25 ebuilds have the 'elibc_glibc' useflag to prevent installing things
26 that conflict with an installed glibc - gettext is an example. That
27 flag just doesn't work. I'm unable to install gettext (which is
28 already installed) because of a file collision with a header provided
29 by glibc. I have tried everything I can think of to enable the
30 'elibc_glibc' flag without success. I can certainly fix the ebuild to
31 make it work but there remains the issue with glibc and the need for
32 libiconv and libintl which are not needed but portage insists on
33 installing? This has not been a problem until recently. Now it's
34 possible that my prefix is messed up but until recently my non-host
35 glibc has been coexisting nicely with prefix.
36
37 Again any pointers would be appreciated.

Replies

Subject Author
Re: [gentoo-alt] Prefix hijacking Benda Xu <heroxbd@g.o>