[MacPorts] #66496: lerc @4.0.0_0: lerc fails to build on 10.10

MacPorts noreply at macports.org
Sat Dec 17 21:37:24 UTC 2022


#66496: lerc @4.0.0_0: lerc fails to build on 10.10
-----------------------+--------------------
 Reporter:  macdeport  |      Owner:  (none)
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.8.0
 Keywords:  yosemite   |       Port:
-----------------------+--------------------
 I am unable to upgrade lerc from v 3.0 to v4.0 on my Mac running Yosemite.
 The port fails to build.

 {{{
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_lerc/lerc/work/lerc-4.0.0/src/LercLib/Lerc.cpp:1541:64:
 error: no template named 'greater' in namespace 'std'; did you mean
 'isgreater'?
 :info:build     std::sort(noDataCandVec.begin(), noDataCandVec.end(),
 std::greater<double>());
 :info:build
 ~~~~~^~~~~~~
 :info:build
 isgreater
 :info:build
 /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:478:1:
 note: 'isgreater' declared here
 :info:build isgreater(_A1 __lcpp_x, _A2 __lcpp_y) _NOEXCEPT
 :info:build ^
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_lerc/lerc/work/lerc-4.0.0/src/LercLib/Lerc.cpp:1541:59:
 error: no matching function for call to 'isgreater'
 :info:build     std::sort(noDataCandVec.begin(), noDataCandVec.end(),
 std::greater<double>());
 :info:build
 ^~~~~~~~~~~~~~~~~~~~
 :info:build
 /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:478:1:
 note: candidate function template not viable: requires 2 arguments, but 0
 were provided
 :info:build isgreater(_A1 __lcpp_x, _A2 __lcpp_y) _NOEXCEPT
 :info:build ^
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_lerc/lerc/work/lerc-4.0.0/src/LercLib/Lerc.cpp:1568:64:
 error: no template named 'greater' in namespace 'std'; did you mean
 'isgreater'?
 :info:build     std::sort(noDataCandVec.begin(), noDataCandVec.end(),
 std::greater<double>());
 :info:build
 ~~~~~^~~~~~~
 :info:build
 isgreater
 :info:build
 /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:478:1:
 note: 'isgreater' declared here
 :info:build isgreater(_A1 __lcpp_x, _A2 __lcpp_y) _NOEXCEPT
 :info:build ^
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_lerc/lerc/work/lerc-4.0.0/src/LercLib/Lerc.cpp:1568:59:
 error: no matching function for call to 'isgreater'
 :info:build     std::sort(noDataCandVec.begin(), noDataCandVec.end(),
 std::greater<double>());
 :info:build
 ^~~~~~~~~~~~~~~~~~~~
 :info:build
 /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:478:1:
 note: candidate function template not viable: requires 2 arguments, but 0
 were provided
 :info:build isgreater(_A1 __lcpp_x, _A2 __lcpp_y) _NOEXCEPT
 :info:build ^
 :info:build [ 86%] Building CXX object
 CMakeFiles/Lerc.dir/src/LercLib/fpl_Predictor.cpp.o
 :info:build /usr/bin/clang++ -DLERC_EXPORTS  -pipe -Os -DNDEBUG
 -I/opt/local/include -stdlib=libc++ -arch x86_64 -mmacosx-version-
 min=10.10 -fPIC -std=gnu++1z -MD -MT
 CMakeFiles/Lerc.dir/src/LercLib/fpl_Predictor.cpp.o -MF
 CMakeFiles/Lerc.dir/src/LercLib/fpl_Predictor.cpp.o.d -o
 CMakeFiles/Lerc.dir/src/LercLib/fpl_Predictor.cpp.o -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_lerc/lerc/work/lerc-4.0.0/src/LercLib/fpl_Predictor.cpp
 :info:build [ 93%] Building CXX object
 CMakeFiles/Lerc.dir/src/LercLib/fpl_UnitTypes.cpp.o
 :info:build /usr/bin/clang++ -DLERC_EXPORTS  -pipe -Os -DNDEBUG
 -I/opt/local/include -stdlib=libc++ -arch x86_64 -mmacosx-version-
 min=10.10 -fPIC -std=gnu++1z -MD -MT
 CMakeFiles/Lerc.dir/src/LercLib/fpl_UnitTypes.cpp.o -MF
 CMakeFiles/Lerc.dir/src/LercLib/fpl_UnitTypes.cpp.o.d -o
 CMakeFiles/Lerc.dir/src/LercLib/fpl_UnitTypes.cpp.o -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_lerc/lerc/work/lerc-4.0.0/src/LercLib/fpl_UnitTypes.cpp
 :info:build 4 errors generated.
 :info:build make[2]: *** [CMakeFiles/Lerc.dir/src/LercLib/Lerc.cpp.o]
 Error 1
 :info:build make[2]: *** Waiting for unfinished jobs....
 :info:build make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_lerc/lerc/work/build'
 :info:build make[1]: *** [CMakeFiles/Lerc.dir/all] Error 2
 :info:build make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_lerc/lerc/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_release_tarballs_ports_gis_lerc/lerc/work/build'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_lerc/lerc/work/build"
 && /usr/bin/make -j8 -w all VERBOSE=ON
 :info:build Exit code: 2
 :error:build Failed to build lerc: command execution failed
 :debug:build Error code: CHILDSTATUS 18489 2
 :debug:build Backtrace: command execution failed
 :debug:build     while executing
 :debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
 :debug:build     invoked from within
 :debug:build "command_exec -callback
 portprogress::target_progress_callback 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_release_tarballs_ports_gis_lerc/lerc/main.log
 for details.
 version:1
 :debug:clean Starting logging for lerc @4.0.0_0
 :debug:sysinfo OS X 10.10.5 (darwin/14.5.0) arch i386
 :debug:sysinfo MacPorts 2.8.0
 :debug:sysinfo Xcode none, CLT 7.2.0.0.1.1447826929
 :debug:sysinfo SDK 10.10
 :debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.10
 :msg:clean --->  Computing dependencies for lerc:info:clean .:debug:clean
 lerc has no conflicts

 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/66496>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list