Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 294494 - sys-fs/obexfs should depend on dev-libs/libusb
Summary: sys-fs/obexfs should depend on dev-libs/libusb
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Mobile Phone Developers (INACTIVE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-24 22:07 UTC by Dmitry Ivankov
Modified: 2009-12-12 09:58 UTC (History)
0 users

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 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.