Fragment of the build log: * Package: dev-python/ipyparallel-8.2.0 [...] >>> Compiling source in /tmp/portage/dev-python/ipyparallel-8.2.0/work/ipyparallel-8.2.0 ... * python3_9: running distutils-r1_run_phase distutils-r1_python_compile [...] * Building the wheel via setuptools.build_meta running bdist_wheel running pre_dist Installing build dependencies with npm. This may take a while... > jlpm install yarn install v1.21.1 info No lockfile found. [1/4] Resolving packages... info There appears to be trouble with your network connection. Retrying... error An unexpected error occurred: "https://registry.yarnpkg.com/@types%2freact: connect ENETUNREACH 104.16.16.35:443 - Local (0.0.0.0:0)". info If you think this is a bug, please open a bug report with the information provided in "/tmp/portage/dev-python/ipyparallel-8.2.0/work/ipyparallel-8.2.0/yarn-error.log". info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command. Traceback (most recent call last): [...] subprocess.CalledProcessError: Command '['/usr/sbin/jlpm', 'install']' returned non-zero exit status 1. * ERROR: dev-python/ipyparallel-8.2.0::gentoo failed (compile phase): * Wheel build failed * * Call stack: * ebuild.sh, line 127: Called src_compile * environment, line 3123: Called distutils-r1_src_compile * environment, line 1361: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile' * environment, line 555: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2795: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2280: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2278: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 862: Called distutils-r1_run_phase 'distutils-r1_python_compile' * environment, line 1349: Called distutils-r1_python_compile * environment, line 1160: Called die * The specific snippet of code: * "${EPYTHON}" -c "import ${build_backend%:*}; import os; ${build_backend/:/.}.build_wheel(os.environ['WHEEL_BUILD_DIR'])" || die "Wheel build failed"; Reproducible: Always
Created attachment 764621 [details] emerge --info
Created attachment 764622 [details] full build log
I've installed yarn and still can't reproduce. Any clue what else I may be missing?
(In reply to Michał Górny from comment #3) > I've installed yarn and still can't reproduce. Any clue what else I may be > missing? Get exactly the same here - maybe it depends on something in the profile (systemd?) (here: default/linux/amd64/17.1/systemd)
(In reply to Bernd Feige from comment #4) > (In reply to Michał Górny from comment #3) > > I've installed yarn and still can't reproduce. Any clue what else I may be > > missing? > > Get exactly the same here - maybe it depends on something in the profile > (systemd?) > (here: default/linux/amd64/17.1/systemd) With: FEATURES=-network-sandbox emerge -1 dev-python/ipyparallel the yarn build works but then "jupyter labextension build ." fails with: running install_data error: can't copy 'ipyparallel/labextension/static/572.d4c49c9e00ca709b9f1d.js': doesn't exist or not a regular file in a second attempt: running install_data error: can't copy 'ipyparallel/labextension/static/remoteEntry.34efbd5c8b146e4195cf.js': doesn't exist or not a regular file It still fails every time.
Could you try setting: export IPP_DISABLE_JS=1 and then emerging it? If that helps, I'll put it into the ebuild.
Built successfully with IPP_DISABLE_JS=1 emerge -1u ipyparallel
Thanks for testing. I'm going to push it when I'm done building kernels.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7847c8678e84286eec1b07c5aed34b39c3a09bc commit d7847c8678e84286eec1b07c5aed34b39c3a09bc Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2022-02-08 22:30:07 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2022-02-08 23:21:37 +0000 dev-python/ipyparallel: Prevent rebuilding stuff via nodejs Closes: https://bugs.gentoo.org/832930 Signed-off-by: Michał Górny <mgorny@gentoo.org> dev-python/ipyparallel/ipyparallel-8.2.0.ebuild | 4 ++++ 1 file changed, 4 insertions(+)