Bug 150149 - [update] Fix devel/p5-Data-Alias to compile on Perl 5.12
Summary: [update] Fix devel/p5-Data-Alias to compile on Perl 5.12
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Philip M. Gollucci
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-31 14:30 UTC by Bill Brinzer
Modified: 2010-10-10 05:40 UTC (History)
0 users

See Also:


Attachments
p5-Data-Alias-1.07_1.patch (2.29 KB, patch)
2010-08-31 14:30 UTC, Bill Brinzer
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bill Brinzer 2010-08-31 14:30:02 UTC
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>
Comment 1 Philip M. Gollucci freebsd_committer freebsd_triage 2010-08-31 17:32:30 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pgollucci

I will take it
Comment 2 Philip M. Gollucci freebsd_committer freebsd_triage 2010-09-02 05:19:52 UTC
Responsible Changed
From-To: pgollucci->clsung

I beat gnats-aa to the punch
Comment 3 Bill Brinzer 2010-09-22 14:48:28 UTC
Note, ports/150388 addresses my original reason for submitting
ports/150149 (and probably in a better way).
Comment 4 Philip M. Gollucci freebsd_committer freebsd_triage 2010-10-10 00:38:12 UTC
Responsible Changed
From-To: clsung->pgollucci

committer&maintainer timeout (clsung ; 17 days)
Comment 5 Philip M. Gollucci freebsd_committer freebsd_triage 2010-10-10 05:08:10 UTC
State Changed
From-To: open->closed

Committed, Thanks!
Comment 6 dfilter service freebsd_committer freebsd_triage 2010-10-10 05:34:47 UTC
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"