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

Warnings and END exceptions on Win10 #115

Open
zoffixznet opened this issue Jun 26, 2018 · 0 comments
Open

Warnings and END exceptions on Win10 #115

zoffixznet opened this issue Jun 26, 2018 · 0 comments

Comments

@zoffixznet
Copy link
Contributor

Problems/warnings observed during install/use of the module on Windows 10 (64-bit):

  • Some warning about -fPIC ignored during compilation of p5helper.c
  • Use of Nil in string context warning at the end of installation
  • Even though the module appears to work, during its use an END-time exception is thrown that looks to be coming from IO::Path being attempted to be created from an empty string, in sub guess_library_name at
C:\>ver

Microsoft Windows [Version 10.0.16299.431]

C:\>perl6 -v
This is Rakudo version 2018.06-25-ge9351cb built on MoarVM version 2018.06
implementing Perl 6.c.

C:\>zef install Inline::Perl5
===> Searching for: Inline::Perl5
===> Updated cpan mirror: https://raw.githubusercontent.com/ugexe/Perl6-ecosystems/master/cpan1.json
===> Updated p6c mirror: http://ecosystem-api.p6c.org/projects1.json
===> Searching for missing dependencies: LibraryMake, File::Temp
===> Searching for missing dependencies: Shell::Command, File::Directory::Tree
===> Searching for missing dependencies: File::Which, File::Find
===> Building: Inline::Perl5:ver<0.35>:auth<github:niner>
p5helper.c:1:0: warning: -fPIC ignored for target (all code is position independent)
 #include <EXTERN.h>
 ^
===> Building [OK] for Inline::Perl5:ver<0.35>:auth<github:niner>
===> Testing: File::Which:ver<1.0.1>
# Found perl6 at 'C:\rakudo\install\bin\perl6.BAT'
# Found perl6 at 'C:\rakudo\install\bin\perl6.BAT' using whence
===> Testing [OK] for File::Which:ver<1.0.1>
===> Testing: File::Find:ver<0.1>
===> Testing [OK] for File::Find:ver<0.1>
===> Testing: Shell::Command
===> Testing [OK] for Shell::Command
===> Testing: LibraryMake:ver<1.0.0>:auth<github:retupmoca>
===> Testing [OK] for LibraryMake:ver<1.0.0>:auth<github:retupmoca>
===> Testing: File::Directory::Tree:auth<labster>
===> Testing [OK] for File::Directory::Tree:auth<labster>
===> Testing: File::Temp:ver<0.0.6>
===> Testing [OK] for File::Temp:ver<0.0.6>
===> Testing: Inline::Perl5:ver<0.35>:auth<github:niner>
===> Testing [OK] for Inline::Perl5:ver<0.35>:auth<github:niner>
===> Installing: File::Which:ver<1.0.1>
===> Installing: File::Find:ver<0.1>
===> Installing: Shell::Command
===> Installing: LibraryMake:ver<1.0.0>:auth<github:retupmoca>
===> Installing: File::Directory::Tree:auth<labster>
===> Installing: File::Temp:ver<0.0.6>
===> Installing: Inline::Perl5:ver<0.35>:auth<github:niner>
Use of Nil in string context
  in block  at site#sources\81AF3E1D664B007D5E92099AF5ABD22D93188FB5 (Inline::Perl5) line 26

C:\>perl -MMojo::DOM -wlE "say Mojo::DOM->new('<blah>meow</blah>')->at('blah')->all_text"
meow

C:\>perl6 -e "use Mojo::DOM:from<Perl5>; say Mojo::DOM.new('<blah>meow</blah>').at('blah').all_text"
meow
Some exceptions were thrown in END blocks:
  X::AdHoc: Must specify something as a path: did you mean '.' for the current directory?
      in sub guess_library_name at C:\rakudo\install\share\perl6\sources\24DD121B5B4774C04A7084827BFAD92199756E03 (NativeCall) line 220
      in method setup at C:\rakudo\install\share\perl6\sources\24DD121B5B4774C04A7084827BFAD92199756E03 (NativeCall) line 275
      in method CALL-ME at C:\rakudo\install\share\perl6\sources\24DD121B5B4774C04A7084827BFAD92199756E03 (NativeCall) line 570
      in block  at C:\rakudo\install\share\perl6\site\sources\81AF3E1D664B007D5E92099AF5ABD22D93188FB5 (Inline::Perl5) line 1043

C:\>
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

1 participant