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

Algorithm::LibSVM #329

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

Algorithm::LibSVM #329

AlexDaniel opened this issue Feb 8, 2019 · 1 comment

Comments

@AlexDaniel
Copy link
Member

Module Algorithm::LibSVM cannot be installed (Fail), 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: Algorithm::LibSVM
===> Found: Algorithm::LibSVM:ver<0.0.3> [via Zef::Repository::Ecosystems<cpan>]
===> Fetching [OK]: Algorithm::LibSVM:ver<0.0.3> to /home/alex/Blin/data/zef-data/tmp/1549581911.20002.4797/Algorithm-LibSVM-0.0.3.tar.gz
===> Extraction [OK]: Algorithm::LibSVM to /home/alex/Blin/data/zef-data/store/Algorithm-LibSVM-0.0.3.tar.gz
===> Building: Algorithm::LibSVM:ver<0.0.3>
Command: /tmp/whateverable/rakudo-moar/1ff9b14e8903d77f066f7c2673ea59d6ad7f4aa6/bin/perl6 -Ilib -e require '/home/alex/Blin/data/zef-data/store/Algorithm-LibSVM-0.0.3.tar.gz/Algorithm-LibSVM-0.0.3/Build.pm'; ::('Build').new.build('/home/alex/Blin/data/zef-data/store/Algorithm-LibSVM-0.0.3.tar.gz/Algorithm-LibSVM-0.0.3') ?? exit(0) !! exit(1);
patching file svm.h (read from 3.22/svm.h)
patching file svm.cpp (read from 3.22/svm.cpp)
g++ -Wall -Wconversion -O3 -fPIC -c svm.cpp
if [ "Linux" = "Darwin" ]; then \
	SHARED_LIB_FLAG="-dynamiclib -Wl,-install_name,/home/alex/Blin/data/zef-data/store/Algorithm-LibSVM-0.0.3.tar.gz/Algorithm-LibSVM-0.0.3/resources/libraries/libsvm.so"; \
else \
	SHARED_LIB_FLAG="-shared -Wl,-soname,/home/alex/Blin/data/zef-data/store/Algorithm-LibSVM-0.0.3.tar.gz/Algorithm-LibSVM-0.0.3/resources/libraries/libsvm.so"; \
fi; \
g++ ${SHARED_LIB_FLAG} svm.o -o /home/alex/Blin/data/zef-data/store/Algorithm-LibSVM-0.0.3.tar.gz/Algorithm-LibSVM-0.0.3/resources/libraries/libsvm.so
===> Building [OK] for Algorithm::LibSVM:ver<0.0.3>
===> Testing: Algorithm::LibSVM:ver<0.0.3>
t/01-basic.t ..... ok
free(): invalid pointer
t/02-csvc.t ...... 
All 2 subtests passed 
t/03-nusvc.t ..... 
All 4 subtests passed 
t/04-oneclass.t .. ok
t/05-epssvr.t .... ok
t/06-nusvr.t ..... ok
t/07-parse.t ..... ok

Test Summary Report
-------------------
t/02-csvc.t    (Wstat: 6 Tests: 2 Failed: 0)
  Non-zero wait status: 6
  Parse errors: No plan found in TAP output
t/03-nusvc.t   (Wstat: 11 Tests: 4 Failed: 0)
  Non-zero wait status: 11
  Parse errors: No plan found in TAP output
Files=7, Tests=15, 31 wallclock secs ( 0.04 usr  0.01 sys + 24.42 cusr  1.33 csys = 25.80 CPU)
Result: FAIL
===> Testing [FAIL]: Algorithm::LibSVM:ver<0.0.3>
Failed to get passing tests, but continuing with --force-test
===> Installing: Algorithm::LibSVM:ver<0.0.3>
===> Install [OK] for Algorithm::LibSVM:ver<0.0.3>

Ping @titsuki

@AlexDaniel
Copy link
Member Author

This is a bug in rakudo: rakudo/rakudo#2642

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant