[MacPorts] #26320: ikiwiki gives 'Bus Error' with perl5.8
MacPorts
noreply at macports.org
Mon Sep 13 09:41:46 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 geychaner@…):
Replying to [comment:9 tommyd@…]:
> Replying to [comment:8 geychaner@…]:
> > IInstalling perl5 with the +perl5_10 or +perl5_12 variant before
installing ikiwiki now fails; the log file (for perl5_10) is attached
above. I can't find a way to successfully install ikiwiki with the
changes; nothing seems to work. (I suspect the problem is with the "set
perl_binary" lines, since the binary for perl5.10 is "perl5.10.1" and
likewise for perl5.12.)
>
> Actually perl5.10 and perl5.12 should install symlinks from perl5.10.1
to 5.10 and perl5.12.1 to perl5.12. At least these are present for me:
Not present on my system after installing perl5 +perl5_10 or perl5
+perl5_12. This only appears if you have multiple versions of perl on
your system; take a look at that awful "mangle_names" section of the
perl5.10 portfile.
> I'm also a bit stuck when it comes to provide a "real" fix for this
issue - I posted a question on macports-dev
(http://lists.macosforge.org/pipermail/macports-
dev/2010-September/012750.html) - but didn't got answers as of now.
> The only "hack" I could imagine here is to error out before the port is
even fetched as soon as perl5.8 is detected. Another issue might be that
only perl5.8 seems to install /opt/local/bin/perl, so other software which
just depends on "some" perl version might refuse to work as well.
If you install "perl5 +perl5_10", you get an /opt/local/bin/perl that
points to perl5.10.1, and likewise for "perl +perl5_12". What you might
want to do is check whether "perl5" points to the selected version of
perl, remembering to strip off the minor version number as done in
"mangle_names":
set branch [join [lrange [split ${version} .] 0 1] .]
If NOT, then you need to set "perl_binary" to the explicit version. If
so, you just use "perl5". (Of course, if someone changes their active
perl version after installing ikiwiki, you're really in trouble...).
Again, I just don't know how to solve this one properly.
--
Ticket URL: <http://trac.macports.org/ticket/26320#comment:10>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list