Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Sep 2010 10:29:37 GMT
From:      Julien Cigar <jcigar@ulb.ac.be>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/150781: graphics/gdal: build fail
Message-ID:  <201009211029.o8LATbJl085455@www.freebsd.org>
Resent-Message-ID: <201009211030.o8LAU4wu000310@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         150781
>Category:       ports
>Synopsis:       graphics/gdal: build fail
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 21 10:30:04 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Julien Cigar
>Release:        8.1-RELEASE
>Organization:
Belgian Biodiversity Platform, Université Libre de Bruxelles
>Environment:
FreeBSD bebif.vub.ac.be 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Tue Jul 27 19:18:53 CEST 2010     jcigar@bebif.vub.ac.be:/usr/obj/usr/src/sys/CUSTOM  amd64
>Description:
Hello,

I tried to upgrade gdal-1.6.0_4 to 1.7.2_1 but build failed with the following:

(...)
/gdal/work/gdal-1.7.2/alg -I/usr/ports/graphics/gdal/work/gdal-1.7.2/ogr -I/usr/ports/graphics/gdal/work/gdal-1.7.2/ogr/ogrsf_frmts -DOGR_ENABLED -I/usr/local/include -I/usr/ports/graphics/gdal/work/gdal-1.7.2/port -I/usr/local -I/usr/local/include -I/usr/local -I/usr/local/include -I/usr/local/include -I/usr/local -I/usr/local/include -I/usr -I/usr/include -DHAVE_EXPAT -c ogrgpxlayer.cpp  -fPIC -DPIC -o ../o/.libs/ogrgpxlayer.o
ogrgpxlayer.cpp: In function 'char* OGRGPX_GetUTF8String(const char*)':
ogrgpxlayer.cpp:1088: error: 'CPLIsUTF8' was not declared in this scope
ogrgpxlayer.cpp:1106: error: 'CPLForceToASCII' was not declared in this scope
gmake[3]: *** [../o/ogrgpxlayer.lo] Error 1
gmake[3]: Leaving directory `/usr/ports/graphics/gdal/work/gdal-1.7.2/ogr/ogrsf_frmts/gpx'
gmake[2]: *** [gpx-target] Error 2
gmake[2]: Leaving directory `/usr/ports/graphics/gdal/work/gdal-1.7.2/ogr/ogrsf_frmts'
gmake[1]: *** [sublibs] Error 2
gmake[1]: Leaving directory `/usr/ports/graphics/gdal/work/gdal-1.7.2/ogr'
gmake: *** [ogr-target] Error 2
*** Error code 1

Stop in /usr/ports/graphics/gdal.
*** Error code 1

Stop in /usr/ports/graphics/gdal.

===>>> make failed for graphics/gdal
===>>> Aborting update

graphics/gdal is configured with the following OPTIONS:

jcigar@bebif gdal % make showconfig
===> The following configuration options are available for gdal-1.7.2_1:
     CFITSIO=off "FITS support"
     CURL=on "Curl support"
     ECW=off "ECW & JPEG2000 support (THREAD required)"
     EXPAT=on "Expat support"
     GEOS=on "GEOS support"
     GEOTIFF=on "GeoTIFF support"
     GIF=on "GIF support"
     GRASS=off "GRASS support"
     HDF4=off "HDF4 support"
     HDF5=off "HDF5 support"
     JASPER=on "JPEG 2000 support via jasper"
     JPEG=on "JPEG support"
     MYSQL=off "MySQL support"
     NETCDF=off "NetCDF support"
     ODBC=off "ODBC support"
     PERL=off "Perl support"
     PGSQL=on "PostgreSQL support"
     PHP=off "PHP support"
     PNG=on "PNG support"
     PROJ4=on "Projection support via proj4"
     PYTHON=on "Python support"
     RUBY=off "Ruby support"
     SQLITE=off "SQLite support"
     THREAD=on "Thread support"
     TIFF=on "External libtiff"
     XERCES=off "Xerces support"

The built completed successfully on a 8.1-RELEASE i386, so the problem *may* only occur on AMD64 .. ?

Bests regards,
Julien
>How-To-Repeat:
sudo portmaster -vd gdal-1.6.0_4
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



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