Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 233698 - sci-physics/root-5.20.00 - make: *** [cint/reflex/src/G__Reflex.cxx] Segmentation fault
Summary: sci-physics/root-5.20.00 - make: *** [cint/reflex/src/G__Reflex.cxx] Segmenta...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Science Physics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-02 11:31 UTC by Yuan MEI
Modified: 2009-06-25 04:14 UTC (History)
4 users (show)

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


Attachments
build.log (build.log,1.01 MB, text/plain)
2008-08-02 11:33 UTC, Yuan MEI
Details
Build Log with -O2 (build.log,1.00 MB, text/plain)
2008-08-08 16:23 UTC, Yuan MEI
Details
Error confirmed (sci-physics:root-5.20.00:20080808-161354.log.bz2,65.33 KB, text/plain)
2008-08-08 17:59 UTC, Lorenzo Ferretti
Details
patch disabling building of reflex library (root-5.20.00.ebuild-disable-reflex.patch,570 bytes, patch)
2008-08-24 23:01 UTC, Markus Dittrich (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yuan MEI 2008-08-02 11:31:22 UTC
[ebuild     U ] sci-physics/root-5.20.00 [5.18.00d] USE="cern clarens%* doc fftw kerberos ldap math python ssl xml -afs -debug -geant4% -mysql -odbc -oracle% -postgres -qt4 -ruby -xrootd (-pch%) (-qt3%) (-truetype%*)" 0 kB

make: *** [cint/reflex/src/G__Reflex.cxx] Segmentation fault
make: *** Deleting file `cint/reflex/src/G__Reflex.cxx'
make: *** Waiting for unfinished jobs....


Portage 2.1.4.4 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-tuxonice-r9 i686)
=================================================================
System uname: 2.6.24-tuxonice-r9 i686 Intel(R) Pentium(R) M processor 1.86GHz
Timestamp of tree: Fri, 01 Aug 2008 18:34:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
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="-O3 -Os -march=pentium-m -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O3 -Os -march=pentium-m -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="candy distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.iso88591"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US zh_CN zh_TW zh"
MAKEOPTS="-j2"
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 a52 aac aalib accessibility acl acpi alsa ao apache2 bash-completion berkdb bluetooth branding bzip2 cairo caps cdr cgi cjk cli cracklib crypt cscope cups curl cvs dbus dga djvu doc dri dts dvd dvdr dvdread eds emacs emboss encode esd evo examples exif expat fam fbcon ffmpeg fftw firefox flac fontconfig foomaticdb fortran ftp gcj gd gdbm geoip gif glut gmp gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal howl iconv idn imagemagick imap immqt-bc innodb ipv6 isdnlog java jbig jpeg jpeg2k kerberos kpathsea latex lcms ldap libnotify libsamplerate lua lzo mad matroska mbox midi mikmod mmap mmx mng motif mozilla mp3 mpeg mudflap mule ncurses neXt nls nntp nptl nptlonly nsplugin offensive ogg opengl openmp pam pcre pdf perl pic plotutils png ppds pppd profile python qt3support quicktime radius readline reflection sasl sdl session skey slp sndfile socks5 speex spell spl sqlite sse sse2 ssl startup-notification subversion svg symlink sysfs syslog tcl tcpd test theora threads tiff tk truetype unicode usb v4l vorbis wifi win32codecs wmf x264 x86 xattr xinerama xinetd xml xorg xpm xprint xscreensaver xv xvid zeroconf 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 mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias asis auth_basic auth_digest authn_alias authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cern_meta charset_lite dav dav_fs dav_lock dbd deflate dir disk_cache dumpio env expires ext_filter file_cache filter headers ident imagemap include info log_config log_forensic logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_http rewrite setenvif speling status substitute unique_id userdir usertrack version vhost_alias" CAMERAS="adc65 agfa_cl20 aox barbie canon casio_qv clicksmart310 digigr8 digita dimagev dimera3500 directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica konica_qm150 largan lg_gsm mars mustek panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 pccam300 pccam600 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ptp2 ricoh ricoh_g3 samsung sierra sipix_blink sipix_blink2 sipix_web2 smal sonix sony_dscf1 sony_dscf55 soundvision spca50x sq905 stv0674 stv0680 sx330z template toshiba_pdrm11" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US zh_CN zh_TW zh" USERLAND="GNU" VIDEO_CARDS="vesa radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Reproducible: Always
Comment 1 Yuan MEI 2008-08-02 11:33:35 UTC
Created attachment 161984 [details]
build.log
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2008-08-02 14:20:38 UTC
When you build it again, does it segfault in the same line?
Comment 3 Yuan MEI 2008-08-02 14:46:42 UTC
Yes, it happens at the same line when re-building.
Comment 4 Sujeet Akula 2008-08-07 21:10:13 UTC
This fails for me also, but I have a syntax error in the source, and not a segfault. You will notice, however, that my error is for the exact same object.


[ebuild     U ] sci-physics/root-5.20.00 [5.18.00d] USE="cern doc math mysql python qt4 ssl -afs -clarens% -debug -fftw -geant4% -kerberos -ldap -odbc -oracle% -postgres -ruby -xml -xrootd (-pch%) (-qt3%*) (-truetype%*)"




i686-pc-linux-gnu-g++ -O2 -march=athlon-xp -fomit-frame-pointer -pipe  -pipe -m32 -Wall -W -Woverloaded-virtual -fPIC -Iinclude -DR__HAVE_CONFIG -pthread -I. -Icint/cint/inc  -o cint/reflex/src/G__Reflex.o -c cint/reflex/src/G__Reflex.cxx
cint/reflex/src/G__Reflex.cxx: In function 'void G__set_cpp_environmentG__Reflex()':
cint/reflex/src/G__Reflex.cxx:83: error: expected `}' at end of input
make: *** [cint/reflex/src/G__Reflex.o] Error 1
make: *** Waiting for unfinished jobs....
rm core/utils/src/RStl_tmp.cxx core/utils/src/rootcint_tmp.cxx
 *
 * ERROR: sci-physics/root-5.20.00 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3499:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed";
 *  The die message:
 *   emake failed





Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r9 i686)
=================================================================
System uname: 2.6.22-gentoo-r9 i686 AMD Athlon(tm)
Timestamp of tree: Thu, 07 Aug 2008 09:00:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
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=athlon-xp -fomit-frame-pointer -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/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/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://128.104.70.13/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/"
LINGUAS="en en_US hi hi_IN"
MAKEOPTS="-j2"
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.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib acl acpi aim alsa apache2 avi bash-completion bitmap-fonts bzip2 cairo cddb cdr cli cpudetection cracklib crypt cscope cups dbus divx4linux djvu dri dts dvd dvdr dvdread encode esd ethereal fbcon ffmpeg firefox flac flash fortran gdbm gif gnome gpm gtk gtk2 hal iconv id3tag ieee1394 imagemagick imap imlib imlib2 ipv6 isdnlog java jikes jpeg jpeg2k kde lame libaudiofile libcaca libwww lm_sensors mad madwifi maildir midi mmx mmxext mozilla mp3 mpeg msn mudflap mysql ncurses nls nocd nptl nptlonly nsplugin nvidia offensive ogg opengl openmp oss pam pango pcre pdf pdflib perl png pppd python qt4 quicktime readline reflection session shorten shout sockets socks5 spell spl sse ssl svg tcpd tetex tiff truetype truetype-fonts twolame type1-fonts unicode valias vcd vhosts vorbis win32codecs wmf wxwindows x264 x86 xine xorg xscreensaver xv xvid yahoo zlib" ALSA_CARDS="emu10k1 usb-audio via82xx" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so 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 en_US hi hi_IN" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 5 Markus Dittrich (RETIRED) gentoo-dev 2008-08-08 14:35:39 UTC
(In reply to comment #0)
> CFLAGS="-O3 -Os -march=pentium-m -fomit-frame-pointer -pipe"

Works fine here with gcc-4.1.2.
Could you please try with "-O2 -march=pentium-m -fomit-frame-pointer -pipe"?

Thanks,
Markus
Comment 6 Yuan MEI 2008-08-08 16:23:52 UTC
Created attachment 162525 [details]
Build Log with -O2

Build with -O2
Comment 7 Yuan MEI 2008-08-08 16:24:59 UTC
It fails still

make: *** [cint/reflex/src/G__Reflex.cxx] Segmentation fault
make: *** Deleting file `cint/reflex/src/G__Reflex.cxx'
make: *** Waiting for unfinished jobs....

(In reply to comment #5)
> (In reply to comment #0)
> > CFLAGS="-O3 -Os -march=pentium-m -fomit-frame-pointer -pipe"
> 
> Works fine here with gcc-4.1.2.
> Could you please try with "-O2 -march=pentium-m -fomit-frame-pointer -pipe"?
> 
> Thanks,
> Markus
> 

Comment 8 Lorenzo Ferretti 2008-08-08 17:59:14 UTC
Created attachment 162536 [details]
Error confirmed

Repeated installations with system fully updated and ready.
Source syntax error in the source file confirmed: cint/reflex/src/G__Reflex.cxx:83: error: expected `}' at end of input
Comment 9 Markus Dittrich (RETIRED) gentoo-dev 2008-08-09 12:52:49 UTC
Unfortunately, I still can't reproduce this on any of
my dev boxes. Just to make sure, could you all please
try with MAKEOPTS="-j1" just to rule out any
parallel make interference. 
 
@Lorenzo:

Could you please post your emerge --info. If you have
MAKEOPTS set to more than -j1 please try -j1. If you hit
the same problem with -j1 could you please post the first few
hundred lines of that faulty G__Reflex.cxx (please make
sure that the line that gcc complains about is contained
within the snippet).

Thanks,
Markus
Comment 10 Sujeet Akula 2008-08-13 22:54:49 UTC

I have tried to build it again, with MAKEOPTS="-j1" and I have gotten the same error. Would you like me to post the source file?
Comment 11 Markus Dittrich (RETIRED) gentoo-dev 2008-08-14 12:40:15 UTC
(In reply to comment #10)
> 
> I have tried to build it again, with MAKEOPTS="-j1" and I have gotten the same
> error. Would you like me to post the source file?
> 

Yes, please :) 
Have you tried building it with gcc-4.3?

Thanks,
Markus
Comment 12 Stefano Takekawa 2008-08-18 19:57:25 UTC
Same problem here:

[ebuild     U ] sci-physics/root-5.20.00 [5.18.00d] USE="cern fftw math python qt4 ssl xml -afs -clarens% -debug -doc -geant4% -kerberos -ldap -mysql -odbc -oracle% -postgres -ruby -xrootd (-pch%*) (-qt3%) (-truetype%*)" 0 kB [1]

core/utils/src/rootcint_tmp -cint -f cint/reflex/src/G__Reflex.cxx -c -p -Icint/reflex/inc cint/reflex/inc/Reflex/Any.h cint/reflex/inc/Reflex/Base.h cint/reflex/inc/Reflex/Callback.h cint/reflex/inc/Reflex/Kernel.h cint/reflex/inc/Reflex/Member.h cint/reflex/inc/Reflex/MemberTemplate.h cint/reflex/inc/Reflex/Object.h cint/reflex/inc/Reflex/PluginService.h cint/reflex/inc/Reflex/PropertyList.h cint/reflex/inc/Reflex/Scope.h cint/reflex/inc/Reflex/Tools.h cint/reflex/inc/Reflex/Type.h cint/reflex/inc/Reflex/TypeTemplate.h cint/reflex/inc/Reflex/ValueObject.h cint/reflex/inc/Reflex/Builder/ClassBuilder.h cint/reflex/inc/Reflex/Builder/CollectionProxy.h cint/reflex/inc/Reflex/Builder/DictSelection.h cint/reflex/inc/Reflex/Builder/EnumBuilder.h cint/reflex/inc/Reflex/Builder/FunctionBuilder.h cint/reflex/inc/Reflex/Builder/NamespaceBuilder.h cint/reflex/inc/Reflex/Builder/NewDelFunctions.h cint/reflex/inc/Reflex/Builder/TypeBuilder.h cint/reflex/inc/Reflex/Builder/TypedefBuilder.h cint/reflex/inc/Reflex/Builder/UnionBuilder.h cint/reflex/inc/Reflex/Builder/VariableBuilder.h cint/reflex/inc/LinkDef.h
core/utils/src/rootcint_tmp -f cint/cint/lib/dll_stl/rootcint_vector.cxx -c \
           vector \
           core/metautils/src/vectorLinkdef.h
core/utils/src/rootcint_tmp -f cint/cint/lib/dll_stl/rootcint_list.cxx -c \
           list \
           core/metautils/src/listLinkdef.h
Error: string() declared but not defined prec_stl/list:187:
core/utils/src/rootcint_tmp -f cint/cint/lib/dll_stl/rootcint_deque.cxx -c \
           deque \
           core/metautils/src/dequeLinkdef.h
core/utils/src/rootcint_tmp -f cint/cint/lib/dll_stl/rootcint_map.cxx -c \
           map \
           core/metautils/src/mapLinkdef.h
core/utils/src/rootcint_tmp -f cint/cint/lib/dll_stl/rootcint_map2.cxx -c \
           map \
           core/metautils/src/map2Linkdef.h
Error: string() declared but not defined prec_stl/vector:422:
make: *** [cint/reflex/src/G__Reflex.cxx] Segmentation fault
make: *** Deleting file `cint/reflex/src/G__Reflex.cxx'
make: *** Waiting for unfinished jobs....
rm core/utils/src/RStl_tmp.cxx core/utils/src/rootcint_tmp.cxx
 * 
 * ERROR: sci-physics/root-5.20.00 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3512:  Called die
 * The specific snippet of code:
 *       emake || 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/sci-physics/root-5.20.00/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sci-physics/root-5.20.00/temp/environment'.
 * This ebuild is from an overlay: '/usr/local/overlays/my_portage/'

compass04al ~ # emerge --info
Portage 2.1.4.4 (default/linux/x86/2008.0/desktop, gcc-3.4.6, glibc-2.5-r4, 2.6.25-gentoo-r6 i686)
=================================================================
System uname: 2.6.25-gentoo-r6 i686 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Timestamp of tree: Sun, 17 Aug 2008 16:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13, 2.5.2-r6
dev-python/pycrypto: 2.0.1-r6
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.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
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=i686 -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"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS=""
DISTDIR="/mnt/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="buildpkg candy ccache distcc distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="it_IT.utf8"
LC_ALL="it_IT.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="it en"
MAKEOPTS="-j6"
PKGDIR="/mnt/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/overlays/my_portage"
SYNC="rsync://compasstore01/gentoo-portage"
USE="X a52 aac acl acpi alsa apache2 arts asf audiofile avi berkdb bluetooth branding browserplugin bzip2 bzlib cairo cdr cli cracklib crypt cups dbus divx4linux djvu dmi dri dvd dvdr dvdread dvi eds emacs emboss encode evo extensions fam fame fbcon fbcondecor ffmpeg fftw firefox flac foomaticdb fortran gdbm gif gimp glibc-compat20 glitz gnome gpm gs gstreamer gtk gtk2 hal i8x0 iconv id3tag imagemagick imlib intel isdnlog ithreads java javascript jpeg kde kdeenablefinal latex libnotify lm_sensors logrotate lzo mad midi mikmod mjpeg mmx mmxext mng motif mp3 mpeg mudflap musicbrainz mysql nautilus ncurses network nis nls nopie nossp nptl nptlonly nsplugin ogg oggvorbis opengl openmp pam pch pcre pdf pdflib perl pic png ppds pppd python qt qt3 qt3support qt4 quicktime quota rdesktop readline real reflection samba sane sdl session smp sndfile spell spl sse sse2 ssl startup-notification svg svga sysfs syslog tcl tetex theora threads tiff tk truetype twolame unicode usb userlocales utempter vcd vorbis win32codecs wma wmf wxwindows x86 xcomposite xemacs xforms xine xml xorg xpm xscreensaver xulrunner 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it en" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa fbdev"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 13 Markus Dittrich (RETIRED) gentoo-dev 2008-08-19 13:02:20 UTC
(In reply to comment #12)
> Same problem here:
> 
> [ebuild     U ] sci-physics/root-5.20.00 [5.18.00d] USE="cern fftw math python
> qt4 ssl xml -afs -clarens% -debug -doc -geant4% -kerberos -ldap -mysql -odbc
> -oracle% -postgres -ruby -xrootd (-pch%*) (-qt3%) (-truetype%*)" 0 kB [1]
> 

Any chance that you can try if it compiles with gcc-4.3*?

Thanks,
Markus

Comment 14 Stefano Takekawa 2008-08-20 09:00:05 UTC
(In reply to comment #13)
> (In reply to comment #12)
> > Same problem here:
> > 
> > [ebuild     U ] sci-physics/root-5.20.00 [5.18.00d] USE="cern fftw math python
> > qt4 ssl xml -afs -clarens% -debug -doc -geant4% -kerberos -ldap -mysql -odbc
> > -oracle% -postgres -ruby -xrootd (-pch%*) (-qt3%) (-truetype%*)" 0 kB [1]
> > 
> 
> Any chance that you can try if it compiles with gcc-4.3*?
> 
> Thanks,
> Markus
> 

I must have gcc-3.4 on all my prod pc to have SLC4-like systems :\ .

Comment 15 Markus Dittrich (RETIRED) gentoo-dev 2008-08-20 12:57:27 UTC
(In reply to comment #14)
> (In reply to comment #13)
> > (In reply to comment #12)
> > > Same problem here:
> > > 
> > > [ebuild     U ] sci-physics/root-5.20.00 [5.18.00d] USE="cern fftw math python
> > > qt4 ssl xml -afs -clarens% -debug -doc -geant4% -kerberos -ldap -mysql -odbc
> > > -oracle% -postgres -ruby -xrootd (-pch%*) (-qt3%) (-truetype%*)" 0 kB [1]
> > > 
> > 
> > Any chance that you can try if it compiles with gcc-4.3*?
> > 
> > Thanks,
> > Markus
> > 
> 
> I must have gcc-3.4 on all my prod pc to have SLC4-like systems :\ .
> 

Would it be possible to tar up the whole build directory in /var/tmp/portage
and post it somewhere? I'd like to have a look at the generated source 
files. If it would be possible to get remote access to one of the machines
that would be very helpful as well. Without being able to actually see what
is going on it is very difficult to figure out what's happening.

Thanks,
Markus 
Comment 16 Markus Dittrich (RETIRED) gentoo-dev 2008-08-24 23:01:16 UTC
Created attachment 163730 [details, diff]
patch disabling building of reflex library

The above patch to the ebuild disables building of the reflex
library and should hence get rid of the problems with G__Reflex.cxx.
Hopefully, this will allow you guys to at least install root but of 
course doesn't fix the problem itself. 

Best,
Markus
Comment 17 Sébastien Fabbro (RETIRED) gentoo-dev 2008-08-30 12:31:39 UTC
Hi,

I can't reproduce it on my amd64 box with either a amd64 (g++-4.1.2) or ~amd64 system (g++-4.3.1).
root-5.20.00-r1 currently in the science overlay for more testing includes a reflex use flag (enabled by default). Please test with and without. 
If you still encounter problems, could you file a bug upstream?

Thanks.

Comment 18 Sujeet Akula 2008-10-05 18:11:50 UTC
root-5.20.00-r1 builds for me with the reflex use flag disabled (it failed with the flag enabled).

As for the cause, I bet the other people who had the same error, have a legacy nvidia card, though this information was not provided.

Best,

Sujeet Akula

Comment 19 Peter Waller 2008-10-20 15:28:00 UTC
I worked around this problem by doing

emerge root

<crash>

cd /var/tmp/portage/.../work/
make

<no crash here>

ebuild root-5.20.00.ebuild merge

Seems to have worked.

Comment 20 tao 2008-12-06 11:24:16 UTC
(In reply to comment #19)

Couldn't this be permissions problem? I suppose you run emerge with FEATURES usersandbox, so build using emerge runs as user portage but when you run make manually, it runs as a root.
Comment 21 tao 2008-12-12 10:55:14 UTC
(In reply to comment #20)
> (In reply to comment #19)

I confirm that I've been able to finish compilation of root-5.20.00-r2 by running make right after compilation (run by paludis -i root) crashed with this:

CAUTION: tmpfile /tmp/.private/root/f0GvjE_cint.cxx can't open
sh: /tmp/.private/root/5DNRh8_cint: Permission denied
Error: external preprocessing failed. :0:
!!!Removing cint/reflex/src/G__Reflex.cxx cint/reflex/src/G__Reflex.h !!!
Error: core/utils/src/rootcint_tmp: error loading headers...
make: *** [cint/reflex/src/G__Reflex.cxx] Error 1

After successful run of DESTDIR=/var/tmp/paludis/sci-physics-root-5.20.00-r2/image/ make install in working directory I installed root with importare -i -l /var/tmp/paludis/sci-physics-root-5.20.00-r2/image/ sci-physics/root 5.20.00-r2
Comment 22 Sébastien Fabbro (RETIRED) gentoo-dev 2008-12-18 18:15:00 UTC
It also could be a distcc issue since all of you are using distcc. Could you test without distcc? I've just commited 5.20.00-r3 (and soon 5.22.00) if you want to give it a try. 
Comment 23 tao 2008-12-22 00:06:07 UTC
(In reply to comment #22)
I can confirm that this problem persists with 5.22 and _user*_ enabled. I don't use distcc.


Generating dictionary cint/reflex/src/G__Reflex.cxx...
CAUTION: tmpfile /tmp/.private/root/rs7FZe_cint.cxx can't open
sh: /tmp/.private/root/PlqBi3_cint: Permission denied
Error: external preprocessing failed. :0:
!!!Removing cint/reflex/src/G__Reflex.cxx cint/reflex/src/G__Reflex.h !!!
Error: core/utils/src/rootcint_tmp: error loading headers...
make: *** [cint/reflex/src/G__Reflex.cxx] Error 1
make: *** Waiting for unfinished jobs....
/usr/libexec/paludis/utils/emake: emake returned error 2


I'm trying with user* stuff disabled right now. I suppose it will go fine, because 5.20 finished successfully too with user* disabled.
Comment 24 Sébastien Fabbro (RETIRED) gentoo-dev 2009-01-20 18:39:46 UTC
> I'm trying with user* stuff disabled right now. I suppose it will go fine,
> because 5.20 finished successfully too with user* disabled.


I just tried with all user* stuff enabled and still can compile root-5.22.00 fine.
So I wonder what could cause this.
Comment 25 Andrés Goens 2009-02-04 23:32:09 UTC
(In reply to comment #24)
> > I'm trying with user* stuff disabled right now. I suppose it will go fine,
> > because 5.20 finished successfully too with user* disabled.
> 
> 
> I just tried with all user* stuff enabled and still can compile root-5.22.00
> fine.
> So I wonder what could cause this.
> 

Confirming, I had the bug with both root-5.22.0 and 5.22.00-r3 on a fresh install, but with gcc-4.2 (x86 machine). emerging without the reflex useflag "fixed" it, i.e. it compiled, but I guess you can't really call that a fix becuase the problem is still there.
Comment 26 Sébastien Fabbro (RETIRED) gentoo-dev 2009-06-24 07:13:45 UTC
Does anyone still face this bug after a gcc-4.3.2 (now stable) upgrade?
Comment 27 Ken Rossato 2009-06-24 08:42:53 UTC
(In reply to comment #26)
> Does anyone still face this bug after a gcc-4.3.2 (now stable) upgrade?
> 

No, I'm fine.  IIRC (and this was a long time ago), 4.3.0 was still problematic, but 4.3.2 made it go away.
Comment 28 Sébastien Fabbro (RETIRED) gentoo-dev 2009-06-25 04:14:54 UTC
Closing bug. Please re-open if you still encounter this one with gcc >= 4.3.2.
Thanks.