I made a stage3 installation (from CD) -> stage3-pentium4-2005.0.tar.bz2.
In /etc/make.conf I didn't change the installation defaults:
Code: Select all
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3"
The installation from pre-compiled packages worked.
But almost every second ebuild I wanted to install from the sources fails. E.g.:
Code: Select all
x11-libs/Xaw3d-1.5-r1:
gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc"
app-portage/guitoo-0.50.01:
libtool: link: cannot find the library `//usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.5/libstdc++.la'
kde-base/kdelibs-3.3.2-r9:
/bin/sed: can't read /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.5/libstdc++.la: No such file or directory
libtool: link: `/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.5/libstdc++.la' is not avalid libtool archive
I tried the tricks mentioned in
http://forums.gentoo.org/viewtopic.php?t=279020 - they helped partially:
Code: Select all
> fix_libtool_files.sh 3.3.5
* Scanning libtool files for hardcoded gcc library paths...
* [1/6] Scanning /lib ...
* [2/6] Scanning /usr/lib ...
* FIXING: /usr/lib/libtiffxx.la ...[]
* [3/6] Scanning /usr/i686-pc-linux-gnu/lib ...
* [4/6] Scanning /usr/kde/3.3/lib ...
* FIXING: /usr/kde/3.3/lib/libmcop.la ...[]
[...]
* FIXING: /usr/kde/3.3/lib/libkmedia2.la ...[]
* [5/6] Scanning /usr/local/lib ...
* [6/6] Scanning /usr/qt/3/lib ...
> env-update
Result: same errors as before.
Code: Select all
> /sbin/fix_libtool_files.sh 3.3.5 --oldarch i386-pc-linux-gnu
* Scanning libtool files for hardcoded gcc library paths...
* [1/6] Scanning /lib ...
* [2/6] Scanning /usr/lib ...
* FIXING: /usr/lib/libfam.la ...[cv]
* FIXING: /usr/lib/gnome-vfs-2.0/modules/libfile.la ...[cv]
* FIXING: /usr/lib/libaspell.la ...[cv]
* FIXING: /usr/lib/libpspell.la ...[cv]
* FIXING: /usr/lib/libtiffxx.la ...[]
* [3/6] Scanning /usr/i686-pc-linux-gnu/lib ...
* [4/6] Scanning /usr/kde/3.3/lib ...
* FIXING: /usr/kde/3.3/lib/libmcop.la ...[]
[...]
* FIXING: /usr/kde/3.3/lib/libkdeinit_kedit.la ...[cv]
* [5/6] Scanning /usr/local/lib ...
* [6/6] Scanning /usr/qt/3/lib ...
> env-update
Result: Xaw3d failed with same errors as before, kdelibs and guitoo worked.
1. Is that normal (that so many ebuild do not work, even on default installations)?
2. If not: What did I make wrong?
3. If yes: How can the problem be fixed?
It's important for me to understand the reason for this things:
If I made some mistake when installing I will make a correct reinstall to get a clean system.
If there are errors in the ebuild I would like to contribute for solving them (bug reports, correcting ebuilds - what suggested).