I am attempting to build gphoto2, and cdk is one of the packages that portage tries to build first. It fails with the following errors: i386-pc-linux-gnu-g++: /usr/lib/gcc/i386-pc-linux-gnu/3.4.4/crtbeginS.o: No such file or directory i386-pc-linux-gnu-g++: /usr/lib/gcc/i386-pc-linux-gnu/3.4.4/crtendS.o: No such file or directory make: *** [libcdk.la] Error 1 !!! ERROR: dev-libs/cdk-5.0.20060220 failed. Now I'm aware that I mistakingly am using an i386 CHOST, but I'm not sure how to fix that on a running system. But to make sure that this wasn't actually my problem, I tried to emerge the same thing on my laptop, receiving this error: i686-pc-linux-gnu-g++: /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../crti.o: No such file or directory i686-pc-linux-gnu-g++: /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/crtbeginS.o: No such file or directory i686-pc-linux-gnu-g++: /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/crtendS.o: No such file or directory i686-pc-linux-gnu-g++: /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../crtn.o: No such file or directory make: *** [libcdk.la] Error 1 !!! ERROR: dev-libs/cdk-5.0.20060220 failed. So it does seem that there is a problem here. Also, I do have newer versions of gcc that do have these files, but it seems to be looking specifically in the 3.4.4 folder. Is it a problem specific to the ebuild maybe? Or did I screw something up on my machine perhaps? emerge --info for the first machine in question: Portage 2.1.1-r1 (default-linux/x86/no-nptl, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-gentoo-r8 i686) ================================================================= System uname: 2.6.17-gentoo-r8 i686 Pentium III (Coppermine) Gentoo Base System version 1.12.5 Last Sync: Wed, 01 Nov 2006 17:20:01 +0000 distcc 2.18.3 i386-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [disabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i386-pc-linux-gnu" CFLAGS="-O3 -mtune=i686 -pipe -march=pentium3" CHOST="i386-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/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/" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O3 -mtune=i686 -pipe -march=pentium3" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.gtlib.gatech.edu/pub/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo " MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/myebuilds" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="x86 X aac acpi aim alsa apache2 apm arts asf bash-completion berkdb bitmap-fonts browserplugin bzip2 calendar cdb cdparanoia cdr cli cracklib crypt cups dcraw dlloader dri eds elibc_glibc emboss encode exif fbcon ffmpeg fftw firefox foomaticdb fortran ftp gd gdbm gif gimp glut gphoto2 gpm graphviz gstreamer gtk hal http iconv imagemagick imap imlib input_devices_keyboard input_devices_mouse ipod ipv6 isdnlog java javascript jpeg jpeg2k kde kdeenablefinal kernel_linux libcaca libg++ libwww logrotate mad mikmod mmx mmx2 motif mp3 mpeg msn mysql mysqli ncurses netpbm nls nsplugin offensive ogg opengl oscar oss pam pcre pdf perl php png posix ppds pppd python qt qt3 qt4 quicktime readline reflection samba scanner sdl session slp spell spl sse ssl symlink tcpd tetex tiff tokenizer truetype truetype-fonts type1-fonts unzip usb userland_GNU v4l video_cards_nv video_cards_nvidia videos vorbis win32codecs wxgtk1 xml xorg xv yahoo zip zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS And for my laptop: Portage 2.1.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r3, 2.6.16-suspend2-r8 i686) ================================================================= System uname: 2.6.16-suspend2-r8 i686 Intel(R) Pentium(R) M processor 1.60GHz Gentoo Base System version 1.12.5 Last Sync: Wed, 01 Nov 2006 17:30:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [disabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=pentium-m -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/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/" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O3 -march=pentium-m -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo " MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aac acpi aim alsa asf bash-completion berkdb bitmap-fonts browserplugin bzip2 calendar caps cdb cdparanoia cdr cli cracklib crypt cups dbus dlloader doc dri dvd dvdr dvdread eds elibc_glibc emboss encode esd exif ffmpeg firefox foomaticdb fortran ftp gdbm gif glut gnome gpm graphviz gstreamer gtk gtk2 hal howl iconv ieee1394 imap imlib input_devices_keyboard input_devices_mouse input_devices_synaptics ipod ipv6 isdnlog java javascript jpeg jpeg2k kernel_linux kqemu libcaca libg++ libwww lm_sensors logrotate mad mikmod mime mmx motif mp3 mpeg msn ncurses nls nptl nptlonly ogg opengl oscar pam pcmcia pcre pdf perl plotutils pmu png pppd python quicktime readline real reflection scanner sdl session spell spl sse sse2 ssl svg svga symlink tcpd tetex tiff truetype truetype-fonts type1-fonts udev usb userland_GNU video_cards_fbdev video_cards_i810 video_cards_vesa videos visualization vorbis wifi win32codecs xine xml xorg xv xvid yahoo zlib"Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS Thanks for any help you can offer me!
fix_libtool_files.sh 3.4.4 *** This bug has been marked as a duplicate of 73435 ***
I tried fix_libtool_files.sh 3.3.4, and then realized I was an idiot and then ran fix_libtool_files.sh 3.4.4, but neither of these seemed to have worked. I am now re-emerging libtool to see if that fixes or not...
Re-emerging libtool did the trick so I'll close the bug. Thanks!