Building GIT on HP-UX: "make test" fails
- From
- Ulrich Windl <ulrich.windl@rz.uni-regensburg.de>
- Date
- Aug 3, 2009, 10:54 UTC
- Message-ID
- <4A76DDEE.6699.119A5FD@Ulrich.Windl.rkdvmks1.ngate.uni-regensburg.de>
(not subscribed, so please CC: replies to me, please (if replies go to the list)) Hello,
I've tried to build GIT (git-1.6.2.5) on HP-UX 11.31 (IA64) using "gcc (GCC) 4.2.1". Unfortunately the "make test" failed after build. Here are some details:
Configure command: ./configure CC=gcc LIBS="-L../gzip-1.3.12/lib -lgzip" --prefix=/usr/local
(There were problems with "-lz" which seems to be "-lgzip" for recent builds; I had to manually edit the Makefile) [...] checking for deflateBound in -lz... no [...] Is the configure program expected to continue if there is no "-lz"?
"-lz" problem:
% make all
LINK git-fast-import
ld: Can't find library for -lz
Fatal error.
collect2: ld returned 1 exit statusEventually the build succeeded, but there was one warning: daemon.c: In function 'service_loop': daemon.c:855: warning: passing argument 3 of 'accept' from incompatible pointer type
Line is: int incoming = accept(pfd[i].fd, (struct sockaddr *)&ss, &sslen);
HP-UX manual has this prototype: int accept(int s, void *addr, int *addrlen);
Here is the end of "make test":
[...]
*** t0100-previous.sh ***
* ok 1: branch -d @{-1}
* ok 2: branch -d @{-12} when there is not enough switches yet
* FAIL 3: merge @{-1} git checkout A &&
test_commit B &&
git checkout A &&
test_commit C &&
git branch -f master B &&
git branch -f other &&
git checkout other &&
git checkout master &&
git merge @{-1} &&
git cat-file commit HEAD | grep "Merge branch 'other'"* FAIL 4: merge @{-1} when there is not enough switches yet git reflog expire --expire=now &&
git checkout -f master &&
git reset --hard B &&
git branch -f other C &&
git checkout other &&
git checkout master &&
test_must_fail git merge @{-12}* failed 2 among 4 test(s) make[2]: *** [t0100-previous.sh] Error 1 [...]
I can try some simple things fixing the problem, but I don't have an Internet connection at that machine.
Regards, Ulrich