Perl port devel/p5-Data-Alias fails to build on Perl 5.12: ===> Building for p5-Data-Alias-1.07 cp lib/Data/Alias.pm blib/lib/Data/Alias.pm /usr/local/bin/perl5.12.1 "-Iinc" /usr/local/lib/perl5/site_perl/5.12.1/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.12.1/ExtUtils/typemap Alias.xs > Alias.xsc && mv Alias.xsc Alias.c cc -c -O -pipe -O -pipe -DVERSION=\"1.07\" -DXS_VERSION=\"1.07\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.12.1/mach/CORE" Alias.c Alias.xs: In function 'da_localize_gvar': Alias.xs:369: error: 'Nullsv' undeclared (first use in this function) Alias.xs:369: error: (Each undeclared identifier is reported only once Alias.xs:369: error: for each function it appears in.) Alias.xs: In function 'da_refgen': Alias.xs:376: error: 'SVt_RV' undeclared (first use in this function) Alias.xs: In function 'DataAlias_pp_rv2sv': Alias.xs:690: warning: 'PL_no_symref' is deprecated (declared at /usr/local/lib/perl5/5.12.1/mach/CORE/perl.h:4241) Alias.xs: In function 'DataAlias_pp_rv2gv': Alias.xs:747: warning: 'PL_no_symref' is deprecated (declared at /usr/local/lib/perl5/5.12.1/mach/CORE/perl.h:4241) Alias.xs: In function 'DataAlias_pp_return': Alias.xs:1251: error: 'Nullsv' undeclared (first use in this function) Alias.xs: In function 'da_transform': Alias.xs:1436: error: 'Nullop' undeclared (first use in this function) Alias.xs:1450: error: 'OP_SETSTATE' undeclared (first use in this function) Alias.xs: In function 'da_peep2': Alias.xs:1589: error: 'OP_SETSTATE' undeclared (first use in this function) Alias.xs: In function 'da_ck_entersub': Alias.xs:1767: error: 'Nullop' undeclared (first use in this function) *** Error code 1 Stop in /usr/ports/devel/p5-Data-Alias/work/Data-Alias-1.07. *** Error code 1 Stop in /usr/ports/devel/p5-Data-Alias. Fix: This patch is based on the one in Debian bug #578547: <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=578547> This patch just gets the port compiling. As noted in the Debian bug, only Data::Alias::deref() works with the patch. This is all that's needed for devel/p5-Data-Visitor, which in turn is used by p5-Catalyst-Devel and some other major Catalyst ports. How-To-Repeat: Attempt to build devel/p5-Data-Alias with Perl 5.12 installed. Upstream has been broken since May with no fix in sight: <https://rt.cpan.org/Public/Bug/Display.html?id=36165>
Responsible Changed From-To: freebsd-ports-bugs->pgollucci I will take it
Responsible Changed From-To: pgollucci->clsung I beat gnats-aa to the punch
Note, ports/150388 addresses my original reason for submitting ports/150149 (and probably in a better way).
Responsible Changed From-To: clsung->pgollucci committer&maintainer timeout (clsung ; 17 days)
State Changed From-To: open->closed Committed, Thanks!
pgollucci 2010-10-10 04:34:41 UTC FreeBSD ports repository Modified files: devel/p5-Data-Alias Makefile Added files: devel/p5-Data-Alias/files patch-Alias.xs Log: - Fix build w/ lang/perl5.12 - Bump PORTREVISION PR: ports/150149 Submitted by: Bill Brinzer <bill.brinzer@gmail.com> Approved by: maintainer timeout (clsung ; 17 days) Revision Changes Path 1.3 +1 -0 ports/devel/p5-Data-Alias/Makefile 1.1 +69 -0 ports/devel/p5-Data-Alias/files/patch-Alias.xs (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"