heimdal 0.3c won't build: debhelper error
Hi,
Can anyone tell me what this error means?
touch install-stamp
dh_testdir
dh_testroot
dh_installdebconf
dh_installdocs
dh_installexamples -pheimdal-lib krb5.conf
dh_installexamples -pheimdal-kdc kdc.conf
dh_installmenu
dh_installinit
dh_installcron
dh_installinfo
dh_installchangelogs ChangeLog
dh_link
dh_strip
strip: debian/heimdal-dev/usr/lib/stkFTRV9/libeditline.a: Invalid operation
dh_strip: command returned error code
make: *** [binary-arch] Error 1
[525] [snoopy:bam] ~/build/heimdal-0.3c >ls -l debian/heimdal-dev/usr/lib/stkFTRV9
ls: debian/heimdal-dev/usr/lib/stkFTRV9: No such file or directory
[526] [snoopy:bam] ~/build/heimdal-0.3c >ls -l debian/heimdal-dev/usr/lib/
total 1904
-rw-r--r-- 1 bam users 198422 Oct 2 10:32 libasn1.a
-rwxr-xr-x 1 bam users 699 Oct 2 10:30 libasn1.la*
lrwxrwxrwx 1 bam users 16 Oct 2 10:31 libasn1.so -> libasn1.so
[...]
Is there some kind of race condition going on here?
Running it manually gives the same error:
[527] [snoopy:bam] ~/build/heimdal-0.3c >dh_strip
strip: debian/heimdal-dev/usr/lib/stmQzUfw/libeditline.a: Invalid operation
dh_strip: command returned error code
However, the directory is different. It still doesn't exist though.
I have potato debhelper - it use to work fine...
When running with strace -ff, I get a different error:
strip: debian/heimdal-dev/usr/lib/stJRWmJA: Invalid operation
The strace listing is:
execve("/homes/bam/bin/linux-gnu/i686/strip", ["strip", "--strip-debug", "debian/heimdal-dev/usr/lib/libka"...], [/* 47 vars */]) = -1 ENOENT (No such file or directory)
execve("/homes/bam/bin/linux-gnu/strip", ["strip", "--strip-debug", "debian/heimdal-dev/usr/lib/libka"...], [/* 47 vars */]) = -1 ENOENT (No such file or directory)
execve("/homes/bam/bin/strip", ["strip", "--strip-debug", "debian/heimdal-dev/usr/lib/libka"...], [/* 47 vars */]) = -1 ENOENT (No such file or directory)
execve("/usr/local/bin/strip", ["strip", "--strip-debug", "debian/heimdal-dev/usr/lib/libka"...], [/* 47 vars */]) = -1 ENOENT (No such file or directory)
execve("/usr/bin/X11/strip", ["strip", "--strip-debug", "debian/heimdal-dev/usr/lib/libka"...], [/* 47 vars */]) = -1 ENOENT (No such file or directory)
execve("/usr/bin/strip", ["strip", "--strip-debug", "debian/heimdal-dev/usr/lib/libka"...], [/* 47 vars */]) = 0
brk(0) = 0x8073b04
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=24996, ...}) = 0
old_mmap(NULL, 24996, PROT_READ, MAP_PRIVATE, 4, 0) = 0x40014000
close(4) = 0
open("/usr/lib/libbfd-2.9.5.0.37.so", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=339520, ...}) = 0
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\261"..., 4096) = 4096
old_mmap(NULL, 341156, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x4001b000
mprotect(0x4006a000, 17572, PROT_NONE) = 0
old_mmap(0x4006a000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x4e000) = 0x4006a000
old_mmap(0x4006e000, 1188, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4006e000
close(4) = 0
open("/lib/libdl.so.2", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=9452, ...}) = 0
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\330\34"..., 4096) = 4096
old_mmap(NULL, 12428, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x4006f000
mprotect(0x40071000, 4236, PROT_NONE) = 0
old_mmap(0x40071000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x1000) = 0x40071000
close(4) = 0
open("/lib/libc.so.6", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0755, st_size=887712, ...}) = 0
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\264\213"..., 4096) = 4096
old_mmap(NULL, 902044, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x40073000
mprotect(0x40148000, 29596, PROT_NONE) = 0
old_mmap(0x40148000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0xd4000) = 0x40148000
old_mmap(0x4014c000, 13212, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4014c000
close(4) = 0
munmap(0x40014000, 24996) = 0
personality(PER_LINUX) = 0
getpid() = 8537
brk(0) = 0x8073b04
brk(0x8073b3c) = 0x8073b3c
brk(0x8074000) = 0x8074000
gettimeofday({970443908, 365334}, NULL) = 0
getpid() = 8537
stat("debian/heimdal-dev/usr/lib/stJRWmJA", 0xbffff6cc) = -1 ENOENT (No such file or directory)
brk(0x8075000) = 0x8075000
open("debian/heimdal-dev/usr/lib/libkadm5srv.a", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=71018, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40014000
_llseek(4, 0, [0], SEEK_SET) = 0
read(4, "!<arch>\n/ 97044354"..., 4096) = 4096
_llseek(4, 4096, [4096], SEEK_SET) = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=71018, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40014000
_llseek(4, 0, [0], SEEK_SET) = 0
read(4, "!<arch>\n/ 97044354"..., 4096) = 4096
_llseek(4, 4096, [4096], SEEK_SET) = 0
_llseek(4, 4096, [4096], SEEK_SET) = 0
_llseek(4, 4096, [4096], SEEK_SET) = 0
_llseek(4, 4096, [4096], SEEK_SET) = 0
_llseek(4, 4096, [4096], SEEK_SET) = 0
brk(0x8076000) = 0x8076000
stat("debian/heimdal-dev/usr/lib/stJRWmJA", 0xbffff6fc) = -1 ENOENT (No such file or directory)
open("debian/heimdal-dev/usr/lib/stJRWmJA", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 5
gettimeofday({970443908, 367371}, NULL) = 0
getpid() = 8537
stat("debian/heimdal-dev/usr/lib/st6IZB90", 0xbffff5fc) = -1 ENOENT (No such file or directory)
mkdir("debian/heimdal-dev/usr/lib/st6IZB90", 0700) = 0
_llseek(4, 4096, [4096], SEEK_SET) = 0
write(2, "strip: debian/heimdal-dev/usr/li"..., 62) = 62
unlink("debian/heimdal-dev/usr/lib/stJRWmJA") = 0
_exit(1) = ?
Now it always gives this error:
[534] [snoopy:bam] ~/build/heimdal-0.3c >dh_strip
strip: debian/heimdal-dev/usr/lib/stEEZNgQ: Invalid operation
dh_strip: command returned error code
so obviously, something has changed.
I am guessing that the fact it doesn't work when entered manually,
proves that this isn't a fakeroot issue.
--
Brian May <bam@debian.org>
Reply to: