Sat Nov 10 22:47:45 2012: Request 81094 was acted upon.
Transaction: Correspondence added by SISYPHUS
       Queue: Inline
     Subject: Inline build fails using INSTALL_BASE
   Broken in: 0.50, 0.51
    Severity: Critical
       Owner: Nobody
  Requestors: c...@cpan.org
      Status: open
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=81094 >


On Sat Nov 10 13:02:31 2012, CHM wrote:

> Installing
> /cygdrive/e/chm/pdl/try/Inline-
> 0.51/C/_Inline_test/lib/auto/_01syntax_t_6b3a/_01syntax_t_6b3a.bs
> Installing
> /cygdrive/e/chm/pdl/try/Inline-
> 0.51/C/_Inline_test/lib/auto/_01syntax_t_6b3a/_01syntax_t_6b3a.dll
> chmod 755
> /usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-
> 64int/auto/_01syntax_t_6b3a/_01syntax_t_6b3a.dll
> chmod: cannot access
> `/usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-
> 64int/auto/_01syntax_t_6b3a/_01syntax_t_6b3a.dll':
> No such file or directory

We see that _01syntax_t_6b3a.dll has been installed to the correct 
location - which, incidentally, is the same location to which it would 
have been installed even if INSTALL_BASE had *not* been specified.

But then chmod goes beserk, and tries to chmod a _01syntax_t_6b3a.dll 
that's in a completely different (and non-exzistent) location.

I tried building Inline-0.51 (with 'perl Makefile.PL 
INSTALL_BASE=C:/foo_bar'), on a native Win32 (MinGW) build of perl-
5.16.0, and it all went fine. (This was a perl that did not already 
have Inline installed.)
On my Cygwin-1.7.7 installation (perl-5.10.1), I already had a build of 
Inline-0.49 that had been installed with INSTALL_BASE=~/modules so I 
removed it and built and installed Inline-0.51 (with 'perl Makefile.PL 
INSTALL_BASE=~/modules'). All went fine, except for that fork 
(rebase ?) issue, which is a completely different issue, and one that I 
can no longer be bothered with.

So, I'm thinking we have some sort of Cygwin and/or EU::MM bug at play 
here - but it could also well be that Inline is the culprit.
It's difficult for me to tell if I can't reproduce the error.

It would bew interesting to see the original (troublesome)
/cygdrive/e/chm/pdl/try/Inline-
0.51/C/_Inline_test/build/_01syntax_t_6b3a/Makefile
if you still have it, or have the energy to reproduce it.

Good that you found a workaround, though that doesn't make the bug any 
less annoying, of course.

Cheers,
Rob 

 

Reply via email to