Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17150 - emerging gcc-3.2.2 fails during configure
Summary: emerging gcc-3.2.2 fails during configure
Status: RESOLVED DUPLICATE of bug 17051
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-09 12:26 UTC by Veiko Kukk
Modified: 2005-07-17 13:06 UTC (History)
0 users

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


Attachments
# set &> env.txt (env.txt,1.74 KB, text/plain)
2003-03-10 05:32 UTC, Veiko Kukk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Veiko Kukk 2003-03-09 12:26:21 UTC
when I try to emerge gcc-3.2.2 I get following error:


emerge gcc
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-devel/gcc-3.2.2 to /
>>> md5 ;-) gcc-3.2.2.tar.bz2
>>> Unpacking source...
>>> Unpacking gcc-3.2.2.tar.bz2 to /var/tmp/portage/gcc-3.2.2/work
 * Working directory: /var/tmp/portage/gcc-3.2.2/work/gcc-3.2.2...
 * Applying libtool-test.patch...
 * Applying libtool-tmp.patch...
 * Applying libtool-portage.patch...

 * Applying gcc32-ada-make.patch...                                            
                                        [ ok ]
 * Applying gcc32-shared-pthread.patch...                                      
                                        [ ok ]
 * Applying gcc31-loop-load-final-value.patch...                               
                                        [ ok ]
 * Applying gcc32-pr8213.patch...                                              
                                        [ ok ]
 * Applying gcc32-strip-dotdot.patch...                                        
                                        [ ok ]
 * Applying gcc32-athlon-alignment.patch...                                    
                                        [ ok ]
 * Fixing Makefiles...
>>> Source unpacked.
 * Configuring GCC...
Created "Makefile" in /var/tmp/portage/gcc-3.2.2/work/build using "mh-frag" and
"mt-frag"
Configuring libiberty...
configure: error: gcc-version-trigger: invalid package name
Configure in /var/tmp/portage/gcc-3.2.2/work/build/libiberty failed, exiting.

!!! ERROR: sys-devel/gcc-3.2.2 failed.
!!! Function src_compile, Line 276, Exitcode 1
!!! (no error message)


Reproducible: Always
Steps to Reproduce:
1.emerge gcc or emerge gcc -u
Actual Results:  
got error message

Expected Results:  
compile normally

Portage 2.0.47-r8 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2)
=================================================================
System uname: 2.4.19-gentoo-r10 i686 AMD Duron(tm) processor
GENTOO_MIRRORS="ftp://ftp.gentoo.linux.no/pub/gentoo
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg kde libg++ mikmod mmx mpeg
ncurses nls pdflib png quicktime truetype xml2 xmms xv zlib gdbm berkdb slang
readline guile X sdl gpm tcpd pam libwww ssl python imlib oggvorbis gtk qt motif
opengl gnome -alsa -arts -svga -spell apache2 cdr esd flash imap java lcms ldap
mbox mozilla mysql perl ruby samba sasl sse tcltk tiff"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -frerun-cse-after-loop
-frerun-loop-opt -fexpensive-optimizations"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -frerun-cse-after-loop
-frerun-loop-opt -fexpensive-optimizations -Wno-deprecated"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2003-03-10 04:56:08 UTC
 # set &> env.txt

and attach please.
Comment 2 Veiko Kukk 2003-03-10 05:32:06 UTC
Created attachment 9196 [details]
# set &> env.txt
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2003-03-10 07:55:26 UTC
Try maybe:

  # unset LANG LC_ALL
  # emerge gcc

long shot, but it have caused issues in the past.
Comment 4 Veiko Kukk 2003-03-10 12:22:59 UTC
it didnt help. I also tried export LANG=C and export LC_ALL=C but same error occured.
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2003-03-11 13:17:30 UTC
Ok.  Please attach the config.log in:

  /var/tmp/portage/gcc-3.2.2/work/build
  /var/tmp/portage/gcc-3.2.2/work/build/libiberty

Maybe we can figure out why its happening.
Comment 6 Veiko Kukk 2003-03-11 14:38:47 UTC
there is no config.log in those directories. the only file which contains "configure" in its name is configure.status in /var/tmp/portage/gcc-3.2.2/work/build
Comment 7 Martin Schlemmer (RETIRED) gentoo-dev 2003-03-11 23:41:17 UTC
Libiberty should have one:

------------------
nosferatu root # ls /var/tmp/portage/gcc-3.2.2/work/build/libiberty/config.log 
/var/tmp/portage/gcc-3.2.2/work/build/libiberty/config.log
nosferatu root # 

Comment 8 Veiko Kukk 2003-03-12 08:35:23 UTC
variable libiberty # pwd
/var/tmp/portage/gcc-3.2.2/work/build/libiberty
variable libiberty # ls
variable libiberty #

as you can see it's empty
Comment 9 Veiko Kukk 2003-03-20 04:13:39 UTC
I found that the problem is in sed-4.0.5. I emerged supersed, unmerged sed-4.0.5 and made symlink ln -s /bin/ssed /usr/bin/sed . Then everything I have reported as failing to build builds normally! Why sed-4.0.5 is marked stable? As it makes so many problems!
Comment 10 Martin Schlemmer (RETIRED) gentoo-dev 2003-03-20 10:26:58 UTC
It could be one of your CFLAGS.  Mind trying to recompile sed, each time
dropping one of your CFLAGS, and see which one ?  We can then filter that
one in sed's ebuild ....
Comment 11 Veiko Kukk 2003-04-13 06:00:33 UTC
started compiling sed with only '-march=i686', but it still fails, so I assume that it's completely useless to try other CFLAGS. could anybody explain me, why supersed works for me and sed causes so many problems?
Comment 12 SpanKY gentoo-dev 2003-08-22 12:14:40 UTC

*** This bug has been marked as a duplicate of 17051 ***