<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 7/18/14 12:07 PM, Frank Schima
wrote:<br>
</div>
<blockquote
cite="mid:E02180DD-A13D-4D62-9C1D-507BE9F29FC1@macports.org"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<br>
<div>
<div>On Jul 18, 2014, at 12:46 PM, David Evans <<a
moz-do-not-send="true" href="mailto:devans@macports.org">devans@macports.org</a>>
wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<div bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 7/18/14 10:40 AM, Frank
Schima wrote:<br>
</div>
<blockquote
cite="mid:F312162D-83E0-4C5B-9EDD-B69785A35DDA@macports.org"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
Hi all,
<div><br>
</div>
<div><br>
</div>
<div>I cannot get any perl 5.20 ports to build. They all
fail in staging. What am I doing wrong? For example:</div>
<div><br>
</div>
<div><font face="Monaco">$ sudo port install
p5.20-encoding-fixlatin<br>
---> Computing dependencies for
p5.20-encoding-fixlatin<br>
---> Fetching archive for p5.20-encoding-fixlatin<br>
---> Attempting to fetch
p5.20-encoding-fixlatin-1.20.0_0.darwin_13.noarch.tbz2
from <a moz-do-not-send="true"
href="http://packages.macports.org/p5.20-encoding-fixlatin">http://packages.macports.org/p5.20-encoding-fixlatin</a><br>
---> Attempting to fetch
p5.20-encoding-fixlatin-1.20.0_0.darwin_13.noarch.tbz2
from <a moz-do-not-send="true"
href="http://lil.fr.packages.macports.org/p5.20-encoding-fixlatin">http://lil.fr.packages.macports.org/p5.20-encoding-fixlatin</a><br>
---> Attempting to fetch
p5.20-encoding-fixlatin-1.20.0_0.darwin_13.noarch.tbz2
from <a moz-do-not-send="true"
href="http://nue.de.packages.macports.org/macports/packages/p5.20-encoding-fixlatin">http://nue.de.packages.macports.org/macports/packages/p5.20-encoding-fixlatin</a><br>
---> Fetching distfiles for
p5.20-encoding-fixlatin<br>
---> Attempting to fetch
Encoding-FixLatin-1.02.tar.gz from <a
moz-do-not-send="true"
href="http://sea.us.distfiles.macports.org/macports/distfiles/perl5">http://sea.us.distfiles.macports.org/macports/distfiles/perl5</a><br>
---> Verifying checksums for
p5.20-encoding-fixlatin<br>
---> Extracting p5.20-encoding-fixlatin<br>
---> Configuring p5.20-encoding-fixlatin<br>
---> Building p5.20-encoding-fixlatin<br>
---> Staging p5.20-encoding-fixlatin into destroot<br>
Error: Failed to destroot p5.20-encoding-fixlatin:
/opt/local/var/macports/build/_opt_mports_trunk_dports_perl_p5-encoding-fixlatin/p5.20-encoding-fixlatin/work/destroot/opt/local/lib/perl5/vendor_perl/5.20.0:
no such file or directory<br>
</font><br>
</div>
<div><br>
</div>
<div>Thank you,</div>
<div>Frank</div>
<div><br>
</div>
</blockquote>
Frank,<br>
<br>
I'm not sure you're doing anything wrong but something is
definitely not right. ;-)<br>
<br>
I saw the same thing yesterday, trying to add p5.20-io-all.
I was able to trace the problem to the perl5 port group's
post-destroot processing that iterates through<br>
<font face="Monaco">destroot/opt/local/lib/perl5/vendor_perl/5.20.0/<port
name> doing fixups.</font> While the port group is
looking for a 5.20.0 subdirectory, the directory<br>
installed in destroot by the ports is just 5.20. I don't
understand where this comes from in the build process but I
suspect it's got something to do with the perl version
number<br>
ending in zero. At any rate, due to this problem no p5.20-*
ports build.<br>
</div>
</blockquote>
<div><br>
</div>
<div>Thanks for the confirmation. I guess switching to perl 5.20
is a bad idea. :) I’m working on updating a bunch of p5 ports
for 5.18 and was also adding 5.20. Now I’m not sure if I
should just delete the 5.20 versions?</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>-Frank</div>
<div><br>
</div>
<br>
</blockquote>
<br>
I wouldn't give up just yet. Just depends on which one is right
(5.20 vs 5.20.0). If 5.20 is ok then the port group could be
modified to drop the last version component if it's zero (I don't
think this is right though). Otherwise, one needs to go through the
generated Makefile and see how this directory component gets set on
install. Possibly a bug<br>
in that code. But if that's the case, you should be able find an
answer via Google (I haven't look yet).<br>
<br>
Dave<br>
</body>
</html>