[MacPorts] #50048: mod_perl2: broken when p5.22-module-corelist is installed

MacPorts noreply at macports.org
Sat Dec 19 05:40:54 PST 2015


#50048: mod_perl2: broken when p5.22-module-corelist is installed
-------------------------------------------+-------------------------------
  Reporter:  mojca@…                       |      Owner:  macports-
      Type:  defect                        |  tickets@…
  Priority:  Normal                        |     Status:  new
 Component:  ports                         |  Milestone:
Resolution:                                |    Version:
      Port:  mod_perl2 p5-module-corelist  |   Keywords:
-------------------------------------------+-------------------------------

Comment (by devans@…):

 If you look at the code surrounding line referenced in the configure error
 above, it's checking the version of ExtUtils::Embed and then using
 Module::CoreList to see if this is the same as the version in core. This
 error indicates that the call to Module::CoreList returned an error
 (version undefined).

 perl 5.22.0 had Module::CoreList 5.20150520 in core, 5.22.1 has
 5.20151213. I updated p5-module-corelist to 5.20151213  before mojca
 updated perl5.22 to 5.22.1 (r143582) so the two versions did not match
 during the intervening period and our version was used in the code rather
 than the version in core.

 I'm not sure if this is the cause of the error or not but given that
 Module::CoreList is being used in a way that assumes it is the version in
 core for a given perl, having our own version that may not be (isn't for
 perls earlier than 5.22.1 now) is probably a bad idea.

 Currently p5-module-corelist is shown as a dependency for p5-module-load-
 conditional and cpan2port.  Both of these use it to verify whether a given
 module is in core for the current perl so, again, having a miss-matched
 version installed is not good.

 I suggest removing these dependencies (in favor of the core version) and
 then removing p5-module-corelist.

-- 
Ticket URL: <https://trac.macports.org/ticket/50048#comment:4>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list