Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 253549 - error occurs building dev-libs/xalan-c-1.11.0_pre705082
Summary: error occurs building dev-libs/xalan-c-1.11.0_pre705082
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: C++ Team [disbanded]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-03 13:41 UTC by Davide Roveran
Modified: 2009-11-10 13:39 UTC (History)
0 users

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 Davide Roveran 2009-01-03 13:41:50 UTC
during update from 1.10.0 version error occurs:
my emerge --info is:

rovelaptop rove # emerge --info
Portage 2.1.6.4 (default/linux/x86/2008.0, gcc-4.2.3, glibc-2.6.1-r0, 2.6.27-gentoo-r7 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r7-i686-Intel-R-_Celeron-R-_M_CPU_420_@_1.60GHz-with-glibc2.0
Timestamp of tree: Fri, 02 Jan 2009 13:35:01 +0000
distcc 3.0 i686-pc-linux-gnu [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 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.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-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/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /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/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distcc distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="it_IT.utf8@euro"
LDFLAGS="-Wl,-O1"
LINGUAS="it"
MAKEOPTS="-j5"
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/portage/local/asd"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib accessibility acl acpi additions alsa amarok amr apache2 bash-completion berkdb blas bluetooth bzip2 c++ c3p0 cairo cdda cddb cdr cdrom cli cpudetection cracklib crypt cups cxx dbus divx djvu dri dts dvd dvdr dvdread dvi emacs encode expat ffmpeg fftw firefox flac fortran ftp gdbm ggi gif gimp glib gmedia gnome gnutls gpg gpm grub gsm gstreamer gtk h323 hal httpd iconv ipod isdnlog it jack java java6 javascript jpeg jpeg2k laptop latex libcaca live loop-aes mad matroska mdnsresponder-compat midi mikmod modplug mp3 mp4 mpeg mpeg2 mplayer mschap msn mudflap mysql mysqli nautilus ncurses nls nojoystick nptl nptlonly nsplugin ntfs offensive ogg opengl openmp optimisememory pam pcre pdf perl php pidgin png pppd python qt3 qt3support qt4 quicktime readline realmedia reflection rtsp science sdk sdl sdl-image sdl-sound sensord session sound source speex spl sqlite ssl svg sysfs tcpd tex theora threads timidity totem transcode unicode vnc vorbis wma wmf wmp x264 x86 xine xml xmlreader xmlwriter xorg xrandr xterm xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS







Reproducible: Always

Actual Results:  
log file is:

>>> Unpacking source...
>>> Unpacking Xalan-C_r705082-src.tar.gz to /var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c ...
Generating makefiles with the following options ...
Platform: linux
C Compiler: i686-pc-linux-gnu-gcc
C++ Compiler: i686-pc-linux-gnu-g++
Extra compile options: 
Extra link options: 
Transcoder: default
Localization system: inmem
Locale: en_US
Thread option: 
bitsToBuild option: 32
Extra configure options:  --prefix=/usr --libdir=/usr/lib
Debug is OFF
I do not recognize the C++ compiler 'i686-pc-linux-gnu-g++'. Continuing anyway ...

checking for gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking whether we are using the GNU C++ compiler... yes
checking whether i686-pc-linux-gnu-g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for autoconf... autoconf
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for floor in -lm... yes
checking how to run the C++ preprocessor... i686-pc-linux-gnu-g++ -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for mbstowcs... yes
checking if mbstowcs can count only... yes
configure: creating ./config.status
config.status: creating Makefile.incl
config.status: creating Makefile
config.status: creating src/xalanc/Makefile
config.status: creating src/xalanc/Utils/Makefile
config.status: creating src/xalanc/Utils/MsgCreator/Makefile
config.status: creating src/xalanc/Utils/XalanMsgLib/Makefile
config.status: creating samples/Makefile
config.status: creating Tests/Makefile

If the result of the above commands look OK to you, go to the directory
/var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c and type "gmake" or "make" to make the XALAN-C system.

Note: You must use GNU make to use the Xalan Makefile.
make -j5 -j1 
make -C src/xalanc all
make[1]: Entering directory `/var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/src/xalanc'
Preparing the directory structure for a build ...
mkdir -p ../../obj
mkdir -p ../../lib
mkdir -p ../../bin
make -C Utils prepare
make[2]: Entering directory `/var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/src/xalanc/Utils'
mkdir -p ../../../nls
mkdir -p ../../../nls/include
make[2]: Leaving directory `/var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/src/xalanc/Utils'
make -C Utils locale
make[2]: Entering directory `/var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/src/xalanc/Utils'
make -C MsgCreator 
make[3]: Entering directory `/var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/src/xalanc/Utils/MsgCreator'
i686-pc-linux-gnu-g++ -O2 -march=pentium4 -pipe -DNDEBUG     -Wall -fPIC -DLINUX -D_REENTRANT -DXALAN_INMEM_MSG_LOADER -c -I/var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/src -I/var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/include -I../../../../nls/include -I/usr/include/xercesc/src/ -I/usr/include/xercesc/include/xercesc -I/usr/include/xercesc/include/  -o ../../../../obj/MsgFileOutputStream.o /var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/src/xalanc/Utils/MsgCreator/MsgFileOutputStream.cpp
i686-pc-linux-gnu-g++ -O2 -march=pentium4 -pipe -DNDEBUG     -Wall -fPIC -DLINUX -D_REENTRANT -DXALAN_INMEM_MSG_LOADER -c -I/var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/src -I/var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/include -I../../../../nls/include -I/usr/include/xercesc/src/ -I/usr/include/xercesc/include/xercesc -I/usr/include/xercesc/include/  -o ../../../../obj/ICUResHandler.o /var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/src/xalanc/Utils/MsgCreator/ICUResHandler.cpp
i686-pc-linux-gnu-g++ -O2 -march=pentium4 -pipe -DNDEBUG     -Wall -fPIC -DLINUX -D_REENTRANT -DXALAN_INMEM_MSG_LOADER -c -I/var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/src -I/var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/include -I../../../../nls/include -I/usr/include/xercesc/src/ -I/usr/include/xercesc/include/xercesc -I/usr/include/xercesc/include/  -o ../../../../obj/InMemHandler.o /var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/src/xalanc/Utils/MsgCreator/InMemHandler.cpp
i686-pc-linux-gnu-g++ -O2 -march=pentium4 -pipe -DNDEBUG     -Wall -fPIC -DLINUX -D_REENTRANT -DXALAN_INMEM_MSG_LOADER -c -I/var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/src -I/var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/include -I../../../../nls/include -I/usr/include/xercesc/src/ -I/usr/include/xercesc/include/xercesc -I/usr/include/xercesc/include/  -o ../../../../obj/MsgCreator.o /var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/src/xalanc/Utils/MsgCreator/MsgCreator.cpp
i686-pc-linux-gnu-g++ -O2 -march=pentium4 -pipe -DNDEBUG     -Wall -fPIC -DLINUX -D_REENTRANT -DXALAN_INMEM_MSG_LOADER -c -I/var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/src -I/var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/include -I../../../../nls/include -I/usr/include/xercesc/src/ -I/usr/include/xercesc/include/xercesc -I/usr/include/xercesc/include/  -o ../../../../obj/NLSHandler.o /var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/src/xalanc/Utils/MsgCreator/NLSHandler.cpp
i686-pc-linux-gnu-g++ -O2 -march=pentium4 -pipe -DNDEBUG     -Wall -fPIC -DLINUX -D_REENTRANT -DXALAN_INMEM_MSG_LOADER -c -I/var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/src -I/var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/include -I../../../../nls/include -I/usr/include/xercesc/src/ -I/usr/include/xercesc/include/xercesc -I/usr/include/xercesc/include/  -o ../../../../obj/SAX2Handler.o /var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/src/xalanc/Utils/MsgCreator/SAX2Handler.cpp
i686-pc-linux-gnu-g++ -DLINUX -fPIC -Wl,-O1 -pthread   -DXALAN_INMEM_MSG_LOADER   \
	 -lm  -lpthread  -L/usr/include/xercesc/lib -lxerces-c ../../../../obj/MsgFileOutputStream.o ../../../../obj/ICUResHandler.o ../../../../obj/InMemHandler.o ../../../../obj/MsgCreator.o ../../../../obj/NLSHandler.o ../../../../obj/SAX2Handler.o -o ../../../../bin/MsgCreator 
make[3]: Leaving directory `/var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/src/xalanc/Utils/MsgCreator'
../../../bin/MsgCreator /var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/src/xalanc/NLS/en_US/XalanMsg_en_US.xlf -TYPE inmem -LOCALE en_US
Could not load a transcoding service
make[2]: *** [../../../nls/include/LocalMsgData.hpp] Error 255
make[2]: Leaving directory `/var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/src/xalanc/Utils'
make[1]: *** [locale] Error 2
make[1]: Leaving directory `/var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/src/xalanc'
make: *** [all] Error 2
 * 
 * ERROR: dev-libs/xalan-c-1.11.0_pre705082 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2363:  Called die
 * The specific snippet of code:
 *       emake -j1 || die "emake failed";
 *  The die message:
 *   emake failed
 * 
 * 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/dev-libs/xalan-c-1.11.0_pre705082/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/temp/environment'.
 *
Comment 1 Davide Roveran 2009-01-03 13:43:27 UTC
rove@rovelaptop ~ $ emerge --info
Portage 2.1.6.4 (default/linux/x86/2008.0, gcc-4.2.3, glibc-2.6.1-r0, 2.6.27-gentoo-r7 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r7-i686-Intel-R-_Celeron-R-_M_CPU_420_@_1.60GHz-with-glibc2.0
Timestamp of tree: Fri, 02 Jan 2009 13:35:01 +0000
distcc 3.0 i686-pc-linux-gnu [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 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.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-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/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /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/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distcc distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="it_IT.utf8@euro"
LDFLAGS="-Wl,-O1"
LINGUAS="it"
MAKEOPTS="-j5"
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/portage/local/asd"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib accessibility acl acpi additions alsa amarok amr apache2 bash-completion berkdb blas bluetooth bzip2 c++ c3p0 cairo cdda cddb cdr cdrom cli cpudetection cracklib crypt cups cxx dbus divx djvu dri dts dvd dvdr dvdread dvi emacs encode expat ffmpeg fftw firefox flac fortran ftp gdbm ggi gif gimp glib gmedia gnome gnutls gpg gpm grub gsm gstreamer gtk h323 hal httpd iconv ipod isdnlog it jack java java6 javascript jpeg jpeg2k laptop latex libcaca live loop-aes mad matroska mdnsresponder-compat midi mikmod modplug mp3 mp4 mpeg mpeg2 mplayer mschap msn mudflap mysql mysqli nautilus ncurses nls nojoystick nptl nptlonly nsplugin ntfs offensive ogg opengl openmp optimisememory pam pcre pdf perl php pidgin png pppd python qt3 qt3support qt4 quicktime readline realmedia reflection rtsp science sdk sdl sdl-image sdl-sound sensord session sound source speex spl sqlite ssl svg sysfs tcpd tex theora threads timidity totem transcode unicode vnc vorbis wma wmf wmp x264 x86 xine xml xmlreader xmlwriter xorg xrandr xterm xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 2 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2009-01-03 13:46:56 UTC
removing URL as it just points to the text already pasted here.

if there is a difference between the two emerge --info paste's, then please state so.
thanks.
Comment 3 Davide Roveran 2009-01-03 13:50:34 UTC
(In reply to comment #2)
> removing URL as it just points to the text already pasted here.
> 
> if there is a difference between the two emerge --info paste's, then please
> state so.
> thanks.
> 
excuse me but it was my first report :), i'm not expert of bug report
Comment 4 Davide Roveran 2009-01-03 13:53:45 UTC
(In reply to comment #2)
> removing URL as it just points to the text already pasted here.
> 
> if there is a difference between the two emerge --info paste's, then please
> state so.
> thanks.
> 
excuse me but it was my first report :), i'm not expert of bug report
Comment 5 Ashu Tiwary 2009-02-20 13:46:25 UTC
Have you tried turning off parallel make? (i.e., unset $MAKEOPTS in /etc/make.conf)

I have never been able to build xalan-c with parallel make.
Comment 6 Tiziano Müller (RETIRED) gentoo-dev 2009-07-27 00:15:08 UTC
Can you please try with the latest version? I couldn't reproduce it here but the latest version works pretty well.
Comment 7 hilander 2009-11-10 13:31:00 UTC
(In reply to comment #0)
> during update from 1.10.0 version error occurs:
> my emerge --info is:
> 
> rovelaptop rove # emerge --info
> Portage 2.1.6.4 (default/linux/x86/2008.0, gcc-4.2.3, glibc-2.6.1-r0,
> 2.6.27-gentoo-r7 i686)
> =================================================================
> System uname:
> Linux-2.6.27-gentoo-r7-i686-Intel-R-_Celeron-R-_M_CPU_420_@_1.60GHz-with-glibc2.0
> Timestamp of tree: Fri, 02 Jan 2009 13:35:01 +0000
> distcc 3.0 i686-pc-linux-gnu [enabled]
> app-shells/bash:     3.2_p33
> dev-java/java-config: 1.3.7-r1, 2.1.6-r1
> dev-lang/python:     2.5.2-r7
> dev-python/pycrypto: 2.0.1-r6
> dev-util/cmake:      2.4.6-r1
> sys-apps/baselayout: 1.12.11.1
> sys-apps/sandbox:    1.2.18.1-r2
> sys-devel/autoconf:  2.13, 2.62-r1
> sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 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.23-r3
> ACCEPT_KEYWORDS="x86"
> CBUILD="i686-pc-linux-gnu"
> CFLAGS="-O2 -march=pentium4 -pipe"
> CHOST="i686-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/ca-certificates.conf /etc/env.d /etc/env.d/java/
> /etc/fonts/fonts.conf /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/texmf/web2c /etc/udev/rules.d"
> CXXFLAGS="-O2 -march=pentium4 -pipe"
> DISTDIR="/usr/portage/distfiles"
> FEATURES="distcc distlocks fixpackages parallel-fetch protect-owned sandbox
> sfperms strict unmerge-orphans userfetch"
> GENTOO_MIRRORS="http://distfiles.gentoo.org
> http://distro.ibiblio.org/pub/linux/distributions/gentoo"
> LANG="it_IT.utf8@euro"
> LDFLAGS="-Wl,-O1"
> LINGUAS="it"
> MAKEOPTS="-j5"
> 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/portage/local/asd"
> SYNC="rsync://rsync.gentoo.org/gentoo-portage"
> USE="X a52 aac aalib accessibility acl acpi additions alsa amarok amr apache2
> bash-completion berkdb blas bluetooth bzip2 c++ c3p0 cairo cdda cddb cdr cdrom
> cli cpudetection cracklib crypt cups cxx dbus divx djvu dri dts dvd dvdr
> dvdread dvi emacs encode expat ffmpeg fftw firefox flac fortran ftp gdbm ggi
> gif gimp glib gmedia gnome gnutls gpg gpm grub gsm gstreamer gtk h323 hal httpd
> iconv ipod isdnlog it jack java java6 javascript jpeg jpeg2k laptop latex
> libcaca live loop-aes mad matroska mdnsresponder-compat midi mikmod modplug mp3
> mp4 mpeg mpeg2 mplayer mschap msn mudflap mysql mysqli nautilus ncurses nls
> nojoystick nptl nptlonly nsplugin ntfs offensive ogg opengl openmp
> optimisememory pam pcre pdf perl php pidgin png pppd python qt3 qt3support qt4
> quicktime readline realmedia reflection rtsp science sdk sdl sdl-image
> sdl-sound sensord session sound source speex spl sqlite ssl svg sysfs tcpd tex
> theora threads timidity totem transcode unicode vnc vorbis wma wmf wmp x264 x86
> xine xml xmlreader xmlwriter xorg xrandr xterm xv xvid zlib"
> ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1
> emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m
> maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
> 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="evdev keyboard mouse synaptics"
> KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001
> mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="fglrx"
> Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL,
> PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
> 
> 
> 
> 
> 
> 
> 
> Reproducible: Always
> 
> Actual Results:  
> log file is:
> 
> >>> Unpacking source...
> >>> Unpacking Xalan-C_r705082-src.tar.gz to /var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work
> >>> Source unpacked.
> >>> Compiling source in /var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c ...
> Generating makefiles with the following options ...
> Platform: linux
> C Compiler: i686-pc-linux-gnu-gcc
> C++ Compiler: i686-pc-linux-gnu-g++
> Extra compile options: 
> Extra link options: 
> Transcoder: default
> Localization system: inmem
> Locale: en_US
> Thread option: 
> bitsToBuild option: 32
> Extra configure options:  --prefix=/usr --libdir=/usr/lib
> Debug is OFF
> I do not recognize the C++ compiler 'i686-pc-linux-gnu-g++'. Continuing anyway
> ...
> 
> checking for gcc... i686-pc-linux-gnu-gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables... 
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether i686-pc-linux-gnu-gcc accepts -g... yes
> checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed
> checking whether we are using the GNU C++ compiler... yes
> checking whether i686-pc-linux-gnu-g++ accepts -g... yes
> checking for a BSD-compatible install... /usr/bin/install -c
> checking for autoconf... autoconf
> checking build system type... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu
> checking for floor in -lm... yes
> checking how to run the C++ preprocessor... i686-pc-linux-gnu-g++ -E
> checking for egrep... grep -E
> checking for ANSI C header files... yes
> checking for mbstowcs... yes
> checking if mbstowcs can count only... yes
> configure: creating ./config.status
> config.status: creating Makefile.incl
> config.status: creating Makefile
> config.status: creating src/xalanc/Makefile
> config.status: creating src/xalanc/Utils/Makefile
> config.status: creating src/xalanc/Utils/MsgCreator/Makefile
> config.status: creating src/xalanc/Utils/XalanMsgLib/Makefile
> config.status: creating samples/Makefile
> config.status: creating Tests/Makefile
> 
> If the result of the above commands look OK to you, go to the directory
> /var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c and type
> "gmake" or "make" to make the XALAN-C system.
> 
> Note: You must use GNU make to use the Xalan Makefile.
> make -j5 -j1 
> make -C src/xalanc all
> make[1]: Entering directory
> `/var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/src/xalanc'
> Preparing the directory structure for a build ...
> mkdir -p ../../obj
> mkdir -p ../../lib
> mkdir -p ../../bin
> make -C Utils prepare
> make[2]: Entering directory
> `/var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/src/xalanc/Utils'
> mkdir -p ../../../nls
> mkdir -p ../../../nls/include
> make[2]: Leaving directory
> `/var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/src/xalanc/Utils'
> make -C Utils locale
> make[2]: Entering directory
> `/var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/src/xalanc/Utils'
> make -C MsgCreator 
> make[3]: Entering directory
> `/var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/src/xalanc/Utils/MsgCreator'
> i686-pc-linux-gnu-g++ -O2 -march=pentium4 -pipe -DNDEBUG     -Wall -fPIC
> -DLINUX -D_REENTRANT -DXALAN_INMEM_MSG_LOADER -c
> -I/var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/src
> -I/var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/include
> -I../../../../nls/include -I/usr/include/xercesc/src/
> -I/usr/include/xercesc/include/xercesc -I/usr/include/xercesc/include/  -o
> ../../../../obj/MsgFileOutputStream.o
> /var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/src/xalanc/Utils/MsgCreator/MsgFileOutputStream.cpp
> i686-pc-linux-gnu-g++ -O2 -march=pentium4 -pipe -DNDEBUG     -Wall -fPIC
> -DLINUX -D_REENTRANT -DXALAN_INMEM_MSG_LOADER -c
> -I/var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/src
> -I/var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/include
> -I../../../../nls/include -I/usr/include/xercesc/src/
> -I/usr/include/xercesc/include/xercesc -I/usr/include/xercesc/include/  -o
> ../../../../obj/ICUResHandler.o
> /var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/src/xalanc/Utils/MsgCreator/ICUResHandler.cpp
> i686-pc-linux-gnu-g++ -O2 -march=pentium4 -pipe -DNDEBUG     -Wall -fPIC
> -DLINUX -D_REENTRANT -DXALAN_INMEM_MSG_LOADER -c
> -I/var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/src
> -I/var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/include
> -I../../../../nls/include -I/usr/include/xercesc/src/
> -I/usr/include/xercesc/include/xercesc -I/usr/include/xercesc/include/  -o
> ../../../../obj/InMemHandler.o
> /var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/src/xalanc/Utils/MsgCreator/InMemHandler.cpp
> i686-pc-linux-gnu-g++ -O2 -march=pentium4 -pipe -DNDEBUG     -Wall -fPIC
> -DLINUX -D_REENTRANT -DXALAN_INMEM_MSG_LOADER -c
> -I/var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/src
> -I/var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/include
> -I../../../../nls/include -I/usr/include/xercesc/src/
> -I/usr/include/xercesc/include/xercesc -I/usr/include/xercesc/include/  -o
> ../../../../obj/MsgCreator.o
> /var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/src/xalanc/Utils/MsgCreator/MsgCreator.cpp
> i686-pc-linux-gnu-g++ -O2 -march=pentium4 -pipe -DNDEBUG     -Wall -fPIC
> -DLINUX -D_REENTRANT -DXALAN_INMEM_MSG_LOADER -c
> -I/var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/src
> -I/var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/include
> -I../../../../nls/include -I/usr/include/xercesc/src/
> -I/usr/include/xercesc/include/xercesc -I/usr/include/xercesc/include/  -o
> ../../../../obj/NLSHandler.o
> /var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/src/xalanc/Utils/MsgCreator/NLSHandler.cpp
> i686-pc-linux-gnu-g++ -O2 -march=pentium4 -pipe -DNDEBUG     -Wall -fPIC
> -DLINUX -D_REENTRANT -DXALAN_INMEM_MSG_LOADER -c
> -I/var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/src
> -I/var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/include
> -I../../../../nls/include -I/usr/include/xercesc/src/
> -I/usr/include/xercesc/include/xercesc -I/usr/include/xercesc/include/  -o
> ../../../../obj/SAX2Handler.o
> /var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/src/xalanc/Utils/MsgCreator/SAX2Handler.cpp
> i686-pc-linux-gnu-g++ -DLINUX -fPIC -Wl,-O1 -pthread   -DXALAN_INMEM_MSG_LOADER
>   \
>          -lm  -lpthread  -L/usr/include/xercesc/lib -lxerces-c
> ../../../../obj/MsgFileOutputStream.o ../../../../obj/ICUResHandler.o
> ../../../../obj/InMemHandler.o ../../../../obj/MsgCreator.o
> ../../../../obj/NLSHandler.o ../../../../obj/SAX2Handler.o -o
> ../../../../bin/MsgCreator 
> make[3]: Leaving directory
> `/var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/src/xalanc/Utils/MsgCreator'
> ../../../bin/MsgCreator
> /var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/src/xalanc/NLS/en_US/XalanMsg_en_US.xlf
> -TYPE inmem -LOCALE en_US
> Could not load a transcoding service
> make[2]: *** [../../../nls/include/LocalMsgData.hpp] Error 255
> make[2]: Leaving directory
> `/var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/src/xalanc/Utils'
> make[1]: *** [locale] Error 2
> make[1]: Leaving directory
> `/var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/work/xml-xalan/c/src/xalanc'
> make: *** [all] Error 2
>  * 
>  * ERROR: dev-libs/xalan-c-1.11.0_pre705082 failed.
>  * Call stack:
>  *               ebuild.sh, line   49:  Called src_compile
>  *             environment, line 2363:  Called die
>  * The specific snippet of code:
>  *       emake -j1 || die "emake failed";
>  *  The die message:
>  *   emake failed
>  * 
>  * 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/dev-libs/xalan-c-1.11.0_pre705082/temp/build.log'.
>  * The ebuild environment file is located at
> '/var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/temp/environment'.
>  *
> 

(In reply to comment #6)
> Can you please try with the latest version? I couldn't reproduce it here but
> the latest version works pretty well.
> 

Hi, it was only possible for me to build xalan-c with MAKEOPTS="j1" FEATURES="-distcc" (after I read your message here). Perhaps this should be part of the ebuild or set in the system package.use file?
Comment 8 hilander 2009-11-10 13:39:52 UTC
Hi, it was only possible for me to build xalan-c-1.11.0_pre797991 by emerging it like this (after I read comment #5):
MAKEOPTS="j1" FEATURES="-distcc" emerge xalan-c

Perhaps this should be part of the ebuild or set in the system package.use file?