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

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

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 5, 2017, 02:20 UTC
Message-ID
<xmqqd175dgyp.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<CAC-YKd0dDDJ_YkT=+Euqc=AMuTYobV-dWdKHkA5SgKJVKwMeug@mail.gmail.com>
"josephpattara ." <josephpattara@gmail.com> writes:
Show 6 quoted lines
> Firstly, I could see the SHA1 hash was definitely wrong.
> -bash-4.3$ echo foo | ./git hash-object --stdin
> 408935f8873a5ef17ef10cf2a316e51937e90f0b
> ...
> But I can confirm with the adapated source code from HPUX connect and
> using the  OPENSSL_SHA1=Yes I am able to build a working git locally.

I do not know if your HP-UX on Itanium is big/little endian (IIRC it is selectable at the CPU level), but my blind guess is that this might help before building without OPENSSL_SHA1=YesPlease?

        cat >>config.mak <<-\EOF
        BASIC_CFLAGS += -DSHA1DC_FORCE_BIGENDIAN=1
        EOF
Previous: josephpattara .
Message 4 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.