Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 520072 - =media-libs/libraw-0.16.0 - libraw.pc points to -I/usr/include/libraw/libraw
Summary: =media-libs/libraw-0.16.0 - libraw.pc points to -I/usr/include/libraw/libraw
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-16 18:27 UTC by David Kredba
Modified: 2014-11-29 18:29 UTC (History)
0 users

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


Attachments
Build.log (build.log,18.05 KB, text/plain)
2014-08-16 18:27 UTC, David Kredba
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Kredba 2014-08-16 18:27:02 UTC
Created attachment 382982 [details]
Build.log

-cut-
x86_64-pc-linux-gnu-g++ -fPIC -O2 -ggdb -pipe -march=core2 -mtune=core2 -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit   -DUSE_EXR    -I/usr/include/OpenEXR  -DUSE_JPEG -DUSE_JPEG2K -I/usr/include/openjpeg-1.5/openjpeg-1.5  -DUSE_MNG -DUSE_PNG    -I/usr/include/libpng16  -DUSE_TIFF   -I/usr/include/OpenEXR  -DUSE_RAW    -I/usr/include/libraw/libraw  -fPIC -c Source/FreeImage/PluginRAW.cpp -o Source/FreeImage/PluginRAW.o
Source/FreeImage/PluginRAW.cpp:22:20: fatal error: libraw.h: No such file or directory
-cut

Build process sets -I/usr/include/libraw/libraw where the file on my system is inside /usr/include/libraw.

equery b libraw.h
 * Searching for libraw.h ... 
media-libs/libraw-0.16.0 (/usr/include/libraw/libraw.h)

But:
pkg-config --cflags-only-I libraw
-I/usr/include/libraw/libraw
where it should report -I/usr/include/libraw only.

My libraw.pc contains:

prefix=/usr
exec_prefix=${prefix}
libdir=${prefix}/lib
includedir=${prefix}/include/libraw

Name: libraw
Description: libraw - Raw image decoder library (non-thread-safe)
URL: http://www.libraw.org
Requires:
Version: 0.16.0
Libs: -L${libdir} -lraw
Cflags: -I${includedir}/libraw


Cflags should maybe more look like: -I${includedir}

Could this please be checked?
Thank you in advance.
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2014-11-29 18:29:41 UTC
Gentlemen, please. This would have been a stable blocker.

Fixed in 0.16.0-r1 (bumped straight to stable)