Summary: | media-libs/libgphoto2-2.4.0-r1 fails to emerge w/ sys-devel/libtool-2.2 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Geert Vanhaute <geevh> |
Component: | New packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alexxy, aspotashev, dkarasik, genehack, gentoo.bugzilla, graphics+disabled, leonidp.lists, m.debruijne, rose, teidakankan, tmokros |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 212763 | ||
Attachments: |
libgphoto2 build log
config.log for libgphoto2-2.4.1 |
Description
Geert Vanhaute
2008-03-08 15:06:07 UTC
Created attachment 145559 [details]
libgphoto2 build log
<snip> checking for ltdl.h... yes checking for lt_dlcaller_register in -lltdl... no configure: error: libgphoto2 requires the ltdl library, included with libtool </snip> And a snip from NEWS of libtool 2.2: New in 2.1b: 2008-02-01; CVS version 2.1a... Removed deprecated APIs from libltdl: lt_dlcaller_register... .... and with libtool-2.2.2 ..... please test the newer 2.4.1. I haven't seen anything about this is in NEWS though. I get the same error with libgphoto2-2.4.1 checking for lt_dlcaller_register in -lltdl... no configure: error: libgphoto2 requires the ltdl library, included with libtool Please make sure that the proper development package is installed (libltdl-dev, libtool-ltdl-devel, etc.) !!! Please attach the following file when seeking support: !!! /var/tmp/portage/media-libs/libgphoto2-2.4.1/work/libgphoto2-2.4.1/config.log * * ERROR: media-libs/libgphoto2-2.4.1 failed. Created attachment 148080 [details]
config.log for libgphoto2-2.4.1
This link proposes a solution: http://sourceforge.net/tracker/index.php?func=detail&aid=1906117&group_id=8874&atid=108874 You can compile libgphoto2 by adding the following line to the top of the src_compile stage in the ebuild: export ac_cv_lib_ltdl_lt_dlcaller_register=yes I modified my local version of the ebuild this way and libgphoto2 now builds successfully. Please, NEVER call a hack a fix. While I haven't tried to build libgphoto2 the above seems to suggest that while it is checking for lt_dlcaller_register, it never actually uses it. If that's the case, correct upstream solution would be simply to check for a different function in libltdl. As this ebuild already uses eautoreconf, only thing needed is a probably trivial patch to gp-libltdl.m4, doing just that. hopefully fixed in 2.4.1, please reopen if it's not the case and give me a symbol that is common to libtool 2.2 and previous libtool releases. |