Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 466114 - sci-libs/gdal-1.9.2 USE=sqlite - .../work/gdal-1.9.2/libgdal.so: error: undefined reference to 'sqlite3_free'
Summary: sci-libs/gdal-1.9.2 USE=sqlite - .../work/gdal-1.9.2/libgdal.so: error: undef...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Aaron W. Swenson
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: underlinking
  Show dependency tree
 
Reported: 2013-04-16 14:48 UTC by cmuelle8
Modified: 2014-01-27 00:20 UTC (History)
1 user (show)

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


Attachments
1366083881-install-sci-libs_gdal-1.9.2:0::gentoo.out (1366083881-install-sci-libs_gdal-1.9.2:0::gentoo.out,644.68 KB, text/plain)
2013-04-16 14:49 UTC, cmuelle8
Details
gdal-1.9.2.ebuild.patch (gdal-1.9.2.ebuild.patch,454 bytes, patch)
2013-04-16 14:51 UTC, cmuelle8
Details | Diff
1372999347-install-sci-libs_gdal-1.10.0-r1:0::gentoo.out.xz (1372999347-install-sci-libs_gdal-1.10.0-r1:0::gentoo.out.xz,27.89 KB, application/x-xz)
2013-07-05 05:01 UTC, cmuelle8
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cmuelle8 2013-04-16 14:48:01 UTC
cave show -f gdal::gentoo
* sci-libs/gdal::gentoo
cave@1366123519: [WARNING e.cache.stale] Stale cache file at '/var/paludis/repositories/gentoo/metadata/md5-cache/sci-libs/gdal-1.9.2'
    ::gentoo                  1.6.3-r1 1.8.1-r1 1.9.1(~) 1.9.2* {:0}
    sci-libs/gdal-1.9.2:0::gentoo
    Description               Translator library for raster geospatial data formats (includes OGR support)
    Homepage                  http://www.gdal.org/
    Herds                     sci-geosciences
    Long Description          GDAL is the Geospatial Data Abstraction Library, a set of tools for converting between geospatial raster data formats (includes OGR for vector data).
    Use flags                 -armadillo aux_xml curl -debug doc -ecwj2k fits geos gif gml hdf5 java jpeg jpeg2k -mdb mysql -netcdf odbc ogdi -opencl pdf perl png postgres python ruby spatialite sqlite threads xls build_options: symbols=strip dwarf_compress -optional_tests -trace work=remove 


Attached patch should not break non-lto builds, but I've not tested this.

Reproducible: Always
Comment 1 cmuelle8 2013-04-16 14:49:01 UTC
Created attachment 345700 [details]
1366083881-install-sci-libs_gdal-1.9.2:0::gentoo.out
Comment 2 cmuelle8 2013-04-16 14:51:47 UTC
Created attachment 345702 [details, diff]
gdal-1.9.2.ebuild.patch
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2013-04-18 11:23:22 UTC
LTO doesn't seem related at all - it's a simple matter of underlinking.
Comment 4 Aaron W. Swenson gentoo-dev 2013-06-24 23:35:00 UTC
Does this issue persist with gdal-1.10.0-r1? I didn't run into this problem.
Comment 5 cmuelle8 2013-07-05 05:01:07 UTC
Created attachment 352650 [details]
1372999347-install-sci-libs_gdal-1.10.0-r1:0::gentoo.out.xz

(In reply to Aaron W. Swenson from comment #4)
> Does this issue persist with gdal-1.10.0-r1? I didn't run into this problem.

Yes, it does persist - see attached build log that used the plain ebuild.

Greetings
Comment 6 Aaron W. Swenson gentoo-dev 2014-01-27 00:20:48 UTC
*gdal-1.10.1 (26 Jan 2014)

  26 Jan 2014; Aaron W. Swenson <titanofold@gentoo.org>
  +files/gdal-1.10.0-ruby-makefile.patch, +gdal-1.10.1.ebuild:
  Fix bug 493236: Depend on Perl conditionally. Thanks Nikoli.
  Fix bug 492338: Version bump. Thanks Stephan Litterst.
  Fix bug 483074: Convert to python-r1 to support multiple Pythons. Thanks
                  Ian Stakenvicius.
  Fix bug 466114: Append -lisqlite3 to LIBS. Thanks cmuelle8.
  Fix bug 482888: Modify poppler dependency to have a minimum
                  version (>=0.24.3).
  Fix bug 490048: Add dev-libs/libpcre and dev-libs/libxml2 to RDEPEND
  Fix bug 489224: Add sub-slot operator to trigger rebuild when poppler or
                  Perl is updated. Thanks Nikoli.
  Fix bug 490046: Resolved by sci-libs/gdal version bump.
  Fix bug 474678: Really include the patch this time.