perl5.20

David Evans devans at macports.org
Fri Jul 18 12:30:32 PDT 2014


On 7/18/14 12:07 PM, Frank Schima wrote:
>
> On Jul 18, 2014, at 12:46 PM, David Evans <devans at macports.org
> <mailto:devans at macports.org>> wrote:
>
>> On 7/18/14 10:40 AM, Frank Schima wrote:
>>> Hi all,
>>>
>>>
>>> I cannot get any perl 5.20 ports to build. They all fail in staging.
>>> What am I doing wrong? For example:
>>>
>>> $ sudo port install p5.20-encoding-fixlatin
>>> --->  Computing dependencies for p5.20-encoding-fixlatin
>>> --->  Fetching archive for p5.20-encoding-fixlatin
>>> --->  Attempting to fetch
>>> p5.20-encoding-fixlatin-1.20.0_0.darwin_13.noarch.tbz2 from
>>> http://packages.macports.org/p5.20-encoding-fixlatin
>>> --->  Attempting to fetch
>>> p5.20-encoding-fixlatin-1.20.0_0.darwin_13.noarch.tbz2 from
>>> http://lil.fr.packages.macports.org/p5.20-encoding-fixlatin
>>> --->  Attempting to fetch
>>> p5.20-encoding-fixlatin-1.20.0_0.darwin_13.noarch.tbz2 from
>>> http://nue.de.packages.macports.org/macports/packages/p5.20-encoding-fixlatin
>>> --->  Fetching distfiles for p5.20-encoding-fixlatin
>>> --->  Attempting to fetch Encoding-FixLatin-1.02.tar.gz from
>>> http://sea.us.distfiles.macports.org/macports/distfiles/perl5
>>> --->  Verifying checksums for p5.20-encoding-fixlatin
>>> --->  Extracting p5.20-encoding-fixlatin
>>> --->  Configuring p5.20-encoding-fixlatin
>>> --->  Building p5.20-encoding-fixlatin
>>> --->  Staging p5.20-encoding-fixlatin into destroot
>>> 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
>>>
>>>
>>> Thank you,
>>> Frank
>>>
>> Frank,
>>
>> I'm not sure you're doing anything wrong but something is definitely
>> not right. ;-)
>>
>> 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
>> destroot/opt/local/lib/perl5/vendor_perl/5.20.0/<port name> doing
>> fixups. While the port group is looking for a 5.20.0 subdirectory,
>> the directory
>> 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
>> ending in zero.  At any rate, due to this problem no p5.20-* ports build.
>
> 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?
>
>
> -Frank
>
>

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
in that code. But if that's the case, you should be able find an answer
via Google (I haven't look yet).

Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20140718/2c253191/attachment.html>


More information about the macports-dev mailing list