Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: Dan.Smart [...] baesystems.com
Cc:
AdminCc:

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



Subject: Build issue with Module::Build versions 0.30 to 0.32
Date: Mon, 2 Mar 2009 15:47:32 -0000
To: <bug-Module-Build [...] rt.cpan.org>
From: "Smart, Dan (UK)" <Dan.Smart [...] baesystems.com>
When i try to build and install the module i get the following errors. perl Makefile.PL - this part works fine. nmake i get this result: C:\Module-Build-0.30>nmake Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. c:\perl\bin\perl.exe Build --makefile_env_macros 1 Copying lib\Module\Build\YAML.pm -> blib\lib\Module\Build\YAML.pm Copying lib\Module\Build\Platform\RiscOS.pm -> blib\lib\Module\Build\Platform\RiscOS.pm Copying lib\Module\Build\Version.pm -> blib\lib\Module\Build\Version.pm Copying lib\Module\Build\PPMMaker.pm -> blib\lib\Module\Build\PPMMaker.pm Copying lib\Module\Build\Platform\darwin.pm -> blib\lib\Module\Build\Platform\darwin.pm Copying lib\Module\Build\Platform\Amiga.pm -> blib\lib\Module\Build\Platform\Amiga.pm Copying lib\Module\Build\Cookbook.pm -> blib\lib\Module\Build\Cookbook.pm Copying lib\Module\Build\Base.pm -> blib\lib\Module\Build\Base.pm Copying lib\Module\Build\Platform\MPEiX.pm -> blib\lib\Module\Build\Platform\MPEiX.pm Copying lib\Module\Build\Platform\Default.pm -> blib\lib\Module\Build\Platform\Default.pm Copying lib\Module\Build\Platform\EBCDIC.pm -> blib\lib\Module\Build\Platform\EBCDIC.pm Copying lib\Module\Build\Config.pm -> blib\lib\Module\Build\Config.pm Copying lib\Module\Build\PodParser.pm -> blib\lib\Module\Build\PodParser.pm Copying lib\Module\Build\Compat.pm -> blib\lib\Module\Build\Compat.pm Copying lib\Module\Build\Platform\VMS.pm -> blib\lib\Module\Build\Platform\VMS.pm Copying lib\Module\Build\Platform\Windows.pm -> blib\lib\Module\Build\Platform\Windows.pm Copying lib\Module\Build\Platform\cygwin.pm -> blib\lib\Module\Build\Platform\cygwin.pm Copying lib\Module\Build\Platform\aix.pm -> blib\lib\Module\Build\Platform\aix.pm Copying lib\Module\Build\Dumper.pm -> blib\lib\Module\Build\Dumper.pm Copying lib\Module\Build\ModuleInfo.pm -> blib\lib\Module\Build\ModuleInfo.pm Copying lib\Module\Build\Platform\VOS.pm -> blib\lib\Module\Build\Platform\VOS.pm Copying lib\Module\Build\Platform\Unix.pm -> blib\lib\Module\Build\Platform\Unix.pm Copying lib\Module\Build.pm -> blib\lib\Module\Build.pm Copying lib\Module\Build\Notes.pm -> blib\lib\Module\Build\Notes.pm Copying lib\Module\Build\Platform\os2.pm -> blib\lib\Module\Build\Platform\os2.pm Copying lib\Module\Build\Platform\MacOS.pm -> blib\lib\Module\Build\Platform\MacOS.pm Copying lib\Module\Build\API.pod -> blib\lib\Module\Build\API.pod Copying lib\Module\Build\Authoring.pod -> blib\lib\Module\Build\Authoring.pod Copying scripts\config_data -> blib\script\config_data Deleting blib\script\config_data.bak Writing config notes to blib\lib\Module\Build\ConfigData.pm Use of uninitialized value in pattern match (m//) at c:/perl/lib/File/Spec/Win32.pm line 72. Use of uninitialized value in pattern match (m//) at c:/perl/lib/File/Spec/Win32.pm line 72. Use of uninitialized value in pattern match (m//) at c:/perl/lib/File/Spec/Win32.pm line 140. mkdir blib\binhtml\bin\C:.: Invalid argument at lib/Module/Build/Base.pm line 2748 NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0xff' Stop. I get the same with v0.31 and 0.32, different line numbers but the same piece of code by the looks of it. Any ideas? I'm building on WinXP SP2, Perl version v5.6.1. Best Regards, Dan Smart Wintel System Admin EPT Integration & Deployment Team Eurofighter Avionics IPT BAE SYSTEMS Warton Phone: 01772 8 58617 ======================================================================== ======================= BAE Systems (Operations) Limited Registered Office: Warwick House, PO Box 87, Farnborough Aerospace Centre, Farnborough, Hants, GU14 6YU, UK Registered in England & Wales No: 1996687 ======================================================================== ======================= The content of this email is covered under DEAL 1631 and 1632. ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ********************************************************************
Hi Dan, I believe this is actually a bug in File::Spec. Can you try upgrading it to the latest version (it's part of the PathTools package) and see if that helps? If so, we need to figure out how to declare this as a dependency properly - I think it's only necessary to upgrade if the user's on Windows. -Ken
Subject: RE: [rt.cpan.org #43771] Build issue with Module::Build versions 0.30 to 0.32
Date: Tue, 3 Mar 2009 08:34:08 -0000
To: <bug-Module-Build [...] rt.cpan.org>
From: "Smart, Dan (UK)" <Dan.Smart [...] baesystems.com>
Ken, Thanks for the response. I've just downloaded the pathtools package, version 3.29 and tried to run perl Makefile.PL on the download and I'm getting windows error message (see attachment). :-( Best Regards, Dan Smart Wintel System Admin EPT Integration & Deployment Team Eurofighter Avionics IPT BAE SYSTEMS Warton Phone: 01772 8 58617 ======================================================================== ======================= BAE Systems (Operations) Limited Registered Office: Warwick House, PO Box 87, Farnborough Aerospace Centre, Farnborough, Hants, GU14 6YU, UK Registered in England & Wales No: 1996687 ======================================================================== ======================= The content of this email is covered under DEAL 1631 and 1632. Show quoted text
-----Original Message----- From: Ken Williams via RT [mailto:bug-Module-Build@rt.cpan.org] Sent: 02 March 2009 18:47 To: Smart, Dan (UK) Subject: [rt.cpan.org #43771] Build issue with Module::Build versions 0.30 to 0.32 *** WARNING *** This mail has originated outside your organization, either from an external partner or the Global Internet. Keep this in mind if you answer this message. <URL: https://rt.cpan.org/Ticket/Display.html?id=43771 > Hi Dan, I believe this is actually a bug in File::Spec. Can you try upgrading it to the latest version (it's part of the PathTools package) and see if that helps? If so, we need to figure out how to declare this as a dependency properly - I think it's only necessary to upgrade if the user's on Windows. -Ken ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ********************************************************************
Download Image1.jpg
image/jpeg 21.1k

Message body is not shown because sender requested not to inline it.

Works for me on Win32 with updated File::Spec. I'll add it as a prereq for Win32 and am closing this ticket. Failures in PathTools should be addressed in the bug queue for that distro.