Bug#615963: libvendorlib-perl: tilde expansion tests failing

gregor herrmann gregoa at debian.org
Tue Mar 8 17:06:49 UTC 2011


On Tue, 08 Mar 2011 14:35:58 +0200, Damyan Ivanov wrote:

> > Yup, but setting HOME won't help here.
> (repetitive mumbling)

:)
 
> Why not pathcing sbuild so it provides a useful home directory 
> (possibly wiped after build)? Seemed like a lot of effort some time 
> ago, but having to work around it forever doesn't seem trivial either.

I think in this case it wouldn't help; as I understood the situation
from carnil's and jawnsy's tests, sbuild (1) adds a line to
/etc/passwd which is then read with getpwuid($<) by vendorlib but (2)
doesn't mount the home directory later. A temporary $HOME in the
build chroot wouldn't match the first one.

In the other cases, where the test suite uses $HOME, having a
temporary directory and the variable set might indeed be nice.

Since I don't know sbuild, I'd rather see someone else bringing this
up with the sbuild maintainer.


Cheers,
gregor

-- 
 .''`.   http://info.comodo.priv.at/ -- GPG key IDs: 0x8649AA06, 0x00F3CFE4
 : :' :  Debian GNU/Linux user, admin, & developer - http://www.debian.org/
 `. `'   Member of VIBE!AT & SPI, fellow of Free Software Foundation Europe
   `-    NP: Dire Straits: Money For Nothing
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20110308/4a4940b6/attachment-0001.pgp>


More information about the pkg-perl-maintainers mailing list