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

Math::FFT::Libfftw3 #468

Closed AlexDaniel closed 5 years ago

AlexDaniel commented 5 years ago

Module Math::FFT::Libfftw3 cannot be installed (Fail), 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: Math::FFT::Libfftw3
===> Found: Math::FFT::Libfftw3:ver<0.1.2>:auth<github:frithnanth>:api<2> [via Zef::Repository::Ecosystems<cpan>]
===> Fetching [OK]: Math::FFT::Libfftw3:ver<0.1.2>:auth<github:frithnanth>:api<2> to /home/alex/Blin/data/zef-data/tmp/1549579249.6267.110/Math-FFT-Libfftw3-0.1.3.tar.gz
===> Extraction [OK]: Math::FFT::Libfftw3 to /home/alex/Blin/data/zef-data/store/Math-FFT-Libfftw3-0.1.3.tar.gz
===> Testing: Math::FFT::Libfftw3:ver<0.1.2>:auth<github:frithnanth>:api<2>
t/00-use.t ...... ok
t/01-memory.t ... ok
t/02-raw-c2c.t .. ok
t/03-raw-r2c.t .. ok
t/04-raw-r2r.t .. ok
t/05-c2c.t ...... ok
No such method 'pos' for invocant of type 'WhateverCode'
  in sub postcircumfix:<[ ]> at /tmp/whateverable/rakudo-moar/1ff9b14e8903d77f066f7c2673ea59d6ad7f4aa6/share/perl6/sources/947BDAB9F96E0E5FCCB383124F923A6BF6F8D76B (NativeCall) line 598
  in method plan at /home/alex/Blin/data/zef-data/store/Math-FFT-Libfftw3-0.1.3.tar.gz/Math-FFT-Libfftw3-0.1.3/lib/Math/FFT/Libfftw3/R2C.pm6 (Math::FFT::Libfftw3::R2C) line 120
  in submethod BUILD at /home/alex/Blin/data/zef-data/store/Math-FFT-Libfftw3-0.1.3.tar.gz/Math-FFT-Libfftw3-0.1.3/lib/Math/FFT/Libfftw3/R2C.pm6 (Math::FFT::Libfftw3::R2C) line 105
  in method new at /home/alex/Blin/data/zef-data/store/Math-FFT-Libfftw3-0.1.3.tar.gz/Math-FFT-Libfftw3-0.1.3/lib/Math/FFT/Libfftw3/R2C.pm6 (Math::FFT::Libfftw3::R2C) line 49
  in block <unit> at t/06-r2c.t line 16

t/06-r2c.t ...... 
Dubious, test returned 1 (wstat 256, 0x100)
All 2 subtests passed 
t/07-r2r.t ...... ok
t/99-meta.t ..... ok

Test Summary Report
-------------------
t/06-r2c.t    (Wstat: 256 Tests: 2 Failed: 0)
  Non-zero exit status: 1
  Parse errors: No plan found in TAP output
Files=9, Tests=37, 46 wallclock secs ( 0.08 usr  0.02 sys + 37.39 cusr  1.44 csys = 38.93 CPU)
Result: FAIL
===> Testing [FAIL]: Math::FFT::Libfftw3:ver<0.1.2>:auth<github:frithnanth>:api<2>
Failed to get passing tests, but continuing with --force-test
===> Installing: Math::FFT::Libfftw3:ver<0.1.2>:auth<github:frithnanth>:api<2>
===> Install [OK] for Math::FFT::Libfftw3:ver<0.1.2>:auth<github:frithnanth>:api<2>

Ping @frithnanth

frithnanth commented 5 years ago

Yes, it depends on libfftw3.

AlexDaniel commented 5 years ago

Thanks! https://github.com/perl6/ecosystem-unbitrot/issues/389#issuecomment-461774685

AlexDaniel commented 5 years ago

Hold on a second! This is not an issue with a native dependency. Dependencies are installed correctly. This is a new problem in rakudo.

Math::FFT::Libfftw3 – Fail, Bisected: https://github.com/rakudo/rakudo/commit/ccf350e4bcf9a70f4038cb4259f82fc913dd87cd

lizmat commented 5 years ago

Looks to me this is an issue with a module using Rakudo Internals when they shouldn't ?

MasterDuke17 commented 5 years ago

https://github.com/rakudo/rakudo/blob/master/lib/NativeCall.pm6#L600 perhaps?

lizmat commented 5 years ago

yeah, pretty much looks like that's the problem.

lizmat commented 5 years ago

Most likely fixed with https://github.com/rakudo/rakudo/commit/0d2658b806 , MasterDuke17++

dogbert17 commented 5 years ago

It does indeed work:

dogbert@dogbert-VirtualBox ~ $ perl6 -v
This is Rakudo version 2018.12-293-gd904b70 built on MoarVM version 2018.12-94-g2eab275
implementing Perl 6.d.
dogbert@dogbert-VirtualBox ~ $ zef install Math::FFT::Libfftw3
===> Searching for: Math::FFT::Libfftw3
===> Testing: Math::FFT::Libfftw3:ver<0.1.2>:auth<github:frithnanth>:api<2>
===> Testing [OK] for Math::FFT::Libfftw3:ver<0.1.2>:auth<github:frithnanth>:api<2>
===> Installing: Math::FFT::Libfftw3:ver<0.1.2>:auth<github:frithnanth>:api<2>