Johannes Rosenberger <gen...@jorsn.eu> [17-02-13 19:04]:
> On 13.02.2017 17:57, meino.cra...@gmx.de wrote:
> 
> > Hogren <hog...@iiiha.com> [17-02-13 17:06]:
> >> On 13/02/2017 04:42, meino.cra...@gmx.de wrote:
> >>> Hi,
> >>>
> >>> got a mysterious error message this morning (still building a new 
> >>> root...)
> >>>
> >>> One of the updates was gnutls:
> >>> It ends with:
> >>> ...
> >>> checking for i686-pc-linux-gnu-pkg-config... 
> >>> /usr/bin/i686-pc-linux-gnu-pkg-config
> >>> checking pkg-config is at least version 0.9.0... 
> >>> /var/tmp/portage/net-libs/gnutls-3.5.9/work/gnutls-3.5.9/configure: line 
> >>> 5020: /usr/bin/i686-pc-linux-gnu-pkg-config: Permission denied
> >>> no
> >>> checking for i686-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc -m32
> >>> checking whether the C compiler works... yes
> >>> checking for C compiler default output file name... a.out
> >>> checking for suffix of executables... 
> >>> checking whether we are cross compiling... configure: error: in 
> >>> `/var/tmp/portage/net-libs/gnutls-3.5.9/work/gnutls-3.5.9-abi_x86_32.x86':
> >>> configure: error: cannot run C compiled programs.
> >>> If you meant to cross compile, use `--host'.
> >>> See `config.log' for more details
> >>> ...
> >>>
> >>> I tried:
> >>> computer# ldd /usr/bin/i686-pc-linux-gnu-pkg-config
> >>>   not a dynamic executable
> >>> computer# /usr/bin/i686-pc-linux-gnu-pkg-config 
> >>> zsh: permission denied: /usr/bin/i686-pc-linux-gnu-pkg-config
> >>>
> >>> computer# file /usr/bin/i686-pc-linux-gnu-pkg-config
> >>> /usr/bin/i686-pc-linux-gnu-pkg-config: ELF 32-bit LSB executable, Intel 
> >>> 80386, version 1 (SYSV), dynamically linked, interpreter 
> >>> /lib/ld-linux.so.2, for GNU/Linux 2.6.32, stripped, with debug_info
> >>>
> >>> I choosed multilib right from the beginning of this adventure ...
> >>>
> >>> How can I check, whether the problem is caysed by gnutls or by the 
> >>> system setup (regarding 32bit)?
> >>>
> >>> Cheers
> >>> Meino
> >>>
> >>>
> >>>
> >>>
> >>>
> >> Hello,
> >>
> >> Can you give us more details of what do you want to do, what do you
> >> already do, etc.
> >>
> >> Does /usr/bin/i686-pc-linux-gnu-pkg-config have the x (executable) 
> >> permission ? (ls -l /usr/bin/i686-pc-linux-gnu-pkg-config)
> >>
> >>
> >>
> >> Hogren
> >>
> >>
> >>
> >>
> > More mysterious hickups:
> >
> >>>> Regenerating /etc/ld.so.cache...
> > /sbin/ldconfig: File /lib64/ld-linux.so.2 is empty, not checked.
> >
> > Did it screwed up my new root?
> >
> > Cheers
> > Meino
> >
> >
> >
> >
> Maybe. But maybe it is fixable. /lib64/ld-linux.so.2 is a symlink to
> glibc. But glibc cannot be wholly broken because if it were, then
> nothing would work at all.
> 
> I'd first investigate if only the symlink needs to be fixed (should
> point to /lib/ld-<version>.so).
> 
> Have you updated glibc recently?Or any other important package/package
> from @system?
> Have you tried if 'revdep-rebuild' finds any broken libraries?
> 
> If glibc is really broken you can
> 
>     1. chroot into a stage3
>     2. build a binpkg (type 'quickpkg glibc')
>     3. copy the binpkg from
> '/usr/portage/packages/sys-libs/glibc-*.tbz2' in the stage3 to
>        the same directory in your new root
>     4. install the binary glibc ('emerge <full path to glibc binpkg>')
> 
> Then you should have a clean glibc install.
> 
> If you suspect an update of breaking anything you can always build
> binary packages ahead. They are built from the installed package, so you
> don't have any additional compiling. Then you can roll back quickly if
> anything is damaged.
> 
> If you have a working glibc then you could also try re-emerging pkg-config.
> 
> Regards
> Johannes
> 
> 

Hi Johannes,

thanks for your offered help! :)

I fixed that symlink but I ran into more weird problems... :(
Normally I alway run a revdep-rebuild cycle after each 
update...

How did you set ABI_X86 in make.conf?
Do you use multilib or a pure 64bit setup?

Cheers
Meino




Reply via email to