From owner-freebsd-perl@FreeBSD.ORG Sat Feb 8 15:30:51 2014 Return-Path: Delivered-To: perl@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F345F3B1 for ; Sat, 8 Feb 2014 15:30:50 +0000 (UTC) Received: from carrick.bishnet.net (carrick-mx.bishnet.net [IPv6:2a01:348:132:51::14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B53EF14FE for ; Sat, 8 Feb 2014 15:30:50 +0000 (UTC) Received: from carrick-users.bishnet.net ([192.168.51.10]) by carrick.bishnet.net with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1WC9rl-000Fc1-4g; Sat, 08 Feb 2014 15:30:49 +0000 Received: (from tdb@localhost) by carrick-users.bishnet.net (8.14.7/8.14.7/Submit) id s18FUnGA060016; Sat, 8 Feb 2014 15:30:49 GMT (envelope-from tdb) Date: Sat, 8 Feb 2014 15:30:49 +0000 From: Tim Bishop To: Andrej Zverev Subject: Re: devel/p5-Mouse build failure Message-ID: <20140208153048.GH40021@carrick-users.bishnet.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-PGP-Key: 0x6C226B37FDF38D55, http://www.bishnet.net/tim/tim-bishnet-net.asc X-PGP-Fingerprint: 4BD9 5F90 8A50 40E8 D26C D681 6C22 6B37 FDF3 8D55 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: "perl@FreeBSD.org" X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Feb 2014 15:30:51 -0000 Thank you Andrej. As you predicted, it worked fine. :-) Tim. On Sat, Feb 08, 2014 at 06:33:49PM +0400, Andrej Zverev wrote: > 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 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, 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