First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 103132
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Robin Johnson <robbat2@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Niels Laukens <nielchiano@skynet.be>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
libusb-0.1.10a.ebuild.diff patch to change the install path patch Niels Laukens 2005-08-20 04:57 0000 558 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 103132 depends on: Show dependency tree
Bug 103132 blocks: 88832
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-08-20 04:55 0000
libusb is required by the newhidups driver from Network UPS Tools.

When the power fails and the system is automaticaly shutting down, the last
thing it does is signal the UPS to kill the power. To do this, newhidups needs
the libusb library.

Right now, libusb installs itself in /usr/lib, however, on most systems /usr is
a different partition and is already unmounted.

A working solution is to install libusb in /lib, either always, or depending on
a (new) USE-flag "ups"

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

------- Comment #1 From Niels Laukens 2005-08-20 04:57:51 0000 -------
Created an attachment (id=66389) [edit]
patch to change the install path

this works here, but it might be an ugly hack... I'm no ebuild-genious

------- Comment #2 From Alastair Tse (RETIRED) 2006-02-11 11:04:34 0000 -------
interesting. debian puts it in /lib and suse puts it in /usr/lib.

i hadn't come across anything as essential that depended on libusb like UPS
monitoring utilities.  

------- Comment #3 From Robin Johnson 2006-05-17 22:45:05 0000 -------
liquidx: I'm just commiting the new version of nut now, and it has several USB
drivers that need libusb in /lib for systems that have a seperate /usr.

The only change you need to make is adding --libdir=/$(get_libdir) to the
configure call.

If you have no objections, I can commit it myself as well.

------- Comment #4 From Sean Mahrt 2007-02-25 23:42:23 0000 -------
Has this been committed?  Waiting for my UPS to work at shutdown properly...

(In reply to comment #3)
> liquidx: I'm just commiting the new version of nut now, and it has several USB
> drivers that need libusb in /lib for systems that have a seperate /usr.
> The only change you need to make is adding --libdir=/$(get_libdir) to the
> configure call.
> If you have no objections, I can commit it myself as well.

------- Comment #5 From Jakub Moc (RETIRED) 2007-04-09 11:32:54 0000 -------
*** Bug 173889 has been marked as a duplicate of this bug. ***

------- Comment #6 From Jakub Moc (RETIRED) 2007-04-09 11:34:01 0000 -------
@robbat2 - can you do it? It also breaks media-video/linux-uvc and probably
other stuff.

------- Comment #7 From Robin Johnson 2007-04-10 09:46:58 0000 -------
fixed in cvs. sorry that liquidx dropped this.

First Last Prev Next    No search results available      Search page      Enter new bug