Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 564188 - sci-geosciences/grass-7.0.1-r2[-gdal,postgres]: fails to build with "main.c:27:21: fatal error: ogr_api.h: No such file or directory"
Summary: sci-geosciences/grass-7.0.1-r2[-gdal,postgres]: fails to build with "main.c:2...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sam Jorna (wraeth) (RETIRED)
URL: https://trac.osgeo.org/grass/ticket/2779
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-26 14:51 UTC by Sam Jorna (wraeth) (RETIRED)
Modified: 2015-10-28 15:14 UTC (History)
3 users (show)

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


Attachments
build.log (grass-7.0.1-r2:201510270148.log.gz,152.74 KB, application/gzip)
2015-10-26 14:51 UTC, Sam Jorna (wraeth) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sam Jorna (wraeth) (RETIRED) gentoo-dev 2015-10-26 14:51:23 UTC
Created attachment 415526 [details]
build.log

When built with USE="-gdal postgres" the build fails due to a header being unconditionally required.

Originally reported by Christian Schmitt per bug 563854.
Comment 1 Sam Jorna (wraeth) (RETIRED) gentoo-dev 2015-10-28 15:14:16 UTC
In order to comply with upstream requirements as per URL, the 'gdal' USE flag has been removed and dependency on sci-libs/gdal made unconditional.

Author: Amy Winston <amynka@gentoo.org>
Date:   Wed Oct 28 16:03:38 2015 +0100

    sci-geosciences/grass: revbump to 7.0.1-r3

    Fixes sandbox violation when build with USE=opencl, remove USE=gdal and
    add hard dependency based on upstream requirements to resolve build
    failure, tidy patches into to PATCHES array, ebuild submitted by wraeth.

    Gentoo-bug: 563854
    Gentoo-bug: 564188