View previous topic :: View next topic |
Author |
Message |
ese002 Tux's lil' helper
Joined: 20 Sep 2006 Posts: 143
|
Posted: Sat Aug 02, 2014 11:24 pm Post subject: [SOLVED] Segfault merging dev-libs/boost-1.52.0-r7 |
|
|
>>> Failed to emerge dev-libs/boost-1.52.0-r7, Log file:
>>> '/var/tmp/portage/dev-libs/boost-1.52.0-r7/temp/build.log'
>>> Jobs: 0 of 1 complete, 1 failed Load avg: 4.39, 4.07, 3.93
* Package: dev-libs/boost-1.52.0-r7
* Repository: gentoo
* Maintainer: cpp@gentoo.org
* USE: abi_x86_64 amd64 elibc_glibc kernel_linux nls python_targets_python2_7 python_targets_python3_3 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-r7/work
>>> Source unpacked in /var/tmp/portage/dev-libs/boost-1.52.0-r7/work
>>> Preparing source in /var/tmp/portage/dev-libs/boost-1.52.0-r7/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 ]
* Applying boost-1.52.0-threads.patch ...
[ ok ]
* Applying boost-1.53.0-glibc-2.18-compat.patch ...
[ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-libs/boost-1.52.0-r7/work/boost_1_52_0 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-libs/boost-1.52.0-r7/work/boost_1_52_0 ...
b2 gentoorelease -j999 -q -d+2 --user-config=/var/tmp/portage/dev-libs/boost-1.52.0-r7/work/boost_1_52_0/user-config.jam --disable-icu boost.locale.icu=off --without-mpi --without-python pch=off --boost-build=/usr/share/boost-build --prefix="/var/tmp/portage/dev-libs/boost-1.52.0-r7/image/usr" --layout=system threading=multi link=shared --without-context
/var/tmp/portage/dev-libs/boost-1.52.0-r7/temp/environment: line 995: 9737 Segmentation fault b2 "$@"
* ERROR: dev-libs/boost-1.52.0-r7::gentoo failed (compile phase):
* Building of Boost libraries failed
*
* Call stack:
* ebuild.sh, line 93: Called src_compile
* environment, line 3637: Called building
* environment, line 3605: Called die
* The specific snippet of code:
* ejam ${OPTIONS} $(use python && echo --python-buildid=${EPYTHON#python}) || die "Building of Boost libraries failed";
*
* If you need support, post the output of `emerge --info '=dev-libs/boost-1.52.0-r7::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-libs/boost-1.52.0-r7::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-libs/boost-1.52.0-r7/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-libs/boost-1.52.0-r7/temp/environment'.
* Working directory: '/var/tmp/portage/dev-libs/boost-1.52.0-r7/work/boost_1_52_0'
* S: '/var/tmp/portage/dev-libs/boost-1.52.0-r7/work/boost_1_52_0'
With an environment of:
Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop/gnome/systemd, gcc-4.7.3, glibc-2.19-r1, 3.12.21-gentoo-r1 x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-3.12.21-gentoo-r1-x86_64-Intel-R-_Core-TM-_i5-3570_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem: 16112408 total, 9444700 free
KiB Swap: 33537916 total, 32873888 free
Timestamp of tree: Sat, 02 Aug 2014 21:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash: 4.2_p45
dev-java/java-config: 2.2.0
dev-lang/python: 2.7.7, 3.3.5-r1
dev-util/cmake: 2.8.12.2-r1
dev-util/pkgconfig: 0.28-r1
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.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
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -g -frecord-gcc-switches"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -g -frecord-gcc-switches"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=4 --load-average=4"
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="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j -l4"
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=""
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli colord cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fortran gdbm gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv introspection ipv6 jpeg lcms ldap libnotify libsecret mad mmx mng modules mp3 mp4 mpeg multilib nautilus ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt3support qt4 readline sdl session socialweb spell sse sse2 ssl startup-notification svg systemd tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb xml 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="access auth auth_dbm auth_anon auth_digest alias file-cache echo charset-lite cache disk-cache mem-cache ext-filter case_filter case-filter-in mime-magic cern-meta expires headers usertrack unique-id proxy proxy-connect proxy-ftp proxy-http info include cgi cgid dav dav-fs vhost-alias speling rewrite log_config logio env setenvif mime status autoindex asis negotiation dir imap actions userdir so authz_host" 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" DRACUT_MODULES="syslog mdraid" 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" 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="intel" 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, SYNC, USE_PYTHON
-and--
[ebuild U ] dev-libs/boost-1.52.0-r7 [1.52.0-r6] USE="nls threads -debug -doc -icu -mpi -python -static-libs -tools" PYTHON_TARGETS="python2_7 python3_3 -python3_2 (-python2_6%)"
Any ideas? Other threads suggest -icu, which I tried but nothing changed.
Last edited by ese002 on Sat Aug 09, 2014 4:51 am; edited 1 time in total |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21633
|
Posted: Sun Aug 03, 2014 2:30 am Post subject: |
|
|
/usr/bin/b2 is provided by dev-util/boost-build. Does rebuilding that help? |
|
Back to top |
|
|
ese002 Tux's lil' helper
Joined: 20 Sep 2006 Posts: 143
|
Posted: Sun Aug 03, 2014 2:57 am Post subject: |
|
|
I rebuilt boost-build but I don't see any change.
>>> Emerging (1 of 1) dev-libs/boost-1.52.0-r7
>>> Failed to emerge dev-libs/boost-1.52.0-r7, Log file:
>>> '/var/tmp/portage/dev-libs/boost-1.52.0-r7/temp/build.log'
>>> Jobs: 0 of 1 complete, 1 failed Load avg: 1.10, 0.60, 0.56
* Package: dev-libs/boost-1.52.0-r7
* Repository: gentoo
* Maintainer: cpp@gentoo.org
* USE: abi_x86_64 amd64 elibc_glibc kernel_linux nls python_targets_python2_7 python_targets_python3_3 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-r7/work
>>> Source unpacked in /var/tmp/portage/dev-libs/boost-1.52.0-r7/work
>>> Preparing source in /var/tmp/portage/dev-libs/boost-1.52.0-r7/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 ]
* Applying boost-1.52.0-threads.patch ...
[ ok ]
* Applying boost-1.53.0-glibc-2.18-compat.patch ...
[ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-libs/boost-1.52.0-r7/work/boost_1_52_0 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-libs/boost-1.52.0-r7/work/boost_1_52_0 ...
b2 gentoorelease -j999 -q -d+2 --user-config=/var/tmp/portage/dev-libs/boost-1.52.0-r7/work/boost_1_52_0/user-config.jam --disable-icu boost.locale.icu=off --without-mpi --without-python pch=off --boost-build=/usr/share/boost-build --prefix="/var/tmp/portage/dev-libs/boost-1.52.0-r7/image/usr" --layout=system threading=multi link=shared --without-context
/var/tmp/portage/dev-libs/boost-1.52.0-r7/temp/environment: line 995: 18583 Segmentation fault b2 "$@"
* ERROR: dev-libs/boost-1.52.0-r7::gentoo failed (compile phase):
* Building of Boost libraries failed
*
* Call stack:
* ebuild.sh, line 93: Called src_compile
* environment, line 3637: Called building
* environment, line 3605: Called die
* The specific snippet of code:
* ejam ${OPTIONS} $(use python && echo --python-buildid=${EPYTHON#python}) || die "Building of Boost libraries failed";
*
* If you need support, post the output of `emerge --info '=dev-libs/boost-1.52.0-r7::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-libs/boost-1.52.0-r7::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-libs/boost-1.52.0-r7/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-libs/boost-1.52.0-r7/temp/environment'.
* Working directory: '/var/tmp/portage/dev-libs/boost-1.52.0-r7/work/boost_1_52_0'
* S: '/var/tmp/portage/dev-libs/boost-1.52.0-r7/work/boost_1_52_0' |
|
Back to top |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Sun Aug 03, 2014 9:15 pm Post subject: |
|
|
drop -g -frecord-gcc-switches from CFLAGS and if you use tmpfs drop pipe too |
|
Back to top |
|
|
ese002 Tux's lil' helper
Joined: 20 Sep 2006 Posts: 143
|
Posted: Mon Aug 04, 2014 12:32 am Post subject: |
|
|
Thanks krinn. I did that. Unfortunately, the error persists. I even tried rebuilding boost-build with the new settings and then re-running the merge of boost. Nothing seems to have changed.
>>> Jobs: 0 of 1 complete, 1 failed Load avg: 1.04, 0.72, 0.56
* Package: dev-libs/boost-1.52.0-r7
* Repository: gentoo
* Maintainer: cpp@gentoo.org
* USE: abi_x86_64 amd64 elibc_glibc kernel_linux nls python_targets_python2_7 python_targets_python3_3 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-r7/work
>>> Source unpacked in /var/tmp/portage/dev-libs/boost-1.52.0-r7/work
>>> Preparing source in /var/tmp/portage/dev-libs/boost-1.52.0-r7/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 ]
* Applying boost-1.52.0-threads.patch ...
[ ok ]
* Applying boost-1.53.0-glibc-2.18-compat.patch ...
[ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-libs/boost-1.52.0-r7/work/boost_1_52_0 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-libs/boost-1.52.0-r7/work/boost_1_52_0 ...
b2 gentoorelease -j999 -q -d+2 --user-config=/var/tmp/portage/dev-libs/boost-1.52.0-r7/work/boost_1_52_0/user-config.jam --disable-icu boost.locale.icu=off --without-mpi --without-python pch=off --boost-build=/usr/share/boost-build --prefix="/var/tmp/portage/dev-libs/boost-1.52.0-r7/image/usr" --layout=system threading=multi link=shared --without-context
/var/tmp/portage/dev-libs/boost-1.52.0-r7/temp/environment: line 995: 27109 Segmentation fault b2 "$@"
* ERROR: dev-libs/boost-1.52.0-r7::gentoo failed (compile phase):
* Building of Boost libraries failed
*
* Call stack:
* ebuild.sh, line 93: Called src_compile
* environment, line 3637: Called building
* environment, line 3605: Called die
* The specific snippet of code:
* ejam ${OPTIONS} $(use python && echo --python-buildid=${EPYTHON#python}) || die "Building of Boost libraries failed";
*
* If you need support, post the output of `emerge --info '=dev-libs/boost-1.52.0-r7::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-libs/boost-1.52.0-r7::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-libs/boost-1.52.0-r7/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-libs/boost-1.52.0-r7/temp/environment'.
* Working directory: '/var/tmp/portage/dev-libs/boost-1.52.0-r7/work/boost_1_52_0'
* S: '/var/tmp/portage/dev-libs/boost-1.52.0-r7/work/boost_1_52_0'
* Messages for package dev-libs/boost-1.52.0-r7:
* ERROR: dev-libs/boost-1.52.0-r7::gentoo failed (compile phase):
* Building of Boost libraries failed
*
* Call stack:
* ebuild.sh, line 93: Called src_compile
* environment, line 3637: Called building
* environment, line 3605: Called die
* The specific snippet of code:
* ejam ${OPTIONS} $(use python && echo --python-buildid=${EPYTHON#python}) || die "Building of Boost libraries failed";
*
* If you need support, post the output of `emerge --info '=dev-libs/boost-1.52.0-r7::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-libs/boost-1.52.0-r7::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-libs/boost-1.52.0-r7/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-libs/boost-1.52.0-r7/temp/environment'.
* Working directory: '/var/tmp/portage/dev-libs/boost-1.52.0-r7/work/boost_1_52_0'
* S: '/var/tmp/portage/dev-libs/boost-1.52.0-r7/work/boost_1_52_0'
Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop/gnome/systemd, gcc-4.7.3, glibc-2.19-r1, 3.12.21-gentoo-r1 x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-3.12.21-gentoo-r1-x86_64-Intel-R-_Core-TM-_i5-3570_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem: 16112408 total, 2234496 free
KiB Swap: 33537916 total, 32736808 free
Timestamp of tree: Sat, 02 Aug 2014 21:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash: 4.2_p45
dev-java/java-config: 2.2.0
dev-lang/python: 2.7.7, 3.3.5-r1
dev-util/cmake: 2.8.12.2-r1
dev-util/pkgconfig: 0.28-r1
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.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
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=4 --load-average=4"
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="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j -l4"
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=""
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli colord cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fortran gdbm gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv introspection ipv6 jpeg lcms ldap libnotify libsecret mad mmx mng modules mp3 mp4 mpeg multilib nautilus ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt3support qt4 readline sdl session socialweb spell sse sse2 ssl startup-notification svg systemd tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb xml 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="access auth auth_dbm auth_anon auth_digest alias file-cache echo charset-lite cache disk-cache mem-cache ext-filter case_filter case-filter-in mime-magic cern-meta expires headers usertrack unique-id proxy proxy-connect proxy-ftp proxy-http info include cgi cgid dav dav-fs vhost-alias speling rewrite log_config logio env setenvif mime status autoindex asis negotiation dir imap actions userdir so authz_host" 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" DRACUT_MODULES="syslog mdraid" 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" 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="intel" 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, SYNC, USE_PYTHON |
|
Back to top |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Mon Aug 04, 2014 9:46 am Post subject: |
|
|
did you try /usr/bin/b2 to see it actually can run without segfault? (so you'll need to aim your search on boost-build instead of boost itself) |
|
Back to top |
|
|
ese002 Tux's lil' helper
Joined: 20 Sep 2006 Posts: 143
|
Posted: Mon Aug 04, 2014 4:15 pm Post subject: |
|
|
krinn wrote: | did you try /usr/bin/b2 to see it actually can run without segfault? (so you'll need to aim your search on boost-build instead of boost itself) |
eric@crab ~ $ /usr/bin/b2
warning: No toolsets are configured.
warning: Configuring default toolset "gcc".
warning: If the default is wrong, your build may not work correctly.
warning: Use the "toolset=xxxxx" option to override our guess.
warning: For more configuration options, please consult
warning: http://boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html
error: error: no Jamfile in current directory found, and no target references specified.
------
So it is, at least, input dependent. I have not decoded what options were being passed when it failed. b2 is called by ejam which is itself called in several places. |
|
Back to top |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Mon Aug 04, 2014 6:22 pm Post subject: |
|
|
Code: | b2 gentoorelease -j999 -q -d+2 ... |
Dunno for you, but my b2 refuse more than -j64, so you really have a bug there. Dunno what -j option is (that b2 help is not helpful) but if the -j option is use for threading process, 999 is sure failure |
|
Back to top |
|
|
ese002 Tux's lil' helper
Joined: 20 Sep 2006 Posts: 143
|
Posted: Sat Aug 09, 2014 4:52 am Post subject: |
|
|
Looks like the ebuild has been fixed. I have made no further changes and it now builds correctly without incident. |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21633
|
Posted: Sat Aug 09, 2014 3:54 pm Post subject: |
|
|
krinn wrote: | Code: | b2 gentoorelease -j999 -q -d+2 ... |
Dunno for you, but my b2 refuse more than -j64, so you really have a bug there. Dunno what -j option is (that b2 help is not helpful) but if the -j option is use for threading process, 999 is sure failure | This is "normal" for the crazy setup the OP used. Per comment from /usr/portage/eclass/multiprocessing.eclass:makeopts_jobs: | # Searches the arguments (defaults to ${MAKEOPTS}) and extracts the jobs number
# specified therein. Useful for running non-make tools in parallel too.
# i.e. if the user has MAKEOPTS=-j9, this will echo "9" -- we can't return the
# number as bash normalizes it to [0, 255]. If the flags haven't specified a
# -j flag, then "1" is shown as that is the default `make` uses. Since there's
# no way to represent infinity, we return 999 if the user has -j without a number.
| OP has an unqualified -j, which tells Make to use as many jobs as it can. This function then converts that to -j999, since some tools may not understand infinity.
ese002 wrote: | Looks like the ebuild has been fixed. I have made no further changes and it now builds correctly without incident. | How does the output differ now from what it was when it failed? Is b2 invoked in the same way? |
|
Back to top |
|
|
xbittwiddler n00b
Joined: 26 Feb 2014 Posts: 15
|
Posted: Sun Sep 21, 2014 10:48 pm Post subject: |
|
|
Sorry to bump an old thread, but I just ran into this same issue with built boost-1.52.0-r6 and have noticed another form of this same "bug"
You are correct that this has been fixed if you build with
@Hu: It no longer calls b2 with the option -j999.
However, I had something more along the lines of Code: | MAKEOPTS="-l 8.5 -j" |
and it attempted to spawn 999 jobs again
I suggest to anyone else reading this post to set the number of jobs defined by MAKEOPTS to a fixed integer value when compiling boost.
I am busy for the next few hours, but if I get around to it, I will try to correct the ebuild and submit a patch later tonight. |
|
Back to top |
|
|
|
|
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
|
|