Hi,

One wild guess. 

Do you have BUILDUSERNAME set so that you are running on non-root user?

'$CHROOTEXEC $SUTOUSER' might in fact not have access to .ilist file,
if .ilist file is not readable by that user. 

Or do you have 'su' configured in such a way that is different from
default Debian installation?

At Fri, 05 Jun 2009 01:55:35 +0800,
Paul Wise wrote:
> 
> Package: cowbuilder
> Version: 0.55
> Severity: normal
> 
> On squeeze, a fresh sid cowbuilder amd64 chroot on an amd64 host fails
> with the following relevant errors. I've attached the full log for
> reference too. There was definitely enough memory for the build.
> cowbuilder --update works fine too. This seems similar to #522709, which
> was fixed in the 2.6.26 kernel, I'm using the 2.6.29 kernel though. I
> have a C10shell hook but it doesn't get run.
> 
> ...
>  -> Copying COW directory
>   forking: rm -rf /var/cache/pbuilder/build//cow.20720 
>   forking: cp -al /var/cache/pbuilder/base.cow 
> /var/cache/pbuilder/build//cow.20720 
> I: removed stale ilistfile /var/cache/pbuilder/build//cow.20720/.ilist
>   forking: chroot /var/cache/pbuilder/build//cow.20720 cowdancer-ilistcreate 
> /.ilist find . -xdev -path ./home -prune -o \( \( -type l -o -type f \) -a 
> -links +1 -print0 \) | xargs -0 stat --format '%d %i ' 
>  -> Invoking pbuilder
>   forking: pbuilder build --debbuildopts  --buildplace 
> /var/cache/pbuilder/build//cow.20720 --buildresult .. --no-targz 
> --internal-chrootexec chroot /var/cache/pbuilder/build//cow.20720 cow-shell 
> /home/pabs/devel/debian/games/build-area/warzone2100_2.2.0-1.dsc 
> ...
> Processing triggers for man-db ...
> Setting up ccache (2.4-17) ...
> Setting up fakeroot (1.12.2) ...
> update-alternatives: using /usr/bin/fakeroot-sysv to provide 
> /usr/bin/fakeroot (fakeroot) in auto mode.
> I: Copying back the cached apt archive contents
> I: Copying source file
> I: copying [/home/pabs/devel/debian/games/build-area/warzone2100_2.2.0-1.dsc]
> I: copying 
> [/home/pabs/devel/debian/games/build-area/warzone2100_2.2.0.orig.tar.gz]
> I: copying 
> [/home/pabs/devel/debian/games/build-area/warzone2100_2.2.0-1.diff.gz]
> I: Extracting source
> cowdancer: cannot open ilistfile /.ilist
> cowdancer: Fatal, initialize_functions failed
> cowdancer: cannot open ilistfile /.ilist
> cowdancer: cannot open ilistfile /.ilist
> cowdancer: Fatal, initialize_functions failed
> cowdancer: cannot open ilistfile /.ilist
> cowdancer: cannot open ilistfile /.ilist
> Can't open perl script "/usr/bin/dpkg-source": Cannot allocate memory
> E: pbuilder: Failed extracting the source
> I: unmounting /var/cache/pbuilder/ccache filesystem
> I: unmounting dev/pts filesystem
> I: unmounting proc filesystem
>  -> Cleaning COW directory
>   forking: rm -rf /var/cache/pbuilder/build//cow.20720 
> 
> r...@chianamo:~# uname -a
> Linux chianamo 2.6.29-2-amd64 #1 SMP Sun May 17 17:15:47 UTC 2009 x86_64 
> GNU/Linux
> r...@chianamo:~# dpkg -s cowdancer | grep Version
> Version: 0.55
> r...@chianamo:~# cowdancer-ilistdump /var/cache/pbuilder/base.cow/.ilist | 
> head
> ilist_struct size on this architecture: 16
> Signature: 4f434457 (expect 4f434457)
> Revision: 2 (expect 2)
> Struct size: 16
> 
> 65025 17393
> 65025 17619
> 65025 17624
> 65025 17645
> 65025 17646
> 65025 17647
> 65025 17649
> 65025 17695
> 65025 17706
> 65025 17707
> r...@chianamo:~# chroot /var/cache/pbuilder/base.cow/
> chianamo:/# dpkg -s cowdancer | grep Version
> Version: 0.56
> chianamo:/# cowdancer-ilistdump /.ilist | head
> ilist_struct size on this architecture: 16
> Signature: 4f434457 (expect 4f434457)
> Revision: 2 (expect 2)
> Struct size: 16
> 
> 65025 17393
> 65025 17619
> 65025 17624
> 65025 17645
> 65025 17646
> 65025 17647
> 65025 17649
> 65025 17695
> 65025 17706
> 65025 17707
> 
> -- System Information:
> Debian Release: squeeze/sid
>   APT prefers testing
>   APT policy: (700, 'testing'), (600, 'unstable'), (550, 'experimental')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 2.6.29-2-amd64 (SMP w/2 CPU cores)
> Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> 
> Versions of packages cowbuilder depends on:
> ii  cowdancer                     0.55       Copy-on-write directory tree 
> utili
> ii  libc6                         2.9-12     GNU C Library: Shared libraries
> ii  pbuilder                      0.187      personal package builder for 
> Debia
> 
> -- 
> bye,
> pabs
> 
> http://wiki.debian.org/PaulWise



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to