Opened 3 years ago
Closed 3 years ago
#62999 closed defect (duplicate)
liblas upgrade fails
Reported by: | dershow | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | liblas |
Description
I have 1.8.1-20210507_0 and tried to upgrade to 1.8.1-20210507_1 but it fails to build. I'll attached the full log, but this looks like the most important part:
:info:build [ 40%] Linking CXX shared library ../bin/MacPorts/liblas.dylib :info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_liblas/liblas/work/build/src && /opt/local/bin/cmake -E cmake_link_script CMakeFiles/las.dir/link.txt --verbose=ON :info:build /usr/bin/clang++ -pipe -Os -DNDEBUG -I/opt/local/include -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-align -Wcast-qual -Wfloat-equal -Wredundant-decls -Wno-long-long -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -mmacosx-version-min=10.15 -dynamiclib -Wl,-headerpad_max_install_names -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -compatibility_version 3.0.0 -current_version 2.4.0 -o ../bin/MacPorts/liblas.2.4.0.dylib -install_name /opt/local/lib/liblas.3.dylib CMakeFiles/las.dir/detail/index/indexcell.cpp.o CMakeFiles/las.dir/detail/index/indexoutput.cpp.o CMakeFiles/las.dir/chipper.cpp.o CMakeFiles/las.dir/factory.cpp.o CMakeFiles/las.dir/classification.cpp.o CMakeFiles/las.dir/color.cpp.o CMakeFiles/las.dir/dimension.cpp.o CMakeFiles/las.dir/error.cpp.o CMakeFiles/las.dir/filter.cpp.o CMakeFiles/las.dir/header.cpp.o CMakeFiles/las.dir/index.cpp.o CMakeFiles/las.dir/point.cpp.o CMakeFiles/las.dir/reader.cpp.o CMakeFiles/las.dir/spatialreference.cpp.o CMakeFiles/las.dir/schema.cpp.o CMakeFiles/las.dir/transform.cpp.o CMakeFiles/las.dir/utility.cpp.o CMakeFiles/las.dir/variablerecord.cpp.o CMakeFiles/las.dir/writer.cpp.o CMakeFiles/las.dir/version.cpp.o CMakeFiles/las.dir/detail/utility.cpp.o CMakeFiles/las.dir/detail/sha1.cpp.o CMakeFiles/las.dir/detail/zippoint.cpp.o CMakeFiles/las.dir/detail/reader/header.cpp.o CMakeFiles/las.dir/detail/reader/reader.cpp.o CMakeFiles/las.dir/detail/reader/zipreader.cpp.o CMakeFiles/las.dir/detail/reader/cachedreader.cpp.o CMakeFiles/las.dir/detail/writer/header.cpp.o CMakeFiles/las.dir/detail/writer/point.cpp.o CMakeFiles/las.dir/detail/writer/zipwriter.cpp.o CMakeFiles/las.dir/detail/writer/writer.cpp.o CMakeFiles/las.dir/gt_citation.cpp.o CMakeFiles/las.dir/gt_wkt_srs.cpp.o CMakeFiles/las.dir/tifvsi.cpp.o -Wl,-rpath,/opt/local/lib /opt/local/lib/libtiff.dylib /opt/local/lib/libgeotiff.dylib /Library/Frameworks/GDAL.framework/Versions/2.4/unix/lib/libgdal.dylib /opt/local/lib/libboost_program_options-mt.dylib /opt/local/lib/libboost_thread-mt.dylib /opt/local/lib/libboost_system-mt.dylib /opt/local/lib/libboost_iostreams-mt.dylib /opt/local/lib/libboost_filesystem-mt.dylib /opt/local/lib/libboost_chrono-mt.dylib /opt/local/lib/libboost_date_time-mt.dylib /opt/local/lib/libboost_atomic-mt.dylib /opt/local/lib/libboost_regex-mt.dylib :info:build Undefined symbols for architecture x86_64: :info:build "OGRSpatialReference::GetRoot()", referenced from: :info:build SetCitationToSRS(gtiff*, char*, int, geokey_t, OGRSpatialReference*, int*) in gt_citation.cpp.o :info:build _GTIFGetOGISDefn in gt_wkt_srs.cpp.o :info:build _GTIFSetFromOGISDefn in gt_wkt_srs.cpp.o :info:build ld: symbol(s) not found for architecture x86_64 :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation) :info:build make[2]: *** [bin/MacPorts/liblas.2.4.0.dylib] Error 1 :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_liblas/liblas/work/build' :info:build make[1]: *** [src/CMakeFiles/las.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_liblas/liblas/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_liblas/liblas/work/build' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_liblas/liblas/work/build" && /usr/bin/make -j16 -w all VERBOSE=ON :info:build Exit code: 2
Attachments (1)
Change History (2)
Changed 3 years ago by dershow
comment:1 Changed 3 years ago by jmroot (Joshua Root)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
#61407