Skip Menu |
 

This queue is for tickets about the PAR-Packer CPAN distribution.

Report information
The Basics
Id: 58266
Status: resolved
Priority: 0/
Queue: PAR-Packer

People
Owner: Nobody in particular
Requestors: framstag [...] rus.uni-stuttgart.de
Cc:
AdminCc:

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



Subject: install PAR::Packer failed for strawberry perl 5.12.0.1 (parldyn.exe not found)
Date: Wed, 9 Jun 2010 11:39:10 +0200
To: bug-PAR-Packer [...] rt.cpan.org
From: Ulli Horlacher <framstag [...] rus.uni-stuttgart.de>
Download (untitled) / with headers
text/plain 5.2k
I mailed this before as a followup to ticket #57852, because I thought it is related, but it is a new issue. Sorry for the inconvenience. I cannot install PAR-Packer-1.005 via cpan on strawberry perl 5.12.0.1 for Windows XP: Show quoted text
cpan> install PAR::Packer
Fetching with LWP: http://cpan.strawberryperl.com/authors/01mailrc.txt.gz Fetching with LWP: http://cpan.strawberryperl.com/modules/02packages.details.txt.gz Fetching with LWP: http://cpan.strawberryperl.com/modules/03modlist.data.gz Database was generated on Tue, 25 May 2010 15:10:12 GMT Updating database file ... Gathering information from index files ... Obtaining current state of database ... Populating database tables ... Done! Running install for module 'PAR::Packer' Running make for R/RS/RSCHUPP/PAR-Packer-1.005.tar.gz Fetching with LWP: http://cpan.strawberryperl.com/authors/id/R/RS/RSCHUPP/PAR-Packer-1.005.tar.gz Fetching with LWP: http://cpan.strawberryperl.com/authors/id/R/RS/RSCHUPP/CHECKSUMS Checksum for C:\strawberry\cpan\sources\authors\id\R\RS\RSCHUPP\PAR-Packer-1.005.tar.gz ok (...) C:\strawberry\c\i686-w64-mingw32\lib\libodbccp32.a C:\strawberry\c\i686-w64-mingw32\lib\libcomctl32.a -o par.exe C:\strawberry\perl\bin\perl.exe -e1 C:\strawberry\perl\bin\perl.exe file2c.pl par.exe my_par.c load_my_par 1 30000 C:\strawberry\perl\bin\perl.exe file2c.pl C:\strawberry\perl\bin\perl512.dll my_ libperl.c load_my_libperl 1 30000 C:\strawberry\perl\bin\perl.exe file2c.pl C:\strawberry\perl\bin\libgcc_s_sjlj-1 .dll my_libgcc.c load_my_libgcc 1 30000 gcc -c -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CON TEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields -DPERL_MSVCRT_READF IX -I"C:\strawberry\perl\lib\CORE" -DLOAD_MY_LIBGCC -DPARL_EXE=\"parl.exe\" -s -O2 static.c static.c: In function 'main': static.c:107: warning: passing argument 3 of 'spawnvpe' from incompatible pointe r type c:\strawberry\c\bin\../lib/gcc/i686-w64-mingw32/4.4.3/../../../../i686-w64-mingw 32/include/process.h:169: note: expected 'char * const*' but argument is of type 'const char * const*' static.c:107: warning: passing argument 4 of 'spawnvpe' from incompatible pointe r type c:\strawberry\c\bin\../lib/gcc/i686-w64-mingw32/4.4.3/../../../../i686-w64-mingw 32/include/process.h:169: note: expected 'char * const*' but argument is of type 'const char * const*' g++ static.o -s -s -L"C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\lib" C: \strawberry\perl\lib\CORE\libperl512.a C:\strawberry\c\i686-w64-mingw32\lib\libm oldname.a C:\strawberry\c\i686-w64-mingw32\lib\libkernel32.a C:\strawberry\c\i68 6-w64-mingw32\lib\libuser32.a C:\strawberry\c\i686-w64-mingw32\lib\libgdi32.a C: \strawberry\c\i686-w64-mingw32\lib\libwinspool.a C:\strawberry\c\i686-w64-mingw3 2\lib\libcomdlg32.a C:\strawberry\c\i686-w64-mingw32\lib\libadvapi32.a C:\strawb erry\c\i686-w64-mingw32\lib\libshell32.a C:\strawberry\c\i686-w64-mingw32\lib\li bole32.a C:\strawberry\c\i686-w64-mingw32\lib\liboleaut32.a C:\strawberry\c\i686 -w64-mingw32\lib\libnetapi32.a C:\strawberry\c\i686-w64-mingw32\lib\libuuid.a C: \strawberry\c\i686-w64-mingw32\lib\libws2_32.a C:\strawberry\c\i686-w64-mingw32\ lib\libmpr.a C:\strawberry\c\i686-w64-mingw32\lib\libwinmm.a C:\strawberry\c\i68 6-w64-mingw32\lib\libversion.a C:\strawberry\c\i686-w64-mingw32\lib\libodbc32.a C:\strawberry\c\i686-w64-mingw32\lib\libodbccp32.a C:\strawberry\c\i686-w64-ming w32\lib\libcomctl32.a win32.coff -o static.exe C:\strawberry\perl\bin\perl.exe -e1 C:\strawberry\perl\bin\perl.exe parlsig.pl static.exe par.exe 1 30000 C:\strawberry\perl\bin\perl.exe run_with_inc.pl static.exe -I../blib/lib -q -B - O..\script\parl.exe C:\strawberry\perl\bin\perl.exe -e "chmod(oct('0600'), '..\blib\lib\PAR\Stripped PARL\Static.pm');" C:\strawberry\perl\bin\perl.exe encode_append.pl static.exe ..\blib\lib\PAR\Stri ppedPARL\Static.pm C:\strawberry\perl\bin\perl.exe -e "chmod(oct('0444'), '..\blib\lib\PAR\Stripped PARL\Static.pm');" C:\strawberry\perl\bin\perl.exe run_with_inc.pl par.exe -I../blib/lib -q -B -O.. \script\parldyn.exe C:\strawberry\perl\bin\perl.exe -e "chmod(oct('0600'), '..\blib\lib\PAR\Stripped PARL\Dynamic.pm');" C:\strawberry\perl\bin\perl.exe encode_append.pl par.exe ..\blib\lib\PAR\Strippe dPARL\Dynamic.pm C:\strawberry\perl\bin\perl.exe -e "chmod(oct('0444'), '..\blib\lib\PAR\Stripped PARL\Dynamic.pm');" dmake.EXE: Error: -- `script\parldyn.exe' not found, and can't be made RSCHUPP/PAR-Packer-1.005.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: RSCHUPP/PAR-Packer-1.005.tar.gz : make NO Show quoted text
cpan>
-- Ullrich Horlacher Server- und Arbeitsplatzsysteme Rechenzentrum E-Mail: horlacher@rus.uni-stuttgart.de Universitaet Stuttgart Tel: ++49-711-685-65868 Allmandring 30 Fax: ++49-711-682357 70550 Stuttgart (Germany) WWW: http://www.rus.uni-stuttgart.de/ -- Ullrich Horlacher Server- und Arbeitsplatzsysteme Rechenzentrum E-Mail: horlacher@rus.uni-stuttgart.de Universitaet Stuttgart Tel: ++49-711-685-65868 Allmandring 30 Fax: ++49-711-682357 70550 Stuttgart (Germany) WWW: http://www.rus.uni-stuttgart.de/
Download (untitled) / with headers
text/plain 1.3k
On 2010-06-09 05:39:28, framstag@rus.uni-stuttgart.de wrote: Show quoted text
> ... > C:\strawberry\perl\bin\perl.exe run_with_inc.pl par.exe -I../blib/lib > -q -B -O.. > \script\parldyn.exe > C:\strawberry\perl\bin\perl.exe -e "chmod(oct('0600'), > '..\blib\lib\PAR\Stripped > PARL\Dynamic.pm');" > C:\strawberry\perl\bin\perl.exe encode_append.pl par.exe > ..\blib\lib\PAR\Strippe > dPARL\Dynamic.pm > C:\strawberry\perl\bin\perl.exe -e "chmod(oct('0444'), > '..\blib\lib\PAR\Stripped > PARL\Dynamic.pm');" > dmake.EXE: Error: -- `script\parldyn.exe' not found, and can't be > made
Note that the problem is the same with PAR::Packer 1.003, 1.004, 1.005 - didn't check even older versions. Actually, I'm suspecting a bug in dmake as shipped with Strawberry 5.12.0.1: nothe that script\parldyn.exe actually has been generated by the sub-make in myldr. If I run "dmake -v all" (for the first time after "dmake clean") dmake report timestamp 0 (meaning: file doesn't exist) for target script\parldyn.exe at the time of the error. The means it obviosly hasn't stat()ed the target after the sub-make and acts on stale information. Note also that I can make the problem go away if I add perl -e "sleep(2); 1" to the "all" target in myldr/Makefile which adds a 2 second delay after generating script\parldyn.exe before control passes back to the main dmake. Cheers, Roderich
Download (untitled) / with headers
text/plain 539b
The reason running dmake fails is a bug Strawberry's exec(): it spawns the process and then exits immediately. This makes run_with_inc.pl return to dmake before parldyn.exe has actually been build. Since this is the last action in myldr/Makefile, control is returned to the main Makefile and the build fails since parldyn.exe still has not been generated. But if the user looks into the script directory a split second later, the build *has* completed to his bewilderment :( Work around this by using system() in run_with_inc.pl instead.
Fixed in 1.006


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.