Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132345 - [3.4/build] Compilation error upgrading to gcc 3.4.6-r1
Summary: [3.4/build] Compilation error upgrading to gcc 3.4.6-r1
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: Sparc64 Linux
: High critical
Assignee: Sparc Porters
URL:
Whiteboard:
Keywords:
: 132347 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-05-05 06:52 UTC by jghobrial
Modified: 2006-05-26 13:13 UTC (History)
1 user (show)

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 jghobrial 2006-05-05 06:52:22 UTC
Portage 2203-svn (default-linux/sparc/sparc64/2006.0/2.4, gcc-3.3.5-20050130, glibc-2.3.6-r3, 2.4.30-sparc sparc64)
=================================================================
System uname: 2.4.30-sparc sparc64 sun4u
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
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.4.26-r1
ACCEPT_KEYWORDS="sparc"
AUTOCLEAN="yes"
CBUILD="sparc-unknown-linux-gnu"
CFLAGS="-mcpu=ultrasparc -O3 -pipe"
CHOST="sparc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=ultrasparc -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.phys.uh.edu http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
USE="sparc X acl apache2 audiofile avi bash-completion berkdb bidi bitmap-fonts bzip2 cli crypt curl dba dlloader dri eds encode ethereal expat fbcon foomaticdb fortran gcc64 gcj gd gdbm gif gmp gpm gstreamer gtk gtk2 icq idn imagemagick imap imlib javascript jpeg kerberos libwww mad maildir mailwrapper mhash mikmod mng motif mpeg msn ncurses nls ogg opengl oscar pam pcre pdflib perl php plotutils png python quicktime readline reflection sasl sdl session sockets spell spl ssl tcltk tcpd threads tiff truetype truetype-fonts type1-fonts vhosts vorbis wmf xml xml2 xmms xorg xv yahoo zeo zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-05-05 06:58:06 UTC
*** Bug 132347 has been marked as a duplicate of this bug. ***
Comment 2 jghobrial 2006-05-05 07:01:09 UTC
(In reply to comment #1)
> *** Bug 132347 has been marked as a duplicate of this bug. ***
> 

This is not the same bug.
Comment 3 jghobrial 2006-05-05 07:02:16 UTC
(In reply to comment #0)
*   Updating boehm-gc/configure ...                                               [ ok ]

grep: /var/tmp/portage/gcc-3.4.6-r1/work/gcc-3.4.6/gcc/*/config-lang.in: No such file or directory

* Applying gcc-spec-env.patch ...                                                 [ ok ] 

* Applying gcc-3.4.4-cross-compile.patch ...                              [ ok ]

>>> Source unpacked.
 * CFLAGS="-mcpu=ultrasparc -pipe -O2"
 * CXXFLAGS="-mcpu=ultrasparc -pipe -O2"
 * Configuring gcc ...
 * running gcc-compiler-configure
grep: /var/tmp/portage/gcc-3.4.6-r1/work/gcc-3.4.6/gcc/*/config-lang.in: No such file or directory
grep: /var/tmp/portage/gcc-3.4.6-r1/work/gcc-3.4.6/gcc/*/config-lang.in: No such file or directory
grep: /var/tmp/portage/gcc-3.4.6-r1/work/gcc-3.4.6/gcc/*/config-lang.in: No such file or directory
grep: /var/tmp/portage/gcc-3.4.6-r1/work/gcc-3.4.6/gcc/*/config-lang.in: No such file or directory
grep: /var/tmp/portage/gcc-3.4.6-r1/work/gcc-3.4.6/gcc/*/config-lang.in: No such file or directory
grep: /var/tmp/portage/gcc-3.4.6-r1/work/gcc-3.4.6/gcc/*/config-lang.in: No such file or directory
grep: /var/tmp/portage/gcc-3.4.6-r1/work/gcc-3.4.6/gcc/*/config-lang.in: No such file or directory
grep: /var/tmp/portage/gcc-3.4.6-r1/work/gcc-3.4.6/gcc/*/config-lang.in: No such file or directory
 * configuring for GCC_LANG: c

 * PREFIX:          /usr
 * BINPATH:         /usr/sparc-unknown-linux-gnu/gcc-bin/3.4.6
 * LIBPATH:         /usr/lib/gcc/sparc-unknown-linux-gnu/3.4.6
 * DATAPATH:        /usr/share/gcc-data/sparc-unknown-linux-gnu/3.4.6
 * STDCXX_INCDIR:   /usr/lib/gcc/sparc-unknown-linux-gnu/3.4.6/include/g++-v3

 * Configuring GCC with:
        --prefix=/usr
        --bindir=/usr/sparc-unknown-linux-gnu/gcc-bin/3.4.6
        --includedir=/usr/lib/gcc/sparc-unknown-linux-gnu/3.4.6/include
        --datadir=/usr/share/gcc-data/sparc-unknown-linux-gnu/3.4.6
        --mandir=/usr/share/gcc-data/sparc-unknown-linux-gnu/3.4.6/man
        --infodir=/usr/share/gcc-data/sparc-unknown-linux-gnu/3.4.6/info
        --with-gxx-include-dir=/usr/lib/gcc/sparc-unknown-linux-gnu/3.4.6/include/g++-v3
        --host=sparc-unknown-linux-gnu
        --build=sparc-unknown-linux-gnu
        --disable-altivec
        --enable-nls
        --without-included-gettext
        --with-system-zlib
        --disable-checking
        --disable-werror
        --disable-libunwind-exceptions
        --disable-multilib
        --disable-libgcj
        --enable-languages=c
        --enable-shared
        --enable-threads=posix
        --enable-__cxa_atexit
        --enable-clocale=gnu

/usr/portage/eclass/toolchain.eclass: line 1256: /var/tmp/portage/gcc-3.4.6-r1/work/gcc-3.4.6/configure: No such file or directory

!!! ERROR: sys-devel/gcc-3.4.6-r1 failed.
!!! Function gcc_do_configure, Line 1257, Exitcode 127
!!! failed to run configure
!!! If you need support, post the topmost build error, NOT this status message.      
Comment 4 jghobrial 2006-05-05 07:04:26 UTC
(In reply to comment #3)
The bug forums seem a little strange. I couldn't post the error and the emerge --info in the same window.

Comment 5 Ferris McCormick (RETIRED) gentoo-dev 2006-05-05 07:36:43 UTC
I don't see how this is a sparc bug.  I just tried exactly what the reporter is attempting, and everything looks good.  That is, the build directory /var/tmp/portage/gcc-3.4.6-r1/work/gcc-3.4.6 looks like it should, patches all apply, and configure is there and does do a configure.  (Indeed, this is the compiler I am using on sparc.)

I note, however, that I am using a system that emerge --info describes as this:
Portage 2.1_pre10-r2 (default-linux/sparc/sparc64/2006.0, gcc-3.4.6, glibc-2.3.6-r3, 2.6.15-gentoo-r4-SB1000 sparc64)
whereas the reporter is using "Portage 2203-svn", and I further note that this is the second time today I have seen a weird report associated with 2203-svn.

Sorry for the non-resolution;
I'm blind today, I guess, and just don't see it.
Comment 6 jghobrial 2006-05-05 07:46:08 UTC
(In reply to comment #5)
I have about 15 machines (servers) running Gentoo and my Ultra 60 is the only one having problems related to this. I can't conclude that this is a sparc problem, I guess I was being too specific when posting since this is the only sparc machine I have. Sorry about that. I would like some help, however, in trying to figure out what is going on.

Here's the original thread and hence why I am submitting a bug.
http://forums.gentoo.org/viewtopic-t-458741.html
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-05-05 10:21:09 UTC
(In reply to comment #5)
> I don't see how this is a sparc bug.  I just tried exactly what the reporter is
> attempting, and everything looks good.  

Well, sorry if this got misassigned, don't have any sparc to try. :)

> whereas the reporter is using "Portage 2203-svn", and I further note that this
> is the second time today I have seen a weird report associated with 2203-svn.

Hmmm true, I've seen one or two as well.
Comment 8 SpanKY gentoo-dev 2006-05-05 13:15:09 UTC
it's not unpacking properly

run `rm -rf /var/tmp/portage` and then try to `emerge gcc`

if that fails, downgrade to a supported version of portage (like 2.1_pre10) and
try again
Comment 9 Ferris McCormick (RETIRED) gentoo-dev 2006-05-10 04:20:53 UTC
(In reply to comment #8)
> it's not unpacking properly
> 
> run `rm -rf /var/tmp/portage` and then try to `emerge gcc`
> 
> if that fails, downgrade to a supported version of portage (like 2.1_pre10) and
> try again
> 

jghobrial, did this work for you?  It looks to me to be about the only possible cause of your specific symptom.
Comment 10 jghobrial 2006-05-10 07:16:27 UTC
(In reply to comment #9)
Sorry, it takes forever to fail:


 *   Updating boehm-gc/configure ...                                                                                             [ ok ]


grep: /var/tmp/portage/gcc-3.4.6-r1/work/gcc-3.4.6/gcc/*/config-lang.in: No such file or directory
 * Applying gcc-spec-env.patch ...                                                                                               [ ok ] * Applying gcc-3.4.4-cross-compile.patch ...                                                                                    [ ok ]>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/gcc-3.4.6-r1/work/gcc-3.4.6 ...
 * CFLAGS="-mcpu=ultrasparc -pipe -O2"
 * CXXFLAGS="-mcpu=ultrasparc -pipe -O2"
 * Configuring gcc ...
 * running gcc-compiler-configure
grep: /var/tmp/portage/gcc-3.4.6-r1/work/gcc-3.4.6/gcc/*/config-lang.in: No such file or directory
grep: /var/tmp/portage/gcc-3.4.6-r1/work/gcc-3.4.6/gcc/*/config-lang.in: No such file or directory
grep: /var/tmp/portage/gcc-3.4.6-r1/work/gcc-3.4.6/gcc/*/config-lang.in: No such file or directory
grep: /var/tmp/portage/gcc-3.4.6-r1/work/gcc-3.4.6/gcc/*/config-lang.in: No such file or directory
grep: /var/tmp/portage/gcc-3.4.6-r1/work/gcc-3.4.6/gcc/*/config-lang.in: No such file or directory
grep: /var/tmp/portage/gcc-3.4.6-r1/work/gcc-3.4.6/gcc/*/config-lang.in: No such file or directory
grep: /var/tmp/portage/gcc-3.4.6-r1/work/gcc-3.4.6/gcc/*/config-lang.in: No such file or directory
grep: /var/tmp/portage/gcc-3.4.6-r1/work/gcc-3.4.6/gcc/*/config-lang.in: No such file or directory
 * configuring for GCC_LANG: c

 * PREFIX:          /usr
 * BINPATH:         /usr/sparc-unknown-linux-gnu/gcc-bin/3.4.6
 * LIBPATH:         /usr/lib/gcc/sparc-unknown-linux-gnu/3.4.6
 * DATAPATH:        /usr/share/gcc-data/sparc-unknown-linux-gnu/3.4.6
 * STDCXX_INCDIR:   /usr/lib/gcc/sparc-unknown-linux-gnu/3.4.6/include/g++-v3

 * Configuring GCC with:
        --prefix=/usr
        --bindir=/usr/sparc-unknown-linux-gnu/gcc-bin/3.4.6
        --includedir=/usr/lib/gcc/sparc-unknown-linux-gnu/3.4.6/include
        --datadir=/usr/share/gcc-data/sparc-unknown-linux-gnu/3.4.6
        --mandir=/usr/share/gcc-data/sparc-unknown-linux-gnu/3.4.6/man
        --infodir=/usr/share/gcc-data/sparc-unknown-linux-gnu/3.4.6/info
        --with-gxx-include-dir=/usr/lib/gcc/sparc-unknown-linux-gnu/3.4.6/include/g++-v3
        --host=sparc-unknown-linux-gnu
        --build=sparc-unknown-linux-gnu
        --disable-altivec
        --enable-nls
        --without-included-gettext
        --with-system-zlib
        --disable-checking
        --disable-werror
        --disable-libunwind-exceptions
        --disable-multilib
        --disable-libgcj
        --enable-languages=c
        --enable-shared
        --enable-threads=posix
        --enable-__cxa_atexit
        --enable-clocale=gnu

/usr/portage/eclass/toolchain.eclass: line 1256: /var/tmp/portage/gcc-3.4.6-r1/work/gcc-3.4.6/configure: No such file or directory

!!! ERROR: sys-devel/gcc-3.4.6-r1 failed.
Call stack:
  ebuild.sh, line 1525:   Called dyn_compile
  ebuild.sh, line 928:   Called src_compile
  ebuild.sh, line 1237:   Called toolchain_src_compile
  toolchain.eclass, line 24:   Called gcc_src_compile
  toolchain.eclass, line 1457:   Called gcc_do_configure
  toolchain.eclass, line 1257:   Called die

!!! failed to run configure
!!! If you need support, post the topmost build error, and the call stack if relevant.




Portage 2.1_pre10-r4 (default-linux/sparc/sparc64/2006.0/2.4, gcc-3.3.5-20050130, glibc-2.3.6-r3, 2.4.30-sparc sparc64)
=================================================================
System uname: 2.4.30-sparc sparc64 sun4u
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
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.4.26-r1
ACCEPT_KEYWORDS="sparc"
AUTOCLEAN="yes"
CBUILD="sparc-unknown-linux-gnu"
CFLAGS="-mcpu=ultrasparc -O3 -pipe"
CHOST="sparc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=ultrasparc -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.phys.uh.edu http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
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"
USE="sparc X acl apache2 avi bash-completion berkdb bidi bitmap-fonts cli crypt curl dba dlloader dri eds encode ethereal fbcon foomaticdb fortran gcc64 gcj gd gdbm gif gstreamer gtk gtk2 icq imagemagick imap imlib javascript jpeg kerberos libwww mad maildir mailwrapper mikmod mng motif mpeg msn ncurses nls ogg opengl oscar pam pcre pdflib perl php plotutils png python quicktime readline reflection sasl sdl session sockets spell spl ssl tcpd threads tiff truetype truetype-fonts type1-fonts vhosts vorbis wmf xml xml2 xmms xorg xv yahoo zeo zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY 
Comment 11 Mark Loeser (RETIRED) gentoo-dev 2006-05-10 14:21:40 UTC
Are you running out of free space or something?

Does /var/tmp/portage/gcc-3.4.6-r1/work/gcc-3.4.6/ exist?  Is there anything in there?  This looks like a system issue and not a bug with anything toolchain related.
Comment 12 Mark Loeser (RETIRED) gentoo-dev 2006-05-26 13:13:42 UTC
Please get back to us if you can reproduce this problem.