Skip Menu |

This queue is for tickets about the Win32-Process CPAN distribution.

Report information
The Basics
Id: 49508
Status: open
Priority: 0/
Queue: Win32-Process

People
Owner: Nobody in particular
Requestors: david [...] nadle.com
Cc:
AdminCc:

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



Subject: CPAN build fails in Strawberry Perl 5.8.9.2
Date: Tue, 8 Sep 2009 02:11:49 -0400
To: <bug-Win32-Process [...] rt.cpan.org>
From: "David L. Nadle" <david [...] nadle.com>
OS is Win7 build 7100. Compilation errors. CPAN trace follows: Show quoted text
cpan> test Win32::Process
Running test for module 'Win32::Process' Running make for J/JD/JDB/Win32-Process-0.14.tar.gz Prepending blib/arch and blib/lib of 19 build dirs to PERL5LIB; for 'get' Prepending blib/arch and blib/lib of 19 build dirs to PERL5LIB; for 'make' CPAN.pm: Going to build J/JD/JDB/Win32-Process-0.14.tar.gz Checking if your kit is complete... Looks good Writing Makefile for Win32::Process cp Process.pm blib\lib\Win32\Process.pm C:\strawberry\perl\bin\perl.exe -IC:\strawberry\perl\lib -IC:\strawberry\perl\li b C:\strawberry\perl\lib\ExtUtils\xsubpp -typemap C:\strawberry\perl\lib\ExtUti ls\typemap -typemap typemap Process.xs >xstmp.c && C:\strawberry\perl\bin\perl.e xe -MExtUtils::Command -e "mv" -- xstmp.c Process.cpp gcc -c -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_ IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSVCRT_READFIX -s -O2 -DVERSION=\"0. 14\" -DXS_VERSION=\"0.14\" "-IC:\strawberry\perl\lib\CORE" Process.cpp In file included from C:/strawberry/perl/lib/CORE/win32thread.h:4, from C:/strawberry/perl/lib/CORE/perl.h:2637, from Process.xs:13: C:/strawberry/perl/lib/CORE/win32.h:238:1: warning: "isnan" redefined In file included from Process.xs:2: C:/strawberry/c/bin/../lib/gcc/mingw32/3.4.5/../../../../include/math.h: 380:1: w arning: this is the location of the previous definition Process.c: In function `void boot_Win32__Process(PerlInterpreter*, CV*)': Process.c:868: error: invalid conversion from `const char*' to `char*' Process.c:868: error: initializing argument 4 of `CV* Perl_newXS(PerlInterpret er*, char*, void (*)(PerlInterpreter*, CV*), char*)' Process.c:869: error: invalid conversion from `const char*' to `char*' Process.c:869: error: initializing argument 4 of `CV* Perl_newXS(PerlInterpret er*, char*, void (*)(PerlInterpreter*, CV*), char*)' Process.c:870: error: invalid conversion from `const char*' to `char*' Process.c:870: error: initializing argument 4 of `CV* Perl_newXS(PerlInterpret er*, char*, void (*)(PerlInterpreter*, CV*), char*)' Process.c:871: error: invalid conversion from `const char*' to `char*' Process.c:871: error: initializing argument 4 of `CV* Perl_newXS(PerlInterpret er*, char*, void (*)(PerlInterpreter*, CV*), char*)' Process.c:872: error: invalid conversion from `const char*' to `char*' Process.c:872: error: initializing argument 4 of `CV* Perl_newXS(PerlInterpret er*, char*, void (*)(PerlInterpreter*, CV*), char*)' Process.c:873: error: invalid conversion from `const char*' to `char*' Process.c:873: error: initializing argument 4 of `CV* Perl_newXS(PerlInterpret er*, char*, void (*)(PerlInterpreter*, CV*), char*)' Process.c:874: error: invalid conversion from `const char*' to `char*' Process.c:874: error: initializing argument 4 of `CV* Perl_newXS(PerlInterpret er*, char*, void (*)(PerlInterpreter*, CV*), char*)' Process.c:875: error: invalid conversion from `const char*' to `char*' Process.c:875: error: initializing argument 4 of `CV* Perl_newXS(PerlInterpret er*, char*, void (*)(PerlInterpreter*, CV*), char*)' Process.c:876: error: invalid conversion from `const char*' to `char*' Process.c:876: error: initializing argument 4 of `CV* Perl_newXS(PerlInterpret er*, char*, void (*)(PerlInterpreter*, CV*), char*)' Process.c:877: error: invalid conversion from `const char*' to `char*' Process.c:877: error: initializing argument 4 of `CV* Perl_newXS(PerlInterpret er*, char*, void (*)(PerlInterpreter*, CV*), char*)' Process.c:878: error: invalid conversion from `const char*' to `char*' Process.c:878: error: initializing argument 4 of `CV* Perl_newXS(PerlInterpret er*, char*, void (*)(PerlInterpreter*, CV*), char*)' Process.c:879: error: invalid conversion from `const char*' to `char*' Process.c:879: error: initializing argument 4 of `CV* Perl_newXS(PerlInterpret er*, char*, void (*)(PerlInterpreter*, CV*), char*)' Process.c:880: error: invalid conversion from `const char*' to `char*' Process.c:880: error: initializing argument 4 of `CV* Perl_newXS(PerlInterpret er*, char*, void (*)(PerlInterpreter*, CV*), char*)' Process.c:881: error: invalid conversion from `const char*' to `char*' Process.c:881: error: initializing argument 4 of `CV* Perl_newXS(PerlInterpret er*, char*, void (*)(PerlInterpreter*, CV*), char*)' Process.c:882: error: invalid conversion from `const char*' to `char*' Process.c:882: error: initializing argument 4 of `CV* Perl_newXS(PerlInterpret er*, char*, void (*)(PerlInterpreter*, CV*), char*)' Process.c:883: error: invalid conversion from `const char*' to `char*' Process.c:883: error: initializing argument 4 of `CV* Perl_newXS(PerlInterpret er*, char*, void (*)(PerlInterpreter*, CV*), char*)' Process.c:884: error: invalid conversion from `const char*' to `char*' Process.c:884: error: initializing argument 4 of `CV* Perl_newXS(PerlInterpret er*, char*, void (*)(PerlInterpreter*, CV*), char*)' dmake.EXE: Error code 129, while making 'Process.o' JDB/Win32-Process-0.14.tar.gz C:\strawberry\c\bin\dmake.EXE -- NOT OK Prepending blib/arch and blib/lib of 19 build dirs to PERL5LIB; for 'test' Running make test Can't test without successful make Failed during this command: JDB/Win32-Process-0.14.tar.gz : make NO Show quoted text
cpan>
CC: libwin32 [...] perl.org
Subject: Re: [rt.cpan.org #49508] CPAN build fails in Strawberry Perl 5.8.9.2
Date: Tue, 8 Sep 2009 10:10:52 -0400
To: bug-Win32-Process [...] rt.cpan.org
From: David Golden <dagolden [...] cpan.org>
On Tue, Sep 8, 2009 at 2:12 AM, David L. Nadle via RT<bug-Win32-Process@rt.cpan.org> wrote: Show quoted text
>     Subject: CPAN build fails in Strawberry Perl 5.8.9.2
Which version of ExtUtils::ParseXS? -- David
Subject: RE: [rt.cpan.org #49508] CPAN build fails in Strawberry Perl 5.8.9.2
Date: Tue, 8 Sep 2009 11:18:11 -0400
To: <bug-Win32-Process [...] rt.cpan.org>
From: "David L. Nadle" <david [...] nadle.com>
David, Sorry, but I removed 5.8.9.2 and installed 5.10.1.0 beta. Win32::Process builds fine with that release. However, it was a brand new install of 5.8.9.2. I'm not sure if ExtUtils::ParseXS is bundled with the release or was retrieved from CPAN yesterday. Regards, David Show quoted text
-----Original Message----- From: David Golden via RT [mailto:bug-Win32-Process@rt.cpan.org] Sent: Tuesday, September 08, 2009 10:12 AM To: David L. Nadle Subject: Re: [rt.cpan.org #49508] CPAN build fails in Strawberry Perl 5.8.9.2 <URL: http://rt.cpan.org/Ticket/Display.html?id=49508 > On Tue, Sep 8, 2009 at 2:12 AM, David L. Nadle via RT<bug-Win32-Process@rt.cpan.org> wrote:
>     Subject: CPAN build fails in Strawberry Perl 5.8.9.2
Which version of ExtUtils::ParseXS? -- David
Subject: Re: [rt.cpan.org #49508] CPAN build fails in Strawberry Perl 5.8.9.2
Date: Wed, 9 Sep 2009 18:42:09 +1000
To: <bug-Win32-Process [...] rt.cpan.org>, <libwin32 [...] perl.org>
From: "Sisyphus" <sisyphus1 [...] optusnet.com.au>
Show quoted text
----- Original Message ----- From: "David L. Nadle via RT" <bug-Win32-Process@rt.cpan.org>
> > C:\strawberry\perl\bin\perl.exe -IC:\strawberry\perl\lib > -IC:\strawberry\perl\lib C:\strawberry\perl\lib\ExtUtils\xsubpp -typemap > C:\strawberry\perl\lib\ExtUtils\typemap -typemap typemap Process.xs
> >xstmp.c &&
> C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "mv" -- xstmp.c > Process.cpp
Yep - I get the same as the above. So where does 'Process.c' come from ?
> Process.c: In function `void boot_Win32__Process(PerlInterpreter*, > CV*)':
I can find a 'Process.cpp' in my build, but not a 'Process.c'. Very strange - unfortunately, I don't have the exact same strawberry build as you. I have strawberry-5.10.0, along with a couple of other mingw-built perls (including perl-5.8.9). None of them create a 'Process.c' when building Win32::Process. And they all build Win32::Process-0.14 just fine. Cheers, Rob.
Subject: [rt.cpan.org #49508] CPAN build fails in Strawberry Perl 5.8.9.2
Date: Mon, 14 Sep 2009 16:08:36 +0100
To: <bug-Win32-Process [...] rt.cpan.org>
From: "Eirik Pettersen" <eirik [...] sitemaker.cc>
I have this bug too. I downloaded a fresh version of Strawberry 5.8.9, and tried to install the Catalyst bundle and got this invalid conversion error. My version of ExtUtils::ParseXS is 2.20. CPAN reported the latest as 2.2002, I've upgraded and I still get the same error. Eirik
Subject: [rt.cpan.org #49508] CPAN build fails in Strawberry Perl 5.8.9.2
Date: Mon, 14 Sep 2009 16:16:49 +0100
To: <bug-Win32-Process [...] rt.cpan.org>
From: "Eirik Pettersen" <eirik [...] sitemaker.cc>
Here is the output I got for the record: Show quoted text
cpan> install Win32::Process
Running install for module 'Win32::Process' Running make for J/JD/JDB/Win32-Process-0.14.tar.gz CPAN.pm: Going to build J/JD/JDB/Win32-Process-0.14.tar.gz Checking if your kit is complete... Looks good Writing Makefile for Win32::Process cp Process.pm blib\lib\Win32\Process.pm C:\strawberry\perl\bin\perl.exe -IC:\strawberry\perl\lib -IC:\strawberry\perl\lib C:\strawberry\perl \lib\ExtUtils\xsubpp -typemap C:\strawberry\perl\lib\ExtUtils\typemap -typemap typemap Process.xs > xstmp.c && C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "mv" -- xstmp.c Process.cpp gcc -c -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-st rict-aliasing -DPERL_MSVCRT_READFIX -s -O2 -DVERSION=\"0.14\" -DXS_VERSION=\"0.14\" "-IC: \strawberry\perl\lib\CORE" Process.cpp In file included from C:/strawberry/perl/lib/CORE/win32thread.h:4, from C:/strawberry/perl/lib/CORE/perl.h:2637, from Process.xs:13: C:/strawberry/perl/lib/CORE/win32.h:238:1: warning: "isnan" redefined In file included from Process.xs:2: C:/strawberry/c/bin/../lib/gcc/mingw32/3.4.5/../../../../include/math.h: 380:1: warning: this is the location of the previous definition Process.c: In function `void boot_Win32__Process(PerlInterpreter*, CV*)': Process.c:868: error: invalid conversion from `const char*' to `char*' Process.c:868: error: initializing argument 4 of `CV* Perl_newXS(PerlInterpreter*, char*, void (*) (PerlInterpreter*, CV*), char*)' Process.c:869: error: invalid conversion from `const char*' to `char*' Process.c:869: error: initializing argument 4 of `CV* Perl_newXS(PerlInterpreter*, char*, void (*) (PerlInterpreter*, CV*), char*)' Process.c:870: error: invalid conversion from `const char*' to `char*' Process.c:870: error: initializing argument 4 of `CV* Perl_newXS(PerlInterpreter*, char*, void (*) (PerlInterpreter*, CV*), char*)' Process.c:871: error: invalid conversion from `const char*' to `char*' Process.c:871: error: initializing argument 4 of `CV* Perl_newXS(PerlInterpreter*, char*, void (*) (PerlInterpreter*, CV*), char*)' Process.c:872: error: invalid conversion from `const char*' to `char*' Process.c:872: error: initializing argument 4 of `CV* Perl_newXS(PerlInterpreter*, char*, void (*) (PerlInterpreter*, CV*), char*)' Process.c:873: error: invalid conversion from `const char*' to `char*' Process.c:873: error: initializing argument 4 of `CV* Perl_newXS(PerlInterpreter*, char*, void (*) (PerlInterpreter*, CV*), char*)' Process.c:874: error: invalid conversion from `const char*' to `char*' Process.c:874: error: initializing argument 4 of `CV* Perl_newXS(PerlInterpreter*, char*, void (*) (PerlInterpreter*, CV*), char*)' Process.c:875: error: invalid conversion from `const char*' to `char*' Process.c:875: error: initializing argument 4 of `CV* Perl_newXS(PerlInterpreter*, char*, void (*) (PerlInterpreter*, CV*), char*)' Process.c:876: error: invalid conversion from `const char*' to `char*' Process.c:876: error: initializing argument 4 of `CV* Perl_newXS(PerlInterpreter*, char*, void (*) (PerlInterpreter*, CV*), char*)' Process.c:877: error: invalid conversion from `const char*' to `char*' Process.c:877: error: initializing argument 4 of `CV* Perl_newXS(PerlInterpreter*, char*, void (*) (PerlInterpreter*, CV*), char*)' Process.c:878: error: invalid conversion from `const char*' to `char*' Process.c:878: error: initializing argument 4 of `CV* Perl_newXS(PerlInterpreter*, char*, void (*) (PerlInterpreter*, CV*), char*)' Process.c:879: error: invalid conversion from `const char*' to `char*' Process.c:879: error: initializing argument 4 of `CV* Perl_newXS(PerlInterpreter*, char*, void (*) (PerlInterpreter*, CV*), char*)' Process.c:880: error: invalid conversion from `const char*' to `char*' Process.c:880: error: initializing argument 4 of `CV* Perl_newXS(PerlInterpreter*, char*, void (*) (PerlInterpreter*, CV*), char*)' Process.c:881: error: invalid conversion from `const char*' to `char*' Process.c:881: error: initializing argument 4 of `CV* Perl_newXS(PerlInterpreter*, char*, void (*) (PerlInterpreter*, CV*), char*)' Process.c:882: error: invalid conversion from `const char*' to `char*' Process.c:882: error: initializing argument 4 of `CV* Perl_newXS(PerlInterpreter*, char*, void (*) (PerlInterpreter*, CV*), char*)' Process.c:883: error: invalid conversion from `const char*' to `char*' Process.c:883: error: initializing argument 4 of `CV* Perl_newXS(PerlInterpreter*, char*, void (*) (PerlInterpreter*, CV*), char*)' Process.c:884: error: invalid conversion from `const char*' to `char*' Process.c:884: error: initializing argument 4 of `CV* Perl_newXS(PerlInterpreter*, char*, void (*) (PerlInterpreter*, CV*), char*)' dmake.EXE: Error code 129, while making 'Process.o' JDB/Win32-Process-0.14.tar.gz C:\strawberry\c\bin\dmake.EXE -- NOT OK Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible Failed during this command: JDB/Win32-Process-0.14.tar.gz : make NO
CC: libwin32 [...] perl.org
Subject: Re: [rt.cpan.org #49508] CPAN build fails in Strawberry Perl 5.8.9.2
Date: Mon, 14 Sep 2009 12:08:20 -0400
To: bug-Win32-Process [...] rt.cpan.org
From: David Golden <xdaveg [...] gmail.com>
On Mon, Sep 14, 2009 at 11:09 AM, Eirik Pettersen via RT <bug-Win32-Process@rt.cpan.org> wrote: Show quoted text
> My version of ExtUtils::ParseXS is 2.20.  CPAN reported the latest as > 2.2002, I've upgraded and I still get the same error.
Could you please try installing ExtUtils::ParseXS 2.20_05? There were fixes in 2.20_03 for const char * errors. From the CPAN shell: Show quoted text
cpan> install DAGOLDEN/ExtUtils-ParseXS-2.20_05.tar.gz
Thank you. David
I've released 2.20_04 to CPAN as 2.200401. That looks like it should more stable than 2.20_05 and contains the const char * fix.
This ticket likely should be closed. It's old. Strawberry version 5.22.0.1 is available as of this writing. -- Cheers, ZZ [ https://metacpan.org/author/ZOFFIX ]