Opened 9 years ago

Closed 8 years ago

#51249 closed defect (fixed)

QGIS does not build under 10.6.8

Reported by: a3k@… Owned by: Veence (Vincent)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: snowleopard Cc:
Port: qgis

Description

Hi there,

I was not able to build QGIS 2.14.x under OS X 10.6.8 (I know it's really old but we need to keep it for some reasons...) And unfortunately I have no idea what to do :-(

End of the log:

CMakeFiles/qgis_app.dir/qgspluginmetadata.cpp.o CMakeFiles/qgis_app.dir/qgspluginregistry.cpp.o CMakeFiles/qgis_app.dir/qgsprojectlayergroupdialog.cpp.o CMakeFiles/qgis_app.dir/qgsprojectproperties.cpp.o CMakeFiles/qgis_app.dir/qgsrastercalcdialog.cpp.o CMakeFiles/qgis_app.dir/qgsrasterlayerproperties.cpp.o CMakeFiles/qgis_app.dir/nodetool/moc_qgsnodeeditor.cxx.o CMakeFiles/qgis_app.dir/moc_qgsmeasuredialog.cxx.o CMakeFiles/qgis_app.dir/moc_qgsmeasuretool.cxx.o CMakeFiles/qgis_app.dir/moc_qgsmergeattributesdialog.cxx.o CMakeFiles/qgis_app.dir/moc_qgsoptions.cxx.o CMakeFiles/qgis_app.dir/moc_qgsprojectlayergroupdialog.cxx.o CMakeFiles/qgis_app.dir/moc_qgsprojectproperties.cxx.o CMakeFiles/qgis_app.dir/moc_qgsrastercalcdialog.cxx.o CMakeFiles/qgis_app.dir/moc_qgsrasterlayerproperties.cxx.o CMakeFiles/qgis_app.dir/moc_qgsrelationmanagerdialog.cxx.o CMakeFiles/qgis_app.dir/moc_qgsrelationadddlg.cxx.o CMakeFiles/qgis_app.dir/moc_qgssnappingdialog.cxx.o CMakeFiles/qgis_app.dir/moc_qgssponsors.cxx.o CMakeFiles/qgis_app.dir/moc_qgsstatisticalsummarydockwidget.cxx.o CMakeFiles/qgis_app.dir/moc_qgssvgannotationdialog.cxx.o CMakeFiles/qgis_app.dir/moc_qgstextannotationdialog.cxx.o CMakeFiles/qgis_app.dir/moc_qgstipgui.cxx.o CMakeFiles/qgis_app.dir/moc_qgstipfactory.cxx.o CMakeFiles/qgis_app.dir/moc_qgsundowidget.cxx.o CMakeFiles/qgis_app.dir/moc_qgsvectorlayerproperties.cxx.o CMakeFiles/qgis_app.dir/moc_qgsvisibilitypresets.cxx.o CMakeFiles/qgis_app.dir/moc_qgshandlebadlayers.cxx.o CMakeFiles/qgis_app.dir/composer/moc_qgsattributeselectiondialog.cxx.o CMakeFiles/qgis_app.dir/composer/moc_qgscomposer.cxx.o CMakeFiles/qgis_app.dir/composer/moc_qgscomposerarrowwidget.cxx.o CMakeFiles/qgis_app.dir/composer/moc_qgscomposerattributetablewidget.cxx.o CMakeFiles/qgis_app.dir/composer/moc_qgscomposerhtmlwidget.cxx.o CMakeFiles/qgis_app.dir/composer/moc_qgscomposerimageexportoptionsdialog.cxx.o CMakeFiles/qgis_app.dir/composer/moc_qgscomposeritemwidget.cxx.o CMakeFiles/qgis_app.dir/composer/moc_qgscomposerlabelwidget.cxx.o CMakeFiles/qgis_app.dir/composer/moc_qgscomposerlegendwidget.cxx.o CMakeFiles/qgis_app.dir/composer/moc_qgscomposerlegenditemdialog.cxx.o CMakeFiles/qgis_app.dir/composer/moc_qgscomposerlegendlayersdialog.cxx.o CMakeFiles/qgis_app.dir/composer/moc_qgscomposermanager.cxx.o CMakeFiles/qgis_app.dir/composer/moc_qgscomposermapwidget.cxx.o CMakeFiles/qgis_app.dir/composer/moc_qgscomposerpicturewidget.cxx.o CMakeFiles/qgis_app.dir/composer/moc_qgscomposerscalebarwidget.cxx.o CMakeFiles/qgis_app.dir/composer/moc_qgscomposertablewidget.cxx.o CMakeFiles/qgis_app.dir/composer/moc_qgscomposertablebackgroundcolorsdialog.cxx.o CMakeFiles/qgis_app.dir/composer/moc_qgscomposershapewidget.cxx.o CMakeFiles/qgis_app.dir/composer/moc_qgscompositionwidget.cxx.o CMakeFiles/qgis_app.dir/composer/moc_qgsatlascompositionwidget.cxx.o CMakeFiles/qgis_app.dir/legend/moc_qgsapplegendinterface.cxx.o CMakeFiles/qgis_app.dir/ogr/moc_qgsopenvectorlayerdialog.cxx.o CMakeFiles/qgis_app.dir/ogr/moc_qgsnewogrconnection.cxx.o CMakeFiles/qgis_app.dir/ogr/moc_qgsvectorlayersaveasdialog.cxx.o CMakeFiles/qgis_app.dir/gps/moc_qgsgpsinformationwidget.cxx.o CMakeFiles/qgis_app.dir/openstreetmap/moc_qgsosmdownloaddialog.cxx.o CMakeFiles/qgis_app.dir/openstreetmap/moc_qgsosmimportdialog.cxx.o CMakeFiles/qgis_app.dir/openstreetmap/moc_qgsosmexportdialog.cxx.o CMakeFiles/qgis_app.dir/pluginmanager/moc_qgspluginmanager.cxx.o CMakeFiles/qgis_app.dir/pluginmanager/moc_qgsapppluginmanagerinterface.cxx.o CMakeFiles/qgis_app.dir/pluginmanager/moc_qgspluginsortfilterproxymodel.cxx.o CMakeFiles/qgis_app.dir/pluginmanager/moc_qgspluginitemdelegate.cxx.o CMakeFiles/qgis_app.dir/moc_qgsnewspatialitelayerdialog.cxx.o CMakeFiles/qgis_app.dir/moc_qgssettingstree.cxx.o CMakeFiles/qgis_app.dir/moc_qgsvariantdelegate.cxx.o  -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_qgis/qgis/work/qgis-2.14.0/build/src/core  -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_qgis/qgis/work/qgis-2.14.0/build/src/gui /opt/local/libexec/qt4/lib/libqwt.dylib /opt/local/libexec/qt4/lib/libQtSql.dylib /opt/local/libexec/qt4/lib/libQtUiTools.dylib /opt/local/libexec/qt4/lib/libQtWebKit.dylib /opt/local/lib/libgdal.dylib ../../output/lib/qgis_gui.framework/Versions/2.14/qgis_gui ../../output/lib/qgis_analysis.framework/Versions/2.14/qgis_analysis -framework ApplicationServices /opt/local/libexec/qt4/lib/libqwt.dylib /opt/local/libexec/qt4/lib/libQtUiTools.dylib /opt/local/libexec/qt4/lib/libqscintilla2.dylib ../../output/lib/qgis_core.framework/Versions/2.14/qgis_core -framework CoreFoundation -framework IOKit /opt/local/libexec/qt4/lib/libQtXml.dylib /opt/local/libexec/qt4/lib/libQtCore.dylib /opt/local/libexec/qt4/lib/libQtGui.dylib /opt/local/libexec/qt4/lib/libQtNetwork.dylib /opt/local/libexec/qt4/lib/libQtSvg.dylib /opt/local/libexec/qt4/lib/libQtSql.dylib /opt/local/libexec/qt4/lib/libQtWebKit.dylib /opt/local/lib/libqca.dylib /opt/local/lib/libproj.dylib /opt/local/lib/libgeos_c.dylib /opt/local/lib/libgdal.dylib /opt/local/lib/libspatialindex.dylib /opt/local/lib/libexpat.dylib /opt/local/lib/libsqlite3.dylib /opt/local/lib/libspatialite.dylib -Wl,-rpath,/opt/local/lib 
:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_qgis/qgis/work/qgis-2.14.0/build/src/app && /opt/local/bin/cmake -E cmake_symlink_library ../../output/lib/libqgis_app.2.14.0.dylib ../../output/lib/libqgis_app.2.14.0.dylib ../../output/lib/libqgis_app.dylib
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_qgis/qgis/work/qgis-2.14.0/build'
:info:build [ 85%] Built target qgis_app
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_qgis/qgis/work/qgis-2.14.0/build'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_qgis/qgis/work/qgis-2.14.0/build'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_qgis/qgis/work/qgis-2.14.0/build" && /usr/bin/make -j13 -w all VERBOSE=ON 
:info:build Exit code: 2
:error:build org.macports.build for port qgis returned: command execution failed
:debug:build Error code: CHILDSTATUS 8097 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"portbuild::build_main org.macports.build"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:build Warning: targets not executed for qgis: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Please see the log file for port qgis for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_qgis/qgis/main.log

Attachments (1)

qGIS_PortsBuildLog.txt (3.5 MB) - added by a3k@… 9 years ago.
qgis/main.log

Change History (4)

Changed 9 years ago by a3k@…

Attachment: qGIS_PortsBuildLog.txt added

qgis/main.log

comment:1 Changed 9 years ago by mf2k (Frank Schima)

Keywords: snowleopard added
Owner: changed from macports-tickets@… to vince@…

In the future, please Cc the port maintainers (port info --maintainers qgis), if any.

comment:2 Changed 9 years ago by Veence (Vincent)

There's nothing I can do, as QGIS uses C++ constructs that are recognised by the old compilers. What you can try is install a newer compiler, such as clang-3.7 and compile QGIS using:

port -v install qgis configure.compiler=macports-clang-3.7

as referenced here: https://trac.macports.org/wiki/UsingTheRightCompiler

comment:3 Changed 8 years ago by Veence (Vincent)

Resolution: fixed
Status: newclosed

Closing this one. Reopen a report if you hit the same wall with 2.16

Note: See TracTickets for help on using tickets.