On Sat, 2009-06-06 at 12:22 +0900, Junichi Uekawa wrote:

> So I think you want to find out why cowdancer thinks it cannot open
> ilistfile (does the file not exist, or is 'open' failing in libc, or
> some other LD_PRELOAD is working weird with 'open').

As you can see earlier in the log, it thinks it is stale, removes it and
recreates it inside the chroot:

...
 -> 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 
...

Since the one in base.cow looks fine to me and cowdancer-ilistdump, I
modified pbuilder-buildpackage so that it runs the C hooks when
dpkg-source fails to extract the package. The one in the cowdancer cow
chroot also seems to be fine:

r...@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
r...@chianamo:/# stat .ilist 
  File: `.ilist'
  Size: 156400          Blocks: 320        IO Block: 4096   regular file
Device: fe01h/65025d    Inode: 6702178     Links: 1
Access: (0640/-rw-r-----)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2009-06-06 03:30:23.000000000 +0000
Modify: 2009-06-06 03:30:13.000000000 +0000
Change: 2009-06-06 03:30:13.000000000 +0000
r...@chianamo:/# ls -l .ilist 
-rw-r----- 1 root root 156400 Jun  6 03:30 .ilist

-- 
bye,
pabs

http://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to