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

Bug 265402

Summary: dev-util/boost-build-1.35.0-r1 fails to build
Product: Gentoo Linux Reporter: Maciej Piechotka <uzytkownik2>
Component: New packagesAssignee: Tiziano Müller (RETIRED) <dev-zero>
Status: RESOLVED DUPLICATE    
Severity: normal CC: andre, cpp+disabled, jer, navid.zamani, phosphan
Priority: High    
Version: 2008.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Test build for the ebuild
emerge --info for the successful build case
dev-util:boost-build-1.35.0-r1:20090408-202843.log [hppa,fail]
Build log
emerge --info output
My “emerge --info”, for a failing “dev-util/boost-build-1.35.0-r2”.

Description Maciej Piechotka 2009-04-08 07:21:21 UTC
dev-util/boost-build-1.35.0-r1 fails to build:
>>> Emerging (1 of 2) dev-util/boost-build-1.35.0-r1
 * boost_1_35_0.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                  [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
>>> Unpacking source...
>>> Unpacking boost_1_35_0.tar.bz2 to /var/tmp/portage/dev-util/boost-build-1.35.0-r1/work
 * Applying 1.35.0-fix_broken_icu_build.patch ...                         [ ok ]
>>> Source unpacked in /var/tmp/portage/dev-util/boost-build-1.35.0-r1/work
>>> Compiling source in /var/tmp/portage/dev-util/boost-build-1.35.0-r1/work/boost_1_35_0/tools ...
###
### Using 'cc' toolset.
###
rm -rf bootstrap
mkdir bootstrap
ccache cc -o bootstrap/jam0 -Os -march=pentium4 -pipe -mfpmath=sse -pipe -fomit-frame-pointer -fno-strict-aliasing -Wl,-O1 command.c compile.c debug.c expand.c glob.c hash.c hdrmacro.c headers.c jam.c jambase.c jamgram.c lists.c make.c make1.c newstr.c option.c output.c parse.c pathunix.c pathvms.c regexp.c rules.c scan.c search.c subst.c timestamp.c variable.c modules.c strings.c filesys.c builtins.c pwd.c class.c native.c w32_getreg.c modules/set.c modules/path.c modules/regex.c modules/property-set.c modules/sequence.c modules/order.c execunix.c fileunix.c
./bootstrap/jam0 -f build.jam --toolset=cc --toolset-root= clean
...found 1 target...
...updating 1 target...
...updated 1 target...
./bootstrap/jam0 -f build.jam --toolset=cc --toolset-root= --with-python
...found 47 targets...
...updating 2 targets...
[MKDIR] bin.linuxx86
[COMPILE] bin.linuxx86/bjam
/bin/sh: line 1: command.c: command not found

           command.c compile.c debug.c expand.c glob.c hash.c hcache.c headers.c hdrmacro.c jam.c jambase.c jamgram.c lists.c make.c make1.c mem.c newstr.c option.c output.c parse.c regexp.c rules.c scan.c search.c subst.c w32_getreg.c timestamp.c variable.c modules.c strings.c filesys.c builtins.c pwd.c class.c native.c modules/set.c modules/path.c modules/regex.c modules/property-set.c modules/sequence.c modules/order.c execunix.c fileunix.c pathunix.c

...failed [COMPILE] bin.linuxx86/bjam...
...failed updating 1 target...
...updated 1 target...
 * 
 * ERROR: dev-util/boost-build-1.35.0-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2691:  Called die
 * The specific snippet of code:
 *           LIBS=${LDFLAGS} CC=$(tc-getCC) ./build.sh ${toolset} $(use_with python) || die "building bjam failed";
 *  The die message:
 *   building bjam 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-util/boost-build-1.35.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-util/boost-build-1.35.0-r1/temp/environment'.
 * 

>>> Failed to emerge dev-util/boost-build-1.35.0-r1, Log file:

>>>  '/var/tmp/portage/dev-util/boost-build-1.35.0-r1/temp/build.log'

 * Messages for package dev-util/boost-build-1.35.0-r1:

 * 
 * ERROR: dev-util/boost-build-1.35.0-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2691:  Called die
 * The specific snippet of code:
 *           LIBS=${LDFLAGS} CC=$(tc-getCC) ./build.sh ${toolset} $(use_with python) || die "building bjam failed";
 *  The die message:
 *   building bjam 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-util/boost-build-1.35.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-util/boost-build-1.35.0-r1/temp/environment'.
 * 


Reproducible: Always




Portage 2.1.6.7 (hardened/linux/x86, gcc-3.4.6, glibc-2.8_p20080602-r1, 2.6.28-hardened-r2 i686)
=================================================================
System uname: Linux-2.6.28-hardened-r2-i686-Intel-R-_Pentium-R-_4_CPU_2.60GHz-with-glibc2.3.2
Timestamp of tree: Wed, 08 Apr 2009 07:00:16 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-lang/python:     2.4.4-r13, 2.5.2-r7
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.63
sys-devel/automake:  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.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium4 -pipe -mfpmath=sse -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /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/terminfo /etc/udev/rules.d"
CXXFLAGS="-Os -march=pentium4 -pipe -mfpmath=sse -pipe -fomit-frame-pointer -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ http://gentoo.lagis.at/ http://gentoo.inode.at/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="acl atm avahi berkdb caps cgi cli cracklib crypt cups dbus dri fastcgi gdbm hardened iconv ipv6 isdnlog mdnsresponder-compat midi mmx mudflap nat ncurses nptl nptlonly openmp pam pcre perl php pic postgres pppd python readline reflection session sharedmem spl sse sse2 ssl tcpd unicode urandom webdav x86 xattr xorg 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt intel 	mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage 	siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware 	voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Göktürk Yüksek archtester gentoo-dev 2009-04-08 18:00:30 UTC
Created attachment 187705 [details]
Test build for the ebuild

In my case it successfully built the package, i typed 'eselect boost-build-1.35.0-r1.ebuild test" to test it.
Comment 2 Göktürk Yüksek archtester gentoo-dev 2009-04-08 18:02:51 UTC
Created attachment 187707 [details]
emerge --info for the successful build case
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-08 18:25:05 UTC
uzytkownik, please attach the build.log and the config.log of the failed emerge to this bug.
Comment 4 Maciej Piechotka 2009-04-08 19:32:21 UTC
(In reply to comment #3)
> uzytkownik, please attach the build.log

>>> Emerging (1 of 2) dev-util/boost-build-1.35.0-r1
 * boost_1_35_0.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                  [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
>>> Unpacking source...
>>> Unpacking boost_1_35_0.tar.bz2 to /var/tmp/portage/dev-util/boost-build-1.35.0-r1/work
 * Applying 1.35.0-fix_broken_icu_build.patch ...                         [ ok ]
>>> Source unpacked in /var/tmp/portage/dev-util/boost-build-1.35.0-r1/work
>>> Compiling source in /var/tmp/portage/dev-util/boost-build-1.35.0-r1/work/boost_1_35_0/tools ...
###
### Using 'cc' toolset.
###
rm -rf bootstrap
mkdir bootstrap
ccache cc -o bootstrap/jam0 -Os -march=pentium4 -pipe -mfpmath=sse -pipe -fomit-frame-pointer -fno-strict-aliasing -Wl,-O1 command.c compile.c debug.c expand.c glob.c hash.c hdrmacro.c headers.c jam.c jambase.c jamgram.c lists.c make.c make1.c newstr.c option.c output.c parse.c pathunix.c pathvms.c regexp.c rules.c scan.c search.c subst.c timestamp.c variable.c modules.c strings.c filesys.c builtins.c pwd.c class.c native.c w32_getreg.c modules/set.c modules/path.c modules/regex.c modules/property-set.c modules/sequence.c modules/order.c execunix.c fileunix.c
./bootstrap/jam0 -f build.jam --toolset=cc --toolset-root= clean
...found 1 target...
...updating 1 target...
...updated 1 target...
./bootstrap/jam0 -f build.jam --toolset=cc --toolset-root= --with-python
...found 47 targets...
...updating 2 targets...
[MKDIR] bin.linuxx86
[COMPILE] bin.linuxx86/bjam
/bin/sh: line 1: command.c: command not found

           command.c compile.c debug.c expand.c glob.c hash.c hcache.c headers.c hdrmacro.c jam.c jambase.c jamgram.c lists.c make.c make1.c mem.c newstr.c option.c output.c parse.c regexp.c rules.c scan.c search.c subst.c w32_getreg.c timestamp.c variable.c modules.c strings.c filesys.c builtins.c pwd.c class.c native.c modules/set.c modules/path.c modules/regex.c modules/property-set.c modules/sequence.c modules/order.c execunix.c fileunix.c pathunix.c

...failed [COMPILE] bin.linuxx86/bjam...
...failed updating 1 target...
...updated 1 target...

> and the config.log of the failed emerge
> to this bug.
> 

Isn't config.log autotools (autoconf) specific? I have no such file.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2009-04-08 21:14:39 UTC
Created attachment 187729 [details]
dev-util:boost-build-1.35.0-r1:20090408-202843.log [hppa,fail]

Confirmed.
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2009-04-08 21:16:07 UTC
Portage 2.1.6.11 (default/linux/hppa/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.29.1-JeR parisc)
=================================================================
System uname: Linux-2.6.29.1-JeR-parisc-PA8700_-PCX-W2-with-glibc2.2
Timestamp of tree: Wed, 08 Apr 2009 15:15:03 +0000
distcc 3.0 hppa2.0-unknown-linux-gnu [enabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.2-r7
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.3-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
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.27-r2
ACCEPT_KEYWORDS="hppa"
CBUILD="hppa2.0-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mschedule=8000 -march=2.0 -g -ggdb -Wall"
CHOST="hppa2.0-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/fax /usr/share/config /var/bind /var/spool/fax/etc /var/spool/torque /var/www/localhost/htdocs/wordpress/wp-config.php"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -mschedule=8000 -march=2.0 -g -ggdb -Wall"
DISTDIR="/keeps/gentoo/distfiles"
FEATURES="autoaddcvs buildpkg cvs distcc distlocks fixpackages notitles parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS=" http://gentoo.tiscali.nl/ http://mirror.muntinternet.net/pub/gentoo/ http://mirror.cambrium.nl/pub/os/linux/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo/ "
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en nl he"
MAKEOPTS="-j5"
PKGDIR="/keeps/gentoo/packages/elmer"
PORTAGE_CONFIGROOT="/"
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="/mnt/alt/portage-tmp"
PORTDIR="/keeps/gentoo/portage"
PORTDIR_OVERLAY="/keeps/gentoo/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip X Xaw3d a52 aac aalib accessibility ads agg alsa amr amrnb amrwb ao aoss apache2 ares asf async asyncns audiofile audit automount avfs bash-completion berkdb bidi bittorrent bl bluetooth bzip2 c++ cairo caps captury catalogs cblas cdb cddb cdparanoia cdr chardet cjk clarens cli cracklib crypt cups curl custom-cflags custom-cxxflags cxx dbi dbtool dbus device-mapper dga dia dirac directfb djbfft domainkeys dri drm dts dv dvd dvdr dvdread dxr3 edl elf emacs enca encode esd examples exif expat fame fastbuild fastcgi fbcon ffmpeg filter flac fontconfig fontforge foomaticdb fortran ftp gadu galago gcrypt gd gdbm geant4 geoip ggi gif gimp gimpprint glep glib glut gmp gnome gnutls gphoto2 gpm gs gsl gsm gtk gtk2 gtkhtml guidexml hal hepmc hesiod hppa ical icecast iconv icu idea idn imagemagick imlib immqt-bc inquisitio ipv6 isc isdnlog ithreads jack javascript jbig jingle jpeg jpeg2k judy kde kerberos kpathsea lapack latex lcms ldap leim libass libcaca libnotify libsamplerate libwww live lm_sensors logrotate logwatch lua lzo mad manhole matroska mbrola memcache metis mhash midi mikmod mmap mng modplug motif mozbranding mp3 mplayer mssql mudflap musepack mysql nas nautilus ncurses netpbm network-cron nfconntrack nfs nls nntp nptl nptlonly nsplugin ntlm offensive ogg openal openexr opengl openmp oss ots overlays pam pango pbs pcre pdf pdo-external perl php plotutils plugins png portage portaudio postgres povray ppds pppd pulseaudio python pyzord qdbm qt3 qt3support qt4 quotas raw readline recode reflection rle rpc rrdtool rtc ruby samba sasl scanner schroedinger scim sdl seamonkey server session sid slang slp sms sndfile snmp soundex speex spell spl sqlite srt ssh ssl startup-notification subtitles subversion suhosin supernodal svg swat sysfs syslog talkfilters tcl tcpd test tftp tga theora threads thunar-vfs tidy tiff timidity tk tools truetype twolame udev unicode unzip urandom usb userlocales utempter utf v4l v4l2 vanim vcd vidix vim-syntax vorbis wavpack webdav webinstall webkit winbind wlan wma wmf xanim xcb xchattext xcomposite xface xml xml2 xmp xmpi xorg xpm xrandr xscreensaver xsettings xulrunner xv xvid xvmc zip zip-external zlib" ALSA_CARDS="ad1889 usb-audio" 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_ftp proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en nl he" USERLAND="GNU" VIDEO_CARDS="stifb fbdev matrox"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 7 Tiziano Müller (RETIRED) gentoo-dev 2009-04-08 21:39:37 UTC
do you mind trying with 1.35.0-r2 ?
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2009-04-09 00:40:43 UTC
(In reply to comment #7)
> do you mind trying with 1.35.0-r2 ?

No problem. Will you be removing the package.mask entry soon?
Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2009-04-09 01:18:04 UTC
Same error.
Comment 10 André Terpstra 2009-07-16 20:43:19 UTC
Hit this error today with boost-build-1.39.0. Strange since I have not seen this error before (I now have 1.37.0 installed).
Comment 11 André Terpstra 2009-07-16 20:46:24 UTC
Correction, although the error messages look the same there seems to be a small difference:

ZeusGentoo2 ~ # tail -n 39 /var/log/portage/dev-util\:boost-build-1.39.0\:20090716-202539.log
expand.c:85: warning: field precision should have type 'int', but argument 2 has type 'long int'
variable.c: In function 'var_string_to_file':
variable.c:408: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
variable.c:409: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
./bootstrap/jam0 -f build.jam --toolset=cc --toolset-root= clean
...found 1 target...
...updating 1 target...
...updated 1 target...
./bootstrap/jam0 -f build.jam --toolset=cc --toolset-root= --with-python
...found 47 targets...
...updating 2 targets...
[MKDIR] bin.linuxx86_64
[COMPILE] bin.linuxx86_64/bjam
x86_64-pc-linux-gnu-gcc: : No such file or directory
expand.c: In function 'var_expand':
expand.c:85: warning: field precision should have type 'int', but argument 2 has type 'long int'
variable.c: In function 'var_string_to_file':
variable.c:408: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
variable.c:409: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result

    "x86_64-pc-linux-gnu-gcc"   -o bin.linuxx86_64/bjam "-DNDEBUG" "-DOPT_HEADER_CACHE_EXT" "-DOPT_GRAPH_DEBUG_EXT" "-DOPT_SEMAPHORE" "-DOPT_AT_FILES" "-DOPT_DEBUG_PROFILE" "-DOPT_FIX_TARGET_VARIABLES_EXT" "-DOPT_IMPROVED_PATIENCE_EXT" "-DYYSTACKSIZE=5000" "" "-O2" "-march=native" "-fomit-frame-pointer" "-pipe" "-fno-strict-aliasing" "-O" "-Wl,-O1" "command.c" "compile.c" "debug.c" "expand.c" "glob.c" "hash.c" "hcache.c" "headers.c" "hdrmacro.c" "jam.c" "jambase.c" "jamgram.c" "lists.c" "make.c" "make1.c" "mem.c" "newstr.c" "option.c" "output.c" "parse.c" "regexp.c" "rules.c" "scan.c" "search.c" "subst.c" "w32_getreg.c" "timestamp.c" "variable.c" "modules.c" "strings.c" "filesys.c" "builtins.c" "pwd.c" "class.c" "native.c" "modules/set.c" "modules/path.c" "modules/regex.c" "modules/property-set.c" "modules/sequence.c" "modules/order.c" "execunix.c" "fileunix.c" "pathunix.c"

...failed [COMPILE] bin.linuxx86_64/bjam...
...failed updating 1 target...
...updated 1 target...
 *
 * ERROR: dev-util/boost-build-1.39.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2815:  Called die
 * The specific snippet of code:
 *           LIBS=${LDFLAGS} CC=$(tc-getCC) ./build.sh ${toolset} $(use_with python) || die "building bjam failed";
 *  The die message:
 *   building bjam failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/dev-util:boost-build-1.39.0:20090716-202539.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-util/boost-build-1.39.0/temp/environment'.
 *
Z
Comment 12 Tiziano Müller (RETIRED) gentoo-dev 2009-07-17 06:22:49 UTC
@André: can you please try to reset your gcc symlink using gcc-config?
Comment 13 André Terpstra 2009-07-17 08:47:12 UTC
It was already OK:
ZeusGentoo2 ~ # gcc-config -l
 [1] x86_64-pc-linux-gnu-4.3.3 *
ZeusGentoo2 ~ # gcc-config 1    
* Switching native-compiler to x86_64-pc-linux-gnu-4.3.3...                                                                                                                                                     [ ok ]
Resetting it doesn't help:
ZeusGentoo2 ~ # emerge -uvND world                   

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  NS   ] dev-util/boost-build-1.39.0 [1.37.0] USE="python -examples" 0 kB
[ebuild  NS   ] dev-libs/boost-1.39.0 [1.37.0-r1] USE="doc eselect python -debug -expat -icu -mpi -tools" 0 kB

Total: 2 packages (2 in new slots), Size of downloads: 0 kB


>>> Verifying ebuild manifests

>>> Starting parallel fetch

>>> Emerging (1 of 2) dev-util/boost-build-1.39.0
 * boost_1_39_0.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                                        [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                                                           [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                                                          [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                                         [ ok ]
>>> Unpacking source...                                                                                                                                                                                              
>>> Source unpacked in /var/tmp/portage/dev-util/boost-build-1.39.0/work                                                                                                                                             
>>> Preparing source in /var/tmp/portage/dev-util/boost-build-1.39.0/work/boost_1_39_0/tools ...                                                                                                                     
>>> Source prepared.                                                                                                                                                                                                 
>>> Configuring source in /var/tmp/portage/dev-util/boost-build-1.39.0/work/boost_1_39_0/tools ...                                                                                                                   
>>> Source configured.                                                                                                                                                                                                
>>> Compiling source in /var/tmp/portage/dev-util/boost-build-1.39.0/work/boost_1_39_0/tools ...                                                                                                                      
###                                                                                                                                                                                                                   
### Using 'cc' toolset.                                                                                                                                                                                               
###                                                                                                                                                                                                                   
rm -rf bootstrap                                                                                                                                                                                                      
mkdir bootstrap                                                                                                                                                                                                       
x86_64-pc-linux-gnu-gcc -o bootstrap/mkjambase0 -O2 -march=native -fomit-frame-pointer -pipe -fno-strict-aliasing -Wl,-O1 mkjambase.c                                                                                 
./bootstrap/mkjambase0 jambase.c Jambase                                                                                                                                                                              
x86_64-pc-linux-gnu-gcc -o bootstrap/jam0 -O2 -march=native -fomit-frame-pointer -pipe -fno-strict-aliasing -Wl,-O1 command.c compile.c debug.c expand.c glob.c hash.c hdrmacro.c headers.c jam.c jambase.c jamgram.c lists.c make.c make1.c newstr.c option.c output.c parse.c pathunix.c pathvms.c regexp.c rules.c scan.c search.c subst.c timestamp.c variable.c modules.c strings.c filesys.c builtins.c pwd.c class.c native.c w32_getreg.c modules/set.c modules/path.c modules/regex.c modules/property-set.c modules/sequence.c modules/order.c execunix.c fileunix.c                                                                                    
expand.c: In function 'var_expand':                                                                                                                                                                                   
expand.c:85: warning: field precision should have type 'int', but argument 2 has type 'long int'                                                                                                                      
variable.c: In function 'var_string_to_file':                                                                                                                                                                         
variable.c:408: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result                                                                                                                
variable.c:409: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result                                                                                                                
./bootstrap/jam0 -f build.jam --toolset=cc --toolset-root= clean                                                                                                                                                      
...found 1 target...                                                                                                                                                                                                  
...updating 1 target...                                                                                                                                                                                               
...updated 1 target...                                                                                                                                                                                                
./bootstrap/jam0 -f build.jam --toolset=cc --toolset-root= --with-python                                                                                                                                              
...found 47 targets...                                                                                                                                                                                                
...updating 2 targets...                                                                                                                                                                                              
[MKDIR] bin.linuxx86_64                                                                                                                                                                                               
[COMPILE] bin.linuxx86_64/bjam                                                                                                                                                                                        
x86_64-pc-linux-gnu-gcc: : No such file or directory                                                                                                                                                                  
expand.c: In function 'var_expand':
expand.c:85: warning: field precision should have type 'int', but argument 2 has type 'long int'
variable.c: In function 'var_string_to_file':
variable.c:408: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
variable.c:409: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result

    "x86_64-pc-linux-gnu-gcc"   -o bin.linuxx86_64/bjam "-DNDEBUG" "-DOPT_HEADER_CACHE_EXT" "-DOPT_GRAPH_DEBUG_EXT" "-DOPT_SEMAPHORE" "-DOPT_AT_FILES" "-DOPT_DEBUG_PROFILE" "-DOPT_FIX_TARGET_VARIABLES_EXT" "-DOPT_IMPROVED_PATIENCE_EXT" "-DYYSTACKSIZE=5000" "" "-O2" "-march=native" "-fomit-frame-pointer" "-pipe" "-fno-strict-aliasing" "-O" "-Wl,-O1" "command.c" "compile.c" "debug.c" "expand.c" "glob.c" "hash.c" "hcache.c" "headers.c" "hdrmacro.c" "jam.c" "jambase.c" "jamgram.c" "lists.c" "make.c" "make1.c" "mem.c" "newstr.c" "option.c" "output.c" "parse.c" "regexp.c" "rules.c" "scan.c" "search.c" "subst.c" "w32_getreg.c" "timestamp.c" "variable.c" "modules.c" "strings.c" "filesys.c" "builtins.c" "pwd.c" "class.c" "native.c" "modules/set.c" "modules/path.c" "modules/regex.c" "modules/property-set.c" "modules/sequence.c" "modules/order.c" "execunix.c" "fileunix.c" "pathunix.c"

...failed [COMPILE] bin.linuxx86_64/bjam...
...failed updating 1 target...
...updated 1 target...
 *
 * ERROR: dev-util/boost-build-1.39.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2837:  Called die
 * The specific snippet of code:
 *           LIBS=${LDFLAGS} CC=$(tc-getCC) ./build.sh ${toolset} $(use_with python) || die "building bjam failed";
 *  The die message:
 *   building bjam failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/dev-util:boost-build-1.39.0:20090717-084427.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-util/boost-build-1.39.0/temp/environment'.
 *

>>> Failed to emerge dev-util/boost-build-1.39.0, Log file:

>>>  '/var/log/portage/dev-util:boost-build-1.39.0:20090717-084427.log'

 * Messages for package dev-util/boost-build-1.39.0:

 *
 * ERROR: dev-util/boost-build-1.39.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2837:  Called die
 * The specific snippet of code:
 *           LIBS=${LDFLAGS} CC=$(tc-getCC) ./build.sh ${toolset} $(use_with python) || die "building bjam failed";
 *  The die message:
 *   building bjam failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/dev-util:boost-build-1.39.0:20090717-084427.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-util/boost-build-1.39.0/temp/environment'.
 *

Could it be a typo ("x86_64-pc-linux-gnu-gcc: : No such file or directory ")??

Comment 14 Tiziano Müller (RETIRED) gentoo-dev 2009-07-17 09:50:54 UTC
@André: please add your emerge --info
@jer, @uzytkownik: can you please try without ccache, resp. distcc for once?
Comment 15 André Terpstra 2009-07-17 18:28:28 UTC
ZeusGentoo2 ~ # emerge --info
Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.10.1-r0, 2.6.30-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r2-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6750_@_2.66GHz-with-gentoo-2.0.1
Timestamp of tree: Fri, 17 Jul 2009 07:45:02 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p24
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.0
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS=" -O2 -march=native -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS=" -O2 -march=native -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=""
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://192.168.1.222/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="nl"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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://192.168.1.222/gentoo-portage"
USE="X acl acpi akonadi alsa amd64 berkdb bluetooth branding bzip2 cairo cdaudio cdr cleartype cli consolekit cracklib crypt cups dbus device-mapper dga directfb doc dri dvd dvdr dvdread eds emboss encode esd evo exif fam fat fbcon firefox floppy fortran gdbm gif glitz gphoto2 gpm gstreamer hal iconv ieee1394 ipv6 isdnlog jadetex java jpeg jpeg2k kde kde4 kdehiddenvisibility ldap libnotify lm_sensors logitech-mouse logrotate mad messenger midi mikmod mmx mng mp3 mp3tunes mp4 mpeg mudflap multilib mysql ncurses network-cron nls nptl nptlonly nsplugin ntfs offensive ogg opengl openmp pam pcre pdf perl phonon png ppds pppd python qt3 qt3support qt4 quicktime readline reflection reiser4 reiserfs sdl session sms spell spl sse sse2 ssl ssse3 startup-notification svg sysfs tcpd tiff toolbar truetype unicode usb utils visualization vorbis webkit winpopup xcb xcomposite xinerama xml xorg xscreensaver xulrunner xv zlib" ALSA_CARDS=" intel-hda" 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" CAMERAS=" canon" ELIBC="glibc" INPUT_DEVICES=" keyboard mouse joystick evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="nl" SANE_BACKENDS=" HP" USERLAND="GNU" VIDEO_CARDS=" fbdev nv nvidia vesa vga"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Comment 16 Tiziano Müller (RETIRED) gentoo-dev 2009-07-18 07:00:20 UTC
@André: can you remove that trailing space in your CFLAGS and CXXFLAGS and try again please?
Comment 17 André Terpstra 2009-07-18 08:57:39 UTC
If you mean a *leading* space, the one right before "O2", yes I have now removed it. And yes, your feeling was right, the emerge now continues. By the way, this is the first time in several years that problem has occurred!
Comment 18 Christian Bayer 2009-07-30 16:17:51 UTC
Had the same thing with boost-build-1.39.0:                           

[MKDIR] bin.linuxx86_64                                                         
[COMPILE] bin.linuxx86_64/bjam                                                  
x86_64-pc-linux-gnu-gcc: : No such file or directory                           [MKDIR] bin.linuxx86_64

Reason was my CFLAGS, too:
Before:  CFLAGS="-march=nocona -O3 -pipe -z combreloc  -mmmx -msse -mfpmath=sse"
Working: CFLAGS="-march=nocona -O3 -pipe -z combreloc -mmmx -msse -mfpmath=sse"

Strange thing, though, had this space in there for years with no problems...
Comment 19 Patrick Kursawe (RETIRED) gentoo-dev 2009-09-09 18:08:52 UTC
Created attachment 203612 [details]
Build log

I have similar problems and no leading/trailing whitespace in C(xx)FLAGS.
Comment 20 Patrick Kursawe (RETIRED) gentoo-dev 2009-09-09 18:09:21 UTC
Created attachment 203613 [details]
emerge --info output
Comment 21 Patrick Kursawe (RETIRED) gentoo-dev 2009-09-09 18:21:16 UTC
After modifying the ebuild (toolset=gcc instead of toolset=cc) it works for me.
Comment 22 Pun 2009-10-26 19:29:41 UTC
I non't know whether I should make a separate bug but boost-build-1.35-r5 wont buld with CFLAGS="-combine". It complains:
glob.c: In function 'glob':
/usr/include/bits/string3.h:79: sorry, unimplemented: inlining failed in call to 'memset': redefined extern inline functions are not considered for inlining
glob.c:127: sorry, unimplemented: called from here

!!! ERROR in dev-util/boost-build-1.35.0-r2::gentoo:
!!! In src_compile at line 4358
!!! building bjam failed

!!! Call stack:
!!!    * src_compile (/var/tmp/paludis/dev-util-boost-build-1.35.0-r2/temp/loadsaveenv:4358)
!!!    * ebuild_f_compile (/usr/libexec/paludis/2/src_compile.bash:56)
!!!    * ebuild_main (/usr/libexec/paludis/ebuild.bash:604)
!!!    * main (/usr/libexec/paludis/ebuild.bash:632)

Comment 23 Navid Zamani 2009-10-31 01:22:47 UTC
dev-util/boost-build-1.35.0-r2 also fails with the same error.
Comment 24 Navid Zamani 2009-10-31 01:27:39 UTC
(In reply to comment #1)
> i typed 'eselect boost-build-1.35.0-r1.ebuild test" to test it.

Somehow, I don’t believe that. ^^
Hmm… Why could that be? Oh, yes:

# eselect boost-build-1.35.0-r1.ebuild test
!!! Error: Can't load module boost-build-1.35.0-r1.ebuild
exiting

*g*
Comment 25 Navid Zamani 2009-10-31 01:32:28 UTC
Created attachment 208817 [details]
My “emerge --info”, for a failing “dev-util/boost-build-1.35.0-r2”.

This is how it fails here.

Interesting, how not a single “emerge -auDNtv world” this entire year went trough without at least one failed ebuild. And that’s on a stable (x86) system!
I remember how 2005 I could run this in a cron job, and not worry about problems.
What happened? Has Gentoo become a zombie?
Comment 26 Navid Zamani 2009-10-31 05:57:25 UTC
(In reply to comment #21)
> After modifying the ebuild (toolset=gcc instead of toolset=cc) it works for me.

I tried that, and it did nothing.

Comment 27 Steven Elling 2009-11-05 04:13:29 UTC
boost-build-1.35.0-r2 was producing the same "x86_64-pc-linux-gnu-gcc: : No such file or directory" error on my system but in my case it was caused by LDFLAGS having a leading space.

boost-build needs some polishing.
Comment 28 Sebastian Luther (few) 2009-11-18 19:47:14 UTC

*** This bug has been marked as a duplicate of bug 293652 ***
Comment 29 Patrick Kursawe (RETIRED) gentoo-dev 2010-04-06 19:20:43 UTC
(In reply to comment #26)
> (In reply to comment #21)
> > After modifying the ebuild (toolset=gcc instead of toolset=cc) it works for me.
> 
> I tried that, and it did nothing.

Strange. This workround was fine for me once again with 1.42