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

Can't locate loadable object for module Math::FFT #4

Closed
eserte opened this issue Oct 17, 2020 · 4 comments
Closed

Can't locate loadable object for module Math::FFT #4

eserte opened this issue Oct 17, 2020 · 4 comments

Comments

@eserte
Copy link

eserte commented Oct 17, 2020

The test suite fails on most of my smoker systems. The error message is either:

#   Failed test 'Math/FFT.pm loaded ok'
#   at t/00-compile.t line 43.
#          got: '65280'
#     expected: '0'
Can't locate loadable object for module Math::FFT in @INC (@INC contains: /home/cpansand/.cpan/build/2020101507/Math-FFT-1.35-4/blib/arch /home/cpansand/.cpan/build/2020101507/Math-FFT-1.35-4/blib/lib /home/cpansand/.cpan/build/2020101507/Math-FFT-1.35-4/blib/lib /home/cpansand/.cpan/build/2020101507/Math-FFT-1.35-4/blib/arch /opt/perl-5.32.0/lib/site_perl/5.32.0/x86_64-linux /opt/perl-5.32.0/lib/site_perl/5.32.0 /opt/perl-5.32.0/lib/5.32.0/x86_64-linux /opt/perl-5.32.0/lib/5.32.0 .) at -e line 1.
Compilation failed in require at -e line 1.
# Looks like you failed 1 test of 1.
t/00-compile.t .. 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests 
...

or something like:

#   Failed test 'Math/FFT.pm loaded ok'
#   at t/00-compile.t line 43.
#          got: '512'
#     expected: '0'
Math::FFT object version 1.32 does not match bootstrap parameter 1.35 at /usr/perl5.8.9/lib/5.8.9/amd64-freebsd/DynaLoader.pm line 249.
Compilation failed in require at -e line 1.
# Looks like you failed 1 test of 1.
t/00-compile.t .. 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
...
@shlomif
Copy link
Owner

shlomif commented Oct 17, 2020

Thanks for the bug report, @eserte ! It is due to including a (non-functional) Build.PL. It should be fixed in version 1.36 so please let me know if I can close the ticket then.

@shlomif
Copy link
Owner

shlomif commented Oct 17, 2020

FWIW http://matrix.cpantesters.org/?dist=Math-FFT+1.36 gives all greens (for linux, freebsd and mswin32).

@eserte
Copy link
Author

eserte commented Oct 18, 2020

Still green. Closing issue.

@eserte eserte closed this as completed Oct 18, 2020
@shlomif
Copy link
Owner

shlomif commented Oct 19, 2020

Still green. Closing issue.

Great! Thanks for confirming and the original report. For the record, I was able to reproduce it locally using cpanm Math::FFT.

netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this issue Sep 5, 2021
Upstream changes:
1.36  2020-10-17
    - Avoid including Build.PL to fix cpan installs.
        - shlomif/perl-Math-FFT#4
        - Thanks to @eserte / SREZIC for the issue report.

1.35  2020-10-15
    - dist.ini / weaver.ini / .tidyallrc / etc. cleanup
        - Inspired by Lady_Aleena.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants