Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 305605

Summary: sci-libs/gdal-1.6.3 fails to emerge because of perl-5.10.1 related error in gdal_wrap.cpp gdal_wrap.cpp
Product: Gentoo Linux Reporter: Juergen Rose <rose>
Component: [OLD] LibraryAssignee: Steve Arnold <nerdboy>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kredba, sci-geosciences
Priority: High    
Version: 2008.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: orca://var/tmp/portage/sci-libs/gdal-1.6.3/temp/build.log

Description Juergen Rose 2010-02-17 17:48:41 UTC
After patching the gdal-1.6.3.ebuild (compare bug 296790) to avoid openmpi errors
'emerge gdal' fails with:
...
x86_64-pc-linux-gnu-gcc -c  -I../../gcore -I../../alg -I../../ogr -I../../port
-I/var/tmp/portage/sci-libs/gdal-1.6.3/work/gdal-1.6.3/port
-I/var/tmp/portage/sci-libs/gdal-1.6.3/work/gdal-1.6.3/gcore
-I/var/tmp/portage/sci-libs/gdal-1.6.3/work/gdal-1.6.3/alg
-I/var/tmp/portage/sci-libs/gdal-1.6.3/work/gdal-1.6.3/ogr
-I/var/tmp/portage/sci-libs/gdal-1.6.3/work/gdal-1.6.3/ogr/ogrsf_frmts
-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=nocona -O2 -pipe
-fomit-frame-pointer   -DVERSION=\"0.23\" -DXS_VERSION=\"0.23\" -fPIC
"-I/usr/lib64/perl5/5.10.1/x86_64-linux-thread-multi/CORE"   gdal_wrap.cpp
gdal_wrap.cpp:1232: error: expected unqualified-id before string constant
gdal_wrap.cpp:1233: error: expected initializer before '*' token
gdal_wrap.cpp:1238: error: 'SwigPerlWrapperPtr' does not name a type
gdal_wrap.cpp: In function 'void _wrap_new_SavedEnv(PerlInterpreter*, CV*)':
gdal_wrap.cpp:3054: warning: format not a string literal and no format
arguments
...
gdal_wrap.cpp:17562: warning: format not a string literal and no format
arguments
gdal_wrap.cpp: At global scope:
gdal_wrap.cpp:17933: error: too many initializers for 'swig_command_info'
...
gdal_wrap.cpp:18176: error: 'struct swig_command_info' has no member named
'wrapper'
make[3]: *** [gdal_wrap.o] Error 1
Comment 1 Juergen Rose 2010-02-17 17:59:44 UTC
Created attachment 220065 [details]
orca://var/tmp/portage/sci-libs/gdal-1.6.3/temp/build.log
Comment 2 Juergen Rose 2010-02-18 11:55:21 UTC
Seems to be the same error as Bug 305395.
Comment 3 Steve Arnold archtester gentoo-dev 2010-02-23 08:04:33 UTC
Yup, resync and try again...

*** This bug has been marked as a duplicate of bug 305395 ***