Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Win32] bleadperl breaks Module::Build #15242

Closed
p5pRT opened this issue Mar 21, 2016 · 7 comments
Closed

[Win32] bleadperl breaks Module::Build #15242

p5pRT opened this issue Mar 21, 2016 · 7 comments
Labels
BBC Blead Breaks CPAN - changes in blead broke a cpan module(s)

Comments

@p5pRT
Copy link

p5pRT commented Mar 21, 2016

Migrated from rt.perl.org#127752 (status was 'resolved')

Searchable as RT127752$

@p5pRT
Copy link
Author

p5pRT commented Mar 21, 2016

From @sisyphus

Hi,

This almost certainly (not actually tested) pertains only to a Win32
bleadperl built using GNU make.

It's possibly a bug report that should be filed against Module​::Build - but,
as explained below, the problem is arising in relation to sh.exe, which is a
familiar problem that we thought/hoped was fixed as of perl-5.23.8.
And I *should* have picked up on this problem a month ago when 5.23.8 was
released :-(

With perl5.23.8 and perl-5.23.9 (just released), and Module-Build-0.4216 I
get​:

##########################################
C​:\>cpan -i Module​::Build
Loading internal null logger. Install Log​::Log4perl for logging messages
Reading 'C​:\Users\sisyphus\.cpan\Metadata'
  Database was generated on Sun, 20 Mar 2016 23​:17​:02 GMT
Running install for module 'Module​::Build'
Checksum for
C​:\Users\sisyphus\.cpan\sources\authors\id\L\LE\LEONT\Module-Build-
0.4216.tar.gz ok
'YAML' not installed, will not store persistent state
Configuring L/LE/LEONT/Module-Build-0.4216.tar.gz with Makefile.PL
# running Build.PL
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Module-Build' version '0.4216'
  LEONT/Module-Build-0.4216.tar.gz
  C​:\_32\blead5.23.9_64int_ld\bin\perl.exe Makefile.PL -- OK
Running make for L/LE/LEONT/Module-Build-0.4216.tar.gz
/usr/bin/sh​: rem​: command not found
Makefile​:14​: recipe for target 'force_do_it' failed
make.EXE​: *** [force_do_it] Error 127
  LEONT/Module-Build-0.4216.tar.gz
  C​:\_32\make\bin\make.EXE -- NOT OK
##########################################

And similar for 0.4214.

I do know that 5.23.6 built MB-0.4214 ok - but I would have removed sh.exe
from my path back then.

If I remove sh.exe from the PATH and re-run 'cpan -i Module​::Build', then it
all goes fine.

How do we want to fix this ?

My perl -V is​:

Summary of my perl5 (revision 5 version 23 subversion 9) configuration​:

  Platform​:
  osname=MSWin32, osvers=6.1, archname=MSWin32-x86-multi-thread-64int-ld
  uname=''
  config_args='undef'
  hint=recommended, useposix=true, d_sigaction=undef
  useithreads=define, usemultiplicity=define
  use64bitint=define, use64bitall=undef, uselongdouble=define
  usemymalloc=n, bincompat5005=undef
  Compiler​:
  cc='gcc', ccflags
=' -s -O2 -DWIN32 -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS
-DUSE_PERLIO -D__USE_MINGW_ANSI_STDIO -fwrapv -fno-strict-aliasing -mms-bitfields',
  optimize='-s -O2',
  cppflags='-DWIN32'
  ccversion='', gccversion='4.9.2', gccosandvers=''
  intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678,
doublekind=3
  d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12,
longdblkind=3
  ivtype='long long', ivsize=8, nvtype='long double', nvsize=12,
Off_t='long long', lseeksize=8
  alignbytes=8, prototype=define
  Linker and Libraries​:
  ld='g++', ldflags
='-s -L"c​:\_32\blead5.23.9_64int_ld\lib\CORE" -L"C​:\_32\gcc-straw-492\lib"'
  libpth=C​:\_32\gcc-straw-492\lib C​:\_32\gcc-straw-492\lib
C​:\_32\gcc-straw-492\i686-w64-mingw32\lib C​:\_32\msys_492\1.0\local\lib
C​:\_32\gcc-straw-492\lib\gcc\i686-w64-mingw32\4.9.2
  libs= -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32
-lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion
-lodbc32 -lodbccp32 -lcomctl32
  perllibs= -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32
-lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion
-lodbc32 -lodbccp32 -lcomctl32
  libc=, so=dll, useshrplib=true, libperl=libperl523.a
  gnulibc_version=''
  Dynamic Linking​:
  dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
  cccdlflags=' ',
lddlflags='-mdll -s -L"c​:\_32\blead5.23.9_64int_ld\lib\CORE" -L"C​:\_32\gcc-straw-492\lib"'

Characteristics of this binary (from libperl)​:
  Compile-time options​: HAS_TIMES HAVE_INTERP_INTERN MULTIPLICITY
  PERLIO_LAYERS PERL_COPY_ON_WRITE
  PERL_DONT_CREATE_GVSV
  PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
  PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS
  PERL_MALLOC_WRAP PERL_PRESERVE_IVUV USE_64_BIT_INT
  USE_ITHREADS USE_LARGE_FILES USE_LOCALE
  USE_LOCALE_COLLATE USE_LOCALE_CTYPE
  USE_LOCALE_NUMERIC USE_LOCALE_TIME USE_LONG_DOUBLE
  USE_PERLIO USE_PERL_ATOF
  Built under MSWin32
  Compiled at Mar 21 2016 10​:10​:30
  @​INC​:
  C​:/_32/blead5.23.9_64int_ld/site/lib
  C​:/_32/blead5.23.9_64int_ld/lib
  .

Cheers,
Rob

@p5pRT
Copy link
Author

p5pRT commented Mar 21, 2016

From @bulk88

On Sun Mar 20 19​:39​:38 2016, sisyphus wrote​:

Hi,

This almost certainly (not actually tested) pertains only to a Win32
bleadperl built using GNU make.

It's possibly a bug report that should be filed against Module​::Build
- but,
as explained below, the problem is arising in relation to sh.exe,
which is a
familiar problem that we thought/hoped was fixed as of perl-5.23.8.
And I *should* have picked up on this problem a month ago when 5.23.8
was
released :-(

With perl5.23.8 and perl-5.23.9 (just released), and Module-Build-
0.4216 I
get​:

##########################################
C​:\>cpan -i Module​::Build
Loading internal null logger. Install Log​::Log4perl for logging
messages
Reading 'C​:\Users\sisyphus\.cpan\Metadata'
Database was generated on Sun, 20 Mar 2016 23​:17​:02 GMT
Running install for module 'Module​::Build'
Checksum for
C​:\Users\sisyphus\.cpan\sources\authors\id\L\LE\LEONT\Module-Build-
0.4216.tar.gz ok
'YAML' not installed, will not store persistent state
Configuring L/LE/LEONT/Module-Build-0.4216.tar.gz with Makefile.PL
# running Build.PL
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Module-Build' version '0.4216'
LEONT/Module-Build-0.4216.tar.gz
C​:\_32\blead5.23.9_64int_ld\bin\perl.exe Makefile.PL -- OK
Running make for L/LE/LEONT/Module-Build-0.4216.tar.gz
/usr/bin/sh​: rem​: command not found
Makefile​:14​: recipe for target 'force_do_it' failed
make.EXE​: *** [force_do_it] Error 127
LEONT/Module-Build-0.4216.tar.gz
C​:\_32\make\bin\make.EXE -- NOT OK
##########################################

And similar for 0.4214.

I do know that 5.23.6 built MB-0.4214 ok - but I would have removed
sh.exe
from my path back then.

If I remove sh.exe from the PATH and re-run 'cpan -i Module​::Build',
then it
all goes fine.

How do we want to fix this ?

Perl-Toolchain-Gang/Module-Build#67

--
bulk88 ~ bulk88 at hotmail.com

@p5pRT
Copy link
Author

p5pRT commented Mar 21, 2016

The RT System itself - Status changed from 'new' to 'open'

@p5pRT
Copy link
Author

p5pRT commented Mar 21, 2016

From @sisyphus

-----Original Message-----
From​: bulk88 via RT
Sent​: Monday, March 21, 2016 3​:26 PM
To​: OtherRecipients of perl Ticket #127752​:
Cc​: perl5-porters@​perl.org
Subject​: [perl #127752] [Win32] bleadperl breaks Module​::Build

On Sun Mar 20 19​:39​:38 2016, sisyphus wrote​:

How do we want to fix this ?

Perl-Toolchain-Gang/Module-Build#67

Cool - thanks !

Cheers,
Rob

@p5pRT
Copy link
Author

p5pRT commented Mar 21, 2016

From @Leont

On Mon, Mar 21, 2016 at 5​:26 AM, bulk88 via RT <perlbug-followup@​perl.org>
wrote​:

On Sun Mar 20 19​:39​:38 2016, sisyphus wrote​:

Hi,

This almost certainly (not actually tested) pertains only to a Win32
bleadperl built using GNU make.

It's possibly a bug report that should be filed against Module​::Build
- but,
as explained below, the problem is arising in relation to sh.exe,
which is a
familiar problem that we thought/hoped was fixed as of perl-5.23.8.
And I *should* have picked up on this problem a month ago when 5.23.8
was
released :-(

With perl5.23.8 and perl-5.23.9 (just released), and Module-Build-
0.4216 I
get​:

##########################################
C​:\>cpan -i Module​::Build
Loading internal null logger. Install Log​::Log4perl for logging
messages
Reading 'C​:\Users\sisyphus\.cpan\Metadata'
Database was generated on Sun, 20 Mar 2016 23​:17​:02 GMT
Running install for module 'Module​::Build'
Checksum for
C​:\Users\sisyphus\.cpan\sources\authors\id\L\LE\LEONT\Module-Build-
0.4216.tar.gz ok
'YAML' not installed, will not store persistent state
Configuring L/LE/LEONT/Module-Build-0.4216.tar.gz with Makefile.PL
# running Build.PL
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Module-Build' version '0.4216'
LEONT/Module-Build-0.4216.tar.gz
C​:\_32\blead5.23.9_64int_ld\bin\perl.exe Makefile.PL -- OK
Running make for L/LE/LEONT/Module-Build-0.4216.tar.gz
/usr/bin/sh​: rem​: command not found
Makefile​:14​: recipe for target 'force_do_it' failed
make.EXE​: *** [force_do_it] Error 127
LEONT/Module-Build-0.4216.tar.gz
C​:\_32\make\bin\make.EXE -- NOT OK
##########################################

And similar for 0.4214.

I do know that 5.23.6 built MB-0.4214 ok - but I would have removed
sh.exe
from my path back then.

If I remove sh.exe from the PATH and re-run 'cpan -i Module​::Build',
then it
all goes fine.

How do we want to fix this ?

Perl-Toolchain-Gang/Module-Build#67

--
bulk88 ~ bulk88 at hotmail.com

I just released 0.42_17 to CPAN. If no troubles arise this will be stable
soonish.

Leon

@p5pRT
Copy link
Author

p5pRT commented Dec 6, 2016

From @jkeenan

On Mon, 21 Mar 2016 13​:59​:54 GMT, LeonT wrote​:

On Mon, Mar 21, 2016 at 5​:26 AM, bulk88 via RT <perlbug-followup@​perl.org>
wrote​:

On Sun Mar 20 19​:39​:38 2016, sisyphus wrote​:

Hi,

This almost certainly (not actually tested) pertains only to a Win32
bleadperl built using GNU make.

It's possibly a bug report that should be filed against Module​::Build
- but,
as explained below, the problem is arising in relation to sh.exe,
which is a
familiar problem that we thought/hoped was fixed as of perl-5.23.8.
And I *should* have picked up on this problem a month ago when 5.23.8
was
released :-(

With perl5.23.8 and perl-5.23.9 (just released), and Module-Build-
0.4216 I
get​:

##########################################
C​:\>cpan -i Module​::Build
Loading internal null logger. Install Log​::Log4perl for logging
messages
Reading 'C​:\Users\sisyphus\.cpan\Metadata'
Database was generated on Sun, 20 Mar 2016 23​:17​:02 GMT
Running install for module 'Module​::Build'
Checksum for
C​:\Users\sisyphus\.cpan\sources\authors\id\L\LE\LEONT\Module-Build-
0.4216.tar.gz ok
'YAML' not installed, will not store persistent state
Configuring L/LE/LEONT/Module-Build-0.4216.tar.gz with Makefile.PL
# running Build.PL
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Module-Build' version '0.4216'
LEONT/Module-Build-0.4216.tar.gz
C​:\_32\blead5.23.9_64int_ld\bin\perl.exe Makefile.PL -- OK
Running make for L/LE/LEONT/Module-Build-0.4216.tar.gz
/usr/bin/sh​: rem​: command not found
Makefile​:14​: recipe for target 'force_do_it' failed
make.EXE​: *** [force_do_it] Error 127
LEONT/Module-Build-0.4216.tar.gz
C​:\_32\make\bin\make.EXE -- NOT OK
##########################################

And similar for 0.4214.

I do know that 5.23.6 built MB-0.4214 ok - but I would have removed
sh.exe
from my path back then.

If I remove sh.exe from the PATH and re-run 'cpan -i Module​::Build',
then it
all goes fine.

How do we want to fix this ?

Perl-Toolchain-Gang/Module-Build#67

--
bulk88 ~ bulk88 at hotmail.com

I just released 0.42_17 to CPAN. If no troubles arise this will be stable
soonish.

Leon

http​://matrix.cpantesters.org/?dist=Module-Build

Module-Build v0.4220 is heavily green on 5.24.0 and 5.25.*. So I'm marking this ticket Resolved.

Thank you very much.

--
James E Keenan (jkeenan@​cpan.org)

@p5pRT
Copy link
Author

p5pRT commented Dec 6, 2016

@jkeenan - Status changed from 'open' to 'resolved'

@p5pRT p5pRT closed this as completed Dec 6, 2016
@p5pRT p5pRT added BBC Blead Breaks CPAN - changes in blead broke a cpan module(s) Severity Low labels Oct 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BBC Blead Breaks CPAN - changes in blead broke a cpan module(s)
Projects
None yet
Development

No branches or pull requests

1 participant