Summary: | net-libs/libtorrent-rasterbar-1.2.12: failed to call the 'boost-build' rule | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Craig Andrews <candrews> |
Component: | Current packages | Assignee: | Mikle Kolyada (RETIRED) <zlogene> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | anton.gubarkov, ave, axiator, candrews, captaincrutches, crabbedhaloablution, dave.knippers, grozin, ibuyandtrade0+bugs.gentoo.org, imatiimba, jasmin+gentoo, jfostiguy, kilgorephotoshop, leonchik1976, phobosk, sam, soap, solor, tero |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://github.com/boostorg/build/issues/677 https://github.com/gentoo/gentoo/pull/20744 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
new build.log |
Description
Craig Andrews
2021-03-09 13:38:06 UTC
Created attachment 690225 [details]
build.log
*** Bug 775038 has been marked as a duplicate of this bug. *** 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. I can confirm this bug on AMD64 as well. (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 *** Bug 779901 has been marked as a duplicate of this bug. *** Apparently fixed in 1.76 of boost-build. Please try this against boost 1.76 (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] nevermind... im dumb and tired its same error... 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
Still fails with boost-build-1.76.0 (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 *** Bug 789006 has been marked as a duplicate of this bug. *** 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... 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(-) |