Installation issue with pip, building from source

Jeremy Sanders jeremy at jeremysanders.net
Mon May 19 18:48:02 BST 2025



On 19/05/2025 00:55, Phil Thompson wrote:
veusz/veusz/actions/runs/15096973165/job/42432933475
> 
> The changes in this area are that the metadata version will have changed 
> from v2.1 to v2.2, and that the names of sdists and/or wheels have 
> changed to be all lower case. I don't know of caching works in a github 
> environment - can there be an older mixed case file lying around as well?
> 
> I'd hack pip to print out the arguments to join() which I would think 
> would be a big clue.

Thanks - I'll see if I can do that. Maybe I'll see if sip-build works.

For debugging, I just tried running sip-build on my Ubuntu 24.04 
installation and get the following error with PyQt-6.9.0, with the 
standard Ubuntu Qt 6.4.2:

sip-build --qmake=/usr/bin/qmake6 --verbose
...

g++ -c -pipe -O2 -std=gnu++1z -fno-exceptions -Wall -Wextra -D_REENTRANT 
-fPIC -DPy_LIMITED_API=0x03090000 -DSIP_PROTECTED_IS_PUBLIC 
-Dprotected=public -DQT_KEYPAD_NAVIGATION -DQT_NO_EXCEPTIONS 
-DQT_NO_DEBUG -DQT_PLUGIN -DQT_CORE_LIB -I. -I. -I.. -I../../qpy/QtCore 
-I/usr/include/python3.12 -I/usr/include/x86_64-linux-gnu/qt6 
-I/usr/include/x86_64-linux-gnu/qt6/QtCore -I. 
-I/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -o sipQtCoreQChar.o 
sipQtCoreQChar.cpp
/home/jss/tmp/foo/pyqt6-6.9.0/build/QtCore/sipQtCoreQChar.cpp:510:53: 
error: ‘Script_Kawi’ is not a member of ‘QChar’
   510 |     {sipName_Script_Kawi, static_cast<int>(::QChar::Script_Kawi)},
       |                                                     ^~~~~~~~~~~
/home/jss/tmp/foo/pyqt6-6.9.0/build/QtCore/sipQtCoreQChar.cpp:511:59: 
error: ‘Script_NagMundari’ is not a member of ‘QChar’
   511 |     {sipName_Script_NagMundari, 
static_cast<int>(::QChar::Script_NagMundari)},
       | 
^~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:2861: sipQtCoreQChar.o] Error 1
make[1]: Leaving directory '/home/jss/tmp/foo/pyqt6-6.9.0/build/QtCore'
make: *** [Makefile:59: sub-QtCore-make_first-ordered] Error 2
sip-build: 'make' failed returning 2


Cheers

Jeremy


More information about the PyQt mailing list