Opened 8 years ago
Closed 8 years ago
#51376 closed defect (fixed)
p5.24-scope-upper: error: use of undeclared identifier 'CXt_LOOP_FOR'
Reported by: | mojca (Mojca Miklavec) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | dbevans (David B. Evans) | |
Port: | p5.24-scope-upper |
Description
p5.24-scope-upper is broken since 5.23.8:
"/opt/local/bin/perl5.24" "/opt/local/lib/perl5/5.24/ExtUtils/xsubpp" -typemap "/opt/local/lib/perl5/5.24/ExtUtils/typemap" Upper.xs > Upper.xsc && mv Upper.xsc Upper.c cp lib/Scope/Upper.pm blib/lib/Scope/Upper.pm /usr/bin/clang -c -fno-common -DPERL_DARWIN -mmacosx-version-min=10.7 -pipe -Os -fno-strict-aliasing -fstack-protector -I/opt/local/include -DPERL_USE_SAFE_PUTENV -arch x86_64 -O3 -DVERSION=\"0.28\" -DXS_VERSION=\"0.28\" "-I/opt/local/lib/perl5/5.24/darwin-thread-multi-2level/CORE" -DSU_RELEASE=1 Upper.c Upper.xs:1331:11: error: use of undeclared identifier 'CXt_LOOP_FOR' case CXt_LOOP_FOR: ^ Upper.xs:1372:8: error: use of undeclared identifier 'CXt_LOOP_FOR' case CXt_LOOP_FOR: ^ Upper.xs:1543:31: error: no member named 'argarray' in 'struct block_sub' argarray = cx->blk_sub.argarray; ~~~~~~~~~~~ ^ Upper.xs:1618:29: error: no member named 'argarray' in 'struct block_sub' SvREFCNT_dec(cx->blk_sub.argarray); ~~~~~~~~~~~ ^ ...
Upstream report: https://rt.cpan.org/Public/Bug/Display.html?id=112246
Change History (5)
comment:1 Changed 8 years ago by dbevans (David B. Evans)
comment:2 Changed 8 years ago by mojca (Mojca Miklavec)
A bonus question would be whether we need this port in MacPorts at all. We could remove it and only add it back when someone requests it.
comment:3 Changed 8 years ago by dbevans (David B. Evans)
I'd expect that with 5.24 released there will be some pressure to get this fixed/reworked. I think I'd just leave it alone for now and monitor upstream activity. Maybe even give a little push.
comment:4 Changed 8 years ago by dbevans (David B. Evans)
Note that p5.22-scope-upper builds fine and is the current default subport.
comment:5 Changed 8 years ago by dbevans (David B. Evans)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed by upgrade to version 0.29 in r149698.
Note: See
TracTickets for help on using
tickets.
Based on the upstream report, the required modifications are extensive and not well agreed upon by the developers. May be a while before this is fixed.
In MacPorts, only p5-dancer2 depends on this port and it's only recommended at runtime, not required. Dependency removed for now in r148594 to allow p5.24-dancer2 to build. Tests are uneffected.