[QGIS-Developer] QGIS compile python issue Debian Testing/Bookworm?

Richard Duivenvoorde rdmailings at duif.net
Thu May 5 10:16:25 PDT 2022


Hi Configuring qgis, I get:

  Pedantic compiler settings enabled
  Debug output enabled
  Found GSL: -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm
  -- Found Python executable: /usr/bin/python3.9 (version 3.9.12)
  -- Python library: /usr/lib/x86_64-linux-gnu/libpython3.9.so
  -- Python site-packages: /usr/lib/python3/dist-packages
  Traceback (most recent call last):
    File "/home/richard/git/qgis/cmake/FindSIP.py", line 34, in <module>
      import sipbuild
    File "/usr/lib/python3/dist-packages/sipbuild/__init__.py", line 25, in <module>
      from .abstract_builder import AbstractBuilder
    File "/usr/lib/python3/dist-packages/sipbuild/abstract_builder.py", line 26, in <module>
      from .configurable import Configurable
    File "/usr/lib/python3/dist-packages/sipbuild/configurable.py", line 24, in <module>
      from packaging.markers import Marker
  ModuleNotFoundError: No module named 'packaging'

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "/home/richard/git/qgis/cmake/FindSIP.py", line 44, in <module>
      import sipconfig
  ModuleNotFoundError: No module named 'sipconfig'
  CMake Error at cmake/FindSIP.cmake:58 (MESSAGE):
    Could not find SIP
  Call Stack (most recent call first):
    CMakeLists.txt:958 (find_package)

  Configuring incomplete, errors occurred!
  See also "/home/richard/git/qgis/build/CMakeFiles/CMakeOutput.log".
  See also "/home/richard/git/qgis/build/CMakeFiles/CMakeError.log".

I know there is also python 3.10 coming in...

I think I have all sip related stuff installed:

$ apt search sip | grep python

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

kamailio-python3-modules/testing,testing 5.5.4-1+b2 amd64
   app_python3 module for the Kamailio SIP server
python-sip-doc/testing,testing 4.19.25+dfsg-3 all
python3-aioice/testing,testing 0.7.7-1 all
python3-pyqt5.sip/testing,testing,now 12.10.1-1 amd64 [installed,automatic]
python3-pyqt6.sip/testing,testing,now 13.3.1-1 amd64 [installed]
python3-pyqtbuild/testing,testing,now 1.12.2+dfsg-1 all [installed]
python3-python-qt-binding/testing,testing 0.4.4-1 all
python3-sip/testing,testing,now 4.19.25+dfsg-3+b1 amd64 [installed]
python3-sip-dev/testing,testing,now 4.19.25+dfsg-3+b1 amd64 [installed]
python3-sipbuild/testing,testing,now 6.5.1+dfsg-1 amd64 [installed]
python3-siphashc/testing,testing 2.1-0.1 amd64
   python c-module for siphash, based on floodberry's version
python3-socks/testing,testing 1.7.1+dfsg-1 all
python3-socksipychain/testing,testing 2.1.2-1 all
python3-stdnum/testing,testing 1.17-1 all
python3-transip/testing,testing 2.0.0-3 all

Others having problems on bookworm?

Any pointers?

Regards,

Richard Duivenvoorde


More information about the QGIS-Developer mailing list