Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Aug 2014 22:42:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 192840] json-c 0.12 breaks gdal and postgis
Message-ID:  <bug-192840-13-TDy1vgF9I5@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-192840-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-192840-13@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #3 from Luca Corti <luca.corti@infinito.it> ---
And GDAL:

gmake -C mbtiles install-obj
gmake[4]: Entering directory
`/usr/ports/graphics/gdal/work/gdal-1.11.0/frmts/mbtiles'
c++ -O2 -pipe -fPIC -fno-strict-aliasing -fPIC -DHAVE_SSE_AT_COMPILE_TIME 
-Wall  -I/usr/local/include/json-c 
-I/usr/ports/graphics/gdal/work/gdal-1.11.0/port
-I/usr/ports/graphics/gdal/work/gdal-1.11.0/gcore
-I/usr/ports/graphics/gdal/work/gdal-1.11.0/alg
-I/usr/ports/graphics/gdal/work/gdal-1.11.0/ogr
-I/usr/ports/graphics/gdal/work/gdal-1.11.0/ogr/ogrsf_frmts -DOGR_ENABLED
-I/usr/local/include -I/usr/ports/graphics/gdal/work/gdal-1.11.0/port
-I/usr/local/include -I/usr/local -I/usr/local/include -I/usr/local
-I/usr/local/include -I/usr/local -I/usr/local/include -I/usr/local/include
-I/usr/local/include -I/usr/local -I/usr/local/include -I/usr/local
-I/usr/local/include -I/usr -I/usr/include  -I../../ogr -c -o
../o/mbtilesdataset.o mbtilesdataset.cpp
mbtilesdataset.cpp:623:21: error: use of undeclared identifier
'json_tokener_errors'
                    json_tokener_errors[jstok->err],
                    ^
mbtilesdataset.cpp:634:18: warning: 'json_object_object_get' is deprecated
[-Wdeprecated-declarations]
        poGrid = json_object_object_get(jsobj, "grid");
                 ^
/usr/local/include/json-c/json_object.h:290:56: note: 'json_object_object_get'
declared here
THIS_FUNCTION_IS_DEPRECATED(extern struct json_object*
json_object_object_get(struct json_object* obj,
                                                       ^
/usr/local/include/json-c/json_object.h:17:43: note: expanded from macro
'THIS_FUNCTION_IS_DEPRECATED'
#define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
                                          ^
mbtilesdataset.cpp:704:35: warning: 'json_object_object_get' is deprecated
[-Wdeprecated-declarations]
            json_object* poKeys = json_object_object_get(jsobj, "keys");
                                  ^
/usr/local/include/json-c/json_object.h:290:56: note: 'json_object_object_get'
declared here
THIS_FUNCTION_IS_DEPRECATED(extern struct json_object*
json_object_object_get(struct json_object* obj,
                                                       ^
/usr/local/include/json-c/json_object.h:17:43: note: expanded from macro
'THIS_FUNCTION_IS_DEPRECATED'
#define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
                                          ^
2 warnings and 1 error generated.
gmake[4]: *** [../o/mbtilesdataset.o] Error 1
gmake[4]: Leaving directory
`/usr/ports/graphics/gdal/work/gdal-1.11.0/frmts/mbtiles'
gmake[3]: *** [mbtiles-install-obj] Error 2
gmake[3]: Leaving directory `/usr/ports/graphics/gdal/work/gdal-1.11.0/frmts'
gmake[2]: *** [frmts-target] Error 2
gmake[2]: Leaving directory `/usr/ports/graphics/gdal/work/gdal-1.11.0'
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/graphics/gdal
*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/gdal

-- 
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-192840-13-TDy1vgF9I5>