Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Device::Velleman::K8055 #379

Open
AlexDaniel opened this issue Feb 8, 2019 · 3 comments
Open

Device::Velleman::K8055 #379

AlexDaniel opened this issue Feb 8, 2019 · 3 comments
Assignees
Labels
native dependency Fails because it needs some library installed first

Comments

@AlexDaniel
Copy link
Member

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

  • Tickets are opened/closed in this repo automatically (though not immediately).
  • If you can install the module without any problems, add works for me label, leave a comment saying that it works for you and mention any details that you feel are important.
  • If it needs a native library, put native dependency label, describe what you did to install it and ensure that same instructions are present in the README file of the module (otherwise submit a pull request). Also try to update this wiki page.
  • If the module is broken, try to fix it and send a PR. Add PR sent label.
  • If there is a problem in one of the dependencies, add failing dependency label and write a comment explaining the situation. Feel free to work on the corresponding ticket for the failing dependency.
  • It is a good idea to assign yourself to this ticket if you're working on it (to make sure two or more people are not working on the same ticket at the same time).
  • Once you are done, search for a next ticket.

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
Copy link

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

@jonathanstowe
Copy link

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 AlexDaniel added the native dependency Fails because it needs some library installed first label Feb 8, 2019
@AlexDaniel
Copy link
Member Author

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

@AlexDaniel AlexDaniel reopened this Feb 8, 2019
@jonathanstowe jonathanstowe self-assigned this Feb 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
native dependency Fails because it needs some library installed first
Projects
None yet
Development

No branches or pull requests

2 participants