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

Digest::xxHash #380

Open
AlexDaniel opened this issue Feb 8, 2019 · 1 comment
Open

Digest::xxHash #380

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

Comments

@AlexDaniel
Copy link
Member

Module Digest::xxHash 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: Digest::xxHash
===> Found: Digest::xxHash:ver<1.0.1> [via Zef::Repository::Ecosystems<p6c>]
===> Fetching [OK]: Digest::xxHash:ver<1.0.1> to /home/alex/Blin/data/zef-data/tmp/1549579997.28179.2417/digest-xxhash.git
===> Extraction [OK]: Digest::xxHash to /home/alex/Blin/data/zef-data/store/digest-xxhash.git
===> Testing: Digest::xxHash:ver<1.0.1>
Cannot locate native library 'libxxhash.so.0.6.5': libxxhash.so.0.6.5: cannot open shared object file: No such file or directory
  in method setup at /tmp/whateverable/rakudo-moar/1ff9b14e8903d77f066f7c2673ea59d6ad7f4aa6/share/perl6/sources/947BDAB9F96E0E5FCCB383124F923A6BF6F8D76B (NativeCall) line 287
  in method CALL-ME at /tmp/whateverable/rakudo-moar/1ff9b14e8903d77f066f7c2673ea59d6ad7f4aa6/share/perl6/sources/947BDAB9F96E0E5FCCB383124F923A6BF6F8D76B (NativeCall) line 576
  in sub build-xxhash32 at /home/alex/Blin/data/zef-data/store/digest-xxhash.git/f172db31cec09292583d9c06a03a873b392e7e27/lib/Digest/xxHash.pm6 (Digest::xxHash) line 111
  in sub xxHash32 at /home/alex/Blin/data/zef-data/store/digest-xxhash.git/f172db31cec09292583d9c06a03a873b392e7e27/lib/Digest/xxHash.pm6 (Digest::xxHash) line 87
  in block <unit> at t/01-compare-32bit.t line 14

t/01-compare-32bit.t .. 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests 
Cannot locate native library 'libxxhash.so.0.6.5': libxxhash.so.0.6.5: cannot open shared object file: No such file or directory
  in method setup at /tmp/whateverable/rakudo-moar/1ff9b14e8903d77f066f7c2673ea59d6ad7f4aa6/share/perl6/sources/947BDAB9F96E0E5FCCB383124F923A6BF6F8D76B (NativeCall) line 287
  in method CALL-ME at /tmp/whateverable/rakudo-moar/1ff9b14e8903d77f066f7c2673ea59d6ad7f4aa6/share/perl6/sources/947BDAB9F96E0E5FCCB383124F923A6BF6F8D76B (NativeCall) line 576
  in sub build-xxhash64 at /home/alex/Blin/data/zef-data/store/digest-xxhash.git/f172db31cec09292583d9c06a03a873b392e7e27/lib/Digest/xxHash.pm6 (Digest::xxHash) line 149
  in sub xxHash64 at /home/alex/Blin/data/zef-data/store/digest-xxhash.git/f172db31cec09292583d9c06a03a873b392e7e27/lib/Digest/xxHash.pm6 (Digest::xxHash) line 125
  in block <unit> at t/02-compare-64bit.t line 15

t/02-compare-64bit.t .. 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests 

Test Summary Report
-------------------
t/01-compare-32bit.t (Wstat: 256 Tests: 0 Failed: 0)
  Non-zero exit status: 1
  Parse errors: Bad plan.  You planned 1 tests but ran 0.
t/02-compare-64bit.t (Wstat: 256 Tests: 0 Failed: 0)
  Non-zero exit status: 1
  Parse errors: Bad plan.  You planned 1 tests but ran 0.
Files=2, Tests=0,  5 wallclock secs ( 0.03 usr  0.00 sys +  4.01 cusr  0.25 csys =  4.29 CPU)
Result: FAIL
===> Testing [FAIL]: Digest::xxHash:ver<1.0.1>
Failed to get passing tests, but continuing with --force-test
===> Installing: Digest::xxHash:ver<1.0.1>
===> Install [OK] for Digest::xxHash:ver<1.0.1>

Ping @atweiden

Previous ticket: #234

@atweiden atweiden added the native dependency Fails because it needs some library installed first label Feb 8, 2019
@atweiden
Copy link
Member

atweiden commented Feb 8, 2019

To solve:

arch

pacman -S xxhash

mac

brew install xxhash

void

xbps-install xxHash-devel

other

curl https://codeload.github.com/Cyan4973/{xxHash}/{tar.gz}/{v0.6.5} -o "#1-#3.#2"
tar xvzf xxHash-v0.6.5.tar.gz
cd xxHash-0.6.5
make lib
sudo make PREFIX="/usr" install

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