Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 2020 08:03:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 243535] graphics/gdal: 3.0.3:  ld: error: undefined symbol: OSRSetAxisMappingStrategy
Message-ID:  <bug-243535-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243535

            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@FreeBSD.org
          Reporter: ohartmann@walstatt.org
          Assignee: sunpoet@FreeBSD.org
             Flags: maintainer-feedback?(sunpoet@FreeBSD.org)

On both recent CURRENT and 12-STABLE, compiling port graphics/gdal fails wi=
th
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=3Dc=
++11=20
-fPIC  -Wall -Wextra -Winit-self -Wunused-parameter -Wformat
-Werror=3Dformat-security -Wno-format-nonliteral -Wshorten-64-to-32 -Wshadow
-Werror=3Dvla -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=20
-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=20
-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=20
-L/usr/ports/graphics/gdal/work/gdal-3.0.3 -lgdal  -lcrypto -ljson-c  -lsql=
ite3
-ljasper -lgif -ljpeg -lgeotiff -ltiff -lpng -lcfitsio -L/usr/local/lib -lp=
q=20
-llzma -lproj -lz -L/usr -L/usr/lib -lpthread -lm -lrt -ldl -L/usr/local/li=
b=20=20=20
           -L/usr/local/lib -lxml2 -lz -L/usr/lib -llzma -L/usr/lib -lm=20=
=20=20=20=20=20
-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 invocatio=
n)
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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-243535-7788>