git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Building GIT on HP-UX: "make test" fails
@ 2009-08-03 10:54 Ulrich Windl
  2009-08-03 14:54 ` Alex Riesen
  0 siblings, 1 reply; 3+ messages in thread
From: Ulrich Windl @ 2009-08-03 10:54 UTC (permalink / raw)
  To: git

(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 status

Eventually 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-08-04  6:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-03 10:54 Building GIT on HP-UX: "make test" fails Ulrich Windl
2009-08-03 14:54 ` Alex Riesen
2009-08-04  6:39   ` Ulrich Windl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).