Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 185061 - sci-libs/gdal-1.3.1 ebuild failed
Summary: sci-libs/gdal-1.3.1 ebuild failed
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Steve Arnold
URL:
Whiteboard:
Keywords:
: 209862 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-07-12 11:43 UTC by David
Modified: 2008-02-27 20:21 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David 2007-07-12 11:43:39 UTC
First error

ili1reader.h:53: error: invalid pure specifier (only `= 0' is allowed) before ';' token
make[3]: *** [../o/ili1reader.o] Error 1
make[3]: *** Waiting for unfinished jobs....

then:

make[3]: Leaving directory `/var/tmp/portage/sci-libs/gdal-1.3.1/work/gdal-1.3.1/ogr/ogrsf_frmts/ili'
make[2]: *** [ili-target] Error 2
make[2]: Leaving directory `/var/tmp/portage/sci-libs/gdal-1.3.1/work/gdal-1.3.1/ogr/ogrsf_frmts'
make[1]: *** [sublibs] Error 2
make[1]: *** Waiting for unfinished jobs....

... and ends with

/frmts/pcraster'
make[1]: Leaving directory `/var/tmp/portage/sci-libs/gdal-1.3.1/work/gdal-1.3.1           
/frmts'

!!! ERROR: sci-libs/gdal-1.3.1 failed.
Call stack:
  ebuild.sh, line 1621:   Called dyn_compile
  ebuild.sh, line 973:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  gdal-1.3.1.ebuild, line 106:   Called die



Reproducible: Always
Comment 1 David 2007-07-12 11:46:22 UTC
Forgot to mention:

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] sci-libs/gdal-1.3.1  USE="geos gif gml jpeg jpeg2k odbc png python sqlite -debug -doc -fits -hdf -hdf5 -netcdf -ogdi -postgres" 0 kB 
Comment 2 Steve Arnold archtester gentoo-dev 2007-07-17 07:15:09 UTC
I don't recall having any such build errors with that version, but it's pretty old...  Any reason why you can't use a newer version?
Comment 3 Steve Arnold archtester gentoo-dev 2007-07-20 04:03:43 UTC
I just built this version with your USE flags and with no issues, on a machine with a minimal "server" install (after it emerged half a dozen dependencies).  I would suggest that something on your system is broken; have you tried running revdep-rebuild lately, and verified your toolchain is properly installed (and without any eselect compiler cruft confusing the issue)?
Comment 4 David 2007-07-28 22:30:50 UTC
Steve,

On returning from my holidays ...
I ran /usr/portage/scripts/bootstrap.sh then emerge -e system followed by emerge -eN world, and still get the same error. So even though I seem to have naively rebuilt my entire system I'm no further forward. Perhaps you could let me know what sort of "eselect compiler cruft" may be confusing the issue. And, if such cruft exists, where I can find it on my system, or what I need to do to clear it. 
 
Thanks
David
 
Comment 5 Steve Arnold archtester gentoo-dev 2007-08-03 07:19:25 UTC
A while back, I think "eselect  gcc" was going to replace gcc-config, but was pulled due to problems with how it switched from one version to the next (more or less).  I'm pretty sure I never invoked that eselect module, but it bit me a while  back on another machine.

Basically, it messed up the binaries and symlinks under /usr/x86_64-pc-linux-gnu/ (or whatever your arch is).  Check the subdirs in the above directory tree and make sure the links make sense.  Only one version of gcc and binutils should be active, and you shouldn't see any weird binaries mixed in with a dir full of symlinks.  You may also want to invoke "gcc-config" a couple of times to switch versions and make sure you're set for the version you think you are.
Comment 6 Steve Arnold archtester gentoo-dev 2007-09-16 17:42:43 UTC
I'm assuming you have this resolved; please open an appropriate bug if you feel you need to (ie, toolchain, gdal, etc).
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2008-02-12 18:32:16 UTC
*** Bug 209862 has been marked as a duplicate of this bug. ***
Comment 8 Heinrich Nirschl 2008-02-27 20:21:22 UTC
I'm getting the same error with 1.3.1 which is currently the latest stable version.

1.3.2 compiles fine. Maybe its time stabilize one of the later versions?