devel/p5-Mouse

Andrew Johnson daeron at optushome.com.au
Tue Dec 3 14:58:30 UTC 2013


On i386 system, FreeBSD 9.2-STABLE #5: Wed Dec  4
 with perl5.14-5.14.4_3

the p5-Mouse port fails to build as shown below:

# make
===>  Building for p5-Mouse-2.1.0,1
Building Mouse
Generate Mouse::Tiny ...
done.
xs-src/MouseAccessor.xs => xs-src/MouseAccessor.c
xs-src/MouseAttribute.xs => xs-src/MouseAttribute.c
xs-src/MouseTypeConstraints.xs => xs-src/MouseTypeConstraints.c
xs-src/MouseUtil.xs => xs-src/MouseUtil.c
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/MouseAccessor.o xs-
src/MouseAccessor.c
xs-src/MouseAccessor.xs: In function 'mouse_attr_set':
xs-src/MouseAccessor.xs:212: warning: 'old_value' may be used uninitialized in 
this function
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/MouseAttribute.o xs-
src/MouseAttribute.c
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/MouseTypeConstraints.o xs-
src/MouseTypeConstraints.c
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.
*** [do-build] Error code 2

Stop in /usr/ports/devel/p5-Mouse.


More information about the freebsd-perl mailing list