Re: [QGIS-Developer] cmake PYQT_SIP_DIR (via Python_SITEARCH) value wrong on Debian and derivatives

2024-02-09 Thread Richard Duivenvoorde via QGIS-Developer
On 2/9/24 15:32, Greg Troxel via QGIS-Developer wrote: So: This is about Debian (and hence Ubuntu etc.) doing something unusual, vs every other system (Other Linux, Windows, Mac, *BSD, illumos.) No, not so much. It is more about Python and Linux distro's (and cmake) trying to address P

Re: [QGIS-Developer] cmake PYQT_SIP_DIR (via Python_SITEARCH) value wrong on Debian and derivatives

2024-02-09 Thread Greg Troxel via QGIS-Developer
Richard Duivenvoorde via QGIS-Developer writes: > On 2/9/24 14:24, Greg Troxel via QGIS-Developer wrote: >> How will this affect builds on other systems? It seems there is >> something deeper wrong, and the real problem might be that there are >> multiple legitimate ways to install things, and

Re: [QGIS-Developer] cmake PYQT_SIP_DIR (via Python_SITEARCH) value wrong on Debian and derivatives

2024-02-09 Thread Richard Duivenvoorde via QGIS-Developer
On 2/9/24 14:24, Greg Troxel via QGIS-Developer wrote: How will this affect builds on other systems? It seems there is something deeper wrong, and the real problem might be that there are multiple legitimate ways to install things, and that the Find script is deficient. How is it looking? It

Re: [QGIS-Developer] cmake PYQT_SIP_DIR (via Python_SITEARCH) value wrong on Debian and derivatives

2024-02-09 Thread Greg Troxel via QGIS-Developer
Richard Duivenvoorde via QGIS-Developer writes: > Hi Devs, > > I kept getting the https://github.com/qgis/QGIS/issues/54184 issue: sip not > being able to find the Qt package sips: 'QtNetwork/QtNetworkmod.sip' could > not be found etc etc I have not tried to build anything beyond 3.34.3 so far

[QGIS-Developer] cmake PYQT_SIP_DIR (via Python_SITEARCH) value wrong on Debian and derivatives

2024-02-09 Thread Richard Duivenvoorde via QGIS-Developer
Hi Devs, I kept getting the https://github.com/qgis/QGIS/issues/54184 issue: sip not being able to find the Qt package sips: 'QtNetwork/QtNetworkmod.sip' could not be found etc etc You can fix this with (on Ubuntu or Debian), by using (before your cmake step): export DEB_PYTHON_INSTALL_LAYOUT