Subject: bug#63549: python-poppler-qt5 build fails

From: Giovanni Biscuolo <[email-masked]>
Date: Wed, 17 May 2023 10:45:31 +0200

Hello,

build is failing on Guix commit fe01acea56

is also failing on boureaux build farm [1]

--8<---------------cut here---------------start------------->8---

The following derivation will be built:
  /gnu/store/1jv6lwkfqpjy2jqifs3xjpp7xjz6sw7d-python-poppler-qt5-21.1.0.drv

[...]

building /gnu/store/1jv6lwkfqpjy2jqifs3xjpp7xjz6sw7d-python-poppler-qt5-21.1.0.drv...

[...]

starting phase `build'
running "python setup.py" with command "build_ext" and parameters ("--pyqt-sip-dir=/gnu/store/7a5cx6yzn5i5cvqm5mg0138dyhy2jcgc-python-pyqt-5.15.9/share/sip")
/gnu/store/dy3xh053ahkhrp2jamggq8cpsyvp8mg0-python-3.10.7/lib/python3.10/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'force-manifest' will not be supported in future versions. Please use the underscore name 'force_manifest' instead
  warnings.warn(
running build_ext
building 'popplerqt5' extension
/gnu/store/pzlvgglsbwjkgn9x25bfgni2836ch3i3-python-sip-4.19.25/bin/sip -I /gnu/store/dy3xh053ahkhrp2jamggq8cpsyvp8mg0-python-3.10.7/share/sip -t POPPLER_V21_01_0 -x QTXML_AVAILABLE -c build/temp.linux-x86_64-cpython-310 -b build/temp.linux-x86_64-cpython-310/poppler-qt5.sbf -I /gnu/store/7a5cx6yzn5i5cvqm5mg0138dyhy2jcgc-python-pyqt-5.15.9/share/sip -n PyQt5.sip -t Qt_5_15_8 -t WS_X11 poppler-qt5.sip
sip: Unable to find file "QtCore/QtCoremod.sip"
error: command '/gnu/store/pzlvgglsbwjkgn9x25bfgni2836ch3i3-python-sip-4.19.25/bin/sip' failed with exit code 1
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "python" arguments: ("-c" "import setuptools, tokenize;__file__='setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\\r\\n', '\\n');f.close();exec(compile(code, __file__, 'exec'))" "build_ext" "--pyqt-sip-dir=/gnu/store/7a5cx6yzn5i5cvqm5mg0138dyhy2jcgc-python-pyqt-5.15.9/share/sip") exit-status: 1 term-signal: #f stop-signal: #f> 
phase `build' failed after 0.3 seconds
command "python" "-c" "import setuptools, tokenize;__file__='setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\\r\\n', '\\n');f.close();exec(compile(code, __file__, 'exec'))" "build_ext" "--pyqt-sip-dir=/gnu/store/7a5cx6yzn5i5cvqm5mg0138dyhy2jcgc-python-pyqt-5.15.9/share/sip" failed with status 1
builder for `/gnu/store/1jv6lwkfqpjy2jqifs3xjpp7xjz6sw7d-python-poppler-qt5-21.1.0.drv' failed with exit code 1
@ build-failed /gnu/store/1jv6lwkfqpjy2jqifs3xjpp7xjz6sw7d-python-poppler-qt5-21.1.0.drv - 1 builder for `/gnu/store/1jv6lwkfqpjy2jqifs3xjpp7xjz6sw7d-python-poppler-qt5-21.1.0.drv' failed with exit code 1
derivation '/gnu/store/1jv6lwkfqpjy2jqifs3xjpp7xjz6sw7d-python-poppler-qt5-21.1.0.drv' offloaded to 'batondor' failed: build of `/gnu/store/1jv6lwkfqpjy2jqifs3xjpp7xjz6sw7d-python-poppler-qt5-21.1.0.drv' failed
build of /gnu/store/1jv6lwkfqpjy2jqifs3xjpp7xjz6sw7d-python-poppler-qt5-21.1.0.drv failed
Could not find build log for '/gnu/store/1jv6lwkfqpjy2jqifs3xjpp7xjz6sw7d-python-poppler-qt5-21.1.0.drv'.
guix build: error: build of `/gnu/store/1jv6lwkfqpjy2jqifs3xjpp7xjz6sw7d-python-poppler-qt5-21.1.0.drv' failed

--8<---------------cut here---------------end--------------->8---

Happy hacking! Gio'

[1] http://data.guix.gnu.org/gnu/store/1jv6lwkfqpjy2jqifs3xjpp7xjz6sw7d-python-poppler-qt5-21.1.0.drv

-- 
Giovanni Biscuolo

Xelera IT Infrastructures