gg wrote:
> Hallo ,
>
> please help me. I try to install a new  Gentoo with no-multilib  (AMD64)  ,
>
> but compiling sandbox fails :
>
>
> ebuild   R   ] sys-apps/sandbox-2.12
>
> Would you like to merge these packages? [Yes/No] y
>>>> Verifying ebuild manifests
>>>> Emerging (1 of 1) sys-apps/sandbox-2.12::gentoo
>>>> Failed to emerge sys-apps/sandbox-2.12, Log file:
>>>>  '/var/tmp/portage/sys-apps/sandbox-2.12/temp/build.log'
>  * Package:    sys-apps/sandbox-2.12
>  * Repository: gentoo
>  * Maintainer: sand...@gentoo.org
>  * USE:        abi_x86_32 abi_x86_64 amd64 elibc_glibc kernel_linux
> userland_GNU
>  * FEATURES:   preserve-libs sandbox userpriv usersandbox
>  * abi_x86_32.x86: running multilib-minimal_abi_src_configure
> checking for a BSD-compatible install...
> /usr/lib/portage/python3.5/ebuild-helpers/xattr/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /bin/mkdir -p
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking whether make supports nested variables... yes
> checking whether make supports nested variables... (cached) yes
> checking environment state... ok
> checking for i686-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc -m32
> checking whether the C compiler works... no
> configure: error: in
> `/var/tmp/portage/sys-apps/sandbox-2.12/work/sandbox-2.12-abi_x86_32.x86':
> configure: error: C compiler cannot create executables
> See `config.log' for more details
>
> !!! Please attach the following file when seeking support:
> !!!
>


I thought this looked familiar.  I did a google search and found a old
thread of mine.  I did a emerge -e @world to fix it.  You may can do a
emerge -e @system and it fix it, since it should fix gcc and everything
it depends on. 

Before doing that tho, I would check gcc-config -l and see if it is
set.  It should have a "*" beside one version in the list.  I seem to
recall once ages ago setting it, even tho it shows it is set, again and
it helping.  Should look something like this:

root@fireball / # gcc-config -l
 [1] x86_64-pc-linux-gnu-6.4.0 *
root@fireball / # gcc-config 1
 * Switching native-compiler to x86_64-pc-linux-gnu-6.4.0
...                                                                             
                                            
[ ok ]
root@fireball / # gcc-config -l
 [1] x86_64-pc-linux-gnu-6.4.0 *
root@fireball / #

That is grasping at straws but if it works, it would save a lot of
compile time.  It's faster too.

Hope that helps and if not, maybe someone else has a good idea. 

Dale

:-)  :-) 

Reply via email to