Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 419337 - media-libs/libgphoto2 installs recursive loop symlink - /usr/include/gphoto2/gphoto2
Summary: media-libs/libgphoto2 installs recursive loop symlink - /usr/include/gphoto2/...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-02 11:01 UTC by Justin Lecher (RETIRED)
Modified: 2012-06-30 12:30 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 Justin Lecher (RETIRED) gentoo-dev 2012-06-02 11:01:32 UTC
 $ ll /usr/include/gphoto2/gphoto2
lrwxrwxrwx 1 root root 1 Apr 30 17:14 /usr/include/gphoto2/gphoto2 -> ./

Can we fix this or is this by design?
Comment 1 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-06-04 06:58:07 UTC
This is by design, look at libgphoto2's Makefile.am:

########################################################################
# Compatibility for header inclusions.
#
# - Old code has -I/usr/include/gphoto2
#   #include <gphoto2-camera.h>
#
# - New code has -I/usr/include
#   #include <gphoto2/gphoto2-camera.h>

install-data-local:
        rm -f $(DESTDIR)$(includedir)/gphoto2/gphoto2
        $(INSTALL) -m 0755 -d $(DESTDIR)$(includedir)/gphoto2
        $(LN_S) . $(DESTDIR)$(includedir)/gphoto2/gphoto2


Not sure how useful that design is for Gentoo though...
Comment 2 Pacho Ramos gentoo-dev 2012-06-04 09:43:53 UTC
If it doesn't cause problems for us, I would leave it as is (as upstream wants)
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2012-06-04 10:09:51 UTC
No, there aren't any problems. Just when grepping in /usr/include it pops up
Comment 4 Pacho Ramos gentoo-dev 2012-06-30 12:30:52 UTC
In this case, please report this directly to upstream, we will follow it if they drop that link, thanks