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

Namespace-related test issues on Mac OS X #3498

Closed
p6rt opened this issue Aug 31, 2014 · 5 comments
Closed

Namespace-related test issues on Mac OS X #3498

p6rt opened this issue Aug 31, 2014 · 5 comments

Comments

@p6rt
Copy link

p6rt commented Aug 31, 2014

Migrated from rt.perl.org#122660 (status was 'resolved')

Searchable as RT122660$

@p6rt
Copy link
Author

p6rt commented Aug 31, 2014

From @cjfields

I'm seeing some possible namespace-related problems when using perl6 on Mac OS X 10.9.4. I tried replicating these tests on Linux and they passed fine, so maybe a case-insensitive file system issue?

The github repo for the tests​: https://github.com/cjfields/perl6-testcase.git

On Mac​:

[cjfields@​Chriss-MacBook-Pro perl6-testcase (master)]$ perl6 -v
This is perl6 version 2014.08-163-g5f9cd51 built on MoarVM version 2014.08-55-ga5ae111
[cjfields@​Chriss-MacBook-Pro perl6-testcase (master)]$ prove -e 'perl6' -r t/
t/CodonTable.t ... ===SORRY!===
Merging GLOBAL symbols failed​: duplicate definition of symbol CodonTable
t/CodonTable.t ... No subtests run
t/CodonTable2.t .. ok

Test Summary Report


t/CodonTable.t (Wstat​: 0 Tests​: 0 Failed​: 0)
  Parse errors​: No plan found in TAP output
Files=2, Tests=1, 4 wallclock secs ( 0.04 usr 0.01 sys + 2.80 cusr 0.18 csys = 3.03 CPU)
Result​: FAIL

On Linux (Linux galaxy.igb.illinois.edu 2.6.32-131.6.1.el6.x86_64 #​1 SMP Mon Jun 20 14​:15​:38 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux)​:

-system-specific-4.1$ perl6 -v
This is perl6 version 2014.08-163-g5f9cd51 built on MoarVM version 2014.08-55-ga5ae111
-system-specific-4.1$ prove -e 'perl6' t/
t/CodonTable.t ... ok
t/CodonTable2.t .. ok
All tests successful.
Files=2, Tests=2, 2 wallclock secs ( 0.03 usr 0.00 sys + 1.54 cusr 0.16 csys = 1.73 CPU)
Result​: PASS

@p6rt
Copy link
Author

p6rt commented Aug 31, 2014

From @FROGGS

Can you please run the failing test on OSX under RAKUDO_MODULE_DEBUG=1 ?

@p6rt
Copy link
Author

p6rt commented Aug 31, 2014

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Aug 31, 2014

From @cjfields

On Sun Aug 31 01​:07​:43 2014, FROGGS.de wrote​:

Can you please run the failing test on OSX under RAKUDO_MODULE_DEBUG=1 ?

That helped solve it. I had a PERL6LIB env setting, so a different version of the module (with mis-typed class name) was ghosting my module due to using '@​*INC.push('./lib')'. Using '@​*INC.unshift('./lib')' fixes this (puts local copy first).

Here's the run​:

[cjfields@​Chriss-MacBook-Pro perl6-testcase (master)]$ RAKUDO_MODULE_DEBUG=1 prove -e 'perl6' -r t/
t/CodonTable.t ... MODULE_DEBUG​: loading /Users/cjfields/src/rakudo/install/languages/nqp/lib/Perl6/BOOTSTRAP.moarvm
MODULE_DEBUG​: done loading /Users/cjfields/src/rakudo/install/languages/nqp/lib/Perl6/BOOTSTRAP.moarvm
use of uninitialized value of type Any in string context in any load_module at src/gen/m-ModuleLoader.nqp​:204

MODULE_DEBUG​: loading /Users/cjfields/src/rakudo/lib/Test.pm.moarvm
MODULE_DEBUG​: done loading /Users/cjfields/src/rakudo/lib/Test.pm.moarvm
use of uninitialized value of type Any in string context in any load_module at src/gen/m-ModuleLoader.nqp​:204

MODULE_DEBUG​: loading /Users/cjfields/bioperl/bioperl6/lib/Bio/Tools/CodonTable.pm6
use of uninitialized value of type Any in string context in any load_module at src/gen/m-ModuleLoader.nqp​:204

MODULE_DEBUG​: loading /Users/cjfields/bioperl/bioperl6/lib/Bio/Tools/IUPAC.pm6
use of uninitialized value of type Any in string context in any load_module at src/gen/m-ModuleLoader.nqp​:204

MODULE_DEBUG​: loading /Users/cjfields/bioperl/bioperl6/lib/Bio/Type/Sequence.pm6
MODULE_DEBUG​: done loading /Users/cjfields/bioperl/bioperl6/lib/Bio/Type/Sequence.pm6
MODULE_DEBUG​: done loading /Users/cjfields/bioperl/bioperl6/lib/Bio/Tools/IUPAC.pm6
MODULE_DEBUG​: done loading /Users/cjfields/bioperl/bioperl6/lib/Bio/Tools/CodonTable.pm6
use of uninitialized value of type Any in string context in any load_module at src/gen/m-ModuleLoader.nqp​:204

MODULE_DEBUG​: loading /Users/cjfields/bioperl/bioperl6/lib/Bio/PrimarySeq.pm6
use of uninitialized value of type Any in string context in any load_module at src/gen/m-ModuleLoader.nqp​:204

MODULE_DEBUG​: loading /Users/cjfields/bioperl/bioperl6/lib/Bio/Role/Describe.pm6
MODULE_DEBUG​: done loading /Users/cjfields/bioperl/bioperl6/lib/Bio/Role/Describe.pm6
use of uninitialized value of type Any in string context in any load_module at src/gen/m-ModuleLoader.nqp​:204

MODULE_DEBUG​: loading /Users/cjfields/bioperl/bioperl6/lib/Bio/Role/Identify.pm6
MODULE_DEBUG​: done loading /Users/cjfields/bioperl/bioperl6/lib/Bio/Role/Identify.pm6
use of uninitialized value of type Any in string context in any load_module at src/gen/m-ModuleLoader.nqp​:204

MODULE_DEBUG​: loading /Users/cjfields/bioperl/bioperl6/lib/Bio/Tools/Codontable.pm6
use of uninitialized value of type Any in string context in any load_module at src/gen/m-ModuleLoader.nqp​:204

MODULE_DEBUG​: done loading /Users/cjfields/bioperl/bioperl6/lib/Bio/Tools/Codontable.pm6
use of uninitialized value of type Any in string context in any load_module at src/gen/m-ModuleLoader.nqp​:204

MODULE_DEBUG​: done loading /Users/cjfields/bioperl/bioperl6/lib/Bio/PrimarySeq.pm6
===SORRY!===
Merging GLOBAL symbols failed​: duplicate definition of symbol CodonTable
t/CodonTable.t ... No subtests run
t/CodonTable2.t .. MODULE_DEBUG​: loading /Users/cjfields/src/rakudo/install/languages/nqp/lib/Perl6/BOOTSTRAP.moarvm
MODULE_DEBUG​: done loading /Users/cjfields/src/rakudo/install/languages/nqp/lib/Perl6/BOOTSTRAP.moarvm
use of uninitialized value of type Any in string context in any load_module at src/gen/m-ModuleLoader.nqp​:204

MODULE_DEBUG​: loading /Users/cjfields/src/rakudo/lib/Test.pm.moarvm
MODULE_DEBUG​: done loading /Users/cjfields/src/rakudo/lib/Test.pm.moarvm
use of uninitialized value of type Any in string context in any load_module at src/gen/m-ModuleLoader.nqp​:204

MODULE_DEBUG​: loading ./lib/CodonTable.pm6
MODULE_DEBUG​: done loading ./lib/CodonTable.pm6
use of uninitialized value of type Any in string context in any load_module at src/gen/m-ModuleLoader.nqp​:204

MODULE_DEBUG​: loading ./lib/PrimarySeq.pm6
use of uninitialized value of type Any in string context in any load_module at src/gen/m-ModuleLoader.nqp​:204

MODULE_DEBUG​: done loading ./lib/PrimarySeq.pm6
t/CodonTable2.t .. ok

Test Summary Report


t/CodonTable.t (Wstat​: 0 Tests​: 0 Failed​: 0)
  Parse errors​: No plan found in TAP output
Files=2, Tests=1, 3 wallclock secs ( 0.03 usr 0.01 sys + 2.83 cusr 0.16 csys = 3.03 CPU)
Result​: FAIL

@p6rt
Copy link
Author

p6rt commented Aug 31, 2014

@FROGGS - Status changed from 'open' to 'resolved'

@p6rt p6rt closed this as completed Aug 31, 2014
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