Raku / ecosystem-unbitrot

Which modules are not installable?
https://perl6.github.io/ecosystem-unbitrot/
GNU General Public License v3.0
5 stars 4 forks source link

Device::Velleman::K8055 #379

Open AlexDaniel opened 5 years ago

AlexDaniel commented 5 years ago

Module Device::Velleman::K8055 cannot be installed (AlwaysFail), perhaps it has some failing tests.

If you can't self-assign yourself or attach a label, please let us know on #perl6 channel on freenode or just leave a comment here. We will try to give you privileges as fast as possible.

Output:

===> Searching for: Device::Velleman::K8055
Failed to open file /home/alex/Blin/data/zef-data/store/Device-Velleman-K8055-0.0.3.tar.gz/Device-Velleman-K8055-0.0.3/resources/libraries/libk8055.so: No such file or directory
===> Found: Device::Velleman::K8055:ver<0.0.3>:auth<github:jonathanstowe>:api<1.0> [via Zef::Repository::Ecosystems<cpan>]
===> Fetching [OK]: Device::Velleman::K8055:ver<0.0.3>:auth<github:jonathanstowe>:api<1.0> to /home/alex/Blin/data/zef-data/tmp/1549582005.22512.9751/Device-Velleman-K8055-0.0.3.tar.gz
===> Extraction [OK]: Device::Velleman::K8055 to /home/alex/Blin/data/zef-data/store/Device-Velleman-K8055-0.0.3.tar.gz
===> Building: Device::Velleman::K8055:ver<0.0.3>:auth<github:jonathanstowe>:api<1.0>
Command: /tmp/whateverable/rakudo-moar/1ff9b14e8903d77f066f7c2673ea59d6ad7f4aa6/bin/perl6 -Ilib -e require '/home/alex/Blin/data/zef-data/store/Device-Velleman-K8055-0.0.3.tar.gz/Device-Velleman-K8055-0.0.3/Build.pm'; ::('Build').new.build('/home/alex/Blin/data/zef-data/store/Device-Velleman-K8055-0.0.3.tar.gz/Device-Velleman-K8055-0.0.3') ?? exit(0) !! exit(1);
gcc -c -fPIC -Werror=declaration-after-statement -Werror=pointer-arith -O3 -DNDEBUG  -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fPIC -DVERSION='"0.4.1"' -o  libk8055.o k8055.c
k8055.c:131:10: fatal error: libusb-1.0/libusb.h: No such file or directory
 #include <libusb-1.0/libusb.h>
          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Makefile:7: recipe for target 'libk8055.o' failed
make: *** [libk8055.o] Error 1
The spawned command 'make' exited unsuccessfully (exit code: 2)
  in method build at /home/alex/Blin/data/zef-data/store/Device-Velleman-K8055-0.0.3.tar.gz/Device-Velleman-K8055-0.0.3/Build.pm line 19
  in block <unit> at -e line 1

===> Building [FAIL]: Device::Velleman::K8055:ver<0.0.3>:auth<github:jonathanstowe>:api<1.0>
Failed to build, but continuing with --force-build
===> Testing: Device::Velleman::K8055:ver<0.0.3>:auth<github:jonathanstowe>:api<1.0>
t/001-meta.t ... ok
t/010-use.t .... ok
t/020-board.t .. ok
All tests successful.
Files=3, Tests=45,  8 wallclock secs ( 0.03 usr  0.02 sys +  6.22 cusr  0.34 csys =  6.61 CPU)
Result: PASS
===> Testing [OK] for Device::Velleman::K8055:ver<0.0.3>:auth<github:jonathanstowe>:api<1.0>
===> Installing: Device::Velleman::K8055:ver<0.0.3>:auth<github:jonathanstowe>:api<1.0>
===> Install [FAIL] for Device::Velleman::K8055:ver<0.0.3>:auth<github:jonathanstowe>:api<1.0>: Failed to open file /home/alex/Blin/data/zef-data/store/Device-Velleman-K8055-0.0.3.tar.gz/Device-Velleman-K8055-0.0.3/resources/libraries/libk8055.so: No such file or directory

Ping @jonathanstowe

Previous ticket: #236

jonathanstowe commented 5 years ago

May have put something dodgy in the tarball, it's failing before the module gets control.

jonathanstowe commented 5 years ago

Nope that is a dependency fail, soecifically it needs some libusb devel package installed (which is unavoidable at this stage.) I think that

You will need the development package of libusb in order to build this, this should be available through your system's package manager as libusb-devel or libusb-dev (if you are running a Linux.) At minimum it will require the 'usb.h' and the required library to link to in places where the C compiler can find them.

Covers that.

If someone wants to suggest a way of bailing out if that prerequisite isn't met please PR it. but I;m going to close this for time being.

AlexDaniel commented 5 years ago

OK, but we'll need to keep this open then (otherwise the script will create a new ticket).