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

gregor herrmann gregoa at debian.org
Sun Mar 6 21:57:33 UTC 2011


On Sun, 06 Mar 2011 21:58:38 +0100, Salvatore Bonaccorso wrote:

> > Looking at lib/vendorlib.pm:
> > Maybe the path is removed by
> > 
> >     # remove any directories that don't actually exist
> >     # this will also remove /etc/perl on non-Debian systems
> >     @paths = grep -d, @paths;
> > 
> > i.e. /home/$user doesn't exist in exist but is reported by
> > getpwuid($<))[7] ?
> 
> Good catch! Well /home/$user get's not mounted inside the chroot, but
> you are right, the /etc/passwd is from chroot creation time? So
> contains /home/$user thus returned by getpwuid($<)[7]? But then
> /home/$user is removed from @paths by the above, as it really does not
> exists.

Thanks for the check and the confirmation!
 
> If I'm right, then buildd's work like that, that building user has
> no exiting home (we already fixed some bugs going in that direction).

Yup, but setting HOME won't help here.
 
> Currently I have not a good idea how to proceed. :(

Hm, check again in the tests if the directory exists?

Apart from that I hope that upstream has enough info now to propose a
fix :)

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: Tanita Tikaram: Wonderful Shadow
-------------- 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/20110306/390724f5/attachment.pgp>


More information about the pkg-perl-maintainers mailing list