Fail build Veusz

When trying to install Veusz from AUR on stable branch I got the following error :

building 'veusz.helpers.threed' extension
/usr/bin/sip -c build/temp.linux-x86_64-3.8/sip-threed -n PyQt5.sip -t Qt_5_15_0 -t WS_X11 -I NEW/PyQt5 veusz/helpers/src/threed/threed.sip
sip: Unable to find file "QtCore/QtCoremod.sip"
error: command '/usr/bin/sip' failed with exit status 1
==> ERROR: A failure occurred in build().

I have already python-pyqt5 and python-sip packages installed.

Manjaro stable still uses python 3.8 and the PKGBUILD of Veusz uses python 3.9. You’ll have to edit the pkgbuild file.

Install Veusz with the command pamac build veusz and choose Y to edit the build file.

ln -s /usr/lib/python3.9/site-packages/PyQt5/bindings/ NEW/PyQt5
ln -s /usr/lib/python3.8/site-packages/PyQt5/bindings/ NEW/PyQt5

1 Like

That was smart and clean solution. It worked perfectly, thanks a lot :slight_smile:

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.