|
From: | Elias Pipping |
Subject: | Re: coreutils 6.9.92 fail to configure on *bsd |
Date: | Sun, 13 Jan 2008 17:10:41 +0100 |
User-agent: | Mutt/1.5.17 (2007-11-01) |
On Sun, Jan 13, 2008 at 02:20:27PM +0100, Jim Meyering wrote: > > > FAIL: help-version.log > > FAIL: parent-perm.log > > FAIL: file-perm-race.log > > FAIL: parent-perm-race.log > > >From your log: > > + mkfifo mode/fifo > + cp_pid=74839 > + cp --preserve=mode -R --copy-contents --parents mode d > + ls -ld d/mode > + echo foo > cp: `mode/fifo': No such file or directory > > This suggests that the mkfifo program did not do its job > (did not create mode/fifo), yet exited successfully. > mkfifo.c does little more than to call the mkfifo function. > > Does this print anything? > > rm -rf fifo > perl -MPOSIX -e 'mkfifo "fifo", 0644 or die "$!\n"' Nope, mkfifo appears to be working fine -- it must be something else. % /bin/rm -rf fifo % /usr/bin/perl -MPOSIX -e 'mkfifo "fifo", 0644 or die "$!\n"' % /bin/ls -l fifo prw-r--r-- 1 pipping staff 0 Jan 13 16:54 fifo % /usr/bin/file fifo fifo: fifo (named pipe) % /bin/rm -rf fifo % ./src/mkfifo fifo % /bin/ls -l fifo prw-r--r-- 1 pipping staff 0 Jan 13 16:54 fifo % /usr/bin/file fifo fifo: fifo (named pipe) % while true; do echo $foo > fifo; ((foo++)); sleep 1; done ^C and in another shell % /usr/bin/tail -f fifo 1 2 3 4 5 6 ^C > > FAIL: backup-dir.log > > FAIL: src-base-dot.log > > FAIL: preserve-2.log > > FAIL: fail-perm.log > > FAIL: cp-parents.log > > FAIL: basic-1.log > > FAIL: create-leading.log > > FAIL: misc.log > > For most of the above, this appears (judging solely > from that log) to be a problem involving the lchmod function > as called by copy.c's copy_internal function. > E.g., > ginstall: setting permissions for `no-dir1/no-dir2/dest': Invalid argument > cp: setting permissions for `g/sym/b/c': Invalid argument > > Can you debug that? Honestly, no -- I don't know how. I'll happily give you ssh access to my box though, if you want. > > (*) tested on powerpc-unknown-openbsd4.2, i386-apple-darwin9.1.0 > > > > PS: I have yet to run expensive tests and check-root > > It'd be great if you could run those, too. On powerpc-unknown-openbsd4.2, RUN_VERY_EXPENSIVE_TESTS does not yield any failure. there's one with check-root: preserve-gid -> coreutils-6.9.92-check-powerc-openbsd42.log.bz2 On i386-apple-darwin9.1.0, this one fails with RUN_VERY_EXPENSIVE_TESTS: cp/perm -> coreutils-6.9.92-check-i386-darwin9-expensive.log.bz2 and these fail with check-root: special-bits preserve-gid -> coreutils-6.9.92-check-i386-darwin9-root.log.bz2 -- Elias
coreutils-6.9.92-check-i386-darwin9-expensive.log.bz2
Description: Binary data
coreutils-6.9.92-check-i386-darwin9-root.log.bz2
Description: Binary data
coreutils-6.9.92-check-powerc-openbsd42.log.bz2
Description: Binary data
pgp92DNz0hJHf.pgp
Description: PGP signature
[Prev in Thread] | Current Thread | [Next in Thread] |