Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 294494

Summary: sys-fs/obexfs should depend on dev-libs/libusb
Product: Gentoo Linux Reporter: Dmitry Ivankov <divanorama>
Component: New packagesAssignee: Gentoo Mobile Phone Developers (INACTIVE) <mobile-phone>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Dmitry Ivankov 2009-11-24 22:07:20 UTC
obexfs fails to build without libusb so most probably is should depend on it.

Reproducible: Always

Steps to Reproduce:
1. make sure dev-libs/libusb is not installed
2. emerge sys-fs/obexfs


Actual Results:  
checking for OBEXFTP... configure: error: Package requirements (obexftp) were not met:

Package libusb was not found in the pkg-config search path.
Perhaps you should add the directory containing `libusb.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libusb', required by 'ObexFTP', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables OBEXFTP_CFLAGS
and OBEXFTP_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


Expected Results:  
obexfs emerged, in my case I guess it should pull libusb as I'm using usb-to-serial adapter.
Comment 1 Alin Năstac (RETIRED) gentoo-dev 2009-12-12 09:58:06 UTC
As I've said in bug 285040, obexfs does not depend directly on the libusb.
If you compile openobex with usb support, pkg-config --libs obexftp will include -lusb.

Next time when you remove packets, please do the whole update procedure (emerge -uDNp, emerge --depclean, revdep-rebuild).
Closed as INVALID.