git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
J.josephpattara . <josephpattara@gmail.com>
Date
Sep 1, 2017, 14:04 UTC
Message-ID
<CAC-YKd1sTQLMUZ6k+-4K09=NOa_HaOf1gp8H51VNZjziUrxOfA@mail.gmail.com>
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

Next: Jeff King
Message 1 of 4 in “HP-UX (git-2.14.0) Depot File / Source Code Build throws SHA1 Error”
  1. josephpattara .Sep 1, 2017
  2. Jeff KingSep 1, 2017
  3. josephpattara .Sep 4, 2017
  4. Junio C HamanoSep 5, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.