Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 253829

Summary: dev-libs/apr-1.3.3 fails to emerge due to wrong gcc version used
Product: Gentoo Linux Reporter: Markus Tacker <m>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
environment

Description Markus Tacker 2009-01-05 10:06:47 UTC
4.1.2 is active, but ebuild uses 4.1.1

fix_libtool_files.sh 4.1.1 did not help.

# gcc-config -l
 [1] i686-pc-linux-gnu-4.1.2 *

g++: /usr/lib/gcc/i486-pc-linux-gnu/4.1.1/../../../crti.o: No such file or directory
g++: /usr/lib/gcc/i486-pc-linux-gnu/4.1.1/crtbeginS.o: No such file or directory
g++: /usr/lib/gcc/i486-pc-linux-gnu/4.1.1/crtendS.o: No such file or directory
g++: /usr/lib/gcc/i486-pc-linux-gnu/4.1.1/../../../crtn.o: No such file or directory
make[1]: *** [libapr-1.la] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-libs/apr-1.3.3/work/apr-1.3.3'
make: *** [all-recursive] Error 1

Reproducible: Always

Steps to Reproduce:




# emerge --info
Portage 2.1.6.4 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.26-gentoo-r3-custom_by_tacker i686)
=================================================================
System uname: Linux-2.6.26-gentoo-r3-custom_by_tacker-i686-Intel-R-_Xeon-TM-_CPU_2.66GHz-with-glibc2.0
Timestamp of tree: Mon, 05 Jan 2009 04:30:16 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.2-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.63
sys-devel/automake:  1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/
cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans use
rfetch"
GENTOO_MIRRORS="ftp://pandemonium.tiscali.de/pub/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/g
entoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --
stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://angelina.krawall.de/gentoo-portage"
USE="acl apache2 bcmath berkdb blas bzip2 caps cgi cli cracklib crypt ctype cups curl curlwrappers dba dri expat
 fortran ftp gd gdbm iconv imap ipv6 isdnlog midi mmx mpm-prefork mudflap mysql mysqli ncurses nls no-suexec npt
l nptlonly openmp overload pam pcntl pcre pear perl pppd python readline reflection session simplexml slang soap
 sockets spl sse ssl sysfs tcpd tokenizer unicode x86 xorg zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-m
odem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maest
ro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop em
pty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share
 shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default
 authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs
 dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include inf
o log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http
 rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboa
rd mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses tex
t" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident
 vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, P
ORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Markus Tacker 2009-01-05 10:07:15 UTC
Created attachment 177453 [details]
build.log
Comment 2 Markus Tacker 2009-01-05 10:07:31 UTC
Created attachment 177455 [details]
environment
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-01-05 13:57:20 UTC
Try:
emerge -1 libtool
Comment 4 Markus Tacker 2009-01-06 09:23:57 UTC
(In reply to comment #3)
> Try:
> emerge -1 libtool

Helped.
Thanks a lot.

Would you mind explaining the background of the problem, especially what could be done to keep this from happening in the future?
Comment 5 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-01-06 11:42:11 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > Try:
> > emerge -1 libtool
> 
> Helped.
> Thanks a lot.
> 
> Would you mind explaining the background of the problem, especially what could
> be done to keep this from happening in the future?

Reading of documentation could be done...
http://www.gentoo.org/doc/en/gcc-upgrading.xml#doc_chap2
"Generally speaking, upgrades to bug fix releases, like from 3.3.5 to 3.3.6, should be quite safe -- just emerge new version, switch your system to use it and rebuild the only affected package, libtool."