Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge dev-libs/boost-1.52.0-r6 failes [solved?]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
hika
Apprentice
Apprentice


Joined: 13 Mar 2009
Posts: 234
Location: Utrecht

PostPosted: Tue Oct 08, 2013 1:23 am    Post subject: emerge dev-libs/boost-1.52.0-r6 failes [solved?] Reply with quote

I just started building a new core2 system and boost, that gets pulled in fails again and again and I don't see why.

emerge -pqv
Code:
[ebuild  N    ] dev-libs/boost-1.52.0-r6  USE="icu nls threads -debug -doc -mpi -python -static-libs -tools" PYTHON_TARGETS="python2_7 python3_2 -python2_6 (-python3_3)"

emerge --info
Code:
Portage 2.2.1 (default/linux/amd64/13.0, gcc-4.6.3, glibc-2.15-r3, 3.8.13-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.8.13-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E4600_@_2.40GHz-with-gentoo-2.2
KiB Mem:      893492 total,    631332 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Sun, 06 Oct 2013 02:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.5, 3.2.5-r1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.12.6
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=generic -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -mtune=generic -O2 -pipe"
DISTDIR="/usr/portfiles/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LANG="nl_NL.iso885915@euro"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="usr/portfiles/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=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="acl amd64 berkdb bzip2 clamav cli cracklib crypt cups cxx dbus device-mapper dlz dri fortran ftp gdbm hpcups iconv icu imap ipalias jpeg ldap ldapdb maildir mmx modules mudflap multilib mysql mysqli ncurses nls nptl odbc openldap openmp overlays pam parport pcre pdf perl php png qmail qmail-spp readline resolvconf samba session sockets spamassassin spl sqi sse sse2 ssl syslog tcpd tdbtest tiff toools truetype unicode usb vhosts zlib" ABI_X86="64" ALSA_CARDS="hda-intel hrtimer" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" 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 ubx" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="nl en en_GB de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


and the log
Code:
 * Package:    dev-libs/boost-1.52.0-r6
 * Repository: gentoo
 * Maintainer: cpp@gentoo.org
 * USE:        amd64 elibc_glibc icu kernel_linux nls python_targets_python2_7 python_targets_python3_2 threads userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking boost_1_52_0.tar.bz2 to /var/tmp/portage/dev-libs/boost-1.52.0-r6/work
>>> Source unpacked in /var/tmp/portage/dev-libs/boost-1.52.0-r6/work
>>> Preparing source in /var/tmp/portage/dev-libs/boost-1.52.0-r6/work/boost_1_52_0 ...
 * Applying boost-1.48.0-mpi_python3.patch ...
 [ ok ]
 * Applying boost-1.51.0-respect_python-buildid.patch ...
 [ ok ]
 * Applying boost-1.51.0-support_dots_in_python-buildid.patch ...
 [ ok ]
 * Applying boost-1.48.0-no_strict_aliasing_python2.patch ...
 [ ok ]
 * Applying boost-1.48.0-disable_libboost_python3.patch ...
 [ ok ]
 * Applying boost-1.48.0-python_linking.patch ...
 [ ok ]
 * Applying boost-1.48.0-disable_icu_rpath.patch ...
 [ ok ]
 * Applying remove-toolset-1.48.0.patch ...
 [ ok ]
 * Applying boost-1.52.0-tuple.patch ...
 [ ok ]
 * Applying boost-1.52.0-locale-utf.patch ...
 [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-libs/boost-1.52.0-r6/work/boost_1_52_0 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-libs/boost-1.52.0-r6/work/boost_1_52_0 ...
b2 gentoorelease -j3 -q -d+2 --user-config=/var/tmp/portage/dev-libs/boost-1.52.0-r6/work/boost_1_52_0/user-config.jam -sICU_PATH=/usr --without-mpi --without-python pch=off --boost-build=/usr/share/boost-build --prefix="/var/tmp/portage/dev-libs/boost-1.52.0-r6/image/usr" --layout=system threading=multi link=shared --without-context

Building the Boost C++ Libraries.


......


gcc.link.dll bin.v2/libs/wave/build/gcc-4.6/gentoorelease/pch-off/threading-multi/libboost_wave.so.1.52.0

    "x86_64-pc-linux-gnu-g++"    -o "bin.v2/libs/wave/build/gcc-4.6/gentoorelease/pch-off/threading-multi/libboost_wave.so.1.52.0" -Wl,-h -Wl,libboost_wave.so.1.52.0 -shared -Wl,--start-group "bin.v2/libs/wave/build/gcc-4.6/gentoorelease/pch-off/threading-multi/instantiate_cpp_exprgrammar.o" "bin.v2/libs/wave/build/gcc-4.6/gentoorelease/pch-off/threading-multi/instantiate_cpp_grammar.o" "bin.v2/libs/wave/build/gcc-4.6/gentoorelease/pch-off/threading-multi/instantiate_cpp_literalgrs.o" "bin.v2/libs/wave/build/gcc-4.6/gentoorelease/pch-off/threading-multi/instantiate_defined_grammar.o" "bin.v2/libs/wave/build/gcc-4.6/gentoorelease/pch-off/threading-multi/instantiate_predef_macros.o" "bin.v2/libs/wave/build/gcc-4.6/gentoorelease/pch-off/threading-multi/instantiate_re2c_lexer.o" "bin.v2/libs/wave/build/gcc-4.6/gentoorelease/pch-off/threading-multi/instantiate_re2c_lexer_str.o" "bin.v2/libs/wave/build/gcc-4.6/gentoorelease/pch-off/threading-multi/token_ids.o" "bin.v2/libs/wave/build/gcc-4.6/gentoorelease/pch-off/threading-multi/wave_config_constant.o" "bin.v2/libs/wave/build/gcc-4.6/gentoorelease/pch-off/threading-multi/cpplexer/re2clex/aq.o" "bin.v2/libs/wave/build/gcc-4.6/gentoorelease/pch-off/threading-multi/cpplexer/re2clex/cpp_re.o" "bin.v2/libs/chrono/build/gcc-4.6/gentoorelease/pch-off/threading-multi/libboost_chrono.so.1.52.0" "bin.v2/libs/date_time/build/gcc-4.6/gentoorelease/pch-off/threading-multi/libboost_date_time.so.1.52.0" "bin.v2/libs/thread/build/gcc-4.6/gentoorelease/pch-off/threading-multi/libboost_thread.so.1.52.0" "bin.v2/libs/filesystem/build/gcc-4.6/gentoorelease/pch-off/threading-multi/libboost_filesystem.so.1.52.0" "bin.v2/libs/system/build/gcc-4.6/gentoorelease/pch-off/threading-multi/libboost_system.so.1.52.0"  -Wl,-Bstatic  -Wl,-Bdynamic -lrt -Wl,--end-group -Wl,-O1 -Wl,--as-needed -pthread

common.copy stage/lib/libboost_wave.so.1.52.0

    cp "bin.v2/libs/wave/build/gcc-4.6/gentoorelease/pch-off/threading-multi/libboost_wave.so.1.52.0"  "stage/lib/libboost_wave.so.1.52.0"

ln-UNIX stage/lib/libboost_wave.so

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

...failed updating 3 targets...
 * ERROR: dev-libs/boost-1.52.0-r6::gentoo failed (compile phase):
 *   Building of Boost libraries failed
 *
 * Call stack:
 *     ebuild.sh, line   93:  Called src_compile
 *   environment, line 3754:  Called building
 *   environment, line 3722:  Called die
 * The specific snippet of code:
 *           ejam ${OPTIONS} $(use python && echo --python-buildid=${EPYTHON#python}) || die "Building of Boost libraries failed";


Last edited by hika on Mon Dec 16, 2013 2:19 pm; edited 2 times in total
Back to top
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1428

PostPosted: Tue Oct 08, 2013 1:50 am    Post subject: Reply with quote

Please delete or edit this post to only include the failing section of compilation.
_________________
The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper
Back to top
View user's profile Send private message
hika
Apprentice
Apprentice


Joined: 13 Mar 2009
Posts: 234
Location: Utrecht

PostPosted: Tue Oct 08, 2013 1:56 am    Post subject: Reply with quote

Sorry I hadn't noticed that the last part fell off.
Back to top
View user's profile Send private message
hika
Apprentice
Apprentice


Joined: 13 Mar 2009
Posts: 234
Location: Utrecht

PostPosted: Tue Oct 08, 2013 5:00 pm    Post subject: Reply with quote

Don't ask my why or what, but since I just started with the install I started over and emerged boost as first.
And it goes. It could be because I set -j3 to -j2, but further???

Hika
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 3628
Location: Germany

PostPosted: Mon Dec 16, 2013 12:23 pm    Post subject: Reply with quote

hika wrote:
Code:
KiB Mem:      893492 total,    631332 free
KiB Swap:          0 total,         0 free
For buildig boost it is probably too little.
try it with more RAM and/or SWAP
Back to top
View user's profile Send private message
hika
Apprentice
Apprentice


Joined: 13 Mar 2009
Posts: 234
Location: Utrecht

PostPosted: Mon Dec 16, 2013 2:17 pm    Post subject: Reply with quote

Thanks, I normally enable swap when I start, but obviously had forgotten it. Probably that is why it worked the second time.
It's now happily running as my samba, ldap, nfs, mail, myth, dns etc. server with 4Gig and lots of swap!

Hika
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum