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

Bug 222859

Summary: app-text/texlive-core-2007-r13 emerge failed
Product: Gentoo Linux Reporter: amadeus.bit
Component: Current packagesAssignee: Alexis Ballier <aballier>
Status: VERIFIED NEEDINFO    
Severity: normal CC: tex
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: /var/tmp/portage/app-text/texlive-core-2007-r13/temp/build.log
/var/tmp/portage/app-text/texlive-core-2007-r13/work/config.log

Description amadeus.bit 2008-05-19 21:04:33 UTC
Emerge fails with 
...
==================================================
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.3/../../../../lib64/crt1.o succeeded
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.3/../../../../lib64/crt1.o
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.3/../../../../lib64/crti.o succeeded
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.3/../../../../lib64/crti.o
attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.3/crtbegin.o succeeded
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.3/crtbegin.o
attempt to open makeconv.o succeeded
makeconv.o
attempt to open ucnvstat.o succeeded
ucnvstat.o
attempt to open genmbcs.o succeeded
opened script file genmbcs.o
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.3/../../../../x86_64-pc-linux-gnu/bin/ld:genmbcs.o: file format not recognized; treating as linker script
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.3/../../../../x86_64-pc-linux-gnu/bin/ld:genmbcs.o:1: syntax error
collect2: ld returned 1 exit status
make[2]: *** [../../bin/makeconv] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-text/texlive-core-2007-r13/work/libs/icu-xetex/tools/makeconv'
make[1]: *** [all-recursive] Error 2
make[1]: Leaving directory `/var/tmp/portage/app-text/texlive-core-2007-r13/work/libs/icu-xetex/tools'
make: *** [all-recursive] Error 2
 *
 * ERROR: app-text/texlive-core-2007-r13 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2914:  Called die
 * The specific snippet of code:
 *       emake -j1 texmf=${TEXMF_PATH:-/usr/share/texmf} || die "emake of icu-xetex failed";
 *  The die message:
 *   emake of icu-xetex failed





Reproducible: Always

Steps to Reproduce:
1. Emerge texlive-core-r13
2.
3.




I use gcc-4.2.3
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-05-20 01:20:54 UTC
emerge --info, please.
Comment 2 amadeus.bit 2008-05-20 08:42:50 UTC
Portage 2.1.5 (default/linux/amd64/2008.0/desktop, gcc-4.2.3, glibc-2.7-r2, 2.6.23-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r9 x86_64 Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz
Timestamp of tree: Mon, 19 May 2008 14:35:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r3
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.4-r1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.25-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -fno-ident"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe -fno-ident"
DISTDIR="/usr/portage/distfiles"
FEATURES="candy ccache distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
LDFLAGS="-Wl,-O1,--verbose"
LINGUAS="en"
MAKEOPTS="-j8"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa amd64 apm arts berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt css cups dbus dri dvd dvdr dvdread emboss encode evo fam fbcon firefox fortran fuse gdbm gif gpm gstreamer gtk hal iconv isdnlog java javascript jpeg jpeg2k kde kerberos latex ldap libnotify lisp mad midi mikmod mmx mono mp3 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin nvidia ogg openal opengl openmp oss pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl session spl sse sse2 ssl ssse3 startup-notification svg tcpd tiff truetype unicode usb vorbis x xinerama xml xorg xv xvmc zlib" ALSA_CARDS="emu10k1" 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" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Alexis Ballier gentoo-dev 2008-05-20 15:17:44 UTC
please attach the full build log and config.log
Comment 4 Alexis Ballier gentoo-dev 2008-06-04 18:49:42 UTC
(In reply to comment #3)
> please attach the full build log and config.log
> 

still no answer -> needinfo

and I'd bet its a toolchain issue
Comment 5 James Bremenour 2008-12-13 12:11:58 UTC
Created attachment 175190 [details]
/var/tmp/portage/app-text/texlive-core-2007-r13/temp/build.log
Comment 6 James Bremenour 2008-12-13 12:12:47 UTC
Created attachment 175191 [details]
/var/tmp/portage/app-text/texlive-core-2007-r13/work/config.log
Comment 7 James Bremenour 2008-12-13 12:14:36 UTC
(In reply to comment #3)
> please attach the full build log and config.log
> 

I seem to be having the same (or a very similar) problem.

$ emerge --info
Portage 2.1.4.5 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3700+
Timestamp of tree: Sun, 07 Dec 2008 18:45:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r7
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r2
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
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.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O3 -ffast-math -funroll-all-loops -ftree-vectorize -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O3 -ffast-math -funroll-all-loops -ftree-vectorize -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlock distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://gentoo.arcticnetwork.ca/pub/gentoo/ http://gentoo.mirrors.tera-byte.com/ http://gentoo.osuosl.org/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.gtlib.gatech.edu/pub/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
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.namerica.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 bash-completion berkdb cli cracklib crypt dri fortran gdbm gpm gtk2 iconv ipv6 isdnlog midi mmx mudflap ncurses nls nptl nptlonly nvidia opengl openmp pam pcre perl png pppd python readline reflection session spell spl sse sse2 ssl tcpd threads unicode xorg zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty 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 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 joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTDIR_OVERLAY

I think I added the attachments incorrectly. Sorry, I've never done this before.
Comment 8 Alexis Ballier gentoo-dev 2008-12-13 12:17:42 UTC
(In reply to comment #5)
> Created an attachment (id=175190) [edit]
> /var/tmp/portage/app-text/texlive-core-2007-r13/temp/build.log
> 

this is something else, try rebuilding sys-apps/ed with sane cflags
Comment 9 James Bremenour 2008-12-13 20:05:04 UTC
(In reply to comment #8)
> (In reply to comment #5)
> > Created an attachment (id=175190) [edit]
> > /var/tmp/portage/app-text/texlive-core-2007-r13/temp/build.log
> > 
> 
> this is something else, try rebuilding sys-apps/ed with sane cflags
> 

You're right. I apologize. I completely glazed over the actual error messages in the bug, and my build.log, focusing on "* The specific snippet of code:" instead. That's sleep depravation for you.

Do I remove my comments/attachments? Is that even possible?

Changing the CFLAGS seems to have worked. The aforementioned CFLAGS were found in a PDF from the AMD website concerning my processor and CFLAGS; those were the recommendation for gcc.