Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jan 2014 06:55:13 +0000
From:      "C. L. Martinez" <carlopmart@gmail.com>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Errors building p5-Mouse port
Message-ID:  <CAEjQA5JTthJEX21kbSsJcuHrvobDBci_x7-MKMF8W_UFdBJanQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi all,

 I have a poudriere server used to rebuild packages for my Fbsd8 and
Fbsd10 servers. Due to some dependencies, p5-Mouse port needs to be
installed for both releases. But for both releases, build fails for
this port with the following errors:

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/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.
*** Error code 2

Stop in /usr/ports/devel/p5-Mouse.
===>  Cleaning for p5-Mouse-2.1.0,1
build of /usr/ports/devel/p5-Mouse ended at Thu Jan 23 12:41:26 UTC 2014
build time: 00:00:14

 I am not the only user with this problem:

http://freebsd.1045724.n5.nabble.com/devel-p5-Mouse-td5865703.html

 Any idea why this port fails to build??

Thanks.

P.D: Sorry for the cross posting, but I am not sure which mailing list
to choose.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAEjQA5JTthJEX21kbSsJcuHrvobDBci_x7-MKMF8W_UFdBJanQ>