Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 548180 - sci-libs/gdal-1.11.1-r3: fails to build with "invalid use of ‘__builtin_va_arg_pack ()’"
Summary: sci-libs/gdal-1.11.1-r3: fails to build with "invalid use of ‘__builtin_va_ar...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sci-geo Project
URL:
Whiteboard:
Keywords:
: 550198 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-04-29 19:30 UTC by Martin Skorunka
Modified: 2017-07-19 18:59 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log emerge --info emerge -pqv (bugdata.log,298.04 KB, text/x-log)
2015-04-29 19:30 UTC, Martin Skorunka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Skorunka 2015-04-29 19:30:38 UTC
Created attachment 402246 [details]
build.log emerge --info emerge -pqv

../../GDALmake.opt:565: recipe for target '../o/pdfdataset.o' failed
Comment 1 Juergen Rose 2015-05-25 07:20:38 UTC
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.
Comment 2 Patrick Lauer gentoo-dev 2015-07-08 05:37:35 UTC
+  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?
Comment 3 Sam Jorna (wraeth) gentoo-dev 2016-01-03 01:05:07 UTC
*** Bug 550198 has been marked as a duplicate of this bug. ***
Comment 4 Sam Jorna (wraeth) gentoo-dev 2016-01-03 07:55:45 UTC
This builds successfully for me.
Comment 5 Chris Mayo 2016-01-09 16:46:44 UTC
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"
Comment 6 Andreas Sturmlechner gentoo-dev 2017-07-19 18:59:52 UTC
sci-libs/gdal-1.11.x was finally removed from tree.