Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 500696 - media-libs/lensfun should not install /usr/include/image.h
Summary: media-libs/lensfun should not install /usr/include/image.h
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-02-08 14:45 UTC by Priit Laes (IRC: plaes)
Modified: 2014-07-20 18:19 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Priit Laes (IRC: plaes) 2014-02-08 14:45:29 UTC
$title

The installed `image.h` file name is too generic and causes issues with various software packages (one example is u-boot).
Comment 1 disposable 2014-07-20 09:55:10 UTC
Although media-libs/lensfun-0.2.7 was installed first, I can successfully emerge dev-embedded/u-boot-tools-2014.01 as of 2014-07-20.

But I can also confirm the issue of the reporter:
When fetching u-boot from their main repo today (git://git.denx.de/u-boot.git, commit 524123a), one cannot build u-boot-tools because the tools erroneously include /usr/include/image.h instead of <repo>/include/image.h. This issue was already 'reported' in the gentoo forum [1].

In my opinion, this is mainly an error within u-boot and should be fixed there.
Although having lensfun not install /us/include/image.h will help avoiding further bugs.

[1] http://forums.gentoo.org/viewtopic-t-935766-start-0.html
Comment 2 disposable 2014-07-20 11:21:57 UTC
I finally found the issue: the gentoo patches
- lensfun-0.2.7-build.patch 
- lensfun-0.2.8-build.patch
relocate (some?) header files to /usr/include instead of /usr/include/{auxfun,lensfun}.

Can someone shed some light on why it is neccessary to have the header files in the global include dir?
Comment 3 Markus Meier gentoo-dev 2014-07-20 18:19:09 UTC
Not sure why the header file destination was touched initially. I've removed the modification - should be good now. Reverse dependencies seem to still build...
Thanks for the report and investigation!


+*lensfun-0.2.8-r1 (20 Jul 2014)
+
+  20 Jul 2014; Markus Meier <maekke@gentoo.org> +lensfun-0.2.8-r1.ebuild,
+  +files/lensfun-0.2.8-r1-build.patch:
+  do not modify header file install destination path by disposable in bug
+  #500696, drop python2.6 support
+