On Sep 8, 2022, at 08:49, Artemio González López wrote: > I got the following error when trying to build py39-nbconvert on a 2014 27” > iMac running the latest version of Catalina (10.15.7). The error I got (from > main.log) is the following: > > :info:build Executing: cd > "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-nbconvert/py39-nbconvert/work/nbconvert-7.0.0" > && /opt/local/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9 > -m build --wheel --no-isolation --outdir > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-nbconvert/py39-nbconvert/work > > :debug:build system: cd > "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-nbconvert/py39-nbconvert/work/nbconvert-7.0.0" > && /opt/local/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9 > -m build --wheel --no-isolation --outdir > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-nbconvert/py39-nbconvert/work > > :info:build Failed to download css from > https://unpkg.com/@jupyterlab/[email protected]/style/index.css: <urlopen > error [Errno 64] Host is down> > :info:build Failed to download css from > https://unpkg.com/@jupyterlab/[email protected]/style/variables.css: > <urlopen error [Errno 64] Host is down> > :info:build Failed to download css from > https://unpkg.com/@jupyterlab/[email protected]/style/variables.css: > <urlopen error [Errno 64] Host is down> > :info:build Failed to download css from > https://cdn.jupyter.org/notebook/5.4.0/style/style.min.css: <urlopen error > [Errno 64] Host is down> > > This error happens a few more times after that, and the build aborts with the > following message: > > :info:build raise OSError("Need CSS to proceed.") > :info:build OSError: Need CSS to proceed. > :info:build * Getting dependencies for wheel... > :info:build * Building wheel... > :info:build ERROR Backend subprocess exited when trying to invoke build_wheel > :info:build Command failed: cd > "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-nbconvert/py39-nbconvert/work/nbconvert-7.0.0" > && /opt/local/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9 > -m build --wheel --no-isolation --outdir > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-nbconvert/py39-nbconvert/work > > :info:build Exit code: 1 > :error:build Failed to build py39-nbconvert: command execution failed > :debug:build Error code: CHILDSTATUS 31665 1 > :debug:build Backtrace: command execution failed > :debug:build while executing > :debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring" > :debug:build invoked from within > :debug:build "command_exec -callback portprogress::target_progress_callback > build" > :debug:build (procedure "portbuild::build_main" line 8) > :debug:build invoked from within > :debug:build "$procedure $targetname" > :error:build See > /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-nbconvert/py39-nbconvert/main.log > for details. > > Any idea what the problem may be?
It evidently can't download something during the build that it needs. (Ports should not download things during the build. This port evidently violates that.) Please file a bug report in the issue tracker so that the maintainer of this port might look into this problem.
