Date: Sat, 8 Feb 2014 13:05:35 +0000 From: Tim Bishop <tim@bishnet.net> To: perl@FreeBSD.org Subject: devel/p5-Mouse build failure Message-ID: <20140208130535.GG40021@carrick-users.bishnet.net>
next in thread | raw e-mail | index | archive | help
--YD3LsXFS42OYHhNZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 --YD3LsXFS42OYHhNZ Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="p5-Mouse-2.1.0,1.log" ====>> Building devel/p5-Mouse build started at Sat Feb 8 02:40:29 GMT 2014 port directory: /usr/ports/devel/p5-Mouse building for: FreeBSD 92amd64-default-job-04 9.2-RC3 FreeBSD 9.2-RC3 amd64 maintained by: perl@FreeBSD.org Makefile ident: $FreeBSD: head/devel/p5-Mouse/Makefile 335052 2013-11-27 20:23:37Z sunpoet $ Poudriere version: 3.1-pre ---Begin Environment--- OSVERSION=902001 UNAME_v=FreeBSD 9.2-RC3 UNAME_r=9.2-RC3 BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 MASTERMNT=/poudriere/data/build/92amd64-default/ref PKG_EXT=txz FORCE_PACKAGE=yes tpid=8926 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin POUDRIERE_BUILD_TYPE=bulk PKGNG=1 PKGNAME=p5-Mouse-2.1.0,1 PKG_DELETE=/usr/local/sbin/pkg-static delete -y -f PKG_ADD=/usr/local/sbin/pkg-static add PWD=/root MASTERNAME=92amd64-default USER=root HOME=/root POUDRIERE_VERSION=3.1-pre LOCALBASE=/usr/local PACKAGE_BUILDING=yes PKG_VERSION=/poudriere/pkg-static version PKG_BIN=/usr/local/sbin/pkg-static ---End Environment--- ---Begin OPTIONS List--- ---End OPTIONS List--- --CONFIGURE_ARGS-- --install_path lib="/usr/local/lib/perl5/site_perl/5.14" --install_path arch="/usr/local/lib/perl5/site_perl/5.14/mach" --install_path script="/usr/local/bin" --install_path bin="/usr/local/bin" --install_path libdoc="/usr/local/lib/perl5/5.14/man/man3" --install_path bindoc="/usr/local/man/man1" --destdir /wrkdirs/usr/ports/devel/p5-Mouse/work/stage --create_packlist 0 CC="cc" CCFLAGS="-O2 -pipe -fno-strict-aliasing" PREFIX="/usr/local" INSTALLPRIVLIB="/usr/local/lib" INSTALLARCHLIB="/usr/local/lib" --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- TMPDIR="/tmp" TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh PERL_EXTUTILS_AUTOINSTALL="--skipdeps" PERL_MM_USE_DEFAULT="YES" --End CONFIGURE_ENV-- --MAKE_ENV-- TMPDIR="/tmp" TMPDIR="/tmp" SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -pipe -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" CXX="c++" CXXFLAGS="-O2 -pipe -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -o root -g wheel -m 555" BSD_INSTALL_LIB="install -s -o root -g wheel -m 444" BSD_INSTALL_SCRIPT="install -o root -g wheel -m 555" BSD_INSTALL_DATA="install -o root -g wheel -m 444" BSD_INSTALL_MAN="install -o root -g wheel -m 444" --End MAKE_ENV-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/Mouse DOCSDIR=/usr/local/share/doc/Mouse EXAMPLESDIR=/usr/local/share/examples/Mouse WWWDIR=/usr/local/www/Mouse ETCDIR=/usr/local/etc/Mouse --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles #### /usr/local/etc/poudriere.d/92amd64-make.conf #### WITH_PKGNG= YES #PERL_VERSION= 5.12.5 DEFAULT_VERSIONS= perl5=5.14 #DEFAULT_PHP_VER= 53 DEFAULT_MYSQL_VER= 56 DEFAULT_PGSQL_VER= 92 WITHOUT_X11= YES SUEXEC_DOCROOT= /web .if ${.CURDIR:M/usr/ports/www/webalizer} post-fetch: test -f /tmp/patch-webalizer.h || $(FETCH_CMD) -o /tmp/patch-webalizer.h http://www.bishnet.net/tim/patches/patch-webalizer.h EXTRA_PATCHES= /tmp/patch-webalizer.h .endif .if ${.CURDIR:M/usr/ports/devel/cvs2cl} post-fetch: test -f /tmp/patch-cvs2cl || $(FETCH_CMD) -o /tmp/patch-cvs2cl http://www.bishnet.net/tim/patches/patch-cvs2cl EXTRA_PATCHES= /tmp/patch-cvs2cl .endif DISABLE_MAKE_JOBS=poudriere ---End make.conf--- ===> Cleaning for p5-Mouse-2.1.0,1 =======================<phase: check-config >============================ =========================================================================== =======================<phase: pkg-depends >============================ ===> p5-Mouse-2.1.0,1 depends on file: /usr/local/sbin/pkg - not found ===> Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg ===> Installing existing package /packages/All/pkg-1.2.6.txz Installing pkg-1.2.6... done If you are upgrading from the old package format, first run: # pkg2ng ===> Returning to build of p5-Mouse-2.1.0,1 =========================================================================== =======================<phase: fetch-depends >============================ =========================================================================== =======================<phase: fetch >============================ ===> License ART10 GPLv1 accepted by the user ===> Fetching all distfiles required by p5-Mouse-2.1.0,1 for building =========================================================================== =======================<phase: checksum >============================ ===> License ART10 GPLv1 accepted by the user ===> Fetching all distfiles required by p5-Mouse-2.1.0,1 for building => SHA256 Checksum OK for Mouse-2.1.0.tar.gz. =========================================================================== =======================<phase: extract-depends>============================ =========================================================================== =======================<phase: extract >============================ ===> License ART10 GPLv1 accepted by the user ===> Fetching all distfiles required by p5-Mouse-2.1.0,1 for building ===> Extracting for p5-Mouse-2.1.0,1 => SHA256 Checksum OK for Mouse-2.1.0.tar.gz. =========================================================================== =======================<phase: patch-depends >============================ =========================================================================== =======================<phase: patch >============================ ===> Patching for p5-Mouse-2.1.0,1 =========================================================================== =======================<phase: build-depends >============================ ===> p5-Mouse-2.1.0,1 depends on package: p5-Module-Build-XSUtil>=0 - not found pkg-static: No package(s) matching p5-Module-Build-XSUtil ===> Verifying install for p5-Module-Build-XSUtil>=0 in /usr/ports/devel/p5-Module-Build-XSUtil ===> Installing existing package /packages/All/p5-Module-Build-XSUtil-0.06.txz Installing p5-Module-Build-XSUtil-0.06...Installing p5-Devel-CheckCompiler-0.05...Installing perl5-5.14.4_4...Removing /usr/local/etc/perl5_version... Done. Creating /usr/local/etc/perl5_version... Done. Removing stale symlinks from /usr/bin... Skipping /usr/bin/perl Skipping /usr/bin/perl5 Done. Creating various symlinks in /usr/bin... Symlinking /usr/local/bin/perl5.14.4 to /usr/bin/perl Symlinking /usr/local/bin/perl5.14.4 to /usr/bin/perl5 Done. done done done ===> Returning to build of p5-Mouse-2.1.0,1 ===> p5-Mouse-2.1.0,1 depends on file: /usr/local/lib/perl5/site_perl/5.14/Module/Build.pm - not found ===> Verifying install for /usr/local/lib/perl5/site_perl/5.14/Module/Build.pm in /usr/ports/devel/p5-Module-Build ===> Installing existing package /packages/All/p5-Module-Build-0.4203.txz Installing p5-Module-Build-0.4203... done ===> Returning to build of p5-Mouse-2.1.0,1 ===> p5-Mouse-2.1.0,1 depends on file: /usr/local/bin/perl5.14.4 - found =========================================================================== =======================<phase: lib-depends >============================ =========================================================================== =======================<phase: configure >============================ ===> Configuring for p5-Mouse-2.1.0,1 Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'Mouse' version 'v2.1.0' Merging cpanfile prereqs to MYMETA.yml Merging cpanfile prereqs to MYMETA.json =========================================================================== =======================<phase: build >============================ ===> 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. ===> Cleaning for p5-Mouse-2.1.0,1 build of /usr/ports/devel/p5-Mouse ended at Sat Feb 8 02:40:45 GMT 2014 --YD3LsXFS42OYHhNZ--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140208130535.GG40021>