Web lists-archives.com

HP-UX (git-2.14.0) Depot File / Source Code Build throws SHA1 Error




Dear HP-UX Git Maintainers,

Sending this email as I was trying to use the HP-UX depot file which
was recently committed to the
http://hpux.connectinternetsolutions.com/hppd/hpux/Development/Tools/git-2.14.0/.
I tried to use the depot file and also attempted to build the code
from the adapted source code (using native HP-UX compiler as mentioned
in Installation Note) from the website.

But unfortunately both of them failed with an error:

Cloning into xxxx...
remote: Counting objects: 19813, done.
remote: Compressing objects: 100% (9124/9124), done.
remote: Total 19813 (delta 10340), reused 16358 (delta 8293)
Receiving objects: 100% (19813/19813), 6.07 MiB | 9.72 MiB/s, done.
fatal: pack is corrupted (SHA1 mismatch)
fatal: index-pack failed

Looking at the dynamic link I can see the below:

_HP_DLDOPTS="-ldd" /usr/bin/git
  /usr/lib/hpux32/libpthread.so =>        /usr/lib/hpux32/libpthread.so
  libpthread.so.1 =>      /usr/lib/hpux32/libpthread.so.1
  libz.so =>      /usr/local/lib/hpux32/libz.so
  libiconv.so =>  /usr/local/lib/hpux32/libiconv.so
  libintl.so =>   /usr/local/lib/hpux32/libintl.so
  libc.so.1 =>    /usr/lib/hpux32/libc.so.1
  libdl.so.1 =>   /usr/lib/hpux32/libdl.so.1

  Until recently we were using the older GIT version for HP-UX 1.8.5.3
and I can see the older GIT had a dynamic link for libcrypto.so.

_HP_DLDOPTS="-ldd" /usr/local/bin/git
  libz.so =>      /usr/local/lib/hpux32/libz.so
  libiconv.so =>  /usr/local/lib/hpux32/libiconv.so
  libintl.so =>   /usr/local/lib/hpux32/libintl.so
  libcrypto.so => /usr/local/lib/hpux32/libcrypto.so
  libc.so.1 =>    /usr/lib/hpux32/libc.so.1
  libdl.so.1 =>   /usr/lib/hpux32/libdl.so.1

The clarification I have is
1. Is the version 2.14.0 from HPUX connect is it really usable (depot
file and also the source code)
2. Was it deliberate to remove the openssl linkage from the new GIT or
am I really missing any special configure or build flags to enable the
libcrypto.so linkage.
3. Is the SHA1 error which I get is it really to do with the missing
libcrypto.so or I am on a wrong inference track?

Thanks and Regards,
Joseph John