Opened 11 years ago

Closed 10 years ago

#43157 closed defect (wontfix)

perl5.14/p5.14-extutils-xspp: missing ExtUtils/Typemaps.pm

Reported by: mojca (Mojca Miklavec) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: cooljeanius (Eric Gallager), raimue (Rainer Müller), jmroot (Joshua Root)
Port: perl5.14 p5.14-extutils-xspp

Description (last modified by mojca (Mojca Miklavec))

Perl 5.16 contains

/opt/local/lib/perl5/5.16.1/ExtUtils/Typemaps.pm

for example, but Perl 5.14 lacks the same file.

However the file

/opt/local/lib/perl5/vendor_perl/5.14.4/ExtUtils/XSpp/Typemap.pm

uses

use ExtUtils::Typemaps;

As a consequence some ports fail to build with

Can't locate ExtUtils/Typemaps.pm in @INC

See also #43150.

Change History (9)

comment:1 Changed 11 years ago by mojca (Mojca Miklavec)

The problem is more likely in the port p5.14-extutils-xspp. I don't see Typemaps.pm anywhere in perl5.14. Maybe it didn't exist back then. The problem is that

/opt/local/lib/perl5/vendor_perl/5.14.4/ExtUtils/XSpp/Typemap.pm

contains

use ExtUtils::Typemaps;

which doesn't exist in Perl 5.14.

comment:2 Changed 11 years ago by mojca (Mojca Miklavec)

Port: p5.14-extutils-xspp added

comment:3 Changed 11 years ago by mojca (Mojca Miklavec)

Last edited 11 years ago by mojca (Mojca Miklavec) (previous) (diff)

comment:4 Changed 11 years ago by mojca (Mojca Miklavec)

Description: modified (diff)
Summary: perl5.14 @5.14.2_2: missing ExtUtils/Typemaps.pmperl5.14/p5.14-extutils-xspp: missing ExtUtils/Typemaps.pm

comment:5 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:6 Changed 11 years ago by jmroot (Joshua Root)

Missing dependency on ExtUtils::ParseXS?

comment:7 in reply to:  6 ; Changed 11 years ago by mojca (Mojca Miklavec)

Cc: raimue@… jmr@… added

Replying to jmr@…:

Missing dependency on ExtUtils::ParseXS?

Could be. The module was removed by raimue in r103157 with a long explanation. I bet we need Rainer's help on this.

See also #42153. Initially it only broke Perl <= 5.12, now it also breaks 5.14. Will it soon break 5.16 then? Alternatively we could use different versions of p5-extutils-xspp for different versions of Perl.

comment:8 in reply to:  7 Changed 11 years ago by raimue (Rainer Müller)

Replying to mojca@…:

Could be. The module was removed by raimue in r103157 with a long explanation. I bet we need Rainer's help on this.

I am glad I wrote that explanation, as I did not remember the reasons for the removal. But what I wrote makes sense, the port conflicted with the perl core installation.

Alternatively we could use different versions of p5-extutils-xspp for different versions of Perl.

The problem is the conflict on the /opt/local/bin/xsubpp-5.* tool. If you want to split it out into its own module, you have to remove this file from the perl5.* port and only a potential p5.*-extutils-parsexs port may provide it. That means we need updated dependencies for all ports that use this module.

Also, this would be different from what a normal Perl distribution looks like; other software might expect this to be part of the Perl core modules. I am not sure if that is something we want to do.

Providing different versions of p5.*-extutils-xspp for each version of perl5.* sounds like an easier way to go forward on this issue.

comment:9 Changed 10 years ago by mojca (Mojca Miklavec)

Resolution: wontfix
Status: newclosed

Support for Perl 5.14 is gone now. I believe this might become an issue again in the future, but I'm closing the bug for now and let's see what the future brings.

Note: See TracTickets for help on using tickets.