Skip Menu |

This queue is for tickets about the Moo CPAN distribution.

Report information
The Basics
Id: 91768
Status: resolved
Priority: 0/
Queue: Moo

People
Owner: Nobody in particular
Requestors: PLICEASE [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.004001
Fixed in: 1.004002



Subject: use Moo; use Scalar::Does dies on FreeBSD
Trivial script of "use Moo; use Scalar::Does;" dies with the error and stack shown below. Same versions of Moo and Scalar::Does on Linux does not exhibit the same behavior. Not a blocker for me, but am willing to help diagnose it if you are unable to reproduce it. freebsd% which_pm Moo Scalar::Does Moo 1.004001 /home/ollisg/perl5/lib/perl5/Moo.pm Scalar::Does 0.201 /home/ollisg/perl5/lib/perl5/Scalar/Does.pm freebsd% perl -d -MMoo -MScalar::Does Loading DB routines from perl5db.pl version 1.33 Editor support available. Enter h or `h h' for help, or `man perldebug' for more help. Can't weaken a nonreference at /home/ollisg/perl5/lib/perl5/Moo/HandleMoose/_TypeMap.pm line 18. Compilation failed in require at /home/ollisg/perl5/lib/perl5/Scalar/Does.pm line 48. at /home/ollisg/perl5/lib/perl5/Scalar/Does.pm line 48. Scalar::Does::BEGIN() called at /home/ollisg/perl5/lib/perl5/Scalar/Does.pm line 48 eval {...} called at /home/ollisg/perl5/lib/perl5/Scalar/Does.pm line 48 require Scalar/Does.pm called at - line 0 main::BEGIN() called at /home/ollisg/perl5/lib/perl5/Scalar/Does.pm line 48 eval {...} called at /home/ollisg/perl5/lib/perl5/Scalar/Does.pm line 48 BEGIN failed--compilation aborted at /home/ollisg/perl5/lib/perl5/Scalar/Does.pm line 48. at /home/ollisg/perl5/lib/perl5/Scalar/Does.pm line 48. require Scalar/Does.pm called at - line 0 main::BEGIN() called at /home/ollisg/perl5/lib/perl5/Scalar/Does.pm line 48 eval {...} called at /home/ollisg/perl5/lib/perl5/Scalar/Does.pm line 48 Compilation failed in require. at - line 0. main::BEGIN() called at - line 0 eval {...} called at - line 0 BEGIN failed--compilation aborted. at - line 0. Debugged program terminated. Use q to quit or R to restart, use o inhibit_exit to avoid stopping after program termination, h q, h R or h o to get additional info.
This is a conflict between Type::Tiny (used by Scalar::Does) and the new Moo version, but only on threaded perls. I've just pushed out Moo 1.004003, which includes a fix for this.
confirmed, that did the trick. Appreciate the speedy response :) On Tue Dec 31 15:38:42 2013, haarg wrote: Show quoted text
> This is a conflict between Type::Tiny (used by Scalar::Does) and the > new Moo version, but only on threaded perls. > > I've just pushed out Moo 1.004003, which includes a fix for this.