Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 567582 - media-libs/gegl-0.3.4 jpeg and png use flags broken - configure: error: Could not find a usable JPEG library with header files
Summary: media-libs/gegl-0.3.4 jpeg and png use flags broken - configure: error: Could...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sebastian Pipping
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-05 12:50 UTC by Märt Bakhoff
Modified: 2015-12-09 01:15 UTC (History)
1 user (show)

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


Attachments
build.log with USE="introspection" (build.log,15.78 KB, text/plain)
2015-12-05 12:52 UTC, Märt Bakhoff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Märt Bakhoff 2015-12-05 12:50:27 UTC
Try to build media-libs/gegl-0.3.4 USE="introspection":
configure: error: Could not find a usable JPEG library with header files

Try to build media-libs/gegl-0.3.4 USE="introspection jpeg":
configure: error: Could not find a usable PNG library with header files

Try to build media-libs/gegl-0.3.4 USE="introspection jpeg png":
build success

Reproducible: Always
Comment 1 Märt Bakhoff 2015-12-05 12:52:28 UTC
Created attachment 418602 [details]
build.log with USE="introspection"
Comment 2 Sebastian Pipping gentoo-dev 2015-12-06 17:17:31 UTC
Thanks for the report and the debugging so far!
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2015-12-06 22:31:46 UTC
Indeed, it appears that passing --without-libjpeg and png leads to AC_MSG_ERROR implying these should not be optional. Would need to check with upstream what is the intended behavior.
Comment 4 Sebastian Pipping gentoo-dev 2015-12-09 01:15:30 UTC
(In reply to Gilles Dartiguelongue from comment #3)
> Indeed, it appears that passing --without-libjpeg and png leads to
> AC_MSG_ERROR implying these should not be optional. Would need to check with
> upstream what is the intended behavior.

I have made and applied a patch now [1] and took the patch upstream [2].
The patch works well over here.  Please feel free to re-open if needed.

Best, Sebastian


[1] https://github.com/gentoo/gentoo/commit/fd4bb68fdb241a27224144045f5ae757f8a76921
[2] https://bugzilla.gnome.org/show_bug.cgi?id=759219