Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 518688 - dev-libs/boost-1.52.0 fails to compile on amd64
Summary: dev-libs/boost-1.52.0 fails to compile on amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-31 18:10 UTC by Peter Fox
Modified: 2014-07-31 22:51 UTC (History)
0 users

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


Attachments
emerge --info '=dev-libs/boost-1.52.0-r7::gentoo' (emerge.info,5.29 KB, application/x-info)
2014-07-31 18:15 UTC, Peter Fox
Details
emerge -pqv '=dev-libs/boost-1.52.0-r7::gentoo' (emerge.pqv,472 bytes, text/plain)
2014-07-31 18:15 UTC, Peter Fox
Details
build.log (build.log,262.29 KB, text/x-log)
2014-07-31 18:16 UTC, Peter Fox
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Fox 2014-07-31 18:10:19 UTC
Newly stabilised boost fails to compile:

ln-UNIX stage/lib/libboost_wave.so

    ln -f -s 'libboost_wave.so.1.52.0' 'stage/lib/libboost_wave.so'

...failed updating 1 target...
 * ERROR: dev-libs/boost-1.52.0-r7 failed (compile phase):
 *   Building of Boost libraries failed
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_compile
 *   environment, line 3639:  Called python_foreach_impl 'building'
 *   environment, line 3153:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'building'
 *   environment, line 2285:  Called _multibuild_run '_python_multibuild_wrapper' 'building'
 *   environment, line 2283:  Called _python_multibuild_wrapper 'building'
 *   environment, line  604:  Called building
 *   environment, line 3609:  Called die
 * The specific snippet of code:
 *           ejam ${OPTIONS} $(use python && echo --python-buildid=${EPYTHON#python}) || die "Building of Boost libraries failed";


Reproducible: Always

Steps to Reproduce:
1. emerge boost
2.
3.
Actual Results:  
Fails to build as above

Expected Results:  
Successful build

I have built dev-libs/boost-1.52.0-r6 successfully in the past, yet it also will not build with the same error, so the problem is probably not boost.
I thought it might be holding portage down to 2.1.12.2, but it does the same thing with 2.2.8-r1.

emerge --info:
Portage 2.2.8-r1 (default/linux/amd64/13.0, gcc-4.7.3, glibc-2.19-r1, 3.12.23-gentoo x86_64)
=================================================================
System uname: Linux-3.12.23-gentoo-x86_64-AMD_Athlon-tm-_II_X3_455_Processor-with-gentoo-2.2
KiB Mem:    12333008 total,   2601148 free
KiB Swap:    1048572 total,   1034660 free
Timestamp of tree: Wed, 30 Jul 2014 06:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo sage-on-gentoo seden peterfox
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -pipe"
CHOST="x86_64-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 /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /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"
CXXFLAGS="-march=amdfam10 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask-keep-masks"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://cool.peter.fox/ ftp://ftp.peter.fox/ ftp://newtv.peter.fox/ http://distfiles.gentoo.org"
LANG="en_GB"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sage-on-gentoo /var/lib/layman/seden /home/gentoo/portage"
SYNC="rsync://rsync.peter.fox/gentoo-portage"
USE="3dnow 3dnowext X aalib acl acpi alsa amd64 apache2 audiofile berkdb bzip2 cairo cdr cli cracklib crypt cups curl cxx dbus dri dvb dvdr encode exif ffmpeg firefox flac fortran gd gdbm gif gimp gimpprint gnutls gphoto2 gstreamer gtk gtk2 gtkhtml hal iconv icu imagemagick imlib jack java jbig jpeg jpeg2k lcms lirc lynxkeymap mad mate mikmod mmx mng modules mono mozilla mp3 mpeg multilib ncurses nls nptl nptlonly ogg oggvorbis opengl openmp pam pcre pdf png python qemu-fast qt3support quicktime readline sdl session softmmu speex spell sqlite sse sse2 ssl svg tcl tcpd tetex theora tiff truetype unicode usb vdpau vorbis win32codecs wmf xcb xinerama xml xml2 xulrunner xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_GB fr es de" LIRC_DEVICES="devinput" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nouveau nvidia radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6, 3.3.3
Comment 1 Peter Fox 2014-07-31 18:15:09 UTC
Created attachment 381952 [details]
emerge --info '=dev-libs/boost-1.52.0-r7::gentoo'
Comment 2 Peter Fox 2014-07-31 18:15:42 UTC
Created attachment 381954 [details]
emerge -pqv '=dev-libs/boost-1.52.0-r7::gentoo'
Comment 3 Peter Fox 2014-07-31 18:16:16 UTC
Created attachment 381956 [details]
build.log
Comment 4 Jouni Kosonen 2014-07-31 18:39:59 UTC
The actual error seems to be this part:

gcc.compile.c++ bin.v2/libs/locale/build/gcc-4.7/gentoorelease/pch-off/threading-multi/icu/formatter.o

    "x86_64-pc-linux-gnu-g++"  -ftemplate-depth-128 -march=amdfam10 -O2 -pipe -std=gnu++98 -finline-functions -Wno-inline -Wall -pthread -fPIC  -DBOOST_ALL_NO_LIB=1 -DBOOST_CHRONO_DYN_LINK=1 -DBOOST_LOCALE_DYN_LINK=1 -DBOOST_LOCALE_NO_WINAPI_BACKEND=1 -DBOOST_LOCALE_WITH_ICONV=1 -DBOOST_LOCALE_WITH_ICU=1 -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_THREAD_BUILD_DLL=1 -DBOOST_THREAD_NO_LIB=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_THROW_IF_PRECONDITION_NOT_SATISFIED -DBOOST_THREAD_USE_DLL=1 -DNDEBUG  -I"." -I"/usr/include" -c -o "bin.v2/libs/locale/build/gcc-4.7/gentoorelease/pch-off/threading-multi/icu/formatter.o" "libs/locale/src/icu/formatter.cpp"

libs/locale/src/icu/formatter.cpp: In member function 'virtual boost::locale::impl_icu::number_format<CharType>::string_type boost::locale::impl_icu::number_format<CharType>::format(boost::int64_t, size_t&) const':
libs/locale/src/icu/formatter.cpp:61:43: error: call of overloaded 'format(boost::int64_t&, icu::UnicodeString&)' is ambiguous
libs/locale/src/icu/formatter.cpp:61:43: note: candidates are:
In file included from libs/locale/src/icu/formatter.cpp:15:0:
/usr/include/unicode/numfmt.h:320:20: note: icu::UnicodeString& icu::NumberFormat::format(double, icu::UnicodeString&) const
/usr/include/unicode/numfmt.h:333:20: note: icu::UnicodeString& icu::NumberFormat::format(int32_t, icu::UnicodeString&) const
/usr/include/unicode/numfmt.h:346:20: note: icu::UnicodeString& icu::NumberFormat::format(int64_t, icu::UnicodeString&) const
gcc.compile.c++ bin.v2/libs/locale/build/gcc-4.7/gentoorelease/pch-off/threading-multi/icu/icu_backend.o


Looks like dev-libs/icu-52 is not compatible with dev-libs/boost-1.52 without some patching in the latter?
Comment 5 Jouni Kosonen 2014-07-31 18:57:35 UTC
This seems to be a duplicate of bug 507780 - but that is currently closed as obsolete even though the problem still exists.
Comment 6 Jouni Kosonen 2014-07-31 19:16:23 UTC
Sorry about the noise, everyone. I didn't see bug 518544 where this was also tracked for -r7.

Peter, it looks like this has already been fixed in the tree without revbump a few hours after your last sync.
( http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-libs/boost/boost-1.52.0-r7.ebuild?r1=1.2&r2=1.3 )

I'd suggest emerge --sync and trying again.
Comment 7 Peter Fox 2014-07-31 22:51:42 UTC
emerge --sync and trying again worked fine.