Created attachment 402246 [details] build.log emerge --info emerge -pqv ../../GDALmake.opt:565: recipe for target '../o/pdfdataset.o' failed
I have the same error: make[2]: Entering directory '/var/tmp/portage/sci-libs/gdal-1.11.1-r3/work/gdal-1.11.1/frmts/hdf5' x86_64-pc-linux-gnu-g++ -march=core2 -mtune=generic -Os -pipe -msse3 -msse4 -mcx16 -msahf -mpopcnt -mpreferred-stack-boundary=6 -fPIC -DHAVE_SSE_AT_COMPILE_TIME -Wall -I/var/tmp/portage/sci-libs/gdal-1.11.1-r3/work/gdal-1.11.1/port -I/var/tmp/portage/sci-libs/gdal-1.11.1-r3/work/gdal-1.11.1/gcore -I/var/tmp/portage/sci-libs/gdal-1.11.1-r3/work/gdal-1.11.1/alg -I/var/tmp/portage/sci-libs/gdal-1.11.1-r3/work/gdal-1.11.1/ogr -I/var/tmp/portage/sci-libs/gdal-1.11.1-r3/work/gdal-1.11.1/ogr/ogrsf_frmts -I/usr/include -DOGR_ENABLED -I/var/tmp/portage/sci-libs/gdal-1.11.1-r3/work/gdal-1.11.1/port -I/usr/include -I/usr/ -I/usr//include -c -o ../o/hdf5dataset.o hdf5dataset.cpp In file included from /usr/include/stdio.h:936:0, from /usr/include/H5Epublic.h:22, from /usr/include/hdf5.h:28, from hdf5dataset.cpp:37: /usr/include/bits/stdio2.h: In function ‘int sprintf(char*, const char*, ...)’: /usr/include/bits/stdio2.h:34:43: error: invalid use of ‘__builtin_va_arg_pack ()’ __bos (__s), __fmt, __va_arg_pack ()); ^ ... hdf5dataset.cpp:43:1: note: in expansion of macro ‘CPL_CVSID’ CPL_CVSID("$Id: hdf5dataset.cpp 27044 2014-03-16 23:41:27Z rouault $"); ^ ../../GDALmake.opt:565: recipe for target '../o/hdf5dataset.o' failed make[2]: *** [../o/hdf5dataset.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/sci-libs/gdal-1.11.1-r3/work/gdal-1.11.1/frmts/hdf5' GNUmakefile:10: recipe for target 'hdf5-install-obj' failed make[1]: *** [hdf5-install-obj] Error 2 I suppose it is a consequence of the installation of hdf5-1.8.15.
+ 08 Jul 2015; Patrick Lauer <patrick@gentoo.org> +gdal-1.11.2.ebuild, + gdal-1.11.1-r3.ebuild: + Bump, restrict swig dependency to avoid build failure Can you retry with the new version?
*** Bug 550198 has been marked as a duplicate of this bug. ***
This builds successfully for me.
Restricting the swig version <= 3.0.4 may fix for hdf5, but swig-3.0.5 is current stable (on amd64 and x86 at least) and required by gnuradio >= 3.7.7.1 (OK which isn't stable yet). Compiles fine for me with swig-3.0.5 and USE="-hdf5"
sci-libs/gdal-1.11.x was finally removed from tree.