Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 284916 - dev-libs/boost-1.35.0-r2 fails to build on x86 after python-update
Summary: dev-libs/boost-1.35.0-r2 fails to build on x86 after python-update
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-14 12:14 UTC by Stefan G. Weichinger
Modified: 2009-09-15 10:48 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 Stefan G. Weichinger 2009-09-14 12:14:15 UTC
Python was upgraded to 2.6, python-updater rebuilt dozens of packages, dev-libs/boost-1.35.0-r2 does not build OK.



Reproducible: Always

Steps to Reproduce:
1. emerge -1 dev-libs/boost
2.
3.

Actual Results:  
...updating 1162 targets...
MkDir1 bin.v2
MkDir1 bin.v2/libs
MkDir1 bin.v2/libs/signals
MkDir1 bin.v2/libs/test
MkDir1 bin.v2/libs/serialization
MkDir1 bin.v2/libs/test/build
MkDir1 bin.v2/libs/test/build/gcc-4.4
MkDir1 bin.v2/libs/serialization/build
MkDir1 bin.v2/libs/signals/build
MkDir1 bin.v2/libs/signals/build/gcc-4.4
MkDir1 bin.v2/libs/serialization/build/gcc-4.4
MkDir1 bin.v2/libs/test/build/gcc-4.4/gentoorelease
gcc.compile.c++ bin.v2/libs/test/build/gcc-4.4/gentoorelease/cpp_main.o
MkDir1 bin.v2/libs/test/build/gcc-4.4/gentoorelease/link-static
gcc.compile.c++ bin.v2/libs/test/build/gcc-4.4/gentoorelease/debug.o
In file included from libs/test/src/debug.cpp:16:
./boost/test/impl/debug.ipp: In constructor 'boost::debug::<unnamed>::process_info::process_info(int)':
./boost/test/impl/debug.ipp:280: error: 'sscanf' is not a member of 'std'

    "i686-pc-linux-gnu-g++"  -ftemplate-depth-128 -O2 -march=prescott -pipe -fomit-frame-pointer -finline-functions -Wno-inline -Wall -fPIC  -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_DYN_LINK=1 -DNDEBUG  -I"." -c -o "bin.v2/libs/test/build/gcc-4.4/gentoorelease/debug.o" "libs/test/src/debug.cpp"

...failed gcc.compile.c++ bin.v2/libs/test/build/gcc-4.4/gentoorelease/debug.o...
gcc.compile.c++ bin.v2/libs/test/build/gcc-4.4/gentoorelease/execution_monitor.o
gcc.compile.c++ bin.v2/libs/test/build/gcc-4.4/gentoorelease/link-static/execution_monitor.o
...failed updating 1 target...
...updated 12 targets...
 * 
 * ERROR: dev-libs/boost-1.35.0-r2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3567:  Called die
 * The specific snippet of code:
 *       bjam ${NUMJOBS} -q ${OPTIONS} threading=single,multi link=shared,static runtime-link=shared,static --prefix="${D}/usr" --layout=system || die "building boost failed";
 *  The die message:
 *   building boost failed


Expected Results:  
dev-libs/boost should simply build fine.

# emerge --info                 
Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.4.1, glibc-2.9_p20081201-r2, 2.6.30-tuxonice-r5 i686)
=================================================================
System uname: Linux-2.6.30-tuxonice-r5-i686-Intel-R-_Core-TM-2_Duo_CPU_T8100_@_2.10GHz-with-gentoo-1.12.11.1
Timestamp of tree: Mon, 14 Sep 2009 09:00:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.5.4-r3, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
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
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
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/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="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="de_DE@euro"
LC_ALL="de_DE@euro"
LDFLAGS="-Wl,-O1"
LINGUAS="de en"
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"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/vmware /usr/local/portage"
SYNC="rsync://172.32.99.6/gentoo-portage"
USE="X aac aalib acl alsa avi berkdb bitmap-fonts bzip2 cdparanoia cdr cli cracklib crypt cups divx4linux dri dv dvd dvdr dvdread encode ffmpeg flac fortran gdbm gnome gnome-keyring gpm gtk hal hdaps howl iconv ipv6 isdnlog jpeg lame live mad mjpeg mmx mp3 mudflap ncurses nls nptlonly ogg openmp pam pcre pda perl pppd python quicktime readline reflection session spl sse sse2 ssl sysfs tcpd tetex truetype-fonts type1-fonts unicode vcd vidix vorbis win32codecs x86 xinerama xmms xorg xv zlib" ALSA_CARDS="hda-intel intel8x0 intel8x0m" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Rafał Mużyło 2009-09-14 18:31:38 UTC
When mixing stable and unstable, be aware of the consequences.
IIRC, this is a correct result if building boost-1.35.0-r2
with gcc-4.4.1.
Comment 2 Stefan G. Weichinger 2009-09-14 21:15:42 UTC
(In reply to comment #1)
> When mixing stable and unstable, be aware of the consequences.
> IIRC, this is a correct result if building boost-1.35.0-r2
> with gcc-4.4.1.

ok, understood. switched to gcc-4.1.2 and it ran through OK.
I had to use "python-updater -d manual" to get it right, but that's OK.

Thanks, Stefan