Restarting from scratch on Snow Leopard

Franco Vaccari vaccari at units.it
Sun Mar 3 21:13:37 UTC 2019


> On 1 Mar 2019, at 21:10, Ken Cunningham <ken.cunningham.webuse at gmail.com> wrote:
> 
> 
> On 2019-03-01, at 11:43 AM, Ken Cunningham wrote:
> 
>> But that is what you get when you want to run 2019 software on a 2006 system :>
> 
> 
> So in the end, you now have a whole new system infrastructure installed in /opt/local/lib
> 
> Your ssl and TLS are up to date, if you use apache from macports you get current security, if you use pretty much anything from macports you are as up to date as anyone.
> 
> 
> For a browser, I suggest TenFourFox-Intel version, ArcticFox, or FireFox 45.9.0 ESR version. I am working on a new browser for 10.6.8 using webkit2-gtk and epiphany, but it still has some issues with timing, TLS 1.3, and IPC communication failures.
> 
> For email -- let me know if something in Macports works well for you. I haven't explored much. The 10.6.8 email client has old TLS and won't connect to every IMAP server, but you can tell gmail to use that TLS version so that's good enough for now. 
> 
> If you try to build software, you might run into MacOS SDK issues, but there are fixes and workarounds for a lot of that. You will have trouble building things with XCode, as teaching Xcode 3.26 about the installed clangs, cctools, and ld64 stuff in  MacPorts is a bit tricky. I have done all that, but have to write up how to make it work for general users.
> 
> You will probably be happy -- hundreds and hundreds of current ports will "just work" on 10.6.8 with the setup you have now. But there will be some that won't build, like qt5, that will be disappointing.
> 
> Trac tickets using Libcxx installations are accepted, as all of macports will be going in the direction you've gone in soon enough -- people like me just don't use the libstdc++ installation any more, so there may be nobody to fix those issues eventually.
> 
> Ken

Went a long way with package installation in the last days, I’d say 98% of my needs. 

Now stopped at 

install qgis +grass 

All dependencies installed properly, but qgis failed. At first, had to modify qgis Portfile according to <https://trac.macports.org/ticket/57112>, adding 

configure.args-append   "-DWITH_INTERNAL_FUTURE=OFF"

After that, build process went quite far but stopped at about 49%. Any guess from the tail of the log shown below? 

Ready to file a ticket with the full log, but I’m afraid that being an old version of qgis failing on a non-standard MacPorts configuration on an ancient system, it may not deserve much of attention…

Franco

…
…
…
:info:build /opt/local/bin/cmake -E copy /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis/qgis/work/QGIS-2_18_17/src/gui/editorwidgets/core/qgswidgetwrapper.h output/lib/qgis_gui.framework/Versions/2.18/Headers/qgswidgetwrapper.h
:info:build [ 49%] Linking CXX shared library ../../output/lib/qgis_gui.framework/qgis_gui
:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis/qgis/work/build/src/gui && /opt/local/bin/cmake -E cmake_link_script CMakeFiles/qgis_gui.dir/link.txt --verbose=ON
:info:build /opt/local/bin/clang++-mp-5.0 -pipe -Os -DNDEBUG -I/opt/local/include -stdlib=libc++ -DSPATIALITE_VERSION_GE_4_0_0 -DSPATIALITE_VERSION_G_4_1_1 -DSPATIALITE_HAS_INIT_EX -std=c++11 -Wno-error=c++11-narrowing -Wall -Wextra -Wno-long-long -Wformat-security -Wno-strict-aliasing -Wno-return-type-c-linkage -Wno-overloaded-virtual -Qunused-arguments -arch x86_64 -mmacosx-version-min=10.6 -dynamiclib -Wl,-headerpad_max_install_names -L/opt/local/lib -Wl,-headerpad_max_install_names -Qunused-arguments -F/Library/Frameworks -compatibility_version 2.18.17 -current_version 2.18.17 -o ../../output/lib/qgis_gui.framework/Versions/2.18/qgis_gui -install_name /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis/qgis/work/build/output/lib/qgis_gui.framework/Versions/2.18/qgis_gui CMakeFiles/qgis_gui.dir/raster/qgsmultibandcolorrendererwidget.cpp.o CMakeFiles/qgis_gui.dir/raster/qgspalettedrendererwidget.cpp.o CMakeFiles/qgis_gui.dir/raster/qgsrasterhistogramwidget.cpp.o 
…
…
            <huge snip of CMakeFiles/…/…/*.o here>
…
…
CMakeFiles/qgis_gui.dir/editorwidgets/moc_qgswebviewwidgetwrapper.cxx.o  -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis/qgis/work/build/src/core  -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis/qgis/work/build/src/gui -Wl,-rpath,/opt/local/lib -Wl,-rpath,/Applications/MacPorts/lib ../../output/lib/qgis_core.framework/Versions/2.18/qgis_core /opt/local/libexec/qt4/lib/libQtUiTools.dylib /opt/local/libexec/qt4/lib/libqwt.dylib /opt/local/libexec/qt4/lib/libqscintilla2_qt4.dylib -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/libQtWebKit.dylib /opt/local/libexec/qt4/lib/libQtSql.dylib /opt/local/libexec/qt4/lib/libqca.dylib /opt/local/lib/proj49/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 
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis/qgis/work/build'
:info:build [ 49%] Built target qgis_gui
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis/qgis/work/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_macports_release_tarballs_ports_gis_qgis/qgis/work/build'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis/qgis/work/build" && /usr/bin/make -j2 -w all VERBOSE=ON 
:info:build Exit code: 2
:error:build Failed to build qgis: command execution failed
:debug:build Error code: CHILDSTATUS 994 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis/qgis/main.log for details.


More information about the macports-users mailing list