Skip Menu |

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

Report information
The Basics
Id: 48201
Status: resolved
Worked: 30 min
Priority: 0/
Queue: ExtUtils-MakeMaker

People
Owner: Nobody in particular
Requestors: david [...] kineticode.com
demerphq [...] gmail.com
Cc:
AdminCc:

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



CC: Perl 5 Porters <perl5-porters [...] perl.org>, Michael Schwern <schwern [...] pobox.com>, bug-extutils-makemaker [...] rt.cpan.org
Subject: ExtUtils::MakeMaker Bug with -Duserelocatableinc
Date: Sat, 25 Jul 2009 17:11:57 -0700
To: Craig A. Berry <craig.a.berry [...] gmail.com>
From: "David E. Wheeler" <david [...] kineticode.com>
On Jul 25, 2009, at 5:00 PM, Craig A. Berry wrote: Show quoted text
> and I believe that file is part of ExtUtils::MakeMaker, not > ExtUtils::Install [1]. Please make sure the problem been reported to > the CPAN RT queue for MakeMaker.
Oh, right, duh. Cc'd to RT. Schwern, on Mac OS X 10.5.7, I did this: git pull git checkout maint-5.10 sh Configure -Ode \ -DDEBUGGING \ -Dprefix=/usr/local/perl/blead \ -Dusedevel -Duseithreads \ -Dccflags='-I/usr/local/include' \ -Dldflags='-L/usr/local/lib' \ -Dlibpth='/usr/local/lib /usr/lib' \ -Duserelocatableinc \ -Uversiononly \ -Uinstallusrbinperl $@ make make test The failures I got were: lib/ExtUtils/t/Installed......................................# Failed test '... should find doc file under given dir' # at ../lib/ExtUtils/t/Installed.t line 231. # got: '0' # expected: '1' FAILED at test 46 lib/ExtUtils/t/Install........................................ok lib/ExtUtils/t/INST_PREFIX....................................# Failed test '$(SITEPREFIX) + sitearch' # at ../lib/ExtUtils/t/INST_PREFIX.t line 142. # './../lib/site_perl/5.10.1/darwin-thread- multi-2level' # doesn't match '(?-xism:^\$\(SITEPREFIX\))' FAILED at test 19 I believe that Yves fixed the ExtUtils::Installed bug with a patch I submitted to him, but I wasn't sure where to start with the EU::MM bug. I assume, however, that it's related to building on a case- insensitive file system with -Duserelocatableinc, and it may well happen only in core. Best, David
CC: "Craig A. Berry" <craig.a.berry [...] gmail.com>, Perl 5 Porters <perl5-porters [...] perl.org>, Michael Schwern <schwern [...] pobox.com>, bug-extutils-makemaker [...] rt.cpan.org
Subject: Re: ExtUtils::MakeMaker Bug with -Duserelocatableinc
Date: Sun, 26 Jul 2009 11:52:22 +0200
To: "David E. Wheeler" <david [...] kineticode.com>
From: demerphq <demerphq [...] gmail.com>
2009/7/26 David E. Wheeler <david@kineticode.com>: Show quoted text
> On Jul 25, 2009, at 5:00 PM, Craig A. Berry wrote: >
>> and I believe that file is part of ExtUtils::MakeMaker, not >> ExtUtils::Install [1]. Please make sure the problem been reported to >> the CPAN RT queue for MakeMaker.
> > Oh, right, duh. Cc'd to RT. > > Schwern, on Mac OS X 10.5.7, I did this: > > git pull > git checkout maint-5.10 > sh Configure -Ode \ > -DDEBUGGING \ > -Dprefix=/usr/local/perl/blead \ > -Dusedevel -Duseithreads \ > -Dccflags='-I/usr/local/include' \ > -Dldflags='-L/usr/local/lib' \ > -Dlibpth='/usr/local/lib /usr/lib' \ > -Duserelocatableinc \ > -Uversiononly \ > -Uinstallusrbinperl $@ > make > make test > > The failures I got were: > > lib/ExtUtils/t/Installed......................................# Failed > test '... should find doc file under given dir' > # at ../lib/ExtUtils/t/Installed.t line 231. > # got: '0' > # expected: '1' > FAILED at test 46 > lib/ExtUtils/t/Install........................................ok > lib/ExtUtils/t/INST_PREFIX....................................# Failed > test '$(SITEPREFIX) + sitearch' > # at ../lib/ExtUtils/t/INST_PREFIX.t line 142. > # './../lib/site_perl/5.10.1/darwin-thread-multi-2level' > # doesn't match '(?-xism:^\$\(SITEPREFIX\))' > FAILED at test 19 > > I believe that Yves fixed the ExtUtils::Installed bug with a patch I > submitted to him, but I wasn't sure where to start with the EU::MM bug. I > assume, however, that it's related to building on a case-insensitive file > system with -Duserelocatableinc, and it may well happen only in core.
Can you check whether the EUI patch I applied did indeed fix things please? Thanks, Yves -- perl -Mre=debug -e "/just|another|perl|hacker/"
On Sun Jul 26 05:52:50 2009, demerphq@gmail.com wrote: Show quoted text
> Can you check whether the EUI patch I applied did indeed fix things please?
Now I get: lib/ExtUtils/t/INST_PREFIX....................................# Failed test '$(SITEPREFIX) + sitearch' # at ../lib/ExtUtils/t/INST_PREFIX.t line 142. # './../lib/site_perl/5.10.1/darwin-thread-multi-2level' # doesn't match '(?-xism:^\$\(SITEPREFIX\))' # Failed test '$(SITEPREFIX) + sitelib' # at ../lib/ExtUtils/t/INST_PREFIX.t line 142. # './../lib/site_perl/5.10.1' # doesn't match '(?-xism:^\$\(SITEPREFIX\))' # Failed test '$(SITEPREFIX) + sitebin' # at ../lib/ExtUtils/t/INST_PREFIX.t line 142. # './../bin' # doesn't match '(?-xism:^\$\(SITEPREFIX\))' # Failed test '$(SITEPREFIX) + siteman1dir' # at ../lib/ExtUtils/t/INST_PREFIX.t line 142. # './../man/man1' # doesn't match '(?-xism:^\$\(SITEPREFIX\))' # Failed test '$(SITEPREFIX) + siteman3dir' # at ../lib/ExtUtils/t/INST_PREFIX.t line 142. # './../man/man3' # doesn't match '(?-xism:^\$\(SITEPREFIX\))' # Failed test '$(PERLPREFIX) + archlib' # at ../lib/ExtUtils/t/INST_PREFIX.t line 142. # './../lib/5.10.1/darwin-thread-multi-2level' # doesn't match '(?-xism:^\$\(PERLPREFIX\))' # Failed test '$(PERLPREFIX) + privlib' # at ../lib/ExtUtils/t/INST_PREFIX.t line 142. # './../lib/5.10.1' # doesn't match '(?-xism:^\$\(PERLPREFIX\))' # Failed test '$(PERLPREFIX) + bin' # at ../lib/ExtUtils/t/INST_PREFIX.t line 142. # '.../' # doesn't match '(?-xism:^\$\(PERLPREFIX\))' # Failed test '$(PERLPREFIX) + man1dir' # at ../lib/ExtUtils/t/INST_PREFIX.t line 142. # './../man/man1' # doesn't match '(?-xism:^\$\(PERLPREFIX\))' FAILED at test 19 That's in maint-5.10. David
On Sun Jul 26 05:52:50 2009, demerphq@gmail.com wrote: Show quoted text
> Can you check whether the EUI patch I applied did indeed fix things please?
Now I get: lib/ExtUtils/t/INST_PREFIX....................................# Failed test '$(SITEPREFIX) + sitearch' # at ../lib/ExtUtils/t/INST_PREFIX.t line 142. # './../lib/site_perl/5.10.1/darwin-thread-multi-2level' # doesn't match '(?-xism:^\$\(SITEPREFIX\))' # Failed test '$(SITEPREFIX) + sitelib' # at ../lib/ExtUtils/t/INST_PREFIX.t line 142. # './../lib/site_perl/5.10.1' # doesn't match '(?-xism:^\$\(SITEPREFIX\))' # Failed test '$(SITEPREFIX) + sitebin' # at ../lib/ExtUtils/t/INST_PREFIX.t line 142. # './../bin' # doesn't match '(?-xism:^\$\(SITEPREFIX\))' # Failed test '$(SITEPREFIX) + siteman1dir' # at ../lib/ExtUtils/t/INST_PREFIX.t line 142. # './../man/man1' # doesn't match '(?-xism:^\$\(SITEPREFIX\))' # Failed test '$(SITEPREFIX) + siteman3dir' # at ../lib/ExtUtils/t/INST_PREFIX.t line 142. # './../man/man3' # doesn't match '(?-xism:^\$\(SITEPREFIX\))' # Failed test '$(PERLPREFIX) + archlib' # at ../lib/ExtUtils/t/INST_PREFIX.t line 142. # './../lib/5.10.1/darwin-thread-multi-2level' # doesn't match '(?-xism:^\$\(PERLPREFIX\))' # Failed test '$(PERLPREFIX) + privlib' # at ../lib/ExtUtils/t/INST_PREFIX.t line 142. # './../lib/5.10.1' # doesn't match '(?-xism:^\$\(PERLPREFIX\))' # Failed test '$(PERLPREFIX) + bin' # at ../lib/ExtUtils/t/INST_PREFIX.t line 142. # '.../' # doesn't match '(?-xism:^\$\(PERLPREFIX\))' # Failed test '$(PERLPREFIX) + man1dir' # at ../lib/ExtUtils/t/INST_PREFIX.t line 142. # './../man/man1' # doesn't match '(?-xism:^\$\(PERLPREFIX\))' FAILED at test 19 That's in maint-5.10. David
RT-Send-CC: schwern [...] pobox.com
I am assuming that this was resolved with 6.55_02. I've tried building v5.10.1 with -Duserelocatableinc and all tests passed. Checking the EUMM Changes file: 6.55_02 Wed Aug 5 00:36:36 PDT 2009 Feature Changes * PREFIX now applies to relative directories. This is a change since 6.20 when they were ignored. Its necessary for relocatable Perls. Many thanks.