Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135682 - upgrade to media-libs/jpeg-6b-r7 fails
Summary: upgrade to media-libs/jpeg-6b-r7 fails
Status: RESOLVED DUPLICATE of bug 73435
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-05 14:16 UTC by Paul Winkler
Modified: 2006-06-05 15:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Winkler 2006-06-05 14:16:21 UTC
When I try to emerge --update --deep world, it fails on media-libs/jpeg:

/usr/bin/libtool: line 5966: i386-pc-linux-gnu-ar: command not found
make: *** [libjpeg.la] Error 127
make: *** Waiting for unfinished jobs....
gcc -o wrjpgcom .libs/wrjpgcom.o


It's looking for i386 when what I have is i686.:

pw@sweetums ~ $ ls -l /usr/bin/ar /usr/bin/*-ar
lrwxrwxrwx 1 root root 20 Jun  5 15:11 /usr/bin/ar -> i686-pc-linux-gnu-ar
lrwxrwxrwx 1 root root 27 Jun  5 15:11 /usr/bin/i686-pc-linux-gnu-ar -> ../i686-pc-linux-gnu/bin/ar


$ emerge --info
Portage 2.0.54-r2 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.6-r3, 2.6.16-gentoo-r6sweetums i686)
=================================================================
System uname: 2.6.16-gentoo-r6sweetums i686 Intel(R) Pentium(R) M processor 2.26GHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
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-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
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="/home/pw/Downloads/Apps/Audio/proaudio_overlay/proaudio /home/pw/slinkp_overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac alsa apache2 apm audiofile avi berkdb bitmap-fonts bzip2 cdb cdr cli crypt cups curl dga divx4linux dri dssi dts dvd emacs emacs-w4 emboss encode exif expat fam flac fortran gd gdbm gif glut gpm gtk gtk2 gtkhtml guile idn imagemagick imlib isdnlog jack jack-tmpfs jackmidi java jpeg kerberos lash lcms ldap libg++ libwww live mad mbox memlimit mmx mmx2 mng mozilla mp3 mpeg ncurses network nls nsplugin ogg oggvorbis opengl oss pam pcre pdflib perl png portaudio ppds pppd python qt quicktime readline reflection ruby samba sasl scanner sdl session spell spl sse sse2 ssl tcltk tcpd tiff tk truetype truetype-fonts type1-fonts udev usb vorbis win32codecs wxwindows x86 xml xml2 xmms xorg xv xvid zeo zlib userland_GNU kernel_linux elibc_glibc"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS

-----------------------------------------------------------------
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-06-05 14:20:50 UTC
So don't mess w/ your CHOST next time. You need to run emerge -e world after changing such stuff.

fix_libtool_files.sh `gcc -dumpversion` --oldarch i386-pc-linux-gnu; emerge -1 libtool


*** This bug has been marked as a duplicate of 73435 ***
Comment 2 Paul Winkler 2006-06-05 15:14:48 UTC
Thanks for the tip! fix_libtool_files.sh && emerge -1 libtool seems to have solved the problem.

But FYI, that was the default CHOST when I chose my profile during installation:

$ grep CHOST /usr/portage/profiles/default-linux/x86/make.defaults
CHOST="i686-pc-linux-gnu"

I installed this system in january, I don't believe I have ever changed CHOST, and I have no idea how I got ar symlinks for i386 or how long they have been that way.  *shrug*