Skip Menu |

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

Report information
The Basics
Id: 37189
Status: resolved
Priority: 0/
Queue: File-LibMagic

People
Owner: Nobody in particular
Requestors: ambrogio.de.lorenzo [...] alice.it
Cc:
AdminCc:

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



Subject: Installation Error - The test fails to understand output
Date: Sat, 28 Jun 2008 13:11:06 +0200
To: bug-File-LibMagic [...] rt.cpan.org
From: Ambrogio De Lorenzo <ambrogio.de.lorenzo [...] alice.it>
Hi, I'm using: Fedora 8 with file-devel.x86_64 vers. 4.21-5.fc8 Perl version v5.8.8 built for x86_64-linux-thread-multi The error in test are: make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/1....................ok t/2-easy...............ok t/3-complete-errors....ok t/3-complete...........ok t/4-all................ok t/6-oo.................1/20 # Failed test 'MIME t/samples/foo.c' # at t/6-oo.t line 27. # got: 'text/x-c; charset=us-ascii' # expected: 'text/x-c charset=us-ascii' # Failed test 'MIME data t/samples/foo.c' # at t/6-oo.t line 36. # got: 'text/x-c; charset=us-ascii' # expected: 'text/x-c charset=us-ascii' # Failed test 'MIME t/samples/foo.foo' # at t/6-oo.t line 27. # got: 'text/plain; charset=us-ascii' # expected: 'text/plain charset=us-ascii' # Failed test 'MIME data t/samples/foo.foo' # at t/6-oo.t line 36. # got: 'text/plain; charset=us-ascii' # expected: 'text/plain charset=us-ascii' # Failed test 'MIME t/samples/foo.c' # at t/6-oo.t line 48. # got: 'text/x-c; charset=us-ascii' # expected: 'text/x-c charset=us-ascii' # Failed test 'MIME data t/samples/foo.c' # at t/6-oo.t line 57. # got: 'text/x-c; charset=us-ascii' # expected: 'text/x-c charset=us-ascii' # Failed test 'MIME t/samples/foo.foo' # at t/6-oo.t line 48. # got: 'text/x-foo' # expected: 'text/plain charset=us-ascii' # Failed test 'MIME data t/samples/foo.foo' # at t/6-oo.t line 57. # got: 'text/x-foo' # expected: 'text/plain charset=us-ascii' # Looks like you failed 8 tests of 20. t/6-oo................. Dubious, test returned 8 (wstat 2048, 0x800) Failed 8/20 subtests Test Summary Report ------------------- t/2-easy (Wstat: 0 Tests: 6 Failed: 0) TODO passed: 6 t/3-complete-errors (Wstat: 0 Tests: 7 Failed: 0) TODO passed: 6 t/6-oo (Wstat: 2048 Tests: 20 Failed: 8) Failed tests: 2, 4, 6, 8, 11, 13, 15, 17 Non-zero exit status: 8 Files=6, Tests=55, 0 wallclock secs ( 0.04 usr 0.01 sys + 0.21 cusr 0.06 csys = 0.32 CPU) Result: FAIL Failed 1/6 test programs. 8/55 subtests failed. make: *** [test_dynamic] Error 8 I think it's a little bug in check for expected results, and I think it may depends on the file version installed. What can I do to solve this little problem? I will try to install with force. Bye Ambrogio
Subject: Re: [rt.cpan.org #37189] Installation Error - The test fails to understand output
Date: Sun, 29 Jun 2008 21:36:37 +0200
To: Ambrogio De Lorenzo via RT <bug-File-LibMagic [...] rt.cpan.org>
From: Andreas Fitzner <fitzner [...] informatik.hu-berlin.de>
I already know about this problem. the new file-release returns this 'different' filetype. this means with File::LibMagic is nothing wrong except I have to check which version of file I am compiling File::LibMagic against. Show quoted text
> # got: 'text/x-c; charset=us-ascii' > # expected: 'text/x-c charset=us-ascii'
Andreas On Sat, Jun 28, 2008 at 07:12:09AM -0400, Ambrogio De Lorenzo via RT wrote: Show quoted text
> Sat Jun 28 07:12:05 2008: Request 37189 was acted upon. > Transaction: Ticket created by ambrogio.de.lorenzo@alice.it > Queue: File-LibMagic > Subject: Installation Error - The test fails to understand output > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: ambrogio.de.lorenzo@alice.it > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=37189 > > > > Hi, > > I'm using: > > Fedora 8 with file-devel.x86_64 vers. 4.21-5.fc8 > Perl version v5.8.8 built for x86_64-linux-thread-multi > > The error in test are: > make test > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/1....................ok > t/2-easy...............ok > t/3-complete-errors....ok > t/3-complete...........ok > t/4-all................ok > t/6-oo.................1/20 > # Failed test 'MIME t/samples/foo.c' > # at t/6-oo.t line 27. > # got: 'text/x-c; charset=us-ascii' > # expected: 'text/x-c charset=us-ascii' > > # Failed test 'MIME data t/samples/foo.c' > # at t/6-oo.t line 36. > # got: 'text/x-c; charset=us-ascii' > # expected: 'text/x-c charset=us-ascii' > > # Failed test 'MIME t/samples/foo.foo' > # at t/6-oo.t line 27. > # got: 'text/plain; charset=us-ascii' > # expected: 'text/plain charset=us-ascii' > > # Failed test 'MIME data t/samples/foo.foo' > # at t/6-oo.t line 36. > # got: 'text/plain; charset=us-ascii' > # expected: 'text/plain charset=us-ascii' > > # Failed test 'MIME t/samples/foo.c' > # at t/6-oo.t line 48. > # got: 'text/x-c; charset=us-ascii' > # expected: 'text/x-c charset=us-ascii' > > # Failed test 'MIME data t/samples/foo.c' > # at t/6-oo.t line 57. > # got: 'text/x-c; charset=us-ascii' > # expected: 'text/x-c charset=us-ascii' > > # Failed test 'MIME t/samples/foo.foo' > # at t/6-oo.t line 48. > # got: 'text/x-foo' > # expected: 'text/plain charset=us-ascii' > > # Failed test 'MIME data t/samples/foo.foo' > # at t/6-oo.t line 57. > # got: 'text/x-foo' > # expected: 'text/plain charset=us-ascii' > # Looks like you failed 8 tests of 20. > t/6-oo................. Dubious, test returned 8 (wstat 2048, 0x800) > Failed 8/20 subtests > > Test Summary Report > ------------------- > t/2-easy (Wstat: 0 Tests: 6 Failed: 0) > TODO passed: 6 > t/3-complete-errors (Wstat: 0 Tests: 7 Failed: 0) > TODO passed: 6 > t/6-oo (Wstat: 2048 Tests: 20 Failed: 8) > Failed tests: 2, 4, 6, 8, 11, 13, 15, 17 > Non-zero exit status: 8 > Files=6, Tests=55, 0 wallclock secs ( 0.04 usr 0.01 sys + 0.21 cusr 0.06 csys = 0.32 CPU) > Result: FAIL > Failed 1/6 test programs. 8/55 subtests failed. > make: *** [test_dynamic] Error 8 > > > I think it's a little bug in check for expected results, and I think it > may depends on the file version installed. > What can I do to solve this little problem? > I will try to install with force. > > Bye > Ambrogio >
Download (untitled)
application/pgp-signature 189b

Message body not shown because it is not plain text.