Skip Menu |

This queue is for tickets about the Module-Build CPAN distribution.

Report information
The Basics
Id: 4855
Status: resolved
Priority: 0/
Queue: Module-Build

People
Owner: Nobody in particular
Requestors: muenalan [...] cpan.org
Cc:
AdminCc:

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



Subject: [win32/perl5.8.2] xs.t FAILED 3, 7 + runthrough.t warnings
xs.t requires a compiler, otherwise fails ([1]), but if one has one its passes. runthrough.t creates scary warnings ([2]). Cheers, Murat - [1] - Installing perl extension Z:\www\perl\bin\perl.exe Build.PL Checking whether your kit is complete... Looks good Creating new 'Build' script for 'Module-Build' version '0.21_02' Microsoft (R) Program Maintenance Utility Version 7.00.9466 Copyright (C) Microsoft Corporation. All rights reserved. Z:\www\perl\bin\perl.exe Build test lib\Module\Build\Platform\Default.pm -> blib\lib\Module\Build\Platform\Default.pm lib\Module\Build\Platform\EBCDIC.pm -> blib\lib\Module\Build\Platform\EBCDIC.pm lib\Module\Build\Cookbook.pm -> blib\lib\Module\Build\Cookbook.pm lib\Module\Build\Platform\MacOS.pm -> blib\lib\Module\Build\Platform\MacOS.pm lib\Module\Build\Platform\cygwin.pm -> blib\lib\Module\Build\Platform\cygwin.pm lib\Module\Build\Platform\Amiga.pm -> blib\lib\Module\Build\Platform\Amiga.pm lib\Module\Build\Platform\VMS.pm -> blib\lib\Module\Build\Platform\VMS.pm lib\Module\Build.pm -> blib\lib\Module\Build.pm lib\Module\Build\Platform\MPEiX.pm -> blib\lib\Module\Build\Platform\MPEiX.pm lib\Module\Build\Platform\os2.pm -> blib\lib\Module\Build\Platform\os2.pm lib\Module\Build\Platform\aix.pm -> blib\lib\Module\Build\Platform\aix.pm lib\Module\Build\Base.pm -> blib\lib\Module\Build\Base.pm lib\Module\Build\Compat.pm -> blib\lib\Module\Build\Compat.pm lib\Module\Build\Platform\VOS.pm -> blib\lib\Module\Build\Platform\VOS.pm lib\Module\Build\Platform\darwin.pm -> blib\lib\Module\Build\Platform\darwin.pm lib\Module\Build\Platform\Unix.pm -> blib\lib\Module\Build\Platform\Unix.pm lib\Module\Build\PPMMaker.pm -> blib\lib\Module\Build\PPMMaker.pm lib\Module\Build\PodParser.pm -> blib\lib\Module\Build\PodParser.pm lib\Module\Build\Platform\Windows.pm -> blib\lib\Module\Build\Platform\Windows.pm lib\Module\Build\Platform\RiscOS.pm -> blib\lib\Module\Build\Platform\RiscOS.pm t\basic.........ok t\compat........ok t\extend........ok t\install.......ok t\manifypods....ok t\notes.........ok t\runthrough....ok 19/27Unable to add file: 'Sample-0.01' at C:\temp\Module-Build-0.21_02\blib\lib/Module/Build/Base.pm line 1706 Unable to add file: 'Sample-0.01/bin' at C:\temp\Module-Build-0.21_02\blib\lib/Module/Build/Base.pm line 1706 Unable to add file: 'Sample-0.01/lib' at C:\temp\Module-Build-0.21_02\blib\lib/Module/Build/Base.pm line 1706 Unable to add file: 'Sample-0.01/lib/Sample' at C:\temp\Module-Build-0.21_02\blib\lib/Module/Build/Base.pm line 1706 t\runthrough....ok t\signature.....skipped all skipped: Skipping unless $ENV{TEST_SIGNATURE} is true t\versions......ok t\xs............ok 2/12# Test 3 got: 'error building dll file from 'lib\XSTest.c' at C:\temp\Module-Build-0.21_02\blib\lib/Module/Build/Platform/Windows.pm line 100, <File0000> line 14. t\xs............NOK 3' (t\xs.t at line 27) # Expected: '' # t\xs.t line 27 is: ok $@, ''; t\xs............ok 5/12error building dll file from 'lib\XSTest.c' at C:\temp\Module-Build-0.21_02\blib\lib/Module/Build/Platform/Windows.pm line 100, <File0000> line 14. t\xs............ok 6/12# Test 7 got: 'error building dll file from 'lib\XSTest.c' at C:\temp\Module-Build-0.21_02\blib\lib/Module/Build/Platform/Windows.pm line 100, <File0000> line 14. t\xs............NOK 7' (t\xs.t at line 44) # Expected: '' # t\xs.t line 44 is: ok $@, ''; t\xs............FAILED tests 3, 7 Failed 2/12 tests, 83.33% okay (less 2 skipped tests: 8 okay, 66.67%) Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t\xs.t 12 2 16.67% 3 7 1 test and 2 subtests skipped. Failed 1/10 test scripts, 90.00% okay. 2/163 subtests failed, 98.77% okay. NMAKE : fatal error U1077: 'Z:\www\perl\bin\perl.exe' : return code '0xff' Stop. - [2] - C:\temp\Module-Build-0.21_02>vcvars32 C:\temp\Module-Build-0.21_02>"C:\Programme\Microsoft Visual Studio .NET\Common7\Tools\"vsvars32.bat Setting environment for using Microsoft Visual Studio .NET tools. (If you also have Visual C++ 6.0 installed and wish to use its tools from the command line, run vcvars32.bat for Visual C++ 6.0.) C:\temp\Module-Build-0.21_02>modinst Installing perl extension Z:\www\perl\bin\perl.exe Build.PL Checking whether your kit is complete... Looks good Deleting Build Removed previous script 'Build' Creating new 'Build' script for 'Module-Build' version '0.21_02' Microsoft (R) Program Maintenance Utility Version 7.00.9466 Copyright (C) Microsoft Corporation. All rights reserved. Z:\www\perl\bin\perl.exe Build test t\basic.........ok t\compat........ok t\extend........ok t\install.......ok t\manifypods....ok t\notes.........ok t\runthrough....ok 19/27Unable to add file: 'Sample-0.01' at C:\temp\Module-Build-0.21_02\blib\lib/Module/Build/Base.pm line 1706 Unable to add file: 'Sample-0.01/bin' at C:\temp\Module-Build-0.21_02\blib\lib/Module/Build/Base.pm line 1706 Unable to add file: 'Sample-0.01/lib' at C:\temp\Module-Build-0.21_02\blib\lib/Module/Build/Base.pm line 1706 Unable to add file: 'Sample-0.01/lib/Sample' at C:\temp\Module-Build-0.21_02\blib\lib/Module/Build/Base.pm line 1706 t\runthrough....ok t\signature.....skipped all skipped: Skipping unless $ENV{TEST_SIGNATURE} is true t\versions......ok t\xs............ok 2/12 skipped: skipping a couple Unixish-only tests All tests successful, 1 test and 2 subtests skipped. Files=10, Tests=163, 31 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 CPU) --- Summary of my perl5 (revision 5 version 8 subversion 2) configuration: Platform: osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread uname='' config_args='undef' hint=recommended, useposix=true, d_sigaction=undef usethreads=undef use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cl', ccflags ='-nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DP ERL_MSVCRT_READFIX', optimize='-MD -Zi -DNDEBUG -O1', cppflags='-DWIN32' ccversion='', gccversion='', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='__int64', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='link', ldflags ='-nologo -nodefaultlib -debug -opt:ref,icf -libpath:"z:\www\perl\lib\CORE" -machine:x86' libpth=C:\PROGRA~1\MICROS~3\VC98\lib libs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib perllibs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib wsock32.lib mpr.lib winmm .lib version.lib odbc32.lib odbccp32.lib msvcrt.lib libc=msvcrt.lib, so=dll, useshrplib=yes, libperl=perl58.lib gnulibc_version='undef' Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -debug -opt:ref,icf -libpath:"z:\www\perl\lib\CORE" -machine:x86' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS Locally applied patches: ActivePerl Build 808 21846 Configure gets d_u32align wrong 21739 [perl #24493] install.html not working 21737 Ooops. left an XXX comment in, and worse still it's a // comment 21735 utf8 keys now work for tied hashes 21734 Accessing unicode keys in tie hashes via hv_exists was broken 21733 ext/threads/t/problem.t 21732 Config::myconfig() fails under ithreads 21728 Update perlhist with 5.6.2 21723 Include 'SCCS' in the list of dir names ignored by installperl 21718 Empty subroutine as object method segfaults in 5.8.2 (sometimes) 21714 Fix bug #24380: assigning list with duplicated keys to a hash 21706 [perl #24460] [DOC PATCH] the begincheck program 21693 must copy changes from win32/makeifle.mk to wince/makefile.ce 21691 Update the list of pumpkings in perlhist.pod 21687 [PATCH 5.6.2-RC1 pod/perlhist.pod] Updated 21677 OS/2 docu 21676 Bug #24407: key for shared hash got stringified into wrong pool 21673 Be sure to use -fPIC not -fpic on Linux/SPARC 21672 extending the hash attack test 21671 Benchmark.pm cmpthese segfault 21662 'make minitest' fails for op/cproto and op/pat 21586 Comment that this 'optimisation' is actually a necessary fixup 21548 Sync with Pod::Perldoc 3.12 21540 Fix backward-compatibility issues in if.pm Built under MSWin32 Compiled at Dec 9 2003 10:19:40 @INC: Z:/www/perl/lib Z:/www/perl/site/lib .
I believe this is fixed in recent releases of Module::Build.
From: muenalan [...] cpan.org
[KWILLIAMS - Thu Apr 29 00:07:40 2004]: Show quoted text
> I believe this is fixed in recent releases of Module::Build.
I am not so deep in it, but should Module::Build require a c(pp) compiler ? Yes, all tests only pass when i setup my compiler. xs.t fails and prevents successfull installation when no compiler is available. At least a more helpfull problem report would be ideal to direct the user to setup/get a compiler. Murat PS: Without prior calling vcvars32.bat (MSVC enviroment setup): --- CPAN.pm: Going to build K/KW/KWILLIAMS/Module-Build-0.25.tar.gz Z:\www\perl\bin\perl.exe Build.PL Checking whether your kit is complete... Looks good Creating new 'Build' script for 'Module-Build' version '0.25' Microsoft (R) Program Maintenance Utility Version 7.00.9466 Copyright (C) Microsoft Corporation. All rights reserved. Z:\www\perl\bin\perl.exe Build --makefile_env_macros 1 lib\Module\Build\Platform\Default.pm -> blib\lib\Module\Build\Platform\Default.pm lib\Module\Build\Platform\EBCDIC.pm -> blib\lib\Module\Build\Platform\EBCDIC.pm lib\Module\Build\Cookbook.pm -> blib\lib\Module\Build\Cookbook.pm lib\Module\Build\Platform\MacOS.pm -> blib\lib\Module\Build\Platform\MacOS.pm lib\Module\Build\Platform\cygwin.pm -> blib\lib\Module\Build\Platform\cygwin.pm lib\Module\Build\Platform\Amiga.pm -> blib\lib\Module\Build\Platform\Amiga.pm lib\Module\Build\Platform\VMS.pm -> blib\lib\Module\Build\Platform\VMS.pm lib\Module\Build.pm -> blib\lib\Module\Build.pm lib\Module\Build\Platform\MPEiX.pm -> blib\lib\Module\Build\Platform\MPEiX.pm lib\Module\Build\Platform\os2.pm -> blib\lib\Module\Build\Platform\os2.pm lib\Module\Build\Platform\aix.pm -> blib\lib\Module\Build\Platform\aix.pm lib\Module\Build\Base.pm -> blib\lib\Module\Build\Base.pm lib\Module\Build\Compat.pm -> blib\lib\Module\Build\Compat.pm lib\Module\Build\Platform\VOS.pm -> blib\lib\Module\Build\Platform\VOS.pm lib\Module\Build\Platform\darwin.pm -> blib\lib\Module\Build\Platform\darwin.pm lib\Module\Build\Platform\Unix.pm -> blib\lib\Module\Build\Platform\Unix.pm lib\Module\Build\PPMMaker.pm -> blib\lib\Module\Build\PPMMaker.pm lib\Module\Build\PodParser.pm -> blib\lib\Module\Build\PodParser.pm lib\Module\Build\Platform\Windows.pm -> blib\lib\Module\Build\Platform\Windows.pm lib\Module\Build\Platform\RiscOS.pm -> blib\lib\Module\Build\Platform\RiscOS.pm mkdir blib/html mkdir blib/html/site mkdir blib/html/site/lib mkdir blib/html/site/lib/Module mkdir blib/html/site/lib/Module/Build mkdir blib/html/site/lib/Module/Build/Platform/ Creating blib/html/site/lib/Module/Build/Platform/Unix.html Creating blib/html/site/lib/Module/Build/Platform/EBCDIC.html Creating blib/html/site/lib/Module/Build/Platform/MacOS.html Creating blib/html/site/lib/Module/Build.html Creating blib/html/site/lib/Module/Build/Platform/Amiga.html Creating blib/html/site/lib/Module/Build/Platform/cygwin.html Creating blib/html/site/lib/Module/Build/Platform/Windows.html Creating blib/html/site/lib/Module/Build/PPMMaker.html Creating blib/html/site/lib/Module/Build/Platform/MPEiX.html Creating blib/html/site/lib/Module/Build/Platform/VOS.html Creating blib/html/site/lib/Module/Build/Platform/Default.html Creating blib/html/site/lib/Module/Build/Platform/RiscOS.html Creating blib/html/site/lib/Module/Build/Cookbook.html Creating blib/html/site/lib/Module/Build/Platform/aix.html Creating blib/html/site/lib/Module/Build/Platform/darwin.html Creating blib/html/site/lib/Module/Build/Platform/os2.html Creating blib/html/site/lib/Module/Build/Platform/VMS.html Creating blib/html/site/lib/Module/Build/Base.html Creating blib/html/site/lib/Module/Build/Compat.html "C:\Programme\Microsoft Visual Studio .NET\Vc7\bin\nmake.EXE" -- OK Running make test Microsoft (R) Program Maintenance Utility Version 7.00.9466 Copyright (C) Microsoft Corporation. All rights reserved. Z:\www\perl\bin\perl.exe Build --makefile_env_macros 1 test t\basic.........ok t\compat........ok t\extend........ok t\install.......ok t\manifypods....ok t\notes.........ok t\runthrough....ok t\signature.....skipped all skipped: Skipping unless $ENV{TEST_SIGNATURE} is true t\versions......ok t\xs............ok 2/12# Test 3 got: 'error building dll file from 'lib\XSTest.c' at V:\.cpan\build\Module-Build-0.25 \blib\lib/Module/Build/Platform/Windows.pm l ine 106, <File0000> line 15. t\xs............NOK 3' (t\xs.t at line 27) # Expected: '' # t\xs.t line 27 is: ok $@, ''; t\xs............ok 5/12error building dll file from 'lib\XSTest.c' at V:\.cpan\build\Module-Build-0.25 \blib\lib/Module/Build/Platform/Windows.pm line 106, <File0 Show quoted text
000> line 15.
t\xs............ok 6/12# Test 7 got: 'error building dll file from 'lib\XSTest.c' at V:\.cpan\build\Module-Build-0.25 \blib\lib/Module/Build/Platform/Windows.pm l ine 106, <File0000> line 15. t\xs............NOK 7' (t\xs.t at line 44) # Expected: '' # t\xs.t line 44 is: ok $@, ''; t\xs............FAILED tests 3, 7 Failed 2/12 tests, 83.33% okay (less 2 skipped tests: 8 okay, 66.67%) Failed Test Stat Wstat Total Fail Failed List of Failed ----------------------------------------------------------------------- -------- t\xs.t 12 2 16.67% 3 7 1 test and 2 subtests skipped. Failed 1/10 test scripts, 90.00% okay. 2/188 subtests failed, 98.94% okay. NMAKE : fatal error U1077: 'Z:\www\perl\bin\perl.exe' : return code '0xff' Stop. "C:\Programme\Microsoft Visual Studio .NET\Vc7\bin\nmake.EXE" test -- NOT OK Running make install make test had returned bad status, won't install without force Show quoted text
cpan>
Date: Thu, 29 Apr 2004 07:56:48 -0500
From: "Ken Williams" <ken [...] mathforum.org>
To: bug-Module-Build [...] rt.cpan.org
Subject: Re: [cpan #4855] [win32/perl5.8.2] xs.t FAILED 3, 7 + runthrough.t warnings
RT-Send-Cc:
On Apr 29, 2004, at 2:05 AM, Guest via RT wrote: Show quoted text
> > I am not so deep in it, but should Module::Build require a c(pp) > compiler ?
No, it shouldn't - if no compiler is available, it should just skip that part of the tests. -Ken
Show quoted text
> that part of the tests. > > -Ken
Anything happened? Murat
[MUENALAN - Wed Jun 2 03:58:54 2004]: Show quoted text
> > that part of the tests. > > > > -Ken
> > Anything happened? > > Murat >
Well, I'm not sure what needs to happen. If it can't find a C compiler, it's supposed to be skipping those tests. Is it not doing that? Also, do you have ExtUtils::CBuilder installed, or is it just calling the compiler directly? -Ken
Oh sorry, I should have said to try the newest *beta* release, 0.25_02. They're still broken in 0.25, of course. =) -Ken
Randy Sims has now resolved this in CVS. Thanks. -Ken