Skip Menu |

This queue is for tickets about the ExtUtils-MakeMaker CPAN distribution.

Report information
The Basics
Id: 3327
Status: resolved
Priority: 0/
Queue: ExtUtils-MakeMaker

People
Owner: Nobody in particular
Requestors: Tim.Bunce [...] pobox.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Date: Sun, 24 Aug 2003 21:35:41 +0100
From: Tim Bunce <Tim.Bunce [...] pobox.com>
To: Richard Clamp <richardc [...] unixbeard.net>
CC: James E Keenan <jkeen [...] concentric.net>, Christopher Hicks <chicks [...] chicks.net>, Perl Module Authors List <module-authors [...] perl.org>
Subject: "cannot create META.yml: permission denied"
On Fri, Aug 22, 2003 at 11:19:02PM +0100, Richard Clamp wrote: Show quoted text
> > Your new procedure is > > 1) upgrade your ExtUtils::MakeMaker[0] to 6.16 or newer > 2) add META.yml to your MANIFEST > 3) Profit > > META.yml isn't meant to be a burden on authors, just a tool for people > who want at the metadata without having to parse/run your code.
I hit a problem with this... All files in MANIFEST are checked in by "make ci" so META.yml end up read-only. But then "make distdir" (eg from "make disttest") fails with: cannot create META.yml: permission denied The "metafile" target should write to a temporary file and then overwrite the META.yml only if it's different. I'm using 5.8.1 @19524. Hopefully someone can tell me this has been fixed now - I've not had time to check. Tim.
[Tim.Bunce@pobox.com - Sun Aug 24 23:47:23 2003]: Show quoted text
> > Your new procedure is > > > > 1) upgrade your ExtUtils::MakeMaker[0] to 6.16 or newer > > 2) add META.yml to your MANIFEST > > 3) Profit
> > All files in MANIFEST are checked in by "make ci" so META.yml end > up read-only. But then "make distdir" (eg from "make disttest") > fails with: > > cannot create META.yml: permission denied > > The "metafile" target should write to a temporary file and then > overwrite the META.yml only if it's different. > > I'm using 5.8.1 @19524. Hopefully someone can tell me this has been > fixed now - I've not had time to check.
See step #1. This has likely been fixed in 6.16.
[Tim.Bunce@pobox.com - Sun Aug 24 23:47:23 2003]: Show quoted text
> I hit a problem with this... > > All files in MANIFEST are checked in by "make ci" so META.yml end > up read-only. But then "make distdir" (eg from "make disttest") > fails with: > > cannot create META.yml: permission denied > > The "metafile" target should write to a temporary file and then > overwrite the META.yml only if it's different.
Oh, I see. 'make ci' leaves everything checked in and read-only rather than checking them back out again. People still use 'make ci'? I'd just as soon pretend it doesn't exist and assume the universe has moved on to something better. Your proposal doesn't really solve the problem because when the META.yml *is* different its just going to blow up in the same way, no?
The latest snapshot on makemaker.org should be friendlier to read-only META.ymls at least to the point of allowing 'make dist' to succeed even if it fails to write META.yml. Could you try it out?