Skip Menu |

This queue is for tickets about the File-Map CPAN distribution.

Report information
The Basics
Id: 81952
Status: resolved
Priority: 0/
Queue: File-Map

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

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



Subject: cpan shell upgrade of File::Map 0.53 fails
I tried to upgrade File::Map to the latest in a cpan
shell instance (both on strawberry perl portable and
cygwin).  The resulting File::Map failed tests with the
following:

Show quoted text
cpan> test File::Map
Running test for module 'File::Map'
Running make for L/LE/LEONT/File-Map-0.53.tar.gz
Fetching with LWP:
http://cpan.strawberryperl.com/authors/id/L/LE/LEONT/File-Map-0.53.tar.gz
Checksum for E:\chm\work\xfer\1024\SPP_w_PDL\spp_5161\cpan\sources\authors\id\L\LE\LEONT\File-Map-0.53.tar.gz ok
Scanning cache E:\chm\work\xfer\1024\SPP_w_PDL\spp_5161\cpan\build for sizes
............................................................................DONE

  CPAN.pm: Building L/LE/LEONT/File-Map-0.53.tar.gz

Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'File-Map' version '0.53'
Building File-Map
gcc -c -s -O2 -DWIN32  -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields -s -O
2 "-DXS_VERSION=\"0.53\"" "-DVERSION=\"0.53\"" -I"E:\chm\work\xfer\1024\SPP_w_PDL\spp_5161\perl\lib\CORE" -I"E:\chm\work\xfer\1024\S
PP_w_PDL\spp_5161\c\include" -o "lib\File\Map.o" "lib\File\Map.c"
ExtUtils::Mkbootstrap::Mkbootstrap('blib\arch\auto\File\Map\Map.bs')
Generating script 'lib\File\Map.lds'
dlltool --def "lib\File\Map.def" --output-exp "lib\File\Map.exp"
g++.exe -o "blib\arch\auto\File\Map\Map.dll" -Wl,--base-file,"lib\File\Map.base" -Wl,--image-base,0x290d0000 -mdll -s -L"E:\chm\work
\xfer\1024\SPP_w_PDL\spp_5161\perl\lib\CORE" -L"E:\chm\work\xfer\1024\SPP_w_PDL\spp_5161\c\lib" "lib\File\Map.lds" "lib\File\Map.exp
"
dlltool --def "lib\File\Map.def" --output-exp "lib\File\Map.exp" --base-file "lib\File\Map.base"
g++.exe -o "blib\arch\auto\File\Map\Map.dll" -Wl,--image-base,0x290d0000 -mdll -s -L"E:\chm\work\xfer\1024\SPP_w_PDL\spp_5161\perl\l
ib\CORE" -L"E:\chm\work\xfer\1024\SPP_w_PDL\spp_5161\c\lib" "lib\File\Map.lds" "lib\File\Map.exp"
  LEONT/File-Map-0.53.tar.gz
  E:\chm\work\xfer\1024\SPP_w_PDL\spp_5161\perl\bin\perl.exe ./Build -- OK
Running Build test
t/00-compile.t ............ You are using Sub::Exporter::Progressive, but the features your program uses from
Sub::Exporter cannot be implemented without Sub::Exporter, so you might as well
just use vanilla Sub::Exporter
Compilation failed in require at -e line 1.

Show quoted text
#   Failed test 'File::Map loaded ok'
t/00-compile.t ............ 1/1 #   at t/00-compile.t line 62.
Show quoted text
#                   ''
#     doesn't match '(?^s:^\s*File::Map ok)'
# Looks like you failed 1 test of 1.
t/00-compile.t ............ Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
t/10-basics.t ............. You are using Sub::Exporter::Progressive, but the features your program uses from
Sub::Exporter cannot be implemented without Sub::Exporter, so you might as well
just use vanilla Sub::Exporter
Compilation failed in require at t/10-basics.t line 5.
BEGIN failed--compilation aborted at t/10-basics.t line 5.
t/10-basics.t ............. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run

<...many more of the same...>

The problem is that the existing Sub::Exporter::Progressive
version doesn't work (0.001003).  If I upgrade to version
0.001006 then the File::Map build succeeds.  A possible
work-around to the problem would be to bump up the
required version of Sub::Exporter::Progressive in the
File::Map build requirements.
On Thu Dec 13 17:38:56 2012, CHM wrote: Show quoted text
> I tried to upgrade File::Map to the latest in a cpan > shell instance (both on strawberry perl portable and > cygwin). The resulting File::Map failed tests with the > following: > > The problem is that the existing Sub::Exporter::Progressive > version doesn't work (0.001003). If I upgrade to version > 0.001006 then the File::Map build succeeds. A possible > work-around to the problem would be to bump up the > required version of Sub::Exporter::Progressive in the > File::Map build requirements.
Thanks for the bug report. I just released File::Map 0.54 to CPAN containing a fix for this and another issue :-) Leon