Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 220989 - dev-libs/boost-1.35.0 fails to build
Summary: dev-libs/boost-1.35.0 fails to build
Status: RESOLVED FIXED
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: 2008-05-08 19:19 UTC by Thomas Demeter
Modified: 2008-06-07 15:17 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 Thomas Demeter 2008-05-08 19:19:35 UTC
# emerge -av boost

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

Calculating dependencies... done!
[ebuild     U ] dev-libs/boost-1.35.0 [1.34.1-r2] USE="icu pyste tools -debug -doc" 0 kB

Total: 1 package (1 upgrade), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No]
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) dev-libs/boost-1.35.0 to /
 * boost_1_35_0.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                            [ ok ]
 * boost-patches-1.35.0-1.tbz2 RMD160 SHA1 SHA256 size ;-) ...                                                                     [ ok ]
 * checking ebuild checksums ;-) ...                                                                                               [ ok ]
 * checking auxfile checksums ;-) ...                                                                                              [ ok ]
 * checking miscfile checksums ;-) ...                                                                                             [ ok ]
 * checking boost_1_35_0.tar.bz2 ;-) ...                                                                                           [ ok ]
 * checking boost-patches-1.35.0-1.tbz2 ;-) ...                                                                                    [ ok ]
>>> Unpacking source...
>>> Unpacking boost_1_35_0.tar.bz2 to /var/tmp/portage/dev-libs/boost-1.35.0/work
>>> Unpacking boost-patches-1.35.0-1.tbz2 to /var/tmp/portage/dev-libs/boost-1.35.0/work
 * Applying various patches (bugfixes/updates) ...
 *   01_all_1.35.0-gcc-4.3-fixes-pulled_from_trunk.patch ...                                                                       [ ok ]
 *   02_all_1.35.0-0001-serialization-gcc-4.3-compile-fixes.bug-1616-included.patch ...                                            [ ok ]
 *   03_all_1.35.0-0001-spirit-gcc-4.3-fixes.bug-1617-not_included.patch ...                                                       [ ok ]
 *   04_all_1.35.0-0001-mpl-g-4.3-fix.bug-1528-not-included.patch ...                                                              [ ok ]
 *   05_all_1.35.0-0001-date_time-gcc-4.3-fix.bug-1615-not_included.patch ...                                                      [ ok ]
 * Done with patching
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-libs/boost-1.35.0/work/boost_1_35_0 ...
 * Writing new user-config.jam
 * Using the following options to build:
 *   release debug-symbols=none optimization=none -sHAVE_ICU=1 -sICU_PATH=/usr --user-config=/var/tmp/portage/dev-libs/boost-1.35.0/work/boost_1_35_0/user-config.jam
 * Building static libraries
warning: Graph library does not contain optional GraphML reader.
note: to enable GraphML support, set EXPAT_INCLUDE and EXPAT_LIBPATH to the
note: directories containing the Expat headers and libraries, respectively.
warning: skipping optional Message Passing Interface (MPI) library.
note: to enable MPI support, add "using mpi ;" to user-config.jam.
note: to suppress this message, pass "--without-mpi" to bjam.
note: otherwise, you can safely ignore this message.
Skipping build of:  libs/regex/build/icucore  <build>no in common properties
Skipping build of:  libs/regex/build/icuin  <build>no in common properties
Skipping build of:  libs/regex/build/icudata  <build>no in common properties
/usr/share/boost-build/kernel/class.jam:93: in new
*** argument error
* rule object(searched-lib-target)@895.__init__ ( name : project : shared ? : search * : action )
* called with: ( icudata icui18n icuuc : object(project-target)@222 : true :  : object(null-action)@894 :  :  :  :  )
* extra argument icui18n
/usr/share/boost-build/tools/builtin.jam:349:see definition of rule '__init__' being called
/usr/share/boost-build/tools/builtin.jam:592: in searched-lib-generator.run
/usr/share/boost-build/tools/unix.jam:113: in object(unix-searched-lib-generator)@25.run
/usr/share/boost-build/build/generators.jam:859: in try-one-generator-really
/usr/share/boost-build/build/generators.jam:920: in try-one-generator
/usr/share/boost-build/build/generators.jam:1131: in construct-really
/usr/share/boost-build/build/generators.jam:1204: in generators.construct
/usr/share/boost-build/tools/builtin.jam:496: in object(lib-generator)@5.run
/usr/share/boost-build/build/generators.jam:859: in try-one-generator-really
/usr/share/boost-build/build/generators.jam:920: in try-one-generator
/usr/share/boost-build/build/generators.jam:1131: in construct-really
/usr/share/boost-build/build/generators.jam:1204: in generators.construct
/usr/share/boost-build/build/targets.jam:1368: in construct
/usr/share/boost-build/build/targets.jam:1206: in object(typed-target)@234.generate
/usr/share/boost-build/build/targets.jam:742: in generate-really
/usr/share/boost-build/build/targets.jam:715: in object(main-target)@838.generate
/usr/share/boost-build/build/targets.jam:254: in object(project-target)@222.generate
/usr/share/boost-build/build/targets.jam:858: in targets.generate-from-reference
/usr/share/boost-build/build/targets.jam:1129: in generate-dependencies
/usr/share/boost-build/build/targets.jam:1179: in object(alias-target-class)@106.generate
/usr/share/boost-build/build/targets.jam:742: in generate-really
/usr/share/boost-build/build/targets.jam:715: in object(main-target)@385.generate
/usr/share/boost-build/build/targets.jam:254: in object(project-target)@63.generate
/usr/share/boost-build/build-system.jam:658: in load
/usr/share/boost-build/kernel/modules.jam:267: in import
/usr/share/boost-build/kernel/bootstrap.jam:132: in boost-build
/usr/share/boost-build/boost-build.jam:8: in module scope
 *
 * ERROR: dev-libs/boost-1.35.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3036:  Called die
 * The specific snippet of code:
 *           bjam ${NUMJOBS} -q ${OPTIONS} threading=single,multi runtime-link=${linkoption} link=${linkoption} --prefix="${D}/usr" --layout=system || die "building boost failed";
 *  The die message:
 *   building boost 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/boost-1.35.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/boost-1.35.0/temp/environment'.
 *

 * Messages for package dev-libs/boost-1.35.0:

 * Using the following options to build:
 *   release debug-symbols=none optimization=none -sHAVE_ICU=1 -sICU_PATH=/usr --user-config=/var/tmp/portage/dev-libs/boost-1.35.0/work/boost_1_35_0/user-config.jam
 *
 * ERROR: dev-libs/boost-1.35.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3036:  Called die
 * The specific snippet of code:
 *           bjam ${NUMJOBS} -q ${OPTIONS} threading=single,multi runtime-link=${linkoption} link=${linkoption} --prefix="${D}/usr" --layout=system || die "building boost failed";
 *  The die message:
 *   building boost 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/boost-1.35.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/boost-1.35.0/temp/environment'.
 *

Reproducible: Always

Steps to Reproduce:
1. emerge =dev-libs/boost-1.35.0




# emerge --info
Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-tuxonice-r2-yorirou i686)
=================================================================
System uname: 2.6.25-tuxonice-r2-yorirou i686 Intel(R) Celeron(R) M CPU 420 @ 1.60GHz
Timestamp of tree: Thu, 08 May 2008 17:02:01 +0000
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-r9
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-r1
sys-devel/automake:  1.4_p6, 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-r1
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=prescott -fomit-frame-pointer -pipe -mfpmath=sse -funswitch-loops -fgcse-after-reload"
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 /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc"
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=prescott -fomit-frame-pointer -pipe -mfpmath=sse -funswitch-loops -fgcse-after-reload"
DISTDIR="/distfiles"
FEATURES="ccache distlocks fixpackage metadata-transfer parallel-fetch prelink sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.inf.elte.hu http://gentoo.inode.at"
LANG="hu_HU.utf8"
LC_ALL="hu_HU.utf8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -s"
LINGUAS="hu en"
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/layman/sunrise /usr/portage/local/layman/java-overlay /usr/portage/local/layman/enlightenment /usr/portage/local/layman/java-experimental /usr/portage/local/layman/gentopia /usr/portage/local/layman/pro-audio /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip R X a52 aac aalib accessibility acl acpi ada addbookmarks aim alsa amr amrnb amrwb apache2 apisupport apm aspnet2 audiofile autoreplace avahi bash-completion battery bcmath bcp berkdb bidi bitmap-fonts bjam bl bluetooth branding browserplugin bzip2 cdb cdda cddb cdio cdparanoia cdr chicken cisco clamav cli cnd connectionstatus contactnotes cracklib crypt css ctype cups curl custom-cflags cvs d daap dbus dga dialup divx dlloader dri dts dv dvb dvd dvdr dvdread editor eds emboss enca encode esd exif fbcondecor fbsplash ffmpeg filepicker firefox flac flash foomaticdb fortran ftp fuse gd gdbm geoip gif git glx gmedia gmp gnome gphoto2 gpm gtk gtk2 hal harness haskell highlight history hou hybrid-auth iconv icu id3tag ide identity idn imagemagick imap imlib immqt-bc innodb ipv6 irc isdnlog ithreads j2ee jabber jack jack-tmpfs jackmidi jai java java5 javascript jce jikes jmf jpeg jpeg2k kde ladspa lame lcms libcaca libffi libg++ libnotify libwww live lm_sensors logrotate loop-aes lzo mad matroska md5sum memlimit mhash midi migemo mikmod mime mmap mmx mmxext mng mobility mono motif mozdevelop mozilla mp2 mp3 mp4 mpeg mplayer msn mudflap musepack musicbrainz mysql mysqli mzscheme nb ncurses nemesi netbeans netmeeting networkmanager newspr nls nocd nowin nowlistening nptl nptlonly nsplugin objc objc++ objc-gc offensive ogg oggvorbis openal opengl openmp openvpn optimisememory oss pam passwordsave pcmcia pcre pdf perl pertty php pmu png pnm postgres pppd pptp profiler pyste python qt qt-copy qt3 qt3support qt4 quicktime rar readline real realmedia reflection rtsp ruby samba sdl session simplexml singerbot skinsi sndfile soa sockets sou soundex soundtouch speex spl sql sqlite srt sse sse2 sse3 ssl ssse3 stableuc statistics stk stream subversion svg svga svn szip tcpd teletext texteffect tga theora threads tidy tiff timidity tk tokenizer tools transparency truetype truetype-fonts twolame type1-fonts udev uml unicode upnp usb v4l v4l2 vamp vcd videos vidix vim-syntax vim-with-x visualweb vlm vorbis vst wifi win32codecs winpopup wmf wmp wxwindows x264 x86 xanim xcomposite xine xml xml2 xmlreader xmlrpc xmlwriter xorg xosd xpm xrandr xv xvid xvmc yahoo zip zlib zsh zsh-completion" ALSA_CARDS="via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic 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="hu en" USERLAND="GNU" VIDEO_CARDS="vesa v4l"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Alexander Holler 2008-05-14 22:41:51 UTC
Reinstall icu, it seems icu is compiled with another version of gcc or glibc as installed.
Comment 2 Thomas Demeter 2008-05-14 23:14:42 UTC
(In reply to comment #1)
> Reinstall icu, it seems icu is compiled with another version of gcc or glibc as
> installed.
> 

I rebuilded icu, but the boost compilation fails with the same error. (I turned off the CCACHE for both builds).
Comment 3 Tiziano Müller (RETIRED) gentoo-dev 2008-05-15 17:42:53 UTC
Build without ICU USE-flag. This is a known issue in the boost build system which is fixed in the trunk and for which a patch has to be applied in boost-build. The problem is that other things are broken then. I'll see that I commit at least those changes until the end of the week...
Comment 4 Thomas Demeter 2008-05-15 21:01:56 UTC
(In reply to comment #3)
> Build without ICU USE-flag. This is a known issue in the boost build system
> which is fixed in the trunk and for which a patch has to be applied in
> boost-build. The problem is that other things are broken then. I'll see that I
> commit at least those changes until the end of the week...
> 

Fails again:

running build_scripts
creating build/scripts-2.4
copying and adjusting pyste.py -> build/scripts-2.4
changing mode of build/scripts-2.4/pyste.py from 644 to 755
warning: Graph library does not contain optional GraphML reader.
note: to enable GraphML support, set EXPAT_INCLUDE and EXPAT_LIBPATH to the
note: directories containing the Expat headers and libraries, respectively.
warning: skipping optional Message Passing Interface (MPI) library.
note: to enable MPI support, add "using mpi ;" to user-config.jam.
note: to suppress this message, pass "--without-mpi" to bjam.
note: otherwise, you can safely ignore this message.
Building Boost.Regex with the optional Unicode/ICU support disabled.
Please refer to the Boost.Regex documentation for more information
(don't panic: this is a strictly optional feature).
regression/build/Jamroot.jam:10: in modules.load
*** argument error
* rule use-project ( id : where )
* called with: ( /boost :  )
* missing argument where
/usr/share/boost-build/build/project.jam:954:see definition of rule 'use-project' being called
/usr/share/boost-build/build/project.jam:307: in load-jamfile
/usr/share/boost-build/build/project.jam:63: in project.load
/usr/share/boost-build/build/project.jam:720: in project.use
/usr/share/boost-build/build/project.jam:90: in load-used-projects
/usr/share/boost-build/build/project.jam:74: in load
/usr/share/boost-build/build/project.jam:167: in project.find
/usr/share/boost-build/build-system.jam:516: in load
/usr/share/boost-build/kernel/modules.jam:267: in import
/usr/share/boost-build/kernel/bootstrap.jam:132: in boost-build
/usr/share/boost-build/boost-build.jam:8: in module scope
 *
 * ERROR: dev-libs/boost-1.35.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3049:  Called die
 * The specific snippet of code:
 *           bjam ${NUMJOBS} -q release debug-symbols=none optimization=off --prefix="${D}/usr" --layout=system --user-config="${S}/user-config.jam" || die "building tools failed";
 *  The die message:
 *   building tools failed
Comment 5 vp 2008-05-22 14:56:46 UTC
if i compile boost with -icu -tools it does compile. otherwise it fails for me too
Comment 6 Thomas Demeter 2008-05-22 22:28:29 UTC
(In reply to comment #5)
> if i compile boost with -icu -tools it does compile. otherwise it fails for me
> too
> 

OK, it compiled.
Comment 7 Tiziano Müller (RETIRED) gentoo-dev 2008-06-07 15:17:24 UTC
Fixed with -r1.