[MacPorts] #26320: ikiwiki gives 'Bus Error' with perl5.8
MacPorts
noreply at macports.org
Thu Sep 16 11:50:20 PDT 2010
#26320: ikiwiki gives 'Bus Error' with perl5.8
--------------------------------+-------------------------------------------
Reporter: geychaner@… | Owner: tommyd@…
Type: defect | Status: reopened
Priority: Normal | Milestone:
Component: ports | Version: 1.9.1
Resolution: | Keywords:
Port: ikiwiki |
--------------------------------+-------------------------------------------
Comment(by tommyd@…):
This unfortunately does not work if _any_ of the listed p5-* dependencies
have been installed under the non-default perl:
{{{
$ ikiwiki
Failed to load plugin IkiWiki::Plugin::recentchanges: Can't locate
HTML/Entities.pm in @INC (@INC contains:
/opt/local/lib/perl5/site_perl/5.10.1/darwin-2level
/opt/local/lib/perl5/site_perl/5.10.1 /opt/local/lib/perl5/site_perl/5.8.9
/opt/local/lib/perl5/site_perl/5.8.8 /opt/local/lib/perl5/site_perl
/opt/local/lib/perl5/vendor_perl/5.10.1/darwin-2level
/opt/local/lib/perl5/vendor_perl/5.10.1
/opt/local/lib/perl5/vendor_perl/5.8.9
/opt/local/lib/perl5/vendor_perl/5.8.8 /opt/local/lib/perl5/vendor_perl
/opt/local/lib/perl5/5.10.1/darwin-2level /opt/local/lib/perl5/5.10.1 .)
at /opt/local/lib/perl5/vendor_perl/5.8.9/IkiWiki/Plugin/recentchanges.pm
line 8.
BEGIN failed--compilation aborted at
/opt/local/lib/perl5/vendor_perl/5.8.9/IkiWiki/Plugin/recentchanges.pm
line 8.
Compilation failed in require at (eval 29) line 2.
BEGIN failed--compilation aborted at (eval 29) line 2.
}}}
So you see two things here:
* The missing dependency is in `$prefix/lib/perl5/vendor_perl/5.8.9
/darwin-2level`, which is (for whatever reason) not in @INC, while a
couple of other similar paths are (no, I don't mind to look into the perl5
portfile's path mangling for now, call me ignorant :))
* Since the perl5 setup calls $prefix/bin/perl Makefile.PL, the IkiWiki
plugins land in $prefix/lib/perl5/vendor_perl/5.8.9, not the expected /
wanted lib/perl5/vendor_perl/5.10.1
I understand that my current version is not working as it should, but I
see no easy way to make it work properly with the mess MPs has with its
perl version. Since my time I can devote to MP is rather limited, I could
imagine two things:
* If you're intested I can make you the maintainer of the port and you
can work out the issues in your pace (I have not much use of ikiwiki
nowadays anyways)
* I revert the Portfile back to the version without variants and we / you
try to work out the perl issues in the auto-setup, for example by patching
it so it works with 5.8.x as well
* If the previous thing is too hard to do, we could still bug the perl5
port owners to finally remove / replace the ancient 5.8 version
--
Ticket URL: <https://trac.macports.org/ticket/26320#comment:14>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list