[QGIS-Developer] Build problems using install instructions

Julien Cabieces julien.cabieces at oslandia.com
Sun Apr 28 23:57:13 PDT 2024


Hi,

Sorry I didn't read your mail till the end, and actually I'm pretty
confident to know where it comes because I fixed it 4 days ago...

I'm pretty sure it's related to this:
https://github.com/qgis/QGIS/pull/57218

If you try to build master, just pull your repository, restart a
clean build, and it should be ok. Le me know if it's not the case.

Regards,
Julien

> Not sure if it helps, but:
>
> # locate QtWidgetsmod.sip
> /usr/lib/python3/dist-packages/PyQt5/bindings/QtWidgets/QtWidgetsmod.sip
>
> # dpkg -S /usr/lib/python3/dist-packages/PyQt5/bindings/QtWidgets/QtWidgetsmod.sip
> pyqt5-dev: /usr/lib/python3/dist-packages/PyQt5/bindings/QtWidgets/QtWidgetsmod.sip
>
> Do you have pyqt5-dev installed?
>
> Note:
> https://github.com/qgis/QGIS/blob/master/debian/control.in
> shows alle packages our Debian packager is using :-)
>
> Else: try to a clean build?
>
> Regards,
>
> Richard Duivenvoorde
>
>
> On 4/26/24 11:51, Tony Bazeley via QGIS-Developer wrote:
>> Thanks Julien,
>> I've  installed all the packages listed, including pyqt-dev
>> dpkg -l | grep pyqt5-dev
>> ii *pyqt5-dev*                                           5.15.10+dfsg-0xneon+22.04+jammy+release+build26              all          Development files for PyQt5
>> ii *pyqt5-dev*-tools                                     5.15.10+dfsg-0xneon+22.04+jammy+release+build26              amd64        Development tools for PyQt5
>> On Thursday 25 April 2024 10:09:19 PM ACST Julien Cabieces via
>> QGIS-Developer wrote:
>>  > Hi,
>>  >
>>  > You probably need to install the package which provide those
>> files, it's
>>  > pyqt5-dev on Debian, so it should be the same on Ubuntu.
>>  >
>>  > It's on the list of packages to be installed [0], did you install
>> them ?
>>  >
>>  > You can check if it's properly installed with the following
>> command:
>>  >
>>  > dpkg -l | grep pyqt5-dev
>>  >
>>  > Regards,
>>  > Julien
>>  >
>>  > [0]
>>  >
>> https://github.com/qgis/QGIS/blob/master/INSTALL.md#33-install-build-depend
>>  > encies
>>  > > Hi,
>>  > >
>>  > > I'm not an experienced builder, and have come to this point
>> after finding
>>  > > problems with QGIS using KDE Neon  - library problems with the
>> binary and
>>  > > age problems with the flatpack version.
>>  > >
>>  > > I'm running the latest KDE Neon version which runs on Ubuntu
>> 22.04
>>  > >
>>  > >
>>  > >
>>  > > I've managed a successful QGIS build parroting instructions
>> from
>>  > > https://github.com/qgis/QGIS/blob/master/INSTALL.md
>>  > >
>>  > > However this time around I've errors which I don't know how to
>> resolve:
>>  > >
>>  > > sip-build:
>> /home/tonbaz/dev/cpp/QGIS/build-master/python/core/core.sip:
>>  > > line 101: column 9: 'QtXml/QtXmlmod.sip' could not be found
>>  > > /home/tonbaz/dev/cpp/QGIS/build-master/python/core/core.sip:
>> line 102:
>>  > > column 9: 'QtNetwork/QtNetworkmod.sip' could not be found
>>  > > /home/tonbaz/dev/cpp/QGIS/build-master/python/core/core.sip:
>> line 103:
>>  > > column 9: 'QtSql/QtSqlmod.sip' could not be found
>>  > > /home/tonbaz/dev/cpp/QGIS/build-master/python/core/core.sip:
>> line 105:
>>  > > column 9: 'QtPrintSupport/QtPrintSupportmod.sip' could not be
>> found
>>  > > /home/tonbaz/dev/cpp/QGIS/build-master/python/core/core.sip:
>> line 106:
>>  > > column 9: 'QtWidgets/QtWidgetsmod.sip' could not be found
>>  > > /home/tonbaz/dev/cpp/QGIS/build-master/python/core/core.sip:
>> line 107:
>>  > > column 9: 'QtPositioning/QtPositioningmod.sip' could not be
>> found
>>  > > /home/tonbaz/dev/cpp/QGIS/build-master/python/core/core.sip:
>> line 110:
>>  > > column 9: 'QtSerialPort/QtSerialPortmod.sip' could not be found
>>  > > /home/tonbaz/dev/cpp/QGIS/build-master/python/3d/3d.sip: line
>> 8: column
>>  > > 9: 'QtCore/QtCoremod.sip' could not be found
>>  > > /home/tonbaz/dev/cpp/QGIS/build-master/python/3d/3d.sip: line
>> 9: column
>>  > > 9: 'QtGui/QtGuimod.sip' could not be found
>>  > > /home/tonbaz/dev/cpp/QGIS/build-master/python/3d/3d.sip: line
>> 10: column
>>  > > 9: 'QtXml/QtXmlmod.sip' could not be found
>>  > >
>> /home/tonbaz/dev/cpp/QGIS/build-master/python/analysis/auto_generated/geo
>>  > > referencing/qgsgcptransformer.sip: line 59: 'throw' is
>> deprecated and will
>>  > > be removed in SIP v7.0.0
>>  > >
>> /home/tonbaz/dev/cpp/QGIS/build-master/python/analysis/auto_generated/geor
>>  > > eferencing/qgsgcptransformer.sip: line 100: 'throw' is
>> deprecated and will
>>  > > be removed in SIP v7.0.0
>>  > > make[2]: ***
>> [python/CMakeFiles/python_module_qgis__3d.dir/build.make:904:
>>  > > python/3d/build/_3d/sip_3dpart0.cpp] Error 1 make[1]: ***
>>  > > [CMakeFiles/Makefile2:12031:
>>  > > python/CMakeFiles/python_module_qgis__3d.dir/all] Error 2
>> sip-build:
>>  > >
>> /home/tonbaz/dev/cpp/QGIS/build-master/python/analysis/analysis.sip:
>> line
>>  > > 6: column 9: 'QtCore/QtCoremod.sip' could not be found
>>  > >
>> /home/tonbaz/dev/cpp/QGIS/build-master/python/analysis/analysis.sip:
>> line
>>  > > 7: column 9: 'QtGui/QtGuimod.sip' could not be found
>>  > >
>> /home/tonbaz/dev/cpp/QGIS/build-master/python/analysis/analysis.sip:
>> line
>>  > > 8: column 9: 'QtXml/QtXmlmod.sip' could not be found
>>  > > /home/tonbaz/dev/cpp/QGIS/build-master/python/core/core.sip:
>> line 101:
>>  > > column 9: 'QtXml/QtXmlmod.sip' could not be found
>>  > > /home/tonbaz/dev/cpp/QGIS/build-master/python/core/core.sip:
>> line 102:
>>  > > column 9: 'QtNetwork/QtNetworkmod.sip' could not be found
>>  > > /home/tonbaz/dev/cpp/QGIS/build-master/python/core/core.sip:
>> line 103:
>>  > > column 9: 'QtSql/QtSqlmod.sip' could not be found
>>  > > /home/tonbaz/dev/cpp/QGIS/build-master/python/core/core.sip:
>> line 105:
>>  > > column 9: 'QtPrintSupport/QtPrintSupportmod.sip' could not be
>> found
>>  > > /home/tonbaz/dev/cpp/QGIS/build-master/python/core/core.sip:
>> line 106:
>>  > > column 9: 'QtWidgets/QtWidgetsmod.sip' could not be found
>>  > > /home/tonbaz/dev/cpp/QGIS/build-master/python/core/core.sip:
>> line 107:
>>  > > column 9: 'QtPositioning/QtPositioningmod.sip' could not be
>> found
>>  > > /home/tonbaz/dev/cpp/QGIS/build-master/python/core/core.sip:
>> line 110:
>>  > > column 9: 'QtSerialPort/QtSerialPortmod.sip' could not be found
>> make[2]:
>>  > > ***
>> [python/CMakeFiles/python_module_qgis__analysis.dir/build.make:915:
>>  > > python/analysis/build/_analysis/sip_analysispart0.cpp] Error 1
>>  > > make[1]: *** [CMakeFiles/Makefile2:12084:
>>  > > python/CMakeFiles/python_module_qgis__analysis.dir/all] Error 2
>> make: ***
>>  > > [Makefile:166: all] Error 2
>>  > >
>>  > > Python sip is installed:
>>  > >
>>  > > Installed    python3-sip-4.19.25+dfsg-3build1.amd64
>>  > > (manual:ubuntu-jammy-universe) Installed
>>  > > python3-sipbuild-6.8.3-0xneon+22.04+jammy+release+build12.amd64
>>  > > (auto:user_jammy-jammy-main)
>>  > >
>>  > > Any help would be much appreciated
>>  > >
>>  > > Cheers
>>  > >
>>  > > Tony
>>  > >
>>  > > _______________________________________________
>>  > > QGIS-Developer mailing list
>>  > > QGIS-Developer at lists.osgeo.org
>>  > > List info:
>> https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>  > > Unsubscribe:
>> https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> _______________________________________________
>> QGIS-Developer mailing list
>> QGIS-Developer at lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


-- 

Julien Cabieces
Senior Developer at Oslandia
julien.cabieces at oslandia.com


More information about the QGIS-Developer mailing list