Skip Menu |

This queue is for tickets about the Device-USB CPAN distribution.

Report information
The Basics
Id: 78940
Status: open
Priority: 0/
Queue: Device-USB

People
Owner: Nobody in particular
Requestors: cwilson [...] 11below.com
Cc:
AdminCc:

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



Subject: Device::USB make test problems
Date: Mon, 13 Aug 2012 12:39:02 -0500
To: bug-Device-USB [...] rt.cpan.org
From: "Craig S. Wilson" <cwilson [...] 11below.com>
On Slackware 13.0 and 13.37, using Perl 5.12 and 5.16, I receive the following errors during the tests: # Failed test 'POD test for blib/lib/Device/USB.pm' # at /usr/lib64/perl5/site_perl/5.12.3/Test/Pod.pm line 182. # blib/lib/Device/USB.pm (502): Non-ASCII character seen before =encoding in 'Monés'. Assuming UTF-8 # Failed test 'POD test for blib/lib/Device/USB/Bus.pm' # at /usr/lib64/perl5/site_perl/5.12.3/Test/Pod.pm line 182. # blib/lib/Device/USB/Bus.pm (211): Non-ASCII character seen before =encoding in 'Monés'. Assuming UTF-8 # Looks like you failed 2 tests of 8. t/pod.t ........................... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/8 subtests Test Summary Report ------------------- t/pod.t (Wstat: 512 Tests: 8 Failed: 2) Failed tests: 2, 8 Non-zero exit status: 2 Files=22, Tests=640, 2 wallclock secs ( 0.12 usr 0.04 sys + 0.97 cusr 0.20 csys = 1.33 CPU) Result: FAIL Failed 1/22 test programs. 2/640 subtests failed. make: *** [test_dynamic] Error 2 I run the following to get past the errors. perl -pi -e "s/Josep Mon(.*?)s/Josep Mones/" blib/lib/Device/USB.pm blib/lib/Device/USB/Bus.pm -- ----------------------------------------------------- Craig S. Wilson cwilson@11below.com 612-865-8794
Here's a patch that adds the =encoding to the POD. Cheers, gregor, Debian Perl Group
Subject: pod-encoding.diff
Description: add encoding information to POD Origin: vendor Bug: https://rt.cpan.org/Public/Bug/Display.html?id=78940 Bug-Debian: http://bugs.debian.org/708012 Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=78940 Author: gregor herrmann <gregoa@debian.org> Last-Update: 2013-05-12 --- a/lib/Device/USB.pm +++ b/lib/Device/USB.pm @@ -39,6 +39,8 @@ use constant CLASS_DATA => 10; use constant CLASS_VENDOR_SPEC => 0xff; +=encoding utf8 + =head1 NAME Device::USB - Use libusb to access USB devices. --- a/lib/Device/USB/Bus.pm +++ b/lib/Device/USB/Bus.pm @@ -5,6 +5,7 @@ use strict; use Carp; +=encoding utf8 =head1 NAME