Skip Menu |

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

Report information
The Basics
Id: 44109
Status: rejected
Priority: 0/
Queue: ExtUtils-MakeMaker

People
Owner: Nobody in particular
Requestors: porton@narod.ru (no email address)
Cc:
AdminCc:

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



Subject: Colons in directory names mess things
Date: Fri, 13 Mar 2009 22:16:36 +0200
To: bug-ExtUtils-MakeMaker [...] rt.cpan.org
From: Victor Porton <porton [...] narod.ru>
When there are colons (':') in a parent directory of the directory where Makefile is placed, then running "make test" runs into bugs that colons are replaced with spaces and so all dirs are messed up. -- Victor Porton - http://portonvictor.org
Subject: Re: [rt.cpan.org #44109] Colons in directory names mess things
Date: Fri, 13 Mar 2009 22:27:38 -0700
To: bug-ExtUtils-MakeMaker [...] rt.cpan.org
From: Michael G Schwern <schwern [...] pobox.com>
porton@narod.ru via RT wrote: Show quoted text
> When there are colons (':') in a parent directory of the directory where > Makefile is placed, then running "make test" runs into bugs that colons > are replaced with spaces and so all dirs are messed up.
Can you attach the output of "perl Makefile.PL" and the resulting Makefile please? -- Defender of Lexical Encapsulation
Subject: Re: [rt.cpan.org #44109] Colons in directory names mess things
Date: Sat, 14 Mar 2009 14:34:45 +0300
To: "Michael G Schwern via RT"<bug-extutils-makemaker [...] rt.cpan.org>
From: Victor Porton <porton [...] narod.ru>
$ perl Makefile.PL Checking if your kit is complete... Warning: the following files are missing in your kit: META.yml Please inform the author. Warning: prerequisite XML::TreePP 0.38 not found. Writing Makefile for XML-FeedPP Makefile is attached. 14.03.09, 08:28, "Michael G Schwern via RT" <bug-ExtUtils-MakeMaker@rt.cpan.org>: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=44109 > > porton@narod.ru via RT wrote:
> > When there are colons (':') in a parent directory of the directory where > > Makefile is placed, then running "make test" runs into bugs that colons > > are replaced with spaces and so all dirs are messed up.
> Can you attach the output of "perl Makefile.PL" and the resulting Makefile please? > -- > Defender of Lexical Encapsulation
Subject: Re: [rt.cpan.org #44109] Colons in directory names mess things
Date: Sat, 14 Mar 2009 14:35:49 +0300
To: "Michael G Schwern via RT"<bug-extutils-makemaker [...] rt.cpan.org>
From: Victor Porton <porton [...] narod.ru>
$ perl Makefile.PL Checking if your kit is complete... Warning: the following files are missing in your kit: META.yml Please inform the author. Warning: prerequisite XML::TreePP 0.38 not found. Writing Makefile for XML-FeedPP Makefile is attached. 14.03.09, 08:28, "Michael G Schwern via RT" <bug-ExtUtils-MakeMaker@rt.cpan.org>: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=44109 > > porton@narod.ru via RT wrote:
> > When there are colons (':') in a parent directory of the directory where > > Makefile is placed, then running "make test" runs into bugs that colons > > are replaced with spaces and so all dirs are messed up.
> Can you attach the output of "perl Makefile.PL" and the resulting Makefile please? > -- > Defender of Lexical Encapsulation
Download Makefile
application/octet-stream 22.4k

Message body not shown because it is not plain text.

Looks sane to me. What sort of errors are you seeing? What's the full path to your working directory?
I've managed to get the MakeMaker tests to act differently when it's inside a directory with a colon in it, I just haven't worked out why. But I have something reproducible.
I can't reproduce any problems with XML::FeedPP 0.38 and MakeMaker 6.50 but I did work out what's interfering with MakeMaker's own tests. It makes use of PERL5LIB which separates directories with colons on Unix. PERL5LIB=/some/dir/foo:bar/baz adds "/some/dir/foo" and "bar/baz" onto @INC. So you can see how that might mess with things and I suspect that's what's happened to you. There's no easy work around. There doesn't appear to be any way to escape the separator in PERL5LIB. So I'm sorry to say the solution is to just rename your directories so as not to have colons in them. It's likely to mess with other Perl modules.