Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 270017 - media-libs/libgphoto2-2.4.4 rebuild fails due to libusb upgrade
Summary: media-libs/libgphoto2-2.4.4 rebuild fails due to libusb upgrade
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-16 05:03 UTC by André Terpstra
Modified: 2009-05-16 08:05 UTC (History)
1 user (show)

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


Attachments
configure log as required by emerge error trace (config.log,96.51 KB, text/plain)
2009-05-16 05:06 UTC, André Terpstra
Details

Note You need to log in before you can comment on or make changes to this bug.
Description André Terpstra 2009-05-16 05:03:33 UTC
emerge log and dumps will be attached

Reproducible: Always

Steps to Reproduce:
1.emerge --sync
2.emerge --depclean
3.revdep-rebuild

Actual Results:  
Emerge breaks

Expected Results:  
Should emerge succesfully
Comment 1 André Terpstra 2009-05-16 05:05:25 UTC
tail of emerge output:

checking for dev_lock in -llockdev... no                                                                                                                                                                                     
checking PKG_CONFIG_PATH... /usr/qt/3/lib64/pkgconfig                                                                                                                                                                        
checking for pkg-config... /usr/bin/pkg-config                                                                                                                                                                               
checking for dynamic library extension... .so                                                                                                                                                                                
checking pkg-config is at least version 0.9.0... yes                                                                                                                                                                         
checking for libusb to use... autodetect                                                                                                                                                                                     
checking for LIBUSB... no                                                                                                                                                                                                    
checking libusb config program... libusb-config                                                                                                                                                                              
checking for libusb-config... no                                                                                                                                                                                             
configure: error:                                                                                                                                                                                                            
PKG_CONFIG_PATH=/usr/qt/3/lib64/pkgconfig                                                                                                                                                                                    
LIBUSB_LIBS=                                                                                                                                                                                                                 
LIBUSB_CFLAGS=                                                                                                                                                                                                               

* Fatal: libgphoto2 port access library by default requires libusb >= 0.1.5 to build.
*        You must explicitly disable libusb to build libgphoto2_port without it.     
*                                                                                    
* Possible solutions:                                                                
*   - call configure with --with-libusb=no or --without-libusb                       
*   - set PKG_CONFIG_PATH to adequate value                                          
*   - call configure with LIBUSB_LIBS=.. and LIBUSB_CFLAGS=..                        
*   - call configure with one of the --with-libusb parameters                        
*   - get libusb and install it

configure: error: ./configure failed for libgphoto2_port

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/media-libs/libgphoto2-2.4.4/work/libgphoto2-2.4.4/config.log
 *
 * ERROR: media-libs/libgphoto2-2.4.4 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_configure
 *             environment, line 2739:  Called econf '--disable-docs' '--disable-gp2ddb' '--disable-bonjour' '--enable-hal' '--enable-nls' '--with-libexif' '--with-drivers=canon' '--with-doc-dir=/usr/share/doc/libgphoto2-2.4.4' '--with-html-dir=/usr/share/doc/libgphoto2-2.4.4/html' '--with-hotplug-doc-dir=/usr/share/doc/libgphoto2-2.4.4/hotplug' '--with-rpmbuild=/bin/true' 'udevscriptdir=/lib64/udev'
 *               ebuild.sh, line  534:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 *  The die message:
 *   econf failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/media-libs:libgphoto2-2.4.4:20090516-045449.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/libgphoto2-2.4.4/temp/environment'.
 *

>>> Failed to emerge media-libs/libgphoto2-2.4.4, Log file:

>>>  '/var/log/portage/media-libs:libgphoto2-2.4.4:20090516-045449.log'

The dump mentioned will be attached.
Comment 2 André Terpstra 2009-05-16 05:06:39 UTC
Created attachment 191441 [details]
configure log as required by emerge error trace
Comment 3 André Terpstra 2009-05-16 05:07:42 UTC
NOTE: This error is linked to http://bugs.gentoo.org/show_bug.cgi?id=269978
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-05-16 08:05:09 UTC
The libgphoto2 package is updated. In the case of new systems, it should bring in libusb-1* AND libusb-compat-0* now.