[QGIS-Developer] Build problems using install instructions
Julien Cabieces
julien.cabieces at oslandia.com
Thu May 2 00:49:28 PDT 2024
> git fetch qgis/master
> fatal: 'qgis/master' does not appear to be a git repository
probably this would be better
git fetch qgis
Hoping that qgis is the remote that target your QGIS git repository. You
can check this with
git remote -v
Regards,
Julien
> Thanks Julien and Richard
>
> I gave it another shot on the weekend with a clean build which was successful.
>
> But I'm now thinking I'd be better suited to using the latest stable version, 3_36 in this case.
>
>
>
> My interpretation of the instructions,
>
>
>
> git commit
>
> git worktree add ../my_new_functionality
>
> cd ../my_new_functionality
>
> git fetch qgis/master
>
> git rebase -i qgis/master
>
> # only keep the commits to be pushed
>
> git push -u my_own_repo my_new_functionality
>
> is:
>
>
>
> git commit
>
> git worktree add ../release-3_36
>
> cd ../release-3_36
>
> git fetch qgis/master
>
> git rebase -i qgis/master
>
> # only keep the commits to be pushed
>
> git push -u QGIS release-3_36
>
>
>
> which failed with:
>
>
>
> git fetch qgis/master
>
> fatal: 'qgis/master' does not appear to be a git repository
>
> fatal: Could not read from remote repository.
>
>
>
> Please make sure you have the correct access rights
>
> and the repository exists.
>
>
>
> git fetch QGIS/master yields the same result
>
>
>
> My build tree is listed below
>
>
>
> Regards
>
> Tony
>
> tree -L 3 -ad
> .
> └── cpp
> └── QGIS
> ├── build-master
> ├── .ci
> ├── cmake
> ├── cmake_templates
> ├── debian
> ├── doc
> ├── .docker
> ├── editors
> ├── external
> ├── .git
> ├── .github
> ├── i18n
> ├── images
> ├── linux
> ├── mac
> ├── ms-windows
> ├── postinstall
> ├── python
> ├── release-3_36
> ├── resources
> ├── rpm
> ├── scripts
> ├── src
> ├── tests
>
> On Monday 29 April 2024 4:27:13 PM ACST Julien Cabieces via QGIS-Developer wrote:
>
>> 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-0xneo
>
>> >> n+22.04+jammy+release+build26 all Development files
>
>> >> for PyQt5 ii *pyqt5-dev*-tools
>
>> >> 5.15.10+dfsg-0xneon+22.04+jammy+rele
>
>> >> ase+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-depe
>
>> >> nd
>
>> >>
>
>> >> > 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/geo
>
>> >> r
>
>> >>
>
>> >> > > 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
>
> _______________________________________________
> 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