[QGIS-Developer] Build failure in master
Tim Sutton
tim at kartoza.com
Fri Jul 9 02:13:20 PDT 2021
Thanks Tom (long time no see!) and Werner. It built successfully after
doing a clean first.
Regards
Tim
On Thu, Jul 8, 2021 at 11:37 PM Tom Elwertowski <telwertowski at comcast.net>
wrote:
> Try deleting everything in the {build}/python/analysis folder. Just
> deleting the generated *.cpp files isn't enough.
>
> I have been seeing a multiple definition sip_{module}part{n}
> sip_{module}part{n+1} error about once every three months for awhile.
> Deleting everything in {build}/python/{module} allows the build to be
> resumed (macOS Catalina).
>
> Tom
>
>
> On 7/8/21 4:59 PM, Tim Sutton wrote:
> > Thanks for testing Werner. A few others on Telegram also reported that
> > things are building fine for them. I will try doing clean build
> > tomorrow, thanks!
> >
> > Regards
> >
> > Tim
> >
> > On Thu, Jul 8, 2021 at 1:01 PM Werner Macho <werner.macho at gmail.com
> > <mailto:werner.macho at gmail.com>> wrote:
> >
> > Hi Tim,
> >
> > Just updated master and also tried to build with no errors
> whatsoever.
> > (Using ninja and ccache)
> >
> > Maybe try a clean build?
> >
> > regards
> > Werner
> >
> > On Thu, Jul 8, 2021 at 1:10 PM Tim Sutton <tim at kartoza.com
> > <mailto:tim at kartoza.com>> wrote:
> >
> > Hi All
> >
> > Just updated to master and getting a build error:
> >
> >
> > Consolidate compiler generated dependencies of target
> > python_module_qgis__analysis
> > [ 68%] Linking CXX shared module
> ../output/python/qgis/_analysis.so
> > /usr/bin/ld:
> >
> CMakeFiles/python_module_qgis__analysis.dir/analysis/sip_analysispart13.cpp.o:/home/timlinux/dev/cpp/QGIS-QtCreator-Build/python/analysis/sip_analysispart13.cpp:138:
> > multiple definition of `sipTypeDef__analysis_QgsAnalysis';
> >
> CMakeFiles/python_module_qgis__analysis.dir/analysis/sip_analysispart12.cpp.o:/home/timlinux/dev/cpp/QGIS-QtCreator-Build/python/analysis/sip_analysispart12.cpp:1812:
> > first defined here
> > collect2: error: ld returned 1 exit status
> > gmake[2]: ***
> >
> [python/CMakeFiles/python_module_qgis__analysis.dir/build.make:1101:
> > output/python/qgis/_analysis.so] Error 1
> > gmake[1]: *** [CMakeFiles/Makefile2:6919:
> > python/CMakeFiles/python_module_qgis__analysis.dir/all] Error 2
> > gmake[1]: *** Waiting for unfinished jobs....
> > Consolidate compiler generated dependencies of target qgis_gui
> > [ 78%] Built target qgis_gui
> > gmake: *** [Makefile:166: all] Error 2
> > 12:03:00: The process "/usr/bin/cmake" exited with code 2.
> > Error while building/deploying project qgis (kit: Qt 5.15.2
> (qt5))
> > When executing step "Build"
> >
> >
> > Is it because of the new exif alg maybe?
> >
> > Regards
> >
> > Tim
> >
> >
> > --
> >
> ------------------------------------------------------------------------------------------
> >
> > Tim Sutton
> > Visit http://kartoza.com <http://kartoza.com/> to find out about
> > open source:
> > * Desktop GIS programming services
> > * Geospatial web development
> > * GIS Training
> > * Consulting Services
> > Tim is a member of the QGIS Project Steering Committee
> >
> -------------------------------------------------------------------------------------------
> > _______________________________________________
> > QGIS-Developer mailing list
> > QGIS-Developer at lists.osgeo.org
> > <mailto:QGIS-Developer at lists.osgeo.org>
> > List info:
> > https://lists.osgeo.org/mailman/listinfo/qgis-developer
> > <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
> > Unsubscribe:
> > https://lists.osgeo.org/mailman/listinfo/qgis-developer
> > <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
> >
> >
> >
> > --
> >
> ------------------------------------------------------------------------------------------
> >
> >
> > Tim Sutton
> > Visit http://kartoza.com <http://kartoza.com/> to find out about open
> > source:
> > * Desktop GIS programming services
> > * Geospatial web development
> > * GIS Training
> > * Consulting Services
> > Tim is a member of the QGIS Project Steering Committee
> >
> -------------------------------------------------------------------------------------------
> >
> > _______________________________________________
> > 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
> >
>
--
------------------------------------------------------------------------------------------
Tim Sutton
Visit http://kartoza.com to find out about open source:
* Desktop GIS programming services
* Geospatial web development
* GIS Training
* Consulting Services
Tim is a member of the QGIS Project Steering Committee
-------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20210709/3ed9405b/attachment.html>
More information about the QGIS-Developer
mailing list