Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 225815 - sys-devel/gcc-4.3.1 fails to make sys-devel/gcc-4.3.1/work/build/i68 6-pc-linux-gnu/libgfortran
Summary: sys-devel/gcc-4.3.1 fails to make sys-devel/gcc-4.3.1/work/build/i68 6-pc-lin...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-10 23:32 UTC by Hongjiu Zhang
Modified: 2008-06-18 22:46 UTC (History)
0 users

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


Attachments
This is the whole log file. (build.log.tar.bz2,134.25 KB, application/x-bzip2)
2008-06-10 23:36 UTC, Hongjiu Zhang
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hongjiu Zhang 2008-06-10 23:32:18 UTC
if /bin/sh ./libtool --tag=CC --mode=compile /var/tmp/portage/sys-devel/gcc-4.3.1/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.3.1/work/build/./gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran -I.  -iquote/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran/io -I/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran/../gcc -I/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran/../gcc/config -I../.././gcc -D_GNU_SOURCE  -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -O2 -g -O2 -march=i686 -pipe   -MT size_from_kind.lo -MD -MP -MF ".deps/size_from_kind.Tpo" -c -o size_from_kind.lo `test -f 'io/size_from_kind.c' || echo '/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran/'`io/size_from_kind.c; \
        then mv -f ".deps/size_from_kind.Tpo" ".deps/size_from_kind.Plo"; else rm -f ".deps/size_from_kind.Tpo"; exit 1; fi
libtool: compile:  /var/tmp/portage/sys-devel/gcc-4.3.1/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.3.1/work/build/./gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran -I. -iquote/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran/io -I/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran/../gcc -I/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran/../gcc/config -I../.././gcc -D_GNU_SOURCE -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -O2 -g -O2 -march=i686 -pipe -MT size_from_kind.lo -MD -MP -MF .deps/size_from_kind.Tpo -c /var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran/io/size_from_kind.c  -fPIC -DPIC -o .libs/size_from_kind.o
libtool: compile:  /var/tmp/portage/sys-devel/gcc-4.3.1/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.3.1/work/build/./gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran -I. -iquote/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran/io -I/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran/../gcc -I/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran/../gcc/config -I../.././gcc -D_GNU_SOURCE -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -O2 -g -O2 -march=i686 -pipe -MT size_from_kind.lo -MD -MP -MF .deps/size_from_kind.Tpo -c /var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran/io/size_from_kind.c -o size_from_kind.o >/dev/null 2>&1
if /bin/sh ./libtool --tag=CC --mode=compile /var/tmp/portage/sys-devel/gcc-4.3.1/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.3.1/work/build/./gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran -I.  -iquote/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran/io -I/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran/../gcc -I/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran/../gcc/config -I../.././gcc -D_GNU_SOURCE  -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -O2 -g -O2 -march=i686 -pipe   -MT transfer.lo -MD -MP -MF ".deps/transfer.Tpo" -c -o transfer.lo `test -f 'io/transfer.c' || echo '/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran/'`io/transfer.c; \
        then mv -f ".deps/transfer.Tpo" ".deps/transfer.Plo"; else rm -f ".deps/transfer.Tpo"; exit 1; fi
libtool: compile:  /var/tmp/portage/sys-devel/gcc-4.3.1/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.3.1/work/build/./gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran -I. -iquote/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran/io -I/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran/../gcc -I/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran/../gcc/config -I../.././gcc -D_GNU_SOURCE -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -O2 -g -O2 -march=i686 -pipe -MT transfer.lo -MD -MP -MF .deps/transfer.Tpo -c /var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran/io/transfer.c  -fPIC -DPIC -o .libs/transfer.o
libtool: compile:  /var/tmp/portage/sys-devel/gcc-4.3.1/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.3.1/work/build/./gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran -I. -iquote/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran/io -I/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran/../gcc -I/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran/../gcc/config -I../.././gcc -D_GNU_SOURCE -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -O2 -g -O2 -march=i686 -pipe -MT transfer.lo -MD -MP -MF .deps/transfer.Tpo -c /var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran/io/transfer.c -o transfer.o >/dev/null 2>&1
if /bin/sh ./libtool --tag=CC --mode=compile /var/tmp/portage/sys-devel/gcc-4.3.1/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.3.1/work/build/./gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran -I.  -iquote/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran/io -I/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran/../gcc -I/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran/../gcc/config -I../.././gcc -D_GNU_SOURCE  -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -O2 -g -O2 -march=i686 -pipe   -MT unit.lo -MD -MP -MF ".deps/unit.Tpo" -c -o unit.lo `test -f 'io/unit.c' || echo '/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran/'`io/unit.c; \
        then mv -f ".deps/unit.Tpo" ".deps/unit.Plo"; else rm -f ".deps/unit.Tpo"; exit 1; fi
libtool: compile:  /var/tmp/portage/sys-devel/gcc-4.3.1/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.3.1/work/build/./gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran -I. -iquote/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran/io -I/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran/../gcc -I/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran/../gcc/config -I../.././gcc -D_GNU_SOURCE -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -O2 -g -O2 -march=i686 -pipe -MT unit.lo -MD -MP -MF .deps/unit.Tpo -c /var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran/io/unit.c  -fPIC -DPIC -o .libs/unit.o
libtool: compile:  /var/tmp/portage/sys-devel/gcc-4.3.1/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.3.1/work/build/./gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran -I. -iquote/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran/io -I/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran/../gcc -I/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran/../gcc/config -I../.././gcc -D_GNU_SOURCE -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -O2 -g -O2 -march=i686 -pipe -MT unit.lo -MD -MP -MF .deps/unit.Tpo -c /var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran/io/unit.c -o unit.o >/dev/null 2>&1
if /bin/sh ./libtool --tag=CC --mode=compile /var/tmp/portage/sys-devel/gcc-4.3.1/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.3.1/work/build/./gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran -I.  -iquote/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran/io -I/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran/../gcc -I/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran/../gcc/config -I../.././gcc -D_GNU_SOURCE  -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -O2 -g -O2 -march=i686 -pipe   -MT unix.lo -MD -MP -MF ".deps/unix.Tpo" -c -o unix.lo `test -f 'io/unix.c' || echo '/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran/'`io/unix.c; \
        then mv -f ".deps/unix.Tpo" ".deps/unix.Plo"; else rm -f ".deps/unix.Tpo"; exit 1; fi
libtool: compile:  /var/tmp/portage/sys-devel/gcc-4.3.1/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.3.1/work/build/./gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran -I. -iquote/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran/io -I/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran/../gcc -I/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran/../gcc/config -I../.././gcc -D_GNU_SOURCE -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -O2 -g -O2 -march=i686 -pipe -MT unix.lo -MD -MP -MF .deps/unix.Tpo -c /var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran/io/unix.c  -fPIC -DPIC -o .libs/unix.o
{standard input}: Assembler messages:
{standard input}:6436: Error: symbol `fstatat64' is already defined
{standard input}:6473: Error: symbol `fstat64' is already defined
{standard input}:7289: Error: symbol `lstat64' is already defined
{standard input}:7322: Error: symbol `stat64' is already defined
make[3]: *** [unix.lo] 错误 1
make[3]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.1/work/build/i686-pc-linux-gnu/libgfortran'
make[2]: *** [install] 错误 2
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.1/work/build/i686-pc-linux-gnu/libgfortran'
make[1]: *** [install-target-libgfortran] 错误 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.1/work/build'
make: *** [install] 错误 2
 *
 * ERROR: sys-devel/gcc-4.3.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_install
 *             environment, line 4540:  Called toolchain_src_install
 *             environment, line 5009:  Called gcc-compiler_src_install
 *             environment, line 2345:  Called die
 * The specific snippet of code:
 *       S=${WORKDIR}/build make DESTDIR="${D}" install || die;
 *  The die message:
 *   (no error message)
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-devel/gcc-4.3.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-4.3.1/temp/environment'.
 *

emerge --info:
Portage 2.1.5.4 (default/linux/x86/2008.0/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.24-16-generic i686)
=================================================================
System uname: 2.6.24-16-generic i686 Genuine Intel(R) CPU           T2050  @ 1.60GHz
Timestamp of tree: Tue, 10 Jun 2008 13:16:01 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/baselayout: 1.12.9
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61
sys-devel/automake:  1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch sandbox sfperms strict userfetch"
GENTOO_MIRRORS="ftp://gentoo.anheng.com.cn/gentoo"
LANG="zh_CN.UTF-8"
LDFLAGS=""
LINGUAS="en_US en *"
MAKEOPTS="-j3"
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://rsync.au.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr cjk cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emacs emboss encode esd evo firefox fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog java jpeg kerberos latex ldap libnotify mad midi mikmod mmx mmxext mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png ppds pppd python quicktime readline reflection samba sdl session spell spl sse sse2 ssl startup-notification svg tcpd tiff truetype unicode v4l v4l2 vorbis win32codecs wxwindows x86 xml xorg xv zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en *" USERLAND="GNU" VIDEO_CARDS="i810"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Hongjiu Zhang 2008-06-10 23:36:24 UTC
Created attachment 156295 [details]
This is the whole log file.

As the log is too long to copy, I send it here. Sorry for the unconvenience.
Comment 2 Hongjiu Zhang 2008-06-13 02:28:12 UTC
Use emerge -1DNu gcc instead of emerge -1u gcc fix it. Sorry for my disturbing.
Comment 3 Vytenis Sodaitis 2008-06-18 22:46:15 UTC
(In reply to comment #2)
> Use emerge -1DNu gcc instead of emerge -1u gcc fix it. Sorry for my disturbing.
> 

I have the same problem, but your solution doesn't work for me