Skip Menu |

This queue is for tickets about the Device-USB CPAN distribution.

Report information
The Basics
Id: 113422
Status: open
Priority: 0/
Queue: Device-USB

People
Owner: Nobody in particular
Requestors: frederik [...] ofb.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: installation problem
Date: Tue, 29 Mar 2016 00:23:29 -0700
To: bug-device-usb [...] rt.cpan.org
From: frederik [...] ofb.net
Hi! I was looking forward to using a module which depends on Device::USB (it was Device::USB::PCSensor::HidTEMPer). However, I can't install Device::USB: $ cpanm Device::USB --> Working on Device::USB Fetching http://www.cpan.org/authors/id/G/GW/GWADEJ/Device-USB-0.36.tar.gz ... OK Configuring Device-USB-0.36 ... N/A Building and testing Device-USB-0.36 ... FAIL ! Installing Device::USB failed. See /home/frederik/.cpanm/work/1459235981.23133/build.log for details. Retry with --force to force install it. I'm attaching build.log. Hope this helps. Thank you, Frederick

Message body is not shown because sender requested not to inline it.

Subject: Re: [rt.cpan.org #113422] installation problem
Date: Wed, 30 Mar 2016 07:23:15 -0500
To: bug-Device-USB [...] rt.cpan.org
From: "G. Wade Johnson" <gwadej [...] anomaly.org>
On Tue, 29 Mar 2016 03:23:49 -0400 "frederik@ofb.net via RT" <bug-Device-USB@rt.cpan.org> wrote: Show quoted text
> Tue Mar 29 03:23:48 2016: Request 113422 was acted upon. > Transaction: Ticket created by frederik@ofb.net > Queue: Device-USB > Subject: installation problem > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: frederik@ofb.net > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=113422 > > > > Hi! > > I was looking forward to using a module which depends on Device::USB > (it was Device::USB::PCSensor::HidTEMPer). However, I can't install > Device::USB:
The normal problem with installing Device::USB is caused by the wrong version of libusb. This module was written back when libusb 0.14 was current. The 1.0+ versions use a different API, so compile fails. If you install the older version, it may help. G. Wade Show quoted text
> $ cpanm Device::USB > --> Working on Device::USB > Fetching > http://www.cpan.org/authors/id/G/GW/GWADEJ/Device-USB-0.36.tar.gz ... > OK Configuring Device-USB-0.36 ... N/A Building and testing > Device-USB-0.36 ... FAIL ! Installing Device::USB failed. > See /home/frederik/.cpanm/work/1459235981.23133/build.log for > details. Retry with --force to force install it. > > I'm attaching build.log. Hope this helps. > > Thank you, > > Frederick >
-- Make no decision out of fear. -- Bruce Sterling
Subject: Re: [rt.cpan.org #113422] installation problem
Date: Wed, 30 Mar 2016 06:04:39 -0700
To: "G. Wade Johnson via RT" <bug-Device-USB [...] rt.cpan.org>
From: frederik [...] ofb.net
Thank you for the reply. I see that I have a couple of versions of the library installed: /usr/lib/libusb-0.1.so.4 /usr/lib/libusb-0.1.so.4.4.4 /usr/lib/libusb-1.0.so /usr/lib/libusb-1.0.so.0 /usr/lib/libusb-1.0.so.0.1.0 Is the module unable to find the version it is compatible with? I can think of several things which could be fixed: - the documentation should explain that the package is old or bit-rotted or has problems with library versions - the build should be fixed so that the library version problem is apparent from the build log (I attached the build log, but it doesn't seem to give any useful details about what caused failure) - the Device::USB module should be updated so that it works with current libusb I reported this bug to try to assist with Device::USB development. However, if others are reporting similar bugs and the package is not getting fixed, then it should be marked as defunct. This would save the time of potential users. Thank you! On Wed, Mar 30, 2016 at 08:23:50AM -0400, G. Wade Johnson via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=113422 > > > On Tue, 29 Mar 2016 03:23:49 -0400 > "frederik@ofb.net via RT" <bug-Device-USB@rt.cpan.org> wrote: >
> > Tue Mar 29 03:23:48 2016: Request 113422 was acted upon. > > Transaction: Ticket created by frederik@ofb.net > > Queue: Device-USB > > Subject: installation problem > > Broken in: (no value) > > Severity: (no value) > > Owner: Nobody > > Requestors: frederik@ofb.net > > Status: new > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=113422 > > > > > > > Hi! > > > > I was looking forward to using a module which depends on Device::USB > > (it was Device::USB::PCSensor::HidTEMPer). However, I can't install > > Device::USB:
> > The normal problem with installing Device::USB is caused by the wrong > version of libusb. This module was written back when libusb 0.14 was > current. The 1.0+ versions use a different API, so compile fails. > > If you install the older version, it may help. > > G. Wade > >
> > $ cpanm Device::USB > > --> Working on Device::USB > > Fetching > > http://www.cpan.org/authors/id/G/GW/GWADEJ/Device-USB-0.36.tar.gz ... > > OK Configuring Device-USB-0.36 ... N/A Building and testing > > Device-USB-0.36 ... FAIL ! Installing Device::USB failed. > > See /home/frederik/.cpanm/work/1459235981.23133/build.log for > > details. Retry with --force to force install it. > > > > I'm attaching build.log. Hope this helps. > > > > Thank you, > > > > Frederick > >
> > > -- > Make no decision out of fear. -- Bruce Sterling >
Subject: Re: [rt.cpan.org #113422] installation problem
Date: Wed, 30 Mar 2016 22:08:49 -0500
To: bug-Device-USB [...] rt.cpan.org
From: "G. Wade Johnson" <gwadej [...] anomaly.org>
Hi Frederik, On Wed, 30 Mar 2016 09:04:55 -0400 "frederik@ofb.net via RT" <bug-Device-USB@rt.cpan.org> wrote: Show quoted text
> Queue: Device-USB > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=113422 > > > Thank you for the reply. I see that I have a couple of versions of the > library installed: > > /usr/lib/libusb-0.1.so.4 > /usr/lib/libusb-0.1.so.4.4.4 > /usr/lib/libusb-1.0.so > /usr/lib/libusb-1.0.so.0 > /usr/lib/libusb-1.0.so.0.1.0 > > Is the module unable to find the version it is compatible with?
It looks like the first library should work, and I wouldn't be surprised if the problem has to do with the header file being 1.0 compatible. Show quoted text
> I can think of several things which could be fixed: > > - the documentation should explain that the package is old or > bit-rotted or has problems with library versions > > - the build should be fixed so that the library version problem is > apparent from the build log (I attached the build log, but it > doesn't seem to give any useful details about what caused failure)
Earlier versions of Inline::C gave a better error message in this case. Show quoted text
> - the Device::USB module should be updated so that it works with > current libusb
I have been looking to pass the maintenance of the module to someone else for years. I no longer have a direct need for it and don't have the time to maintain (or update) it. If you are interested in helping to update the module or to take over maintenance, I would be glad to pass it on. Show quoted text
> I reported this bug to try to assist with Device::USB development. > However, if others are reporting similar bugs and the package is not > getting fixed, then it should be marked as defunct. This would save > the time of potential users.
I appreciate the report. G. Wade Show quoted text
> Thank you! > > On Wed, Mar 30, 2016 at 08:23:50AM -0400, G. Wade Johnson via RT > wrote:
> > <URL: https://rt.cpan.org/Ticket/Display.html?id=113422 > > > > > On Tue, 29 Mar 2016 03:23:49 -0400 > > "frederik@ofb.net via RT" <bug-Device-USB@rt.cpan.org> wrote: > >
> > > Tue Mar 29 03:23:48 2016: Request 113422 was acted upon. > > > Transaction: Ticket created by frederik@ofb.net > > > Queue: Device-USB > > > Subject: installation problem > > > Broken in: (no value) > > > Severity: (no value) > > > Owner: Nobody > > > Requestors: frederik@ofb.net > > > Status: new > > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=113422 > > > > > > > > > > Hi! > > > > > > I was looking forward to using a module which depends on > > > Device::USB (it was Device::USB::PCSensor::HidTEMPer). However, I > > > can't install Device::USB:
> > > > The normal problem with installing Device::USB is caused by the > > wrong version of libusb. This module was written back when libusb > > 0.14 was current. The 1.0+ versions use a different API, so compile > > fails. > > > > If you install the older version, it may help. > > > > G. Wade > > > >
> > > $ cpanm Device::USB > > > --> Working on Device::USB > > > Fetching > > > http://www.cpan.org/authors/id/G/GW/GWADEJ/Device-USB-0.36.tar.gz ... > > > OK Configuring Device-USB-0.36 ... N/A Building and testing > > > Device-USB-0.36 ... FAIL ! Installing Device::USB failed. > > > See /home/frederik/.cpanm/work/1459235981.23133/build.log for > > > details. Retry with --force to force install it. > > > > > > I'm attaching build.log. Hope this helps. > > > > > > Thank you, > > > > > > Frederick > > >
> > > > > > -- > > Make no decision out of fear. -- Bruce Sterling > >
>
-- $HOME is where your dotfiles are. -- Gym Quirk
Subject: Re: [rt.cpan.org #113422] installation problem
Date: Thu, 31 Mar 2016 02:45:37 -0700
To: "G. Wade Johnson via RT" <bug-Device-USB [...] rt.cpan.org>
From: frederik [...] ofb.net
Show quoted text
> If you are interested in helping to update the module or to take over > maintenance, I would be glad to pass it on.
Thanks for the offer, but I think there is a Python tool which does what I need. It would be great to have a Perl solution but I'm not the one to do it. I hope that in the meantime you can summon the time to put a notice at the top of your module's README or something explaining that it is broken and not being maintained. Thank you, Frederick On Wed, Mar 30, 2016 at 11:09:18PM -0400, G. Wade Johnson via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=113422 > > > Hi Frederik, > > On Wed, 30 Mar 2016 09:04:55 -0400 > "frederik@ofb.net via RT" <bug-Device-USB@rt.cpan.org> wrote: >
> > Queue: Device-USB > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=113422 > > > > > Thank you for the reply. I see that I have a couple of versions of the > > library installed: > > > > /usr/lib/libusb-0.1.so.4 > > /usr/lib/libusb-0.1.so.4.4.4 > > /usr/lib/libusb-1.0.so > > /usr/lib/libusb-1.0.so.0 > > /usr/lib/libusb-1.0.so.0.1.0 > > > > Is the module unable to find the version it is compatible with?
> > It looks like the first library should work, and I wouldn't be > surprised if the problem has to do with the header file being 1.0 > compatible. >
> > I can think of several things which could be fixed: > > > > - the documentation should explain that the package is old or > > bit-rotted or has problems with library versions > > > > - the build should be fixed so that the library version problem is > > apparent from the build log (I attached the build log, but it > > doesn't seem to give any useful details about what caused failure)
> > Earlier versions of Inline::C gave a better error message in this case. >
> > - the Device::USB module should be updated so that it works with > > current libusb
> > I have been looking to pass the maintenance of the module to someone > else for years. I no longer have a direct need for it and don't have > the time to maintain (or update) it. > > If you are interested in helping to update the module or to take over > maintenance, I would be glad to pass it on. >
> > I reported this bug to try to assist with Device::USB development. > > However, if others are reporting similar bugs and the package is not > > getting fixed, then it should be marked as defunct. This would save > > the time of potential users.
> > I appreciate the report. > > G. Wade >
> > Thank you! > > > > On Wed, Mar 30, 2016 at 08:23:50AM -0400, G. Wade Johnson via RT > > wrote:
> > > <URL: https://rt.cpan.org/Ticket/Display.html?id=113422 > > > > > > > On Tue, 29 Mar 2016 03:23:49 -0400 > > > "frederik@ofb.net via RT" <bug-Device-USB@rt.cpan.org> wrote: > > >
> > > > Tue Mar 29 03:23:48 2016: Request 113422 was acted upon. > > > > Transaction: Ticket created by frederik@ofb.net > > > > Queue: Device-USB > > > > Subject: installation problem > > > > Broken in: (no value) > > > > Severity: (no value) > > > > Owner: Nobody > > > > Requestors: frederik@ofb.net > > > > Status: new > > > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=113422 > > > > > > > > > > > > > Hi! > > > > > > > > I was looking forward to using a module which depends on > > > > Device::USB (it was Device::USB::PCSensor::HidTEMPer). However, I > > > > can't install Device::USB:
> > > > > > The normal problem with installing Device::USB is caused by the > > > wrong version of libusb. This module was written back when libusb > > > 0.14 was current. The 1.0+ versions use a different API, so compile > > > fails. > > > > > > If you install the older version, it may help. > > > > > > G. Wade > > > > > >
> > > > $ cpanm Device::USB > > > > --> Working on Device::USB > > > > Fetching > > > > http://www.cpan.org/authors/id/G/GW/GWADEJ/Device-USB-0.36.tar.gz ... > > > > OK Configuring Device-USB-0.36 ... N/A Building and testing > > > > Device-USB-0.36 ... FAIL ! Installing Device::USB failed. > > > > See /home/frederik/.cpanm/work/1459235981.23133/build.log for > > > > details. Retry with --force to force install it. > > > > > > > > I'm attaching build.log. Hope this helps. > > > > > > > > Thank you, > > > > > > > > Frederick > > > >
> > > > > > > > > -- > > > Make no decision out of fear. -- Bruce Sterling > > >
> >
> > > -- > $HOME is where your dotfiles are. -- Gym Quirk >