Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 470046 - sci-libs/gdal built with libtiff=external and libgeotiff=external
Summary: sci-libs/gdal built with libtiff=external and libgeotiff=external
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sci-geo Project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-05-16 08:32 UTC by Ronan Dunklau
Modified: 2013-06-24 23:33 UTC (History)
0 users

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


Attachments
Patch which seems to fix the issue (gdal_patch.ebuild,367 bytes, patch)
2013-05-16 08:34 UTC, Ronan Dunklau
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ronan Dunklau 2013-05-16 08:32:48 UTC
Gdal is built with the following configure options:

--with-libtiff=external
--with-geotiff=external

This is problematic for other applications depending  on the gdal-config utility for finding library that gdal depends on (example: postgis-2.1).
With those options, the output of gdal-config looks like this:

-ljpeg -Lexternal/lib -lgeotiff -Lexternal/lib

Switching those to --with-libtiff and --with-geotiff seems to solve the problem.
Comment 1 Ronan Dunklau 2013-05-16 08:34:41 UTC
Created attachment 348452 [details, diff]
Patch which seems to fix the issue
Comment 2 Aaron W. Swenson gentoo-dev 2013-06-24 23:33:33 UTC
*gdal-1.10.0-r1 (24 Jun 2013)

  24 Jun 2013; Aaron W. Swenson <titanofold@gentoo.org> -gdal-1.10.0.ebuild,
  +gdal-1.10.0-r1.ebuild:
  Actually apply the changes from bug 468592. Thanks Jean-Claude Repetto.

*gdal-1.10.0 (24 Jun 2013)

  24 Jun 2013; Aaron W. Swenson <titanofold@gentoo.org>
  -files/1.7.2-ruby_cflags.patch, -files/gdal-1.4.2-datadir.patch,
  -files/gdal-1.5.1-python-install.patch, -files/gdal-1.6.0-swig-fix.patch,
  -files/gdal-1.6.1-ruby-make.patch, -gdal-1.6.3-r1.ebuild,
  -files/gdal-1.6.3-libpng15.patch, -gdal-1.8.1-r1.ebuild, -gdal-1.9.1.ebuild,
  -files/gdal-1.9.1-opencl.patch, -files/gdal-1.9.1-poppler-0.20.1.patch,
  +gdal-1.10.0.ebuild, metadata.xml:
  Version bump. (Bug 468592) Call java-pkg-opt-2 functions. (Bug 471262; thanks
  to Tom Wijsman) Remove "=external". (Bug 470046; thanks to Ronan Dunklau.)
  Clean out old versions and patches, and update hdf to hdf5 in the local USE
  description.