devel/p5-Mouse build failure

Andrej Zverev andrej.zverev at gmail.com
Sat Feb 8 14:33:50 UTC 2014


Hi,

Can you test this patch (
http://people.freebsd.org/~az/patches/p5-Mouse-5.14-fix.diff ) and
tell me if it will work for you.

But I'm sure it will :-)

On Sat, Feb 8, 2014 at 5:05 PM, Tim Bishop <tim at bishnet.net> wrote:
> Hi,
>
> I have a build failure with devel/p5-Mouse on FreeBSD 9.2 using
> poudriere to generate packages. I've attached the full build log, but
> here's the actual failure:
>
> cc -I. -Ixs-src -I/usr/local/lib/perl5/5.14/mach/CORE -DPIC -fPIC -Wall -Wextra -Wdeclaration-after-statement -Wc++-compat -c -O2 -pipe -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -o xs-src/MouseUtil.o xs-src/MouseUtil.c
> xs-src/MouseTypeConstraints.xs: In function 'boot_Mouse__Util':
> xs-src/MouseTypeConstraints.xs:609: warning: implicit declaration of function 'setup_my_cxt'
> xs-src/MouseTypeConstraints.xs:612: warning: implicit declaration of function 'DEFINE_TC'
> xs-src/MouseTypeConstraints.xs:612: error: 'Any' undeclared (first use in this function)
> xs-src/MouseTypeConstraints.xs:612: error: (Each undeclared identifier is reported only once
> xs-src/MouseTypeConstraints.xs:612: error: for each function it appears in.)
> xs-src/MouseTypeConstraints.xs:613: error: 'Undef' undeclared (first use in this function)
> xs-src/MouseTypeConstraints.xs:614: error: 'Defined' undeclared (first use in this function)
> xs-src/MouseTypeConstraints.xs:615: error: 'Bool' undeclared (first use in this function)
> xs-src/MouseTypeConstraints.xs:616: error: 'Value' undeclared (first use in this function)
> xs-src/MouseTypeConstraints.xs:617: error: 'Ref' undeclared (first use in this function)
> xs-src/MouseTypeConstraints.xs:618: error: 'Str' undeclared (first use in this function)
> xs-src/MouseTypeConstraints.xs:619: error: 'Num' undeclared (first use in this function)
> xs-src/MouseTypeConstraints.xs:620: error: 'Int' undeclared (first use in this function)
> xs-src/MouseTypeConstraints.xs:621: error: 'ScalarRef' undeclared (first use in this function)
> xs-src/MouseTypeConstraints.xs:622: error: 'ArrayRef' undeclared (first use in this function)
> xs-src/MouseTypeConstraints.xs:623: error: 'HashRef' undeclared (first use in this function)
> xs-src/MouseTypeConstraints.xs:624: error: 'CodeRef' undeclared (first use in this function)
> xs-src/MouseTypeConstraints.xs:625: error: 'GlobRef' undeclared (first use in this function)
> xs-src/MouseTypeConstraints.xs:626: error: 'FileHandle' undeclared (first use in this function)
> xs-src/MouseTypeConstraints.xs:627: error: 'RegexpRef' undeclared (first use in this function)
> xs-src/MouseTypeConstraints.xs:628: error: 'Object' undeclared (first use in this function)
> xs-src/MouseTypeConstraints.xs:629: error: 'ClassName' undeclared (first use in this function)
> xs-src/MouseTypeConstraints.xs:630: error: 'RoleName' undeclared (first use in this function)
> xs-src/MouseTypeConstraints.xs:695: error: 'MTC_CLASS' undeclared (first use in this function)
> xs-src/MouseTypeConstraints.xs:695: error: expected ')' before string constant
> xs-src/MouseTypeConstraints.xs:695: error: too few arguments to function 'Perl_newXS'
> xs-src/MouseTypeConstraints.xs:699: error: expected ')' before string constant
> xs-src/MouseTypeConstraints.xs:699: error: too few arguments to function 'Perl_get_sv'
> xs-src/MouseTypeConstraints.xs:706: error: expected ')' before string constant
> xs-src/MouseTypeConstraints.xs:706: error: too few arguments to function 'Perl_get_cv'
> xs-src/MouseTypeConstraints.xs:708: error: expected ')' before 'MTC_CLASS'
> xs-src/MouseTypeConstraints.xs:708: error: expected ')' before string constant
> xs-src/MouseTypeConstraints.xs:715: error: expected ')' before string constant
> xs-src/MouseTypeConstraints.xs:715: error: too few arguments to function 'Perl_get_cv'
> xs-src/MouseTypeConstraints.xs:717: error: expected ')' before 'MTC_CLASS'
> xs-src/MouseTypeConstraints.xs:717: error: expected ')' before string constant
> xs-src/MouseTypeConstraints.xs:724: error: expected ')' before string constant
> xs-src/MouseTypeConstraints.xs:724: error: too few arguments to function 'Perl_get_cv'
> xs-src/MouseTypeConstraints.xs:726: error: expected ')' before 'MTC_CLASS'
> xs-src/MouseTypeConstraints.xs:726: error: expected ')' before string constant
> error building xs-src/MouseUtil.o from 'xs-src/MouseUtil.c' at /usr/local/lib/perl5/5.14/ExtUtils/CBuilder/Base.pm line 175, <DATA> line 1.
>
> The notable thing I'm doing differently to the normal package builders
> is that I've using perl 5.14 by default. Is this likely to the cause?
>
> Tim.
>
> --
> Tim Bishop
> http://www.bishnet.net/tim/
> PGP Key: 0x6C226B37FDF38D55
>
>
> _______________________________________________
> freebsd-perl at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-perl
> To unsubscribe, send any mail to "freebsd-perl-unsubscribe at freebsd.org"


More information about the freebsd-perl mailing list