[pacman-dev] Test suite failures using fakechroot-2.17.1

Andrew Gregory andrew.gregory.8 at gmail.com
Fri Dec 13 13:27:58 EST 2013


On 12/14/13 at 12:38am, Allan McRae wrote:
> On 13/12/13 22:43, Allan McRae wrote:
> > Using fakechroot-2.17.1 from the Arch [testing] repo, I get 4 pactest
> > failures.   All appear to be due to install scriptlets failing.  The
> > ldconfig tests work so the _alpm_run_chroot commands work.
> > 
> > I think it has something to do with symlinks and the shell...   The
> > guilty upstream commit is 52502dbbb - "It is safe to use relative paths
> > which won't escape from fake chroot".
> > 
> > Can someone help figuring out whether this is a pacman testsuite issue
> > or a fakechroot issue?
> > 
> 

Calling chroot with a trailing slash was causing the problem.  Patch
submitted upstream: https://github.com/dex4er/fakechroot/pull/14

apg


More information about the pacman-dev mailing list