OK, I tried the new coreutils 5.93-3 with checkinstall.
I modified the checkinstall script to do see what was happening with the
first command that was failing:
ldd `which mkdir`
then running strace on the first command that failed:
checkinstall 1.5.3, Copyright 2001 Felipe Eduardo Sanchez Diaz Duran
This software is released under the GNU GPL.
Installing with "make install"...
========================= Installation results ===========================
Copying documentation directory...
/usr/lib/installwatch.so (0xb7f62000)
linux-gate.so.1 => (0xffffe000)
libselinux.so.1 => /lib/libselinux.so.1 (0x433c6000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x41019000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x41178000)
/lib/ld-linux.so.2 (0x41000000)
execve("/bin/mkdir", ["mkdir", "-p", "/usr/share/doc/kermit-src"], [/*
31 vars */]) = 0
uname({sys="Linux", node="victoria", ...}) = 0
brk(0) = 0x804e000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)
open("/usr/lib/installwatch.so", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\v\0\000"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=11924, ...}) = 0
old_mmap(NULL, 15352, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0xb7f1b000
old_mmap(0xb7f1e000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0xb7f1e000
mprotect(0xbfa1b000, 4096,
PROT_READ|PROT_WRITE|PROT_EXEC|PROT_GROWSDOWN) = 0
close(3) = 0
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or
directory)
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0xb7f1a000
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=57174, ...}) = 0
old_mmap(NULL, 57174, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f0c000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)
open("/lib/libselinux.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\212<"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=68552, ...}) = 0
old_mmap(0x433c6000, 68512, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x433c6000
old_mmap(0x433d6000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x10000) = 0x433d6000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)
open("/lib/tls/i686/cmov/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260\337"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1265684, ...}) = 0
old_mmap(0x41019000, 1268668, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x41019000
old_mmap(0x41145000, 32768, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12c000) = 0x41145000
old_mmap(0x4114d000, 7100, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4114d000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)
open("/lib/tls/i686/cmov/libdl.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\214"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=11176, ...}) = 0
old_mmap(0x41178000, 12404, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x41178000
old_mmap(0x4117a000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x4117a000
close(3) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0xb7f0b000
mprotect(0x41145000, 20480, PROT_READ) = 0
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7f0b8e0,
limit:1048575, seg_32bit:1, contents:0, read_exec_only:0,
limit_in_pages:1, seg_not_present:0, useable:1}) = 0
munmap(0xb7f0c000, 57174) = 0
access("/etc/selinux/", F_OK) = -1 ENOENT (No such file or
directory)
brk(0) = 0x804e000
brk(0x8070000) = 0x8070000
lstat64("/proc", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
lstat64("/proc/mounts", {st_mode=S_IFLNK|0777, st_size=11, ...}) = 0
readlink("/proc/mounts", "self/mounts", 4096) = 11
lstat64("/proc/self", {st_mode=S_IFLNK|0777, st_size=64, ...}) = 0
readlink("/proc/self", "32262", 4096) = 5
lstat64("/proc/32262", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
lstat64("/proc/32262/mounts", {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Installing C-Kermit version 8.0.212...
DESTDIR=
BINARY=wermit
/bin/sh: line 1: 32271 Segmentation fault ls -l wermit
/usr/bin exists...
/bin/sh: line 1: 32273 Segmentation fault cp wermit /usr/bin/kermit
make: *** [install] Error 1
**** Installation failed. Aborting package creation.
Restoring overwritten files from backup...OK
Cleaning up...OK
Bye.
Michael Stone wrote:
On Wed, Nov 16, 2005 at 12:13:55AM +1030, Arthur Marsh wrote:
Do you have any suggestions on narrowing down what the problem might be?
No, if it's not segfaulting when you run the commands from the command
line. Perhaps the checkinstall maintainer can indicate what it may be
doing to the environment.
Mike Stone
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]