Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 775041 - net-libs/libtorrent-rasterbar-1.2.12: failed to call the 'boost-build' rule
Summary: net-libs/libtorrent-rasterbar-1.2.12: failed to call the 'boost-build' rule
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 2 votes (vote)
Assignee: Mikle Kolyada (RETIRED)
URL:
Whiteboard:
Keywords: PullRequest
: 775038 779901 789006 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-03-09 13:38 UTC by Craig Andrews
Modified: 2021-05-10 09:20 UTC (History)
19 users (show)

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


Attachments
build.log (build.log,500.02 KB, text/plain)
2021-03-09 13:38 UTC, Craig Andrews
Details
new build.log (build.log,438.30 KB, text/plain)
2021-04-24 15:28 UTC, Klemen Mihevc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Craig Andrews gentoo-dev 2021-03-09 13:38:06 UTC
* python3_8: running distutils-r1_run_phase python_compile
python3.8 setup.py build -j 5
running build
running build_ext
project-config.jam contents:
import feature ;
feature.feature libtorrent-python : on ;
using python : 3.8 : "/usr/bin/python3.8" : "/usr/include/python3.8" "/usr/include/python3.8" : : <libtorrent-python>on : ".cpython-38-x86_64-linux-gnu" ;

b2 release address-model=64 -j5 libtorrent-link=prebuilt cxxflags="-std=c++14" linkflags="-L/var/tmp/portage/net-libs/libtorrent-rasterbar-1.2.12/work/libtorrent-1.2.12/src/.libs" linkflags="-L/var/tmp/portage/net-libs/libtorrent-rasterbar-1.2.12/work/libtorrent-1.2.12-python3_8/bindings/python/../../src/.libs" linkflags="-L/usr/lib64" linkflags="-L/usr/lib64" libtorrent-python=on python=3.8 python-install-path=/var/tmp/portage/net-libs/libtorrent-rasterbar-1.2.12/work/libtorrent-1.2.12-python3_8/build/lib install_module
Unable to load B2: could not find build system.
-----------------------------------------------
/usr/share/boost-build/boost-build.jam attempted to load the build system by invoking

   'boost-build src/kernel ;'

but we were unable to find 'bootstrap.jam' in the specified directory or in BOOST_BUILD_PATH:
    /usr/share/boost-build/src/kernel
Please consult the documentation at 'https://boostorg.github.io/build/'.

Unable to load B2
-----------------
'/usr/share/boost-build/boost-build.jam' was found by searching from /var/tmp/portage/net-libs/libtorrent-rasterbar-1.2.12/work/libtorrent-1.2.12-python3_8/bindings/python up to the root.

However, it failed to call the 'boost-build' rule to indicate the location of the build system.

Please consult the documentation at 'https://boostorg.github.io/build/'.

/usr/lib/python3.8/site-packages/setuptools/dist.py:634: UserWarning: Usage of dash-separated 'build-base' will not be supported in future versions. Please use the underscore name 'build_base' instead
  warnings.warn(
/usr/lib/python3.8/site-packages/setuptools/dist.py:634: UserWarning: Usage of dash-separated 'build-platlib' will not be supported in future versions. Please use the underscore name 'build_platlib' instead
  warnings.warn(
/usr/lib/python3.8/site-packages/setuptools/dist.py:634: UserWarning: Usage of dash-separated 'build-purelib' will not be supported in future versions. Please use the underscore name 'build_purelib' instead
  warnings.warn(
/usr/lib/python3.8/site-packages/setuptools/dist.py:634: UserWarning: Usage of dash-separated 'build-scripts' will not be supported in future versions. Please use the underscore name 'build_scripts' instead
  warnings.warn(
/usr/lib/python3.8/site-packages/setuptools/dist.py:634: UserWarning: Usage of dash-separated 'dist-dir' will not be supported in future versions. Please use the underscore name 'dist_dir' instead
  warnings.warn(
/usr/lib/python3.8/site-packages/setuptools/dist.py:634: UserWarning: Usage of dash-separated 'build-base' will not be supported in future versions. Please use the underscore name 'build_base' instead
  warnings.warn(
/usr/lib/python3.8/site-packages/setuptools/dist.py:634: UserWarning: Usage of dash-separated 'build-platlib' will not be supported in future versions. Please use the underscore name 'build_platlib' instead
  warnings.warn(
/usr/lib/python3.8/site-packages/setuptools/dist.py:634: UserWarning: Usage of dash-separated 'build-purelib' will not be supported in future versions. Please use the underscore name 'build_purelib' instead
  warnings.warn(
/usr/lib/python3.8/site-packages/setuptools/dist.py:634: UserWarning: Usage of dash-separated 'build-scripts' will not be supported in future versions. Please use the underscore name 'build_scripts' instead
  warnings.warn(
/usr/lib/python3.8/site-packages/setuptools/dist.py:634: UserWarning: Usage of dash-separated 'dist-dir' will not be supported in future versions. Please use the underscore name 'dist_dir' instead
  warnings.warn(
Traceback (most recent call last):
  File "setup.py", line 293, in <module>
    setuptools.setup(
  File "/usr/lib/python3.8/site-packages/setuptools/__init__.py", line 153, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/usr/lib/python3.8/distutils/command/build.py", line 135, in run
    self.run_command(cmd_name)
  File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "setup.py", line 203, in run
    self.build_extension_with_b2()
  File "setup.py", line 284, in build_extension_with_b2
    subprocess.run(["b2"] + args, cwd=python_binding_dir, check=True)
  File "/usr/lib/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['b2', 'release', 'address-model=64', '-j5', 'libtorrent-link=prebuilt', 'cxxflags="-std=c++14"', 'linkflags="-L/var/tmp/portage/net-libs/libtorrent-rasterbar-1.2.12/work/libtorrent-1.2.12/src/.libs"', 'linkflags="-L/var/tmp/portage/net-libs/libtorrent-rasterbar-1.2.12/work/libtorrent-1.2.12-python3_8/bindings/python/../../src/.libs"', 'linkflags="-L/usr/lib64"', 'linkflags="-L/usr/lib64"', 'libtorrent-python=on', 'python=3.8', 'python-install-path=/var/tmp/portage/net-libs/libtorrent-rasterbar-1.2.12/work/libtorrent-1.2.12-python3_8/build/lib', 'install_module']' returned non-zero exit status 1.
 * ERROR: net-libs/libtorrent-rasterbar-1.2.12::gentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  125:  Called src_compile
 *   environment, line 3832:  Called distutils-r1_src_compile
 *   environment, line 1570:  Called _distutils-r1_run_foreach_impl 'python_compile'
 *   environment, line  557:  Called python_foreach_impl 'distutils-r1_run_phase' 'python_compile'
 *   environment, line 3371:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile'
 *   environment, line 2831:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile'
 *   environment, line 2829:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_compile'
 *   environment, line  965:  Called distutils-r1_run_phase 'python_compile'
 *   environment, line 1563:  Called python_compile
 *   environment, line 3830:  Called distutils-r1_python_compile
 *   environment, line 1433:  Called esetup.py 'build' '-j' '5'
 *   environment, line 2201:  Called die
 * The specific snippet of code:
 *       "${@}" || die "${die_args[@]}";


Reproducible: Always




# emerge --info
Portage 3.0.17 (python 3.9.2-final-0, default/linux/amd64/17.1/systemd, gcc-10.2.0, glibc-2.32-r8, 5.11.0-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-5.11.0-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i5-6500_CPU_@_3.20GHz-with-glibc2.32
KiB Mem:    16074932 total,   1417648 free
KiB Swap:    8037372 total,   5436512 free
Timestamp of repository gentoo: Tue, 09 Mar 2021 13:00:01 +0000
Head commit of repository gentoo: a914eee87a6ee7261e8dea16131f9c9cb324a808
sh bash 5.1_p4
ld GNU ld (Gentoo 2.34 p6) 2.34.0
ccache version 4.2 [enabled]
app-shells/bash:          5.1_p4::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.32.1::gentoo
dev-lang/python:          3.8.8::gentoo, 3.9.2::gentoo
dev-util/ccache:          4.2::gentoo
dev-util/cmake:           3.19.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7-r1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.3-r1::gentoo
sys-devel/binutils:       2.34-r2::gentoo, 2.35.2::gentoo
sys-devel/gcc:            10.2.0-r5::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.11::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r8::gentoo
Repositories:

gentoo
    location: /var/cache/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

flatpak-overlay
    location: /var/lib/layman/flatpak-overlay
    sync-type: laymansync
    sync-uri: https://github.com/fosero/flatpak-overlay.git
    masters: gentoo
    priority: 50

steam-overlay
    location: /var/lib/layman/steam-overlay
    sync-type: laymansync
    sync-uri: https://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50

wayland-desktop
    location: /var/lib/layman/wayland-desktop
    sync-type: laymansync
    sync-uri: https://github.com/epsilon-0/wayland-desktop.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA Intel-SDP Oracle-BCLA-JavaSE Oracle-EADLA AMD-GPU-PRO-EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fuse-linker-plugin -flto -Wl,-flto -ftree-vectorize -falign-functions=32 -fgraphite-identity -floop-nest-optimize -fno-common"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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-php8.0/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cli-php8.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe -fuse-linker-plugin -flto -Wl,-flto -ftree-vectorize -falign-functions=32 -fgraphite-identity -floop-nest-optimize -fno-common"
DISTDIR="/var/cache/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=4 --load-average=4.5"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance candy ccache cgroup clean-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync mount-sandbox multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -flto -Wl,--hash-style=gnu"
LINGUAS="en"
MAKEOPTS="-j5"
PKGDIR="/var/cache/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 aacs acl acpi aiglx alac alsa amd64 amr amrnb amrwb animation apache2 apng argon2 artworkextra asf aspnet2 asyncns authdaemond avahi avi bash-completion bcmath berkdb bitmap-fonts bluetooth bluray bmp bonjour brotli btrfs bzip2 cairo caps cdda cddb cdparanoia cdr celt chm clang cli crypt cryptsetup css cups curl daap dav1d dbus device-mapper dga dhclient dirac divx4linux dlloader dns dnssec dovecot-sasl dpms dri dri3 dts dv dvb dvd dvdr dvdread egl enca encode exif ext4 faac fame fat fbcondecor fbsplash ffmpeg fftw firefox flac fontconfig foomaticdb fortran freetype ftp fuse gaim gd gdbm geoip gif gimpprint glamor gles gles1 gles2 glib glibc-omitfp glitz glut gost gphoto2 graphite gsm gstreamer gstreamer10 gtk gtk2 gudev hardenedphp hbci howl howl-compat http2 https hwdb iconv icu idn imagemagick imap imlib innodb ipv6 java java5 javafx jbig jce joystick jpeg jpeg2k junit kdbus kdehiddenvisibility kvm lapack lcms libfame libglvnd libkms libnotify librtmp libtirpc libusb live llvm lm_sensors lvm lz4 lzma lzo mad maildir mdadm mdnsresponder-compat metalink mjpeg mmap mms mng motif mozilla mozsvg mp3 mpeg mpeg2 mplayer mpx multilib musepack mysql mythtv natspec ncurses nemesi network networkmanager nls nptl nptlonly ntfs nvme ocl-icd offensive ofx ogg oggvorbis openal opencl openexr opengl openmp openvg opus pam pango pcre pcre16 pcre32 pcsc-lite pdf pdflib perl pgo phonon pic pie png pnp policykit ppd ppds pulseaudio python quicktime quvi rar readline rtc rtmp schroedinger screensaver sctp sdl seccomp session sftp sharedmem shout smp sna sni sox speex spell split-usr sqlite srt ssh ssl steamruntime suspend2 svg systemd theora threads tiff tls transcode truetype truetype-fonts type-fonts udev udisks unicode unzip upnp ups usb user-session uxa v4l2 vaapi vcd videos virgl vorbis vpx vulkan wayland webdav webp webservices wifi win32codecs wmf wv x264 x265 xanim xattr xcb xcomposite xdg xinerama xml xml2 xpm xprint xrandr xv xvfb xvid xvmc zeroconf zip zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="hda-intel" APACHE2_MODULES="actions alias auth_basic authn_core authz_core authn_socache cache_disk authn_alias authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex brotli cache dav dav_fs dav_lock dconf deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation remoteip rewrite setenvif speling status unique_id userdir usertrack vhost_alias auth_digest proxy proxy_ajp proxy_connect proxy_http proxy_fcgi reqtimeout cgi cgid unixd socache_shmcb proxy_html xml2enc" APACHE2_MPMS="event" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="libinput evdev joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LIRC_DEVICES="userspace" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" NGINX_MODULES_HTTP="access auth_basic autoindex brotli browser charset empty_gif fastcgi geo grpc gunzip gzip limit_conn limit_req map memcached mirror proxy referer rewrite scgi split_clients ssi upstream_hash upstream_ip_hash upstream_keepalive upstream_least_conn upstream_zone userid uwsgi" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-0" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_9 python3_8" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="intel i965 iris amdgpu radeon radeonsi" 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, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Craig Andrews gentoo-dev 2021-03-09 13:38:26 UTC
Created attachment 690225 [details]
build.log
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-03-09 14:15:04 UTC
*** Bug 775038 has been marked as a duplicate of this bug. ***
Comment 3 Bartłomiej Kamiński 2021-03-11 19:42:19 UTC
Just stumbled upon this bug. Replacing "boost-build src/kernel ;" with "boost-build kernel ;" in /usr/share/boost-build/boost-build.jam fixes it.

This should probably be fixed in the boost-build package.
Comment 4 Chris Whalen 2021-03-12 00:19:40 UTC
I can confirm this bug on AMD64 as well.
Comment 5 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2021-03-12 19:57:36 UTC
(In reply to Bartłomiej Kamiński from comment #3)
> Just stumbled upon this bug. Replacing "boost-build src/kernel ;" with
> "boost-build kernel ;" in /usr/share/boost-build/boost-build.jam fixes it.
> 
> This should probably be fixed in the boost-build package.

Yes, I also though about boost
Comment 6 Ionen Wolkens gentoo-dev 2021-04-04 01:36:31 UTC
*** Bug 779901 has been marked as a duplicate of this bug. ***
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-04-14 16:17:01 UTC
Apparently fixed in 1.76 of boost-build.
Comment 8 David Seifert gentoo-dev 2021-04-24 13:12:54 UTC
Please try this against boost 1.76
Comment 9 Klemen Mihevc 2021-04-24 15:15:40 UTC
(In reply to David Seifert from comment #8)
> Please try this against boost 1.76

Well, this bug seems to be fixed, but it complains something about python:

[code]* python3_8: running distutils-r1_run_phase python_compile
python3.8 setup.py build -j 12
running build
running build_ext
project-config.jam contents:
import feature ;
feature.feature libtorrent-python : on ;
using python : 3.8 : "/usr/bin/python3.8" : "/usr/include/python3.8" "/usr/include/python3.8" : : <libtorrent-python>on : ".cpython-38-x86_64-linux-gnu" ;

b2 release address-model=64 -j12 libtorrent-link=prebuilt cxxflags="-std=c++14" linkflags="-L/var/tmp/portage/net-libs/libtorrent-rasterbar-1.2.12/work/libtorrent-1.2.12/src/.libs" linkflags="-L/var/tmp/portage/net-libs/libtorrent-rasterbar-1.2.12/work/libtorrent-1.2.12-python3_8/bindings/python/../../src/.libs" linkflags="-L/usr/lib64" linkflags="-L/usr/lib64" libtorrent-python=on python=3.8 python-install-path=/var/tmp/portage/net-libs/libtorrent-rasterbar-1.2.12/work/libtorrent-1.2.12-python3_8/build/lib install_module
Unable to load B2: could not find 'boost-build.jam'
---------------------------------------------------
Attempted search from '/var/tmp/portage/net-libs/libtorrent-rasterbar-1.2.12/work/libtorrent-1.2.12-python3_8/bindings/python' up to the root at '/usr/bin/b2'
Please consult the documentation at 'https://boostorg.github.io/build/'.

Traceback (most recent call last):
  File "setup.py", line 293, in <module>
    setuptools.setup(
  File "/usr/lib/python3.8/site-packages/setuptools/__init__.py", line 153, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/usr/lib/python3.8/distutils/command/build.py", line 135, in run
    self.run_command(cmd_name)
  File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "setup.py", line 203, in run
    self.build_extension_with_b2()
  File "setup.py", line 284, in build_extension_with_b2
    subprocess.run(["b2"] + args, cwd=python_binding_dir, check=True)
  File "/usr/lib/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['b2', 'release', 'address-model=64', '-j12', 'libtorrent-link=prebuilt', 'cxxflags="-std=c++14"', 'linkflags="-L/var/tmp/portage/net-libs/libtorrent-rasterbar-1.2.12/work/libtorrent-1.2.12/src/.libs"', 'linkflags="-L/var/tmp/portage/net-libs/libtorrent-rasterbar-1.2.12/work/libtorrent-1.2.12-python3_8/bindings/python/../../src/.libs"', 'linkflags="-L/usr/lib64"', 'linkflags="-L/usr/lib64"', 'libtorrent-python=on', 'python=3.8', 'python-install-path=/var/tmp/portage/net-libs/libtorrent-rasterbar-1.2.12/work/libtorrent-1.2.12-python3_8/build/lib', 'install_module']' returned non-zero exit status 1.
 * ERROR: net-libs/libtorrent-rasterbar-1.2.12::gentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  125:  Called src_compile
 *   environment, line 3771:  Called distutils-r1_src_compile
 *   environment, line 1628:  Called _distutils-r1_run_foreach_impl 'python_compile'
 *   environment, line  551:  Called python_foreach_impl 'distutils-r1_run_phase' 'python_compile'
 *   environment, line 3381:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile'
 *   environment, line 2870:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile'
 *   environment, line 2868:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_compile'
 *   environment, line  922:  Called distutils-r1_run_phase 'python_compile'
 *   environment, line 1621:  Called python_compile
 *   environment, line 3769:  Called distutils-r1_python_compile
 *   environment, line 1482:  Called esetup.py 'build' '-j' '12'
 *   environment, line 2173:  Called die
 * The specific snippet of code:
 *       "${@}" || die -n;
 * [/code]
Comment 10 Klemen Mihevc 2021-04-24 15:17:35 UTC
nevermind... im dumb and tired its same error...
Comment 11 Klemen Mihevc 2021-04-24 15:28:38 UTC
Created attachment 702219 [details]
new build.log

Maybe its not exactly the same but must be similar, why its not exactly the same is because fix with that .jam file doesnt work anymore....


anyway new build.log as attachment
Comment 12 Andrey Grozin gentoo-dev 2021-05-08 02:36:30 UTC
Still fails with boost-build-1.76.0
Comment 13 A Sotirov 2021-05-08 09:18:23 UTC
(In reply to Andrey Grozin from comment #12)
> Still fails with boost-build-1.76.0

The problem is actually that boost-build expects everything withing
/usr/share/boost-build/src

can be confirmed with:

#bjam -n
#b2

linking everything from /usr/share/boost-build

~ # ls -lah /usr/share/boost-build/src
total 8.0K
drwxr-xr-x 2 root root 4.0K May  8 11:51 .
drwxr-xr-x 8 root root 4.0K May  8 11:41 ..
lrwxrwxrwx 1 root root   18 May  8 11:42 boost-build.jam -> ../boost-build.jam
lrwxrwxrwx 1 root root   16 May  8 11:51 bootstrap.jam -> ../bootstrap.jam
lrwxrwxrwx 1 root root    8 May  8 11:41 build -> ../build
lrwxrwxrwx 1 root root   19 May  8 11:51 build-system.jam -> ../build-system.jam
lrwxrwxrwx 1 root root    9 May  8 11:41 kernel -> ../kernel
lrwxrwxrwx 1 root root   10 May  8 11:41 options -> ../options
lrwxrwxrwx 1 root root   18 May  8 11:51 site-config.jam -> ../site-config.jam
lrwxrwxrwx 1 root root    9 May  8 11:42 tools -> ../tools/
lrwxrwxrwx 1 root root   18 May  8 11:51 user-config.jam -> ../user-config.jam
lrwxrwxrwx 1 root root    8 May  8 11:42 util -> ../util/

completely fixes the issue and libtorrent-rasterbar-1.2.12 merges

not sure what that means for the boost-build but the issue is definitely there
Comment 14 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-05-09 05:38:48 UTC
*** Bug 789006 has been marked as a duplicate of this bug. ***
Comment 15 Klemen Mihevc 2021-05-09 14:07:08 UTC
I mean does changing insinto in boost-build-1.76.0.ebuild to  /usr/share/boost-build/src actually hurts anything? I did it locally and libtorrent compiles fine after, however not sure if this creates issues with other packages...
Comment 16 Larry the Git Cow gentoo-dev 2021-05-10 09:14:09 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2934fbb13fc6d0c3a223c58b427b1f08b27962da

commit 2934fbb13fc6d0c3a223c58b427b1f08b27962da
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2021-05-09 23:04:17 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-05-10 07:20:29 +0000

    dev-libs/boost: Use canonical BOOST_BUILD_PATH
    
    Bug: https://bugs.gentoo.org/775041
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: David Seifert <soap@gentoo.org>
    Closes: https://github.com/gentoo/gentoo/pull/20744
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/boost/boost-1.76.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5ebeeb69a5c763051932a77365f64149a328f31

commit b5ebeeb69a5c763051932a77365f64149a328f31
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2021-05-09 23:04:17 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-05-10 07:20:28 +0000

    dev-util/boost-build: Use canonical BOOST_BUILD_PATH
    
    Bug: https://bugs.gentoo.org/775041
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: David Seifert <soap@gentoo.org>
    Signed-off-by: Sam James <sam@gentoo.org>

 .../{boost-build-1.76.0.ebuild => boost-build-1.76.0-r1.ebuild}       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)