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

Re: git can not be built for s390x since update to git-2.38.0

From
Todd Zullinger <tmz@pobox.com>
Date
Nov 7, 2022, 00:41 UTC
Message-ID
<Y2hUSDlW/mChgotU@pobox.com>
In-Reply-To
<64b10e7e-2807-8ae5-88c7-3df7f6f1f3bd@opensuse.org>
Sarah Julia Kriesch wrote:
Show 6 quoted lines
> Thank you for the hint, that it is working for Fedora!
> I have compared your spec file with ours and found, that you have got a
> BuildRequires for jgit only for s390x.
> 
> That has solved the problem. Is there any special reason, that s390x needs
> jgit for git builds?

It's the opposite -- but the rpm conditional is quite long and ugly though, so it's not as clear it could be. It excludes jgit for the test suite entirely on Fedora 35 and newer¹.

On prior releases, it was excluded for x86 and s390x architectures. For s390x, the issue was that the jgit daemon frequently hung on during builds and was painful to try and debug without access to the architecture. (For the few tests which use jgit, it was simpler to just not test on s390x).

¹ Every few releases (it seems), some part of the java
  dependency chain gets close to being dropped from the
  distribution.  After disabling and enalbing jgit several
  times, I've left it disabled, even though jgit has managed
  to remain in Fedora.  As much as I'd like to run the
  compatibilty tests, I don't like the "OMG, git will be
  removed from Fedora because some dependency of jgit is
  going away!" every couple of releases. :)
-- 
Todd
Previous: Eric Sunshine
Message 6 of 6 in “Re: git can not be built for s390x since update to git-2.38.0”
  1. Sarah Julia KrieschNov 6, 2022
  2. Sarah Julia KrieschNov 6, 2022
  3. Eric SunshineNov 6, 2022
  4. Todd ZullingerNov 7, 2022
  5. Eric SunshineNov 22, 2022
  6. Todd ZullingerNov 7, 2022

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.