Created attachment 492226 [details] build log I suspect this is a typo in the ebuild (see title). gallatin@hans ~ % sudo emerge --info '=dev-libs/boost-1.65.0::gentoo' Portage 2.3.8 (python 3.6.1-final-0, default/linux/amd64/13.0/desktop, gcc-6.4.0, glibc-2.25-r4, 4.12.10-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.12.10-gentoo-x86_64-Intel-R-_Core-TM-_i7-5500U_CPU_@_2.40GHz-with-gentoo-2.4.1 KiB Mem: 8092108 total, 3319872 free KiB Swap: 20479996 total, 20459252 free Timestamp of repository gentoo: Mon, 04 Sep 2017 01:30:01 +0000 Head commit of repository gentoo: 22d8858dce75e5e66ef38ed7e878c64ce1aa2284 Head commit of repository neomutt_gentoo: c6a9d6954ca0230a53ad7fde3894c885ed9c3718 Head commit of repository sk-overlay: 1181a39d7c3f56c3dbb21454767b3f0517d813f3 sh bash 4.4_p12 ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1 app-shells/bash: 4.4_p12::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.24.2::gentoo dev-lang/python: 2.7.13::gentoo, 3.4.6::gentoo, 3.5.3::gentoo, 3.6.1-r1::gentoo dev-util/cmake: 3.9.1::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.4.1-r1::gentoo sys-apps/openrc: 0.29::gentoo sys-apps/sandbox: 2.10-r4::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.15.1-r1::gentoo sys-devel/binutils: 2.28.1::gentoo sys-devel/gcc: 6.4.0::gentoo sys-devel/gcc-config: 1.8-r1::gentoo sys-devel/libtool: 2.4.6-r4::gentoo sys-devel/make: 4.2.1-r1::gentoo sys-kernel/linux-headers: 4.11::gentoo (virtual/os-headers) sys-libs/glibc: 2.25-r4::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 neomutt_gentoo location: /usr/local/portage/mail-client sync-type: git sync-uri: https://github.com/neomutt/gentoo-neomutt masters: gentoo sk-overlay location: /usr/local/overlay/sk-overlay sync-type: git sync-uri: https://c.darenet.org/scriptkitties/overlay.git masters: gentoo x-portage location: /usr/local/portage masters: gentoo priority: 0 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA Vivaldi" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=broadwell -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.1/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cli-php7.1/ext-active/ /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=broadwell -O2 -pipe" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://gentoo.osuosl.org/ rsync://mirrors.rit.edu/gentoo/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j5" 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 --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="X a52 aac acc acl acpi alsa amd64 apng berkdb bindist bluetooth branding bzip2 cairo caps cdda cdr cli colord consolekit cracklib crypt cups curl cxx dbus dri dri3 dts dvb dvd dvdr egl emacs emboss eml encode eudev examples exif fam ffmpeg firebird firefox flac fontconfig fortran gdbm gif git glamor gles gnome-keyring gpm gtk guile highlight hscolour iconv icq icu idn introspection ipv6 java javascript jemalloc jpeg jpeg2k kerberos latex lcms ldap libinput libnotify mad mmap mng modules mp3 mp4 mpeg multilib ncurses networkmanager nls nptl ogg openal opengl openmp pam pango pcmcia pcre pdf perl png policykit posix postgres postscript ppds profile pulseaudio python qt3support qt5 readline ruby sasl scanner sdl seccomp secomp session speex spell sqlite ssh ssl startup-notification svc svg syslog systemtap taglib tcpd threads tiff truetype udev udisks unicode upower usb vaapi valgrind vim-syntax vorbis wayland widgets wifi wxwidgets x264 xattr xcb xft xinerama xml xv xvid zlib zsh-completion" 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="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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmxext mmx sse sse2 sse3 ssse3 sse4_1 sse4_2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-1" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_4 python3_5 python3_6" RUBY_TARGETS="ruby23 ruby24" USERLAND="GNU" VIDEO_CARDS="intel i965" XFCE_PLUGINS="clock power trash multiload-nandhp" 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: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS gallatin@hans ~ % sudo emerge -pqv '=dev-libs/boost-1.65.0::gentoo' [ebuild r U ] dev-libs/boost-1.65.0 [1.63.0] USE="context doc icu mpi nls python threads tools -debug -static-libs" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python2_7 python3_4 python3_5 python3_6" [ebuild rR ] dev-util/mdds-1.2.3 USE="valgrind -doc" [ebuild rR ] dev-cpp/libcmis-0.5.2_pre20160820-r1 USE="-man -static-libs {-test}" [ebuild rR ] net-libs/nghttp2-1.25.0 USE="cxx hpack-tools jemalloc threads utils xml -debug -libressl -static-libs {-test}" ABI_X86="(64) -32 (-x32)" [ebuild rR ] dev-libs/libixion-0.12.2 USE="python threads -debug -static-libs" PYTHON_SINGLE_TARGET="python3_6 -python3_4 -python3_5" PYTHON_TARGETS="python3_4 python3_5 python3_6" [ebuild rR ] dev-libs/liborcus-0.12.1 USE="python spreadsheet-model tools -static-libs" PYTHON_SINGLE_TARGET="python3_6 -python3_4 -python3_5" PYTHON_TARGETS="python3_4 python3_5 python3_6" [ebuild rR ] app-office/libreoffice-5.4.0.3 USE="bluetooth branding collada cups dbus firebird gltf gtk gtk3 java jemalloc odk pdfimport postgres quickstarter vlc -coinmp -debug -eds -gnome -googledrive -gstreamer -kde -libressl -mysql {-test} (-aqua%)" LIBREOFFICE_EXTENSIONS="nlpsolver wiki-publisher -scripting-beanshell -scripting-javascript" PYTHON_SINGLE_TARGET="python3_6 -python2_7 -python3_4 -python3_5" PYTHON_TARGETS="python2_7 python3_4 python3_5 python3_6" The following packages are causing rebuilds: (dev-libs/boost-1.65.0:0/1.65.0::gentoo, ebuild scheduled for merge) causes rebuilds for: (net-libs/nghttp2-1.25.0:0/1.14::gentoo, ebuild scheduled for merge) (dev-libs/libixion-0.12.2:0/0.12::gentoo, ebuild scheduled for merge) (app-office/libreoffice-5.4.0.3:0/0::gentoo, ebuild scheduled for merge) (dev-cpp/libcmis-0.5.2_pre20160820-r1:0.5/0.5::gentoo, ebuild scheduled for merge) (dev-util/mdds-1.2.3:1/1.2::gentoo, ebuild scheduled for merge) (dev-libs/liborcus-0.12.1:0/0.12::gentoo, ebuild scheduled for merge
Same issue here, but when using instead - stable sys-apps/sandbox-2.10-r3 - and also x86 with multilib - stops when ln -f -s /usr/lib64/libpython2.7.so which is a symlink to /usr/lib64/libpython2.7.so.1.0 This is why I just now try again with using not protected symlinks: # sysctl -a |grep protected_symlinks fs.protected_symlinks = 0
My new try succeeded: - using sysctl fs.protected_symlinks = 0 - having upgraded to sys-apps/sandbox-2.10-r4 - and having MAKEOPTS="-j1" --- One of the above factors got me compile boost-1.65.0
(In reply to Ulenrich from comment #2) > My new try succeeded: > - using sysctl fs.protected_symlinks = 0 > - having upgraded to sys-apps/sandbox-2.10-r4 > - and having MAKEOPTS="-j1" > --- > One of the above factors got me compile boost-1.65.0 It fails here with sandbox-2.10-r4 and MAKEOPTS="-j1".
And it fails as well with MAKEOPTS=-j1, sandbox-2.10-r4 and fs.protected_symlinks = 0.
@Juergen Cannot be I got through compile just by chance :) Weird :( When successfully compiled I additionally had these flags: EXTRA_ECONF="--enable-gold=default" CXXFLAGS="-march=native -O2 " without setting -pipe
Bug has been referenced in the following commit: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f4cdea811496e9740761a1718f50d1fd4dfdd96 commit 1f4cdea811496e9740761a1718f50d1fd4dfdd96 Author: David Seifert <soap@gentoo.org> AuthorDate: 2017-09-06 22:22:23 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2017-09-06 22:22:47 +0000 dev-libs/boost: Fix python multi-impl MPI handling Bug: https://bugs.gentoo.org/show_bug.cgi?id=629848 Package-Manager: Portage-2.3.8, Repoman-2.3.3 dev-libs/boost/files/boost-1.65.0-fix-python.patch | 128 +++++++++++++++++++++ 1 file changed, 128 insertions(+)
Patch updated, please give it another try.
(In reply to David Seifert from comment #7) > Patch updated, please give it another try. Also suffered from the issue. With the updated patch (and no other changes to the system/config) compilation finished successfully.
Successfully emerged. Thank you.