[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#462226: coreutils: FTBFS on mips: tests failed: rm/deep-1, rm/dangling-symlink, ...



On Wed, Jan 23, 2008 at 01:15:29PM +0100, you wrote:
On 23/01/08 at 11:06 +0100, Lucas Nussbaum wrote:
Package: coreutils
Version: 6.10-1
Severity: serious

Hi,

coreutils 6.10-1 failed to build on mips:

> Making check in rm
> make[3]: Entering directory `/build/buildd/coreutils-6.10/build-tree/coreutils-6.10/tests/rm'
> /usr/bin/make  check-TESTS
> make[4]: Entering directory `/build/buildd/coreutils-6.10/build-tree/coreutils-6.10/tests/rm'
> make[5]: Entering directory `/build/buildd/coreutils-6.10/build-tree/coreutils-6.10/tests/rm'
> FAIL: deep-1.log

This makes me think we've got a cross compiler or somesuch that can't run the
executables we just built. (This is the very first test, and would fail if the
generated "mktemp" wouldn't execute, for example.) Although configure didn't
think it was cross compiling. Can we get an actual fail log from the buildd?

I can't reproduce that failure on casals.d.o. However, the build on
casals fails later:

Making check in touch
make[3]: Entering directory
`/home/lucas/cuu/coreutils-6.10/build-tree/coreutils-6.10/tests/touch'
/usr/bin/make  check-TESTS
make[4]: Entering directory
`/home/lucas/cuu/coreutils-6.10/build-tree/coreutils-6.10/tests/touch'
make[5]: Entering directory
`/home/lucas/cuu/coreutils-6.10/build-tree/coreutils-6.10/tests/touch'
SKIP: now-owned-by-other.log
PASS: read-only.log
PASS: relative.log
PASS: not-owner.log
FAIL: no-create-missing.log

This seems to be actual brokenness on the system. Cf.:
sh-3.1$ ./touch -c - >&-
./touch: setting times of `-': Unknown error 4294967207

Kinda looks like the errno.h doesn't match the system or somesuch.

Even weirder:

sh-3.1$ strace ./touch -c - >&-
execve("./touch", ["./touch", "-c", "-"], [/* 20 vars */]) = 0
svr4_syscall()                          = -1 ERRNO_4045 (Unknown error 4045)
uname({sys="Linux", node="casals", ...}) = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aac8000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 1
fstat64(1, {st_mode=S_IFREG|0644, st_size=52018, ...}) = 0
old_mmap(NULL, 52018, PROT_READ, MAP_PRIVATE, 1, 0) = 0x2aadc000
close(1)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/librt.so.1", O_RDONLY)       = 1
read(1, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\10\0\0\0\1\0\0\30"..., 512) = 512
lseek(1, 676, SEEK_SET)                 = 676
read(1, "\0\0\0\4\0\0\0\20\0\0\0\1GNU\0\0\0\0\0\0\0\0\2\0\0\0\6"..., 32) = 32
fstat64(1, {st_mode=S_IFREG|0644, st_size=37288, ...}) = 0
old_mmap(NULL, 98960, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 1, 0) = 0x2aaec000
mprotect(0x2aaf4000, 61440, PROT_NONE)  = 0
old_mmap(0x2ab03000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 1, 0x7000) = 0x2ab03000
close(1)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libc.so.6", O_RDONLY)        = 1
read(1, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\10\0\0\0\1\0\1j4"..., 512) = 512
lseek(1, 692, SEEK_SET)                 = 692
read(1, "\0\0\0\4\0\0\0\20\0\0\0\1GNU\0\0\0\0\0\0\0\0\2\0\0\0\6"..., 32) = 32
fstat64(1, {st_mode=S_IFREG|0755, st_size=1541096, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aac9000
old_mmap(NULL, 1522800, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 1, 0) = 0x2ab08000
mprotect(0x2ac60000, 61440, PROT_NONE)  = 0
old_mmap(0x2ac6f000, 40960, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 1, 0x157000) = 0x2ac6f000
old_mmap(0x2ac79000, 11376, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2ac79000
close(1)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libpthread.so.0", O_RDONLY)  = 1
read(1, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\10\0\0\0\1\0\0J@"..., 512) = 512
lseek(1, 676, SEEK_SET)                 = 676
read(1, "\0\0\0\4\0\0\0\20\0\0\0\1GNU\0\0\0\0\0\0\0\0\2\0\0\0\6"..., 32) = 32
fstat64(1, {st_mode=S_IFREG|0755, st_size=130407, ...}) = 0
old_mmap(NULL, 169040, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 1, 0) = 0x2ac7c000
mprotect(0x2ac93000, 61440, PROT_NONE)  = 0
old_mmap(0x2aca2000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 1, 0x16000) = 0x2aca2000
old_mmap(0x2aca4000, 5200, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2aca4000
close(1)                                = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaca000
SYS_4283()                              = -1985707984
mprotect(0x2aca2000, 4096, PROT_READ)   = 0
mprotect(0x2ac6f000, 20480, PROT_READ)  = 0
munmap(0x2aadc000, 52018)               = 0
set_tid_address(0x2aac9ac8)             = 6543
syscall_4294967207(0x2aac9ad0, 0xc, 0x7fa17d24, 0x1, 0x2acab030, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) = -1 (errno 4238)
svr4_symlink()                          = -1 ERRNO_4194 (Unknown error 4194)
svr4_syscall()                          = -1 ERRNO_4194 (Unknown error 4194)
svr4_syscall()                          = -1 ERRNO_4195 (Unknown error 4195)
svr4_syscall()                          = 4076
svr4_syscall()                          = -1 ERRNO_4045 (Unknown error 4045)
brk(0x43b000)                           = 0x43b000
syscall_4294967207(0x1, 0, 0, 0x1, 0x2ac7f960, 0x6, 0xa, 0x419bf0, 0x1e, 0x4084f4, 0x420000, 0x7fa17d14, 0x3, 0x2aabf304, 0x400f57, 0x2aad89f8, 0x7fa17a90, 0x2aad8c78, 0x2aac9490, 0x1, 0, 0x2ac78ef0, 0, 0x1, 0x2abee5c4, 0x2ac78ee8, 0, 0x1, 0, 0x1, 0x1, 0x2aabf088) = -1 (errno 4004)
./touch: svr4_link()                             = -1 ERRNO_4004 (Unknown error 4004)
setting times of `-'svr4_getpid()                           = -1 ERRNO_4004 (Unknown error 4004)
: Unknown error 4294967207svr4_ptrace()                           = -1 ERRNO_4004 (Unknown error 4004)

svr4_exit()                             = -1 ERRNO_4006 (Unknown error 4006)
svr4_link()                             = -1 ERRNO_4006 (Unknown error 4006)
svr4_syscall()                          = -1 ERRNO_4246 (Unknown error 4246)

Any thoughts from the mips people?

Mike Stone


Reply to: