Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 412399 - dev-db/postgis-2.0.0 complains about missing gdal-> missing dep?
Summary: dev-db/postgis-2.0.0 complains about missing gdal-> missing dep?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-17 19:20 UTC by Ervin Peters
Modified: 2012-05-01 17:38 UTC (History)
0 users

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 Ervin Peters 2012-04-17 19:20:05 UTC
It seems that postgis-2.0.0 depends on gdal. The ebuild should respect the gdal use flag if it is optional, or have a dependency on gdal. Right?

----------8<----------------
zosh peters # emerge -avuND world

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

Calculating dependencies... done!
[ebuild     U ~] dev-db/postgis-2.0.0 [1.5.3-r1] USE="doc gtk" 0 kB
[ebuild  N     ] dev-games/openscenegraph-3.0.1  USE="curl doc ffmpeg gif gtk jpeg jpeg2k openexr pdf png qt4 sdl svg tiff truetype wxwidgets xine zlib -debug -examples -fltk -fox -gdal -glut -itk -openinventor -osgapps -static-libs -vnc -xrandr" 0 kB
[ebuild     U  ] dev-games/simgear-2.4.0 [1.9.1] USE="-debug%" 0 kB
[ebuild     U  ] games-simulation/flightgear-2.4.0 [1.9.1] USE="sdl -debug%" 0 kB
[ebuild   R    ] x11-misc/xdg-user-dirs-0.14  USE="gtk%* nls" 0 kB

Total: 5 packages (3 upgrades, 1 new, 1 reinstall), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] yes

>>> Verifying ebuild manifests

>>> Starting parallel fetch

>>> Emerging (1 of 5) dev-db/postgis-2.0.0

...

checking cpl_conv.h presence... yes
checking for cpl_conv.h... yes
checking for library containing GDALAllRegister... no
configure: error: could not find gdal

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-db/postgis-2.0.0/work/postgis-2.0.0/config.log
 * ERROR: dev-db/postgis-2.0.0 failed (configure phase):
 *   econf failed

....
----------8<----------------

ervin
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-04-17 19:23:55 UTC
!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-db/postgis-2.0.0/work/postgis-2.0.0/config.log

1) Please attach that.
2) Post your `emerge --info' output in a comment.

But BEFORE THAT, run revdep-rebuild and see if that fixes sci-libs/gdal.
Comment 2 Ervin Peters 2012-05-01 17:38:19 UTC
reemerging gdal fixes that issue.

excuse that noise :-}

ervin