Git development
 help / color / mirror / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: git@vger.kernel.org
Subject: git-update-cache:
Date: Tue, 5 Jul 2005 23:02:56 +0200	[thread overview]
Message-ID: <20050705210256.GA28700@mars.ravnborg.org> (raw)

While trying to execute:
git-update-cache -- drivers/Kconfig drivers/net/Kconfig net/Kconfig

I receive the following error:
git-update-cache: symbol lookup error: git-update-cache: undefined
symbol: deflateBound


I have fetched a clean tree from kernel.org, and cloned it using
cg-clone.
Modifications are done in the cloned tree and the error is seen when
trying to do a cg-commit (that does the git-update-cache).

When this error is seen a file .git/index.lock is left and next
invocation of git-update-cache faild due to this but deletes the file.
Third invocation show the same error again.

To my best knowledge I have a working zlib installed.

Any help really appreciated!

	Sam
	

strace appended:

sam@mars ~/linux/net-kconfig $ strace git-update-cache -- drivers/Kconfig drivers/net/Kconfig net/Kconfig > ../z
execve("/home/sam/bin/git-update-cache", ["git-update-cache", "--", "drivers/Kconfig", "drivers/net/Kconfig", "net/Kconfig"], [/* 54 vars */]) = 0
uname({sys="Linux", node="mars", ...})  = 0
brk(0)                                  = 0x8054000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=136714, ...}) = 0
mmap2(NULL, 136714, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40016000
close(3)                                = 0
open("/usr/lib/libz.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\31\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=54416, ...}) = 0
mmap2(NULL, 56204, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40038000
mmap2(0x40044000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb) = 0x40044000
close(3)                                = 0
open("/usr/lib/libcrypto.so.0.9.7", 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 \305\2"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0555, st_size=999412, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40046000
mmap2(NULL, 974584, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40047000
mmap2(0x40120000, 73728, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xd8) = 0x40120000
mmap2(0x40132000, 12024, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40132000
close(3)                                = 0
open("/lib/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\220V\1"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1154496, ...}) = 0
mmap2(NULL, 1088900, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40135000
mprotect(0x40238000, 28036, PROT_NONE)  = 0
mmap2(0x40239000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x103) = 0x40239000
mmap2(0x4023d000, 7556, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4023d000
close(3)                                = 0
open("/lib/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\340\v\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=10592, ...}) = 0
mmap2(NULL, 12392, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4023f000
mmap2(0x40241000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0x40241000
close(3)                                = 0
mprotect(0x40239000, 4096, PROT_READ)   = 0
munmap(0x40016000, 136714)              = 0
open("/dev/urandom", O_RDONLY)          = 3
read(3, "1@\353)", 4)                   = 4
close(3)                                = 0
brk(0)                                  = 0x8054000
brk(0x8075000)                          = 0x8075000
rt_sigaction(SIGINT, {0x804cb30, [INT], SA_RESTART}, {SIG_DFL}, 8) = 0
open(".git/index.lock", O_RDWR|O_CREAT|O_EXCL, 0600) = 3
open(".git/index", O_RDONLY)            = 4
fstat64(4, {st_mode=S_IFREG|0600, st_size=1658992, ...}) = 0
mmap2(NULL, 1658992, PROT_READ|PROT_WRITE, MAP_PRIVATE, 4, 0) = 0x40243000
close(4)                                = 0
lstat64("drivers/Kconfig", {st_mode=S_IFREG|0644, st_size=1030, ...}) = 0
open("drivers/Kconfig", O_RDONLY)       = 4
mmap2(NULL, 1030, PROT_READ, MAP_PRIVATE, 4, 0) = 0x403d9000
close(4)                                = 0
stat64(".git/objects/fb/5c9b2a886518a4bfb0d2e2762fad41a08a5ba7", 0xbf85005c) = -1 ENOENT (No such file or directory)
open(".git/objects/pack", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
getdents64(4, /* 2 entries */, 4096)    = 48
getdents64(4, /* 0 entries */, 4096)    = 0
open(".git/objects/fb/5c9b2a886518a4bfb0d2e2762fad41a08a5ba7", O_RDONLY) = -1 ENOENT (No such file or directory)
gettimeofday({1120596694, 840021}, NULL) = 0
getpid()                                = 28699
open(".git/objects/obj_5s6K76", O_RDWR|O_CREAT|O_EXCL, 0600) = 5
brk(0x80a1000)                          = 0x80a1000
brk(0x80d1000)                          = 0x80d1000
writev(2, [{"git-update-cache", 16}, {": ", 2}, {"symbol lookup error", 19}, {": ", 2}, {"git-update-cache", 16}, {": ", 2}, {"undefined symbol: deflateBound", 30}, {"", 0}, {"", 0}, {"\n", 1}], 10git-update-cache: symbol lookup error: git-update-cache: undefined symbol: deflateBound
) = 88
exit_group(127)                         = ?

             reply	other threads:[~2005-07-05 21:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-05 21:02 Sam Ravnborg [this message]
2005-07-05 22:42 ` git-update-cache: Sam Ravnborg
2005-07-06  1:11   ` git-update-cache: Sam Ravnborg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050705210256.GA28700@mars.ravnborg.org \
    --to=sam@ravnborg.org \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox