Tue Jun 28 10:53:31 2011: Request 57273 was acted upon.
Transaction: Correspondence added by vvm
       Queue: PAR-Packer
     Subject: Error building on Strawberry 5.12.0.1 64-bit (win32.coff file 
format not recognized)
   Broken in: (no value)
    Severity: Important
       Owner: Nobody
  Requestors: csjew...@cpan.org
      Status: open
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=57273 >


On Mon Jun 27 07:26:15 2011, RSCHUPP wrote:
> On 2011-06-13 05:58:06, vvm wrote:
> build after 
> overwriting myldr/win32.* with the stuff in ppamd64_resource.zip

 I'm try "Method N2": simply "Turn off use win32.coff"

 Short: 
==
#### Patch data follows ####
diff -c "C:\strawberry\cpanplus -VVM\00_--_PAR-Packer-1.009
\myldr\Makefile.PL" "C:\strawberry\cpanplus\5.12.3\build\PAR-Packer-
1.009\myldr\Makefile.PL"
Index: ./myldr/Makefile.PL
*** ./myldr/Makefile.PL Tue Mar 22 19:53:31 2011
--- ./myldr/Makefile.PL Tue Jun 14 16:49:32 2011
***************
*** 104,110 ****
      $ccdebug = $debug ? '-g ' : '';
      $lddebug = ($debug or $^O eq 'darwin') ? '' : '-s ';
      $warn = $debug ? '-Wall -Wno-comments ' : '';
!     $res = ($^O =~ /^(?:MSWin|cygwin)/) ? 'win32.coff' : '';
      $long_literal = '-l';
      $mt_cmd = '-$(NOOP)';
  } else {
--- 104,111 ----
      $ccdebug = $debug ? '-g ' : '';
      $lddebug = ($debug or $^O eq 'darwin') ? '' : '-s ';
      $warn = $debug ? '-Wall -Wno-comments ' : '';
!     $res =  ''; # VVM
! #    $res = ($^O =~ /^(?:MSWin|cygwin)/) ? 'win32.coff' : '';
      $long_literal = '-l';
      $mt_cmd = '-$(NOOP)';
  } else {
#### End of Patch data ####
== 


==
cd C:\strawberry\cpanplus\5.12.3\build\PAR-Packer-1.009
dmake.EXE test UNINST=1

 . . . 

t/10-parl-generation.t ... ok
t/20-pp.t ................ ok
t/30-current_exec.t ...... # Please wait
t/30-current_exec.t ...... ok
t/40-packer_cd_option.t .. ok
t/90-rt59710.t ........... ok
All tests successful.
==


 and see attached files

# Turn off use win32.coff
# 
# To apply this patch:
# STEP 1: Chdir to the source directory.
# STEP 2: Run the 'applypatch' program with this patch file as input.
#
# If you do not have 'applypatch', it is part of the 'makepatch' package
# that you can fetch from the Comprehensive Perl Archive Network:
# http://www.perl.com/CPAN/authors/Johan_Vromans/makepatch-x.y.tar.gz
# In the above URL, 'x' should be 2 or higher.
#
# To apply this patch without the use of 'applypatch':
# STEP 1: Chdir to the source directory.
# STEP 2: Run the 'patch' program with this file as input.
#
#### End of Preamble ####

#### Patch data follows ####
diff -c "C:\strawberry\cpanplus -VVM\00_--_PAR-Packer-1.009\myldr\Makefile.PL" 
"C:\strawberry\cpanplus\5.12.3\build\PAR-Packer-1.009\myldr\Makefile.PL"
Index: ./myldr/Makefile.PL
*** ./myldr/Makefile.PL Tue Mar 22 19:53:31 2011
--- ./myldr/Makefile.PL Tue Jun 14 16:49:32 2011
***************
*** 104,110 ****
      $ccdebug = $debug ? '-g ' : '';
      $lddebug = ($debug or $^O eq 'darwin') ? '' : '-s ';
      $warn = $debug ? '-Wall -Wno-comments ' : '';
!     $res = ($^O =~ /^(?:MSWin|cygwin)/) ? 'win32.coff' : '';
      $long_literal = '-l';
      $mt_cmd = '-$(NOOP)';
  } else {
--- 104,111 ----
      $ccdebug = $debug ? '-g ' : '';
      $lddebug = ($debug or $^O eq 'darwin') ? '' : '-s ';
      $warn = $debug ? '-Wall -Wno-comments ' : '';
!     $res =  ''; # VVM
! #    $res = ($^O =~ /^(?:MSWin|cygwin)/) ? 'win32.coff' : '';
      $long_literal = '-l';
      $mt_cmd = '-$(NOOP)';
  } else {
#### End of Patch data ####

#### ApplyPatch data follows ####
# Data version        : 1.0
# Date generated      : Tue Jun 14 16:59:06 2011
# Generated by        : makepatch 2.04
# Recurse directories : Yes
# Excluded files      : (\A|/).*\~\Z
#                       (\A|/).*\.a\Z
#                       (\A|/).*\.bak\Z
#                       (\A|/).*\.BAK\Z
#                       (\A|/).*\.elc\Z
#                       (\A|/).*\.exe\Z
#                       (\A|/).*\.gz\Z
#                       (\A|/).*\.ln\Z
#                       (\A|/).*\.o\Z
#                       (\A|/).*\.obj\Z
#                       (\A|/).*\.olb\Z
#                       (\A|/).*\.old\Z
#                       (\A|/).*\.orig\Z
#                       (\A|/).*\.rej\Z
#                       (\A|/).*\.so\Z
#                       (\A|/).*\.Z\Z
#                       (\A|/)\.del\-.*\Z
#                       (\A|/)\.make\.state\Z
#                       (\A|/)\.nse_depinfo\Z
#                       (\A|/)core\Z
#                       (\A|/)tags\Z
#                       (\A|/)TAGS\Z
# p "myldr/Makefile.PL" 10179 1308059372 0100666
#### End of ApplyPatch data ####

#### End of Patch kit [created: Tue Jun 14 16:59:06 2011] ####
#### Patch checksum: 56 2184 611 ####
#### Checksum: 74 2829 54096 ####
---
comment: |

  PAR::Packer needs a patch to install in gcc4 Strawberry Perl x64 ( but patch 
Ok and for x86)

match:
  distribution: |
    ^(?x:
    .^   # never matches, only purpose is to let things align nicely
    |RSCHUPP/PAR-Packer-1.009.tar.gz          # Needs a patch to install.
    )|
patches:
    - "PAR-Packer-1.009.patch"

Attachment: PAR-Packer-1.009 dmake test.log
Description: Binary data

Reply via email to