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

TXN::Parser #524

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

TXN::Parser #524

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 TXN::Parser 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: TXN::Parser
===> Found: TXN::Parser:ver<0.1.0>:auth<atweiden> [via Zef::Repository::Ecosystems<p6c>]
===> Fetching [OK]: TXN::Parser:ver<0.1.0>:auth<atweiden> to /home/alex/Blin/data/zef-data/tmp/1549581009.24846.8423/txn-parser.git
===> Extraction [OK]: TXN::Parser to /home/alex/Blin/data/zef-data/store/txn-parser.git
===> Building: TXN::Parser:ver<0.1.0>:auth<atweiden>
Command: /tmp/whateverable/rakudo-moar/1ff9b14e8903d77f066f7c2673ea59d6ad7f4aa6/bin/perl6 -Ilib -e require '/home/alex/Blin/data/zef-data/store/txn-parser.git/753a6db8caec9b68de966d2f887b11485abd3f97/Build.pm6'; ::('Build').new.build('/home/alex/Blin/data/zef-data/store/txn-parser.git/753a6db8caec9b68de966d2f887b11485abd3f97') ?? exit(0) !! exit(1);
Cloning into 't/data'...
Note: checking out 'ff3b16b206267b312ddd44ef6e3710917b5e9999'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at ff3b16b... adjust vimsig
===> Building [OK] for TXN::Parser:ver<0.1.0>:auth<atweiden>
===> Testing: TXN::Parser:ver<0.1.0>:auth<atweiden>
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/installed/Digest::xxHash_1.0.1/sources/90E857AF55EFAAFF8390972EE7FCB1AD4BA37E50 (Digest::xxHash) line 111
  in sub xxHash32 at /home/alex/Blin/installed/Digest::xxHash_1.0.1/sources/90E857AF55EFAAFF8390972EE7FCB1AD4BA37E50 (Digest::xxHash) line 87
  in method posting at /home/alex/Blin/data/zef-data/store/txn-parser.git/753a6db8caec9b68de966d2f887b11485abd3f97/lib/TXN/Parser/Actions.pm6 (TXN::Parser::Actions) line 810
  in regex posting at /home/alex/Blin/data/zef-data/store/txn-parser.git/753a6db8caec9b68de966d2f887b11485abd3f97/lib/TXN/Parser/Grammar.pm6 (TXN::Parser::Grammar) line 536
  in regex posting-line at /home/alex/Blin/data/zef-data/store/txn-parser.git/753a6db8caec9b68de966d2f887b11485abd3f97/lib/TXN/Parser/Grammar.pm6 (TXN::Parser::Grammar) line 531
  in regex postings at /home/alex/Blin/data/zef-data/store/txn-parser.git/753a6db8caec9b68de966d2f887b11485abd3f97/lib/TXN/Parser/Grammar.pm6 (TXN::Parser::Grammar) line 526
  in regex entry at /home/alex/Blin/data/zef-data/store/txn-parser.git/753a6db8caec9b68de966d2f887b11485abd3f97/lib/TXN/Parser/Grammar.pm6 (TXN::Parser::Grammar) line 479
  in regex segment:entry at /home/alex/Blin/data/zef-data/store/txn-parser.git/753a6db8caec9b68de966d2f887b11485abd3f97/lib/TXN/Parser/Grammar.pm6 (TXN::Parser::Grammar) line 946
  in regex segment at /home/alex/Blin/data/zef-data/store/txn-parser.git/753a6db8caec9b68de966d2f887b11485abd3f97/lib/TXN/Parser/Grammar.pm6 (TXN::Parser::Grammar) line 943
  in regex ledger at /home/alex/Blin/data/zef-data/store/txn-parser.git/753a6db8caec9b68de966d2f887b11485abd3f97/lib/TXN/Parser/Grammar.pm6 (TXN::Parser::Grammar) line 933
  in regex TOP at /home/alex/Blin/data/zef-data/store/txn-parser.git/753a6db8caec9b68de966d2f887b11485abd3f97/lib/TXN/Parser/Grammar.pm6 (TXN::Parser::Grammar) line 928
  in block <unit> at t/grammar-actions/01-ledger.t line 13

t/grammar-actions/01-ledger.t .. 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 5/5 subtests 
WARNINGS for /home/alex/Blin/data/zef-data/store/txn-parser.git/753a6db8caec9b68de966d2f887b11485abd3f97/t/grammar/01-header.t:
Useless use of constant string "'''Transaction Description\\'''" in sink context (line 77)
t/grammar/01-header.t .......... ok
t/grammar/02-posting.t ......... ok
t/grammar/03-ledger.t .......... ok

Test Summary Report
-------------------
t/grammar-actions/01-ledger.t (Wstat: 256 Tests: 0 Failed: 0)
  Non-zero exit status: 1
  Parse errors: Bad plan.  You planned 5 tests but ran 0.
Files=4, Tests=15, 93 wallclock secs ( 0.05 usr  0.00 sys + 80.39 cusr  1.54 csys = 81.98 CPU)
Result: FAIL
===> Testing [FAIL]: TXN::Parser:ver<0.1.0>:auth<atweiden>
Failed to get passing tests, but continuing with --force-test
===> Installing: TXN::Parser:ver<0.1.0>:auth<atweiden>
===> Install [OK] for TXN::Parser:ver<0.1.0>:auth<atweiden>

Ping @atweiden

Previous ticket: #51

@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