Discussion:
[gentoo-user] Building a new root for my Gentoo: Permission denied?
M***@gmx.de
2017-02-13 03:42:57 UTC
Permalink
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
Hogren
2017-02-13 13:07:18 UTC
Permalink
Post by M***@gmx.de
Hi,
got a mysterious error message this morning (still building a new
root...)
...
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...
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
...
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
M***@gmx.de
2017-02-13 16:33:54 UTC
Permalink
Post by Hogren
Post by M***@gmx.de
Hi,
got a mysterious error message this morning (still building a new
root...)
...
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...
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
...
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
Hi Hogren,

my old root is no longer updatable in a efficient way (much too much
workarounds, quirks, exceptions etc. pp.) and it is old.

So I decided to build a new one.

I created a directory on a partition with enough space, chrooted into
it and installed the stage3 archive.

Then I started to install the software I used to use.

Yesterday I wanted (as done before) to update via
eix-***@world...and....BUMMER!
The above mention error happens.

What to compile and how to compile it depended completly on decisions
made by emerge...I dont know why it wants to compile a 32bit version
of gnutls...the only thing I know is that I choosed the multilib
version of the stage3 by intention.

This is from the chrooted environment, which complains while
updateing...:
ls -l /usr/bin/i686-pc-linux-gnu-pkg-config
-rwxr-xr-x 1 root root 46836 Feb 7 04:24 /usr/bin/i686-pc-linux-gnu-pkg-config

It was a normal and often done successfully update process, which
triggers this...

Any idea what's the reason for it and how to fix it?

Cheers
Meino
M***@gmx.de
2017-02-13 16:57:59 UTC
Permalink
Post by Hogren
Post by M***@gmx.de
Hi,
got a mysterious error message this morning (still building a new
root...)
...
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...
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
...
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
Post by M***@gmx.de
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
Johannes Rosenberger
2017-02-13 17:51:59 UTC
Permalink
Post by M***@gmx.de
Post by Hogren
Post by M***@gmx.de
Hi,
got a mysterious error message this morning (still building a new
root...)
...
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...
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
...
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
Post by M***@gmx.de
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
M***@gmx.de
2017-02-13 18:20:09 UTC
Permalink
Post by Johannes Rosenberger
Post by M***@gmx.de
Post by Hogren
Post by M***@gmx.de
Hi,
got a mysterious error message this morning (still building a new
root...)
...
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...
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
...
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
Post by M***@gmx.de
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
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
Johannes Rosenberger
2017-02-13 20:22:11 UTC
Permalink
Post by M***@gmx.de
Post by Johannes Rosenberger
Post by M***@gmx.de
Post by Hogren
Post by M***@gmx.de
Hi,
got a mysterious error message this morning (still building a new
root...)
...
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...
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
...
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
Post by M***@gmx.de
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
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
Hi Meino,

you are welcome!

With the portage FEATURE 'preserve-libs' (active by default) you don't
need to revep-rebuild, normally. Just emerge @preserved-rebuild after
every update.

Does pkg-config work, now? Can you describe your "weird problems"? Have
you emerged any potentially broken and important (e.g. from @system)
packages recently?

Since I use a pure 64bit setup with abi_x86_32 activated selectively for
399 packages (mostly graphics related, because i still have flash
installed), i have no ABI_X86 var in my make.conf but use a pure amd64
profile (where this var is set).
What do you need 32bit for? 3rd-party binaries?

Regards
Johannes
M***@gmx.de
2017-02-14 02:12:27 UTC
Permalink
Post by Johannes Rosenberger
Post by M***@gmx.de
Post by Johannes Rosenberger
Post by M***@gmx.de
Post by Hogren
Post by M***@gmx.de
Hi,
got a mysterious error message this morning (still building a new
root...)
...
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...
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
...
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
Post by M***@gmx.de
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
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
Hi Meino,
you are welcome!
With the portage FEATURE 'preserve-libs' (active by default) you don't
every update.
Does pkg-config work, now? Can you describe your "weird problems"? Have
packages recently?
Since I use a pure 64bit setup with abi_x86_32 activated selectively for
399 packages (mostly graphics related, because i still have flash
installed), i have no ABI_X86 var in my make.conf but use a pure amd64
profile (where this var is set).
What do you need 32bit for? 3rd-party binaries?
Regards
Johannes
Hi Johannes,

:)

this morning I did a eix-sync; emerge.... again to log, what happens.
I compressed the logfile and the output of qlop -l as hard as I can
with 7zip.

I emerge pkg-config but I make not THAT a difference...

Hope the log are talking to you... ;)

Cheers
Meino
Johannes Rosenberger
2017-02-14 08:24:38 UTC
Permalink
Post by M***@gmx.de
Post by Johannes Rosenberger
Post by M***@gmx.de
Post by Johannes Rosenberger
Post by M***@gmx.de
Post by Hogren
Post by M***@gmx.de
Hi,
got a mysterious error message this morning (still building a new
root...)
...
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...
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
...
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
Post by M***@gmx.de
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
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
Hi Meino,
you are welcome!
With the portage FEATURE 'preserve-libs' (active by default) you don't
every update.
Does pkg-config work, now? Can you describe your "weird problems"? Have
packages recently?
Since I use a pure 64bit setup with abi_x86_32 activated selectively for
399 packages (mostly graphics related, because i still have flash
installed), i have no ABI_X86 var in my make.conf but use a pure amd64
profile (where this var is set).
What do you need 32bit for? 3rd-party binaries?
Regards
Johannes
Hi Johannes,
:)
this morning I did a eix-sync; emerge.... again to log, what happens.
I compressed the logfile and the output of qlop -l as hard as I can
with 7zip.
I emerge pkg-config but I make not THAT a difference...
Hope the log are talking to you... ;)
Cheers
Meino
Those logs are telling me that the failures are really logged in

/var/tmp/portage/net-dns/libidn2-0.16-r1/work/libidn2-0.16-abi_x86_32.x86/config.log
and

/var/tmp/portage/media-libs/mesa-17.0.0/work/mesa-17.0.0-abi_x86_32.x86/config.log

And I see that you updated gcc and glibc recently. I suspect the
problems of being gcc/libtool related. From which gcc version did you
upgrade?
You should re-emerge libtool after configuring the new gcc.

Have a look at https://wiki.gentoo.org/wiki/Upgrading_GCC and
https://wiki.gentoo.org/wiki/Upgrading_from_gcc-4.x_to_gcc-5.x.

Regards
Johannes

Loading...