First, performing an emerge of some package told me to change my profile to 2005.0, my changing the /etc/make.profile link. Fine; this I'm used to. However, after doing this, I get an error telling me that I've failed to follow the migration path. While annoying (I did, indeed, follow the instructions of the previous step), not a big deal. So I browse to the supplied link in the error message (http://www.gentoo.org/proj/en/base/amd64/2005.0-upgrade-amd64.xml) only to discover that this document is marked as deprecated. There's no mention, however, of what it has been deprecated *by*. So after looking around for a while for something more recent (and not finding anything) I try to follow the instructions anyway. First, I re-link back to 2004.3, and start the automated "make" process. It chugs for a bit, and then at "emerge -v --oneshot glibc" it fails, complaining about not being able to find i686-pc-linux-gnu-gcc. So I move /usr/bin/i686-pc-linux-gnu-gcc out of the way and symlink to /usr/i686-pc-linux-gnu/gcc-bin/3.3/i686-pc-linux-gnu-gcc (which *does* work) and run the process again. It craps out again complaining about an inability to compute the suffix of object files. I suspect that, despite trying to follow the instructions, my system is munged. (1) Where is the current documentation on how to do the migration? (2) Why does emerge point to the incorrect (deprecated) documentation? (4) How do I fix my system, and get it running 2005.0? Thanks. Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r3 x86_64) ================================================================= System uname: 2.6.11-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3400+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 14 2005, 08:27:41)] distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.4.3-r3, 1.5.10-r4 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 16bit X X509 acpi acpi4linux alsa arts artswrappersuid avi berkdb bluetooth bzip2 bzlib cairo cdda cddb cdio cdparanoia cdr cdrom codecs crypt css cups curl dbi dbm directfb divx4linux dnd doc dvd dvdr dvdread ecc emul-linux encode esd exif expat faad fam fame fb fbcon fbdev ffmpeg fftw flac flash font-server foomaticdb fortran fpx freetype gd gdbm ggi gif gimp gimpprint glitz glut gphoto2 gpm graphviz gs gsm gstreamer gtk2 hal http httpd iconv image imagekits imagemagick imap imlib imlib2 immqt immqt-bc ipv6 irda irmc jabber java javascript jp2 jpeg jpeg2k kcal kde kdeenablefinal kdepim kdexdeltas koffice-plugin lcd lcms ldap lesstif libwww lirc lm_sensors logitech-mouse lufsusermount lzo lzw lzw-tiff m17n-lib mad mcal md5sum mew mhash mime mimencode ming mixer mjpeg mng motif mozsvg mp3 mpeg mpeg4 mpi mplayer nas ncurses net network nls ocaml offensive ogg oggvorbis opengl openssh oss pam passfile pcmcia pda pdf pdfkit pdflib perl plotutils png posix povray python qt quicktime rdesktop readline real recode rss ruby sasl scanner sdl simplexml slang smartcard smime sms snmp sockets speex spell sqlite sqlite3 ssl stream svg svgz tcpd theora threads thumbnail tidy tiff timidity transcode truetype truetype-fonts trusted type1 type1-fonts ucs2 unicode uptimed usb userlocales utf8 uudeview v4l v4l2 vcd vcdimager vim vim-pager vim-with-x vlm vnc vorbis wifi wma123 wmf xanim xface xine xml xml2 xmlrpc xmms xpm xprint xrandr xscreensaver xsl xslt xv xvid xvmc zlib zvbi" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Oh, here's something interesting. I put the I just deleted the 'profile-update' directory and tried everything from scratch (again), and now I get this: x86_64-pc-linux-gnu-gcc libsandbox.o sandbox_futils.o -shared -fPIC -ldl -lc -nostdlib -lgcc -o libsandbox.so /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../libdl.so when searching for -ldl /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../libdl.a when searching for -ldl /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libdl.a when searching for -ldl /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -ldl collect2: ld returned 1 exit status So now it looks as if it has stopped trying to use i686-pc-linux-gnu-gcc, but is dying on ld.
The general guide is this one: http://www.gentoo.org/doc/en/gentoo-upgrading.xml
> The general guide is this one: > http://www.gentoo.org/doc/en/gentoo-upgrading.xml That's great. It'd be nice if that's the one pointed to by /usr/portage/profiles/default-linux/amd64/2005.0/profile.bashrc rather than the deprecated one. When I try that one, I get the second error message about ld not being able to find libdl, and incompatible libraries. I also received a response from Graeme Sheppard asking me: > # Make sure they updated to 2005.0 properly > if [ -L /lib32 -o -L /usr/lib32 ] && [ > ${PORTAGE_CALLER} != "repoman" ] ; then > > Do you have either of those links? and the answer is yes, although there isn't much in them: 172 % ls /lib32 /usr/lib32 /lib32: libsandbox.so /usr/lib32: Mcrt1.o Scrt1.o crt1.o crti.o crtn.o gcrt1.o libc.so libpthread.so --- SER
In an attempt to fix this, I've tried re-emerging glibc, which fails. I'm guessing that my system is, at this point, pretty well screwed. Any tips on how I can fix this? Am I the only AMD64 user who's had this problem? ender root # emerge glibc Calculating dependencies ...done! >>> emerge (1 of 1) sys-libs/glibc-2.3.4.20041102-r1 to / ... checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for suffix of object files... configure: error: cannot compute suffix of object files: cannotcompile See `config.log' for more details. !!! ERROR: sys-libs/glibc-2.3.4.20041102-r1 failed. !!! Function glibc_do_configure, Line 707, Exitcode 1 !!! failed to configure glibc !!! If you need support, post the topmost build error, NOT this status message.
I re-emerged the emul-linux packages -- that all worked. I'm still getting errors when trying to emerge portage ("cannot find -ldl") or glibc ("cannot compute suffix of object files"). Also, other packages that *were* working a few days ago are starting to fail; mplayer32 (the 32-bit build of mplayer) is complaining that it can't find /lib/ld-linux.so.2 when I ldd it. --- SER
I get some weird errors too. I used to run a pure 64-bit system, but before trying to update to 2005.0 I did a '--newuse --update' with multilib enabled. Here is what I do and get: http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&chap=1#doc_chap1 Phoebe root # mkdir /usr/tmp/profile-update Phoebe root # cd /usr/tmp/profile-update Phoebe profile-update # wget http://amd64.gentoo.org/Makefile-profile_update-2005.0 --00:36:24-- http://amd64.gentoo.org/Makefile-profile_update-2005.0 => `Makefile-profile_update-2005.0' Resolving amd64.gentoo.org... 204.74.99.100 Connecting to amd64.gentoo.org[204.74.99.100]:80... connected. HTTP request sent, awaiting response... 302 Found Location: http://www.gentoo.org/proj/en/base/amd64/Makefile-profile_update-2005.0 [following] --00:36:25-- http://www.gentoo.org/proj/en/base/amd64/Makefile-profile_update-2005.0 => `Makefile-profile_update-2005.0' Resolving www.gentoo.org... 66.219.59.46, 199.246.73.203, 65.19.163.231 Connecting to www.gentoo.org[66.219.59.46]:80... connected. HTTP request sent, awaiting response... 200 OK Length: 2,542 [text/plain] 100%[===============================================================================================================>] 2,542 --.--K/s 00:36:26 (701.84 KB/s) - `Makefile-profile_update-2005.0' saved [2542/2542] Phoebe profile-update # make -f Makefile-profile_update-2005.0 # Always install portage since current might not be multilib friendly emerge -v --oneshot '>=sys-apps/portage-2.0.51-r9' Calculating dependencies ...done! >>> emerge (1 of 1) sys-apps/portage-2.0.51.19 to / * It appears you have switched to the 2005.0 profile without following * the upgrade guide. Please see the following URL for more information: * http://www.gentoo.org/proj/en/base/amd64/2005.0-upgrade-amd64.xml make: *** [step0] Error 1 Phoebe profile-update # Phoebe profile-update # emerge info Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r4 x86_64) ================================================================= System uname: 2.6.11-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 25 2005, 11:28:01)] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.8.5-r3, 1.7.9-r1, 1.6.3, 1.4_p6, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.gentoo.nu http://pandemonium.tiscali.de/pub/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acpi alsa amd64 avi berkdb bigger-fonts bitmap-fonts bonobo cdr crypt curl divx4linux dvd dvdr dvdread encode fam flac flash font-server fortran gif gnome gnutls gpm gstreamer gtk gtk2 gtkhtml hal i8x0 imagemagick imlib java jp2 jpeg junit live lm_sensors lzw lzw-tiff mad mozilla mp3 mpeg msn nas ncurses network nls nvidia ogg oggvorbis opengl oss pam perl png python qt quicktime readline real sdl ssl tcpd tiff truetype truetype-fonts type1-fonts usb vorbis xine xml xml2 xmms xpm xrandr xv xvid zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
The fix for the botched 2005.0 upgrade is here: http://forums.gentoo.org/viewtopic-t-293507-start-25.html It worked for me, and its worked for others. --- SER
(In reply to comment #4) > In an attempt to fix this, I've tried re-emerging glibc, which fails. I'm guessing that my system is, at this point, pretty well screwed. Any tips on how I can fix this? > > Am I the only AMD64 user who's had this problem? No.
the link was fixed quite a while ago, a newer upgrade guide where these problems will be fixed will follow very soon, plus this bug is a mess ;) -> closing