Bug List: (3 of 264) First Last Prev Next   Show last search results      Search page      Enter new bug
Bug#: 270039
Alias:
Product:
Component:
Status: NEW
Resolution:
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Robin Johnson <robbat2@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 270039 depends on: 269935 270055 270078 270155 270158 270159 270160 270161 273752 275196 281176 282532 Show dependency tree
Bug 270039 blocks:
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: 2009-05-16 09:49 0000
Every one of the packages listed below needs to be tested (see definition of
testing), and amended in one of two ways:
- DOES work with libusb-compat:
  1. Change your [R]DEPEND to =virtual/libusb-0* OR virtual/libusb:0. The slot
dep requires EAPI-1 or newer. The former works with EAPI0. (See note #1).

- DOES NOT work with libusb-compat, or you don't have time to fully test right
  now:
  1. Change your [R]DEPEND to dev-libs/libusb:0 (preserve any existing version
     dependency as well). You use at least EAPI1 for this.
  2. If it really doesn't work, leave a comment in the ebuild as well as on
     this bug.

When you are changing the package, please change ALL ebuilds, including the old
stable ebuilds, so that downgrades of the package are not computed to avoid the
libusb migration.

Note #1:
========
virtual/libusb-0 is set to bring in the current stable of dev-libs/libusb-0,
0.1.12-r1. If your package needs something in the 0 series newer than that, you
MUST use the slot dep variation.

How testing is defined in this case:
====================================
No recompile is needed in switching between libusb-0 and libusb-compat-0, that
was the entire point of the compat library. However by testing:
- You must actually USE the USB functionality of the package
OR
- carefully review it's code with regards to the libusb-compat limitations.

Of the limitations in libusb-compat (per the README):
- usb_device's "num_children" attribute is hardcoded to zero, and the
"children" pointer is NULL. Anything that tries to use these will thus fail.
- Running a transfer in it's own thread and simply killing the thread rather
than properly stopping the transfer will kill ALL libusb I/O in the program.
This is esp prevalent in multimedia code with isochronous USB transactions, but
can turn up in some bulk transactions as well.
- Proper error checking of opening devices, libusb-compat fails earlier when
there are insufficient permissions.

Packages (I've fixed :
app-accessibility/brltty
app-accessibility/gok
app-misc/acdctl
app-misc/digitemp
app-misc/ifp-line
app-misc/lirc
app-misc/rioutil
app-mobilephone/bitpim
app-mobilephone/gammu
app-mobilephone/moto4lin
app-mobilephone/obex-data-server
app-mobilephone/openmoko-dfu-util
app-pda/barry
app-pda/coldsync
app-pda/pilot-link
app-text/calibre
dev-embedded/avrdude
dev-embedded/ftdi_eeprom
dev-embedded/libftdi
dev-embedded/openocd
dev-embedded/pk2cmd
dev-libs/libhid
dev-libs/luise-bin
dev-libs/openobex
dev-libs/serdisplib
dev-util/usb-robot
media-gfx/gphoto2
media-gfx/iscan
media-gfx/sane-backends
media-libs/hamlib
media-libs/libdjconsole
media-libs/libifp
media-libs/libkarma
media-libs/libmtp
media-libs/libnjb
media-libs/libptp2
media-sound/ardour
media-tv/linuxtv-dvb-apps
media-video/isight-firmware-tools
net-dialup/umtsmon
net-misc/dahdi-tools
net-misc/zaptel
net-print/hplip
net-print/mtink
net-wireless/bluez
net-wireless/bluez-utils
sci-geosciences/gpsbabel
sci-geosciences/qlandkarte
sci-geosciences/qlandkartegt-garmindev
sci-libs/indilib
sci-libs/libticables2
sys-apps/usb_modeswitch
sys-auth/thinkfinger
sys-fs/owfs
sys-power/sispmctl
x11-misc/ifpgui
xfce-extra/xfce4-cellmodem

------- Comment #1 From Robin Johnson 2009-05-16 09:50:25 0000 -------
bah, there was a minor typo.
- Packages (I've fixed :
+ Packages (I've fixed 15 packages beyond this list already)

------- Comment #2 From Denis Dupeyron 2009-05-16 16:05:57 0000 -------
net-print/hplip is fixed.

------- Comment #3 From Diego E. 'Flameeyes' Pettenò 2009-05-16 17:43:14 0000 -------
For my packages please open bugs on a tracker rather than a multi-assigned bug.
Thanks.

------- Comment #4 From Mounir Lamouri (volkmar) 2009-05-17 10:36:34 0000 -------
app-misc/acdctl
app-misc/rioutil
dev-util/usb-robot

are maintainer-needed packages. I'm going to open new bugs for them.

------- Comment #5 From Mounir Lamouri (volkmar) 2009-05-17 10:52:07 0000 -------
net-misc/dahdi-tools
net-misc/zaptel

have been tracked. Removing voip alias.

By the way, rajiv and chainsaw, I think you can remove yourself from this bug
as those packages are probably why you were in CC.

------- Comment #6 From Krzysiek Pawlik 2009-05-17 13:26:07 0000 -------
x11-misc/ifpgui done.

------- Comment #7 From William Hubbs 2009-05-18 18:26:18 0000 -------
app-accessibility/brltty and app-accessibility/gok are done.

------- Comment #8 From solar 2009-05-18 22:33:24 0000 -------
robbat2 removing embedded@gentoo from the list cuz I don't see any packages
which are directly maintained by embedded. Also when you mass add people like
this. Please make a list of what pkg belongs to what maintainers. tia

------- Comment #9 From Robin Johnson 2009-05-18 22:43:18 0000 -------
solar: herd embedded is specified by dev-embedded/pk2cmd in my list of broken
packages.

------- Comment #10 From Robin Johnson 2009-05-19 00:44:36 0000 -------
app-pda/pilot-link is now fixed.

------- Comment #11 From Jeremy Olexa (darkside) 2009-05-20 01:56:45 0000 -------
Done:
media-libs/hamlib
xfce-extra/xfce4-cellmodem

------- Comment #12 From Petteri Räty 2009-05-22 22:23:23 0000 -------
for whichever pkg I am listed here, anyone is free to fix it

------- Comment #13 From Patrick Kursawe 2009-05-25 18:43:31 0000 -------
Using your definition of testing, I am unable to test sane-backends. I can't
let all USB related code run (no hardware) and reviewing all this code is
beyond what I can currently do. Suggestions?

------- Comment #14 From Denis Dupeyron 2009-05-26 18:02:27 0000 -------
Patrick,

(In reply to comment #13)
> Using your definition of testing, I am unable to test sane-backends. I can't
> let all USB related code run (no hardware) and reviewing all this code is
> beyond what I can currently do. Suggestions?

Then I suggest you do the same as I did for hplip. Change [R]DEPEND to
dev-libs/libusb:0 (you need EAPI1 but it's normally harmless and no revbump is
necessary) and add a note saying your name, date and that you couldn't test
with libusb-compat.

As soon as I get my officejet back I can test that and update the ebuild if
you're OK with it, but that may be a few months away.

Denis.

------- Comment #15 From Patrick Kursawe 2009-06-18 20:14:43 0000 -------
(In reply to comment #14)

> Then I suggest you do the same as I did for hplip. Change [R]DEPEND to
> dev-libs/libusb:0 (you need EAPI1 but it's normally harmless and no revbump is
> necessary) and add a note saying your name, date and that you couldn't test
> with libusb-compat.

Done as suggested, thanks for the help.

------- Comment #16 From Patrick Kursawe 2009-06-18 20:19:07 0000 -------
*** Bug 273705 has been marked as a duplicate of this bug. ***

------- Comment #17 From Alin Năstac 2009-06-20 22:31:48 0000 -------
I've fixed packages belonging to mobile-phone and net-dialup herds:
app-mobilephone/bitpim
app-mobilephone/gammu
app-mobilephone/moto4lin
app-mobilephone/obex-data-server
app-mobilephone/openmoko-dfu-util
dev-libs/openobex
net-dialup/umtsmon

I really don't like being spammed by jumbo bugs such as this. IMO a tracker
bound to individual bugs is the way to go.



------- Comment #18 From Gilles Dartiguelongue 2009-06-28 21:23:37 0000 -------
media-video/isight-firmware-tools done

------- Comment #19 From Gilles Dartiguelongue 2009-08-02 11:00:19 0000 -------
if there is something left for us, please fill individual bugs. TIA.

------- Comment #20 From Samuli Suominen 2009-08-02 11:04:20 0000 -------
(In reply to comment #19)
> if there is something left for us, please fill individual bugs. TIA.
> 

+1

------- Comment #21 From MATSUU Takuto 2009-09-23 23:54:00 0000 -------
fixed dev-libs/libhid

Bug List: (3 of 264) First Last Prev Next   Show last search results      Search page      Enter new bug