beyondgrep / ack2

**ack 2 is no longer being maintained. ack 3 is the latest version.**
https://github.com/beyondgrep/ack3/
Other
1.48k stars 138 forks source link

ack2 2.08 fails to install on Strawberry 5.18.1 64-bit #318

Closed azawawi closed 11 years ago

azawawi commented 11 years ago

Here is the build log

cpanm (App::cpanminus) 1.6941 on perl 5.018001 built for MSWin32-x64-multi-thread
Work directory is C:\Users\azawawi/.cpanm/work/1377235458.2600
You have make C:\strawberry\c\bin\dmake.exe
You have LWP 6.05
Falling back to Archive::Tar 1.92
Searching App::Ack on cpanmetadb ...
--> Working on App::Ack
Fetching http://www.cpan.org/authors/id/P/PE/PETDANCE/ack-2.08.tar.gz
-> OK
Unpacking ack-2.08.tar.gz
Entering ack-2.08
Checking configure dependencies from META.yml
Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.72)
Configuring ack-2.08
Running Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for ack
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have Pod::Usage 1.26 ... Yes (1.63)
Checking if you have Test::Harness 2.50 ... Yes (3.28)
Checking if you have Carp 1.04 ... Yes (1.29)
Checking if you have Cwd 3.00 ... Yes (3.40)
Checking if you have Test::More 0.98 ... Yes (0.98)
Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.72)
Checking if you have Text::ParseWords 3.1 ... Yes (3.29)
Checking if you have Getopt::Long 2.35 ... Yes (2.41)
Checking if you have File::Basename 1.00015 ... Yes (2.84)
Checking if you have File::Temp 0.19 ... Yes (0.2301)
Checking if you have File::Next 1.10 ... Yes (1.12)
Checking if you have File::Glob 1.00015 ... Yes (1.20)
Checking if you have File::Spec 3.00 ... Yes (3.40)
Checking if you have Term::ANSIColor 1.10 ... Yes (4.02)
Building and testing ack-2.08
cp Extension.pm blib\lib/App/Ack/Filter/Extension.pm
cp Ack.pm blib\lib/App/Ack.pm
cp ConfigLoader.pm blib\lib/App/Ack/ConfigLoader.pm
cp Default.pm blib\lib/App/Ack/Filter/Default.pm
cp Basic.pm blib\lib/App/Ack/Resource/Basic.pm
cp Is.pm blib\lib/App/Ack/Filter/Is.pm
cp Inverse.pm blib\lib/App/Ack/Filter/Inverse.pm
cp FirstLineMatch.pm blib\lib/App/Ack/Filter/FirstLineMatch.pm
cp Resources.pm blib\lib/App/Ack/Resources.pm
cp Filter.pm blib\lib/App/Ack/Filter.pm
cp ConfigFinder.pm blib\lib/App/Ack/ConfigFinder.pm
cp Match.pm blib\lib/App/Ack/Filter/Match.pm
cp Resource.pm blib\lib/App/Ack/Resource.pm
cp ConfigDefault.pm blib\lib/App/Ack/ConfigDefault.pm
C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e cp -- ack blib\script\ack
pl2bat.bat blib\script\ack
C:\strawberry\perl\bin\perl.exe t/runtests.pl 0 0 "blib\lib" "blib\arch" t/*.t t/lib/*.t
Running tests on blib/script/ack
# Testing App::Ack 2.08, File::Next 1.12, Perl 5.018001, C:\strawberry\perl\bin\perl.exe
# Using Test::More 0.98 and Test::Harness 3.28
t/00-load.t .................. ok
t/ack-1.t .................... ok
input options have not been implemented for Win32 yet at t/Util.pm line 166.
# Looks like you planned 24 tests but ran 18.
# Looks like your test exited with 1 just after 18.
t/ack-c.t .................... 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 6/24 subtests 
t/ack-color.t ................ ok
t/ack-column.t ............... ok
t/ack-create-ackrc.t ......... ok
t/ack-dump.t ................. ok
t/ack-f.t .................... ok
t/ack-files-from.t ........... ok
t/ack-filetypes.t ............ ok
t/ack-g.t .................... ok
t/ack-group.t ................ ok
t/ack-h.t .................... ok
t/ack-help-types.t ........... ok
t/ack-help.t ................. ok
t/ack-i.t .................... ok
t/ack-ignore-dir.t ........... ok
t/ack-interactive.t .......... skipped: You need to install IO::Pty to run this test
t/ack-invalid-ackrc.t ........ skipped: Don't yet have a reliable way to ignore the Unicode complaints from Pod::Perldoc
t/ack-k.t .................... ok
t/ack-known-types.t .......... ok
t/ack-line.t ................. skipped: You need to install IO::Pty to run this test
t/ack-m.t .................... ok
input options have not been implemented for Win32 yet at t/Util.pm line 166.
# Tests were run but no plan was declared and done_testing() was not seen.
t/ack-match.t ................ 
Dubious, test returned 255 (wstat 65280, 0xff00)
All 13 subtests passed 
t/ack-n.t .................... ok
The system cannot find the path specified.
t/ack-named-pipes.t .......... skipped: You need the 'mkfifo' command to be able to run this test

#   Failed test 'Find all the things with --output function'
#   at t/ack-o.t line 94.
# +----+---------------------------------------+-----------------------------------------+
# | Elt|Got                                    |Expected                                 |
# +----+---------------------------------------+-----------------------------------------+
# *   0|'t\\text\\science-of-myth.txt:1:ed'    |'t\\text\\science-of-myth.txt:1:"ed"'    *
# *   1|'t\\text\\shut-up-be-happy.txt:15:s.'  |'t\\text\\shut-up-be-happy.txt:15:"s."'  *
# *   2|'t\\text\\shut-up-be-happy.txt:21:.'   |'t\\text\\shut-up-be-happy.txt:21:"."'   *
# +----+---------------------------------------+-----------------------------------------+
# actual[
#   't\\text\\science-of-myth.txt:1:ed',
#   't\\text\\shut-up-be-happy.txt:15:s.',
#   't\\text\\shut-up-be-happy.txt:21:.'
# ]
# expected[
#   't\\text\\science-of-myth.txt:1:"ed"',
#   't\\text\\shut-up-be-happy.txt:15:"s."',
#   't\\text\\shut-up-be-happy.txt:21:"."'
# ]
# $ ack --output="$1" question(\S+) t/text/
# Looks like you failed 1 test of 8.
t/ack-o.t .................... 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/8 subtests 
t/ack-pager.t ................ skipped: You need to install IO::Pty to run this test
input options have not been implemented for Win32 yet at t/Util.pm line 166.
# Looks like you planned 6 tests but ran 4.
# Looks like your test exited with 255 just after 4.
t/ack-passthru.t ............. 
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 2/6 subtests 
t/ack-print0.t ............... ok
t/ack-removed-options.t ...... ok
t/ack-s.t .................... ok
t/ack-show-types.t ........... ok
t/ack-type-del.t ............. ok
t/ack-type.t ................. ok
t/ack-v.t .................... ok
t/ack-w.t .................... ok
t/ack-x.t .................... ok
t/anchored.t ................. ok
t/asp-net-ext.t .............. ok
t/bad-ackrc-opt.t ............ ok
t/basic.t .................... ok
t/command-line-files.t ....... ok
t/config-backwards-compat.t .. ok
t/config-finder.t ............ ok
t/config-loader.t ............ ok
input options have not been implemented for Win32 yet at t/Util.pm line 166.
# Looks like you planned 30 tests but ran 24.
# Looks like your test exited with 255 just after 24.
t/context.t .................. 
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 6/30 subtests 
t/default-filter.t ........... ok
t/exit-code.t ................ ok
t/ext-filter.t ............... ok
t/file-permission.t .......... skipped: Can't be checked under Win32
t/filetypes.t ................ ok
t/filter.t ................... ok
t/firstlinematch-filter.t .... ok
t/illegal-regex.t ............ ok
t/incomplete-last-line.t ..... ok
t/inverted-file-filter.t ..... ok
t/is-filter.t ................ ok
t/lib/Ack.t .................. ok
t/lib/Basic.t ................ ok
t/lib/ConfigDefault.t ........ ok
t/lib/ConfigFinder.t ......... ok
t/lib/ConfigLoader.t ......... ok
t/lib/Default.t .............. ok
t/lib/Extension.t ............ ok
t/lib/Filter.t ............... ok
t/lib/FirstLineMatch.t ....... ok
t/lib/Inverse.t .............. ok
t/lib/Is.t ................... ok
t/lib/Match.t ................ ok
t/lib/Resource.t ............. ok
t/lib/Resources.t ............ ok
t/longopts.t ................. ok
t/match-filter.t ............. ok
t/mutex-options.t ............ ok
t/noackrc.t .................. ok
t/noenv.t .................... ok
t/process-substitution.t ..... skipped: Test unreliable on Windows.
t/r-lang-ext.t ............... ok
t/resource-iterator.t ........ ok
t/zero.t ..................... ok

Test Summary Report
-------------------
t/ack-c.t                  (Wstat: 256 Tests: 18 Failed: 0)
  Non-zero exit status: 1
  Parse errors: Bad plan.  You planned 24 tests but ran 18.
t/ack-match.t              (Wstat: 65280 Tests: 13 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/ack-o.t                  (Wstat: 256 Tests: 8 Failed: 1)
  Failed test:  8
  Non-zero exit status: 1
t/ack-passthru.t           (Wstat: 65280 Tests: 4 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 6 tests but ran 4.
t/context.t                (Wstat: 65280 Tests: 24 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 30 tests but ran 24.
Files=81, Tests=1667, 132 wallclock secs ( 0.55 usr +  0.09 sys =  0.64 CPU)
Result: FAIL
Failed 5/81 test programs. 1/1667 subtests failed.
dmake.exe:  Error code 255, while making 'test_classic'
-> FAIL Installing App::Ack failed. See C:\Users\azawawi\.cpanm\work\1377235458.2600\build.log for details. Retry with --force to force install it.
djgoku commented 11 years ago

Same issue and build of perl. Glad I searched first!

petdance commented 11 years ago

And we're glad you searched first, too! :-)

Have you tried 2.08?

djgoku commented 11 years ago

Yes same as @azawawi.

azawawi commented 11 years ago

Ack::App 2.09_03 installs cleanly now on windows :+1:. Could we please release that as stable 2.10?

petdance commented 11 years ago

That's the plan.

azawawi commented 11 years ago

Thanks :100: / :100: