Closed picca closed 1 year ago
If I do a strace on the hang process...
picca@grades-01:~$ ps aux | grep sphinx
picca 2573697 0.0 0.0 2600 932 ? S 15:17 0:00 /bin/sh -c env PYTHONPATH=/build/guidata-L6FXsk/guidata-3.0.2+dfsg1/.pybuild/cpython3_3.11_guidata/build \ SPHINXBUILD="python3 -m sphinx" \ SPHINXOPTS="-D mathjax_path=MathJax.js" \ sphinx-build -vvv -N -bhtml doc build/html
picca 2573698 0.1 0.0 62636 50840 ? S 15:17 0:00 /usr/bin/python3 /usr/bin/sphinx-build -vvv -N -bhtml doc build/html
picca 2573877 0.0 0.0 6256 2496 pts/49 S+ 15:19 0:00 grep sphinx
picca@grades-01:~$ strace -p 2573698
strace: Process 2573698 attached
connect(4, {sa_family=AF_INET, sin_port=htons(443), sin_addr=inet_addr("151.101.192.223")}, 16^Cstrace: Process 2573698 detached
<detached ...>
Once deactivated I get this error message
Extension error (sphinx_qt_documentation.utils):
Handler <function missing_reference at 0x7fb0f501c680> for event 'missing-reference' threw an exception (exception: 'PySide6')
make[1]: *** [debian/rules:14: execute_after_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:7: binary] Error 2
???
the ip adresse is the one from
$ host pypi.org pypi.org has address 151.101.128.223 pypi.org has address 151.101.192.223 pypi.org has address 151.101.64.223 pypi.org has address 151.101.0.223
the Debian infrastructure si not connected to internet in order to avoid security issues. so the network is not accessible during the build.
It seems that the documentation try to access something on internet when I run the sphinx-build script.
I am wondering if this is not something related to the get_package_summary_from_pypi...
I can patch this part but maybe the best solution would be to generate these file at release time.
Cheers
Fred