Skip Menu |
 

This queue is for tickets about the Module-Build CPAN distribution.

Report information
The Basics
Id: 36259
Status: resolved
Priority: 0/
Queue: Module-Build

People
Owner: Nobody in particular
Requestors: s-murata [...] nttsmc.com
Cc:
AdminCc:

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



Subject: failure in tilde.t when hyphen character is included in the build account
Download (untitled) / with headers
text/plain 758b
I got a following error when i built the perl 5.10.0 sources and did 'make test' on Redhat Enterprise Linux AS 4(64bit). # Failed test at ../lib/Module/Build/t/tilde.t line 91. # got: '~s-murata/foo' # expected: '/home/s-murata/foo' # Looks like you failed 1 test of 15. ../lib/Module/Build/t/tilde......................................dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 15 Failed 1/15 tests, 93.33% okay I built again after switching the user to 'foo', then succeeded. Similarly, unix account name | result -------------------+-------- bar | OK foo-bar | NG I think this error will be occurred when hyphen character is included in the build account.
Download (untitled) / with headers
text/plain 191b
It seems this error occurs in only 0.2808_01. The problem is in Module-Build-0.2808_01/lib/Module/Build/Platform/Unix.pm . \w* is used to match username in regexp. For example, use [\w-]* ?
Download (untitled) / with headers
text/plain 273b
On Wed May 28 23:10:21 2008, TAMASHIRO wrote: Show quoted text
> For example, use [\w-]* ?
How can we determine the complete set of valid characters that can be part of a username or named directory? In some informal testing in zsh I can't seem to figure out the right behavior. -Ken
Download (untitled) / with headers
text/plain 122b
Various man pages seem to only mention the hyphen, so I'll just add that one character. I've committed a patch. -Ken


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.