Code: Select all
features="-sandbox" emerge gcc
emerge glibc
emerge portage (now portage shouldn't complain about a "not valid multilib environment"
Code: Select all
emerge --update --newuse --deep --pretend --verbose worldCode: Select all
These are the packages that I would merge, in order:
Calculating world dependencies ...done!
[ebuild R ] sys-devel/gcc-3.4.3-r1 (-altivec) -bootstrap -boundschecking -build -debug +fortran -gcj -gtk -hardened -ip28 (-multilib)* -multislot (-n32) (-n64) +nls -nocxx -objc -static (-uclibc) 0 kB
[ebuild N ] app-emulation/emul-linux-x86-glibc-1000 0 kB
Code: Select all
...
emerge unmerge emul-linux-x86-glibc
emerge -upv system
emerge -uv system
the emul-linux-x86-glibc-1000 package is just a "dummy" package (this means that actually nothing gets installed when you emerge it)pallaert wrote: I found strange emul-linux-x86-glibc have to be merged and that the Upgrade guide said to unmerge it...
For gcc, maybe this is due to the --newuse that detects that previous gcc was build with +multilib and that the new USE flags prevent to use multilib as it is done at profile level...
Well maybe i misunderstood you but i thought you wanted to have a working multilib environment (with sandbox and the like) and you'll get that by issueing the commands i mentioned in my earlier posthjh wrote:You may have noted those instructions have been repeated many times in this and similar threads. My emerge of gcc with the -sandbox feature does not result in a multilib enabled gcc. So clearly it is not such an easy one.
Code: Select all
(-multilib)Multilib means that you have multiple versions of some libraries on your computer. As 2005.0's default profile forces multilib you can't go without the emul-packages besides portage won't let you do that anyway...supermihi wrote:I'm doing a new, clean 2005.0 amd64 install. I also wondered about thewhen emerging gcc. So I found this thread, and now I'm wondering: Do I need the emul-linux-libraries at all when I directly install from 2005.0? I'm a bit confused about all the 32/64 libraries, I tried to install the fritzcapi ISDN drivers from AVM which carry a precompiled, likely 32bit kernel module. Am I able to use this one at all? I have no internet access without ...Code: Select all
(-multilib)
well what does gcc-config -l say?? what's the output of gcc-config <number of fresh emerged gcc>?hjh wrote:OK I should be more specific. I HAVE issued those commands but they have not produced the expected result. This was the reason for my post. Given that the fix is not working in this case I wondered if anyone else had encountered the same problem and could perhaps assist me in looking for the problem. Thanks for your suggestion.
I just noticed the following at the end of my re-emerge of gcc (with USE=multilib and FEATURES=-sandbox):
/usr/bin/gcc-config: line 1: /etc/env.d/gcc/x86_64-pc-linux-gnu: No such file or directory
* /usr/bin/gcc-config: Profile does not exist or invalid setting for /etc/env.d/gcc/x86_64-pc-linux-gnu
* Switching to x86_64-pc-linux-gnu-3.4.3 compiler... [ ok ]
this shouldn't be a real problem if you are able to compile/emerge other things without problems but it was important that you were able to compile gcc with multilib and -sandbox. I would really try to go for another emerge portage as it looks like the emerge of gcc with multilib went fine (USE=multilib FEATURES=-sandbox emerge gcc if that was the command you issued and the emerge finished without compile error you should be ready to go...)/usr/bin/gcc-config: line 1: /etc/env.d/gcc/x86_64-pc-linux-gnu: No such file or directory
* /usr/bin/gcc-config: Profile does not exist or invalid setting for /etc/env.d/gcc/x86_64-pc-linux-gnu
* Switching to x86_64-pc-linux-gnu-3.4.3 compiler... [ ok ]
Two things just came to my mind:hjh wrote:* No valid multilib environment found!
* Building without multilib support. If
* you want to have multilib support,
* emerge gcc with "multilib" in your
* useflags.
The above is the output from emerge portage. "--disable-multilib" is clearly flagged in the gcc compile. I can keep emerging it until the cows come home but somewhere, somehow the configure script is deciding that multilib is not for gcc. If you do "USE=multilib FEATURES=-sandbox emerge -pv gcc" it will show multilib in parentheses which I believe indicates that this flag is not permitted under the current profile.
Options would appear to include the following:
- hope somebody can diagnose the issue, implement a fix and then switch to 2005 profile
- backup all necessary files and configs and blow it all away and do a clean install from 2005 CD
- install my existing 2004.3 distro again in a new partition, compile gcc with multilib, fix portage on the existing system and try to switch that to 2005 profile
- leave it as it currently is and do nothing until things are broken enough to compromise stability or my ability to get work done
Thanks for you efforts.
Code: Select all
USE=multilib emerge --oneshot portageCode: Select all
USE=multilib FEATURES=-sandbox emerge --oneshot gccCode: Select all
USE=multilib emerge --oneshot portage