[Bug 243535] graphics/gdal: 3.0.3: ld: error: undefined symbol: OSRSetAxisMappingStrategy

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jan 23 08:03:38 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243535

            Bug ID: 243535
           Summary: graphics/gdal: 3.0.3:  ld: error: undefined symbol:
                    OSRSetAxisMappingStrategy
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet at FreeBSD.org
          Reporter: ohartmann at walstatt.org
          Assignee: sunpoet at FreeBSD.org
             Flags: maintainer-feedback?(sunpoet at FreeBSD.org)

On both recent CURRENT and 12-STABLE, compiling port graphics/gdal fails with
the error shown below while updating an existing port. Ports tree is at
r523900, procedure is portmaster -da.

[...]
c++ -I/usr/ports/graphics/gdal/work/gdal-3.0.3/port
-I/usr/ports/graphics/gdal/work/gdal-3.0.3/gcore
-I/usr/ports/graphics/gdal/work/gdal-3.0.3/alg
-I/usr/ports/graphics/gdal/work/gdal-3.0.3/ogr
-I/usr/ports/graphics/gdal/work/gdal-3.0.3/ogr/ogrsf_frmts
-I/usr/ports/graphics/gdal/work/gdal-3.0.3/gnm
-I/usr/ports/graphics/gdal/work/gdal-3.0.3/apps -DHAVE_AVX_AT_COMPILE_TIME
-DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_SSE_AT_COMPILE_TIME -O2 -pipe  -fPIC
-DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing   -DLIBICONV_PLUG -isystem /usr/local/include -std=c++11 
-fPIC  -Wall -Wextra -Winit-self -Wunused-parameter -Wformat
-Werror=format-security -Wno-format-nonliteral -Wshorten-64-to-32 -Wshadow
-Werror=vla -Wdate-time -Wnull-dereference -Wextra-semi -Wcomma
-Wfloat-conversion -Wdocumentation -Wno-documentation-deprecated-sync
-Wunused-private-field -Wmissing-prototypes -Wmissing-declarations
-Wnon-virtual-dtor -Woverloaded-virtual -fno-operator-names
-Wzero-as-null-pointer-constant -Wimplicit-fallthrough 
-I/usr/ports/graphics/gdal/work/gdal-3.0.3/frmts/vrt -DGNM_ENABLED
-DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include
-I/usr/ports/graphics/gdal/work/gdal-3.0.3/port -I/usr -I/usr/include 
-DGDAL_COMPILATION -I/usr/local/include/json-c
-I/usr/ports/graphics/gdal/work/gdal-3.0.3/ogr/ogrsf_frmts/geojson
-I/usr/ports/graphics/gdal/work/gdal-3.0.3/ogr/ogrsf_frmts/generic
-I/usr/ports/graphics/gdal/work/gdal-3.0.3/gnm -c -o gdallocationinfo.o
gdallocationinfo.cpp
c++ -L/usr/local/lib -fstack-protector-strong  gdallocationinfo.o 
-L/usr/ports/graphics/gdal/work/gdal-3.0.3 -lgdal  -lcrypto -ljson-c  -lsqlite3
-ljasper -lgif -ljpeg -lgeotiff -ltiff -lpng -lcfitsio -L/usr/local/lib -lpq 
-llzma -lproj -lz -L/usr -L/usr/lib -lpthread -lm -lrt -ldl -L/usr/local/lib   
           -L/usr/local/lib -lxml2 -lz -L/usr/lib -llzma -L/usr/lib -lm      
-o gdallocationinfo
ld: error: undefined symbol: OSRSetAxisMappingStrategy
>>> referenced by gdallocationinfo.cpp
>>>               gdallocationinfo.o:(main)

ld: error: undefined symbol: GDALGetSpatialRef
>>> referenced by gdallocationinfo.cpp
>>>               gdallocationinfo.o:(main)
c++: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[3]: *** [GNUmakefile:136: gdallocationinfo] Error 1
gmake[3]: Leaving directory '/usr/ports/graphics/gdal/work/gdal-3.0.3/apps'
gmake[2]: *** [GNUmakefile:112: apps-target] Error 2
gmake[2]: Leaving directory '/usr/ports/graphics/gdal/work/gdal-3.0.3'
*** Error code 1

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list