Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 345149 - media-libs/libgphoto2-2.4.9 automagic dependency on media-libs/gd
Summary: media-libs/libgphoto2-2.4.9 automagic dependency on media-libs/gd
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-11 21:48 UTC by David Flogeras
Modified: 2010-11-14 23:06 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 David Flogeras 2010-11-11 21:48:08 UTC
I noticed on a binpkg system of mine that media-libs/libgphoto2-2.4.9 is installed, but media-libs/gd-2.0.35-r1 is not since it is not a runtime dep.  revdep-rebuild -pi reveals that two of libgphoto2's libs, /usr/lib64/libgphoto2/2.4.9/ax203.so and st2205.so (and .la's) are broken.  ldd shows they are linked to libgd.so.2

It seems that if libgphoto2 finds libgd at configure time it uses it, but it doesnt seem optional in their configure. Not sure how you fix it.

Reproducible: Always
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-11-12 19:06:19 UTC
indeed, those two drivers have conditional dependency on gd but the configure has no switch. Will fix the automagic by depending on the library for now.
Comment 2 David Flogeras 2010-11-14 21:52:19 UTC
That would be great, thank you for the quick response.
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-11-14 23:06:49 UTC
+  14 Nov 2010; Gilles Dartiguelongue <eva@gentoo.org>
+  -libgphoto2-2.4.6.ebuild, -libgphoto2-2.4.8.ebuild,
+  libgphoto2-2.4.9.ebuild:
+  Clean up old revisions. Avoid automagic dependency for ax203 and st2205
+  drivers, bug #345149. Re-add libtool to RDEPEND.

Thanks for reporting.