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

Re: [RFC]: Test Were failing on Fedora Linux.

From
Todd Zullinger <tmz@pobox.com>
Date
Nov 9, 2024, 16:05 UTC
Message-ID
<Zy-IYwjb_RO5NW-s@teonanacatl.net>
In-Reply-To
<CAPSxiM_h2yEZcUPP33q8HHdn6kqq7SbvzNq8eEFda81ZgY6R2w@mail.gmail.com>
Usman Akinyemi wrote:
Show 13 quoted lines
> On Sat, Nov 9, 2024 at 9:35 AM Andreas Schwab <schwab@linux-m68k.org> wrote:
>>
>> On Nov 09 2024, Christian Couder wrote:
>>
>>> Yeah, not sure why it doesn't work while you have it.
>>
>> It's probably of the wrong architecture.
> Hi Andreas,
> Thanks for responding.
> It was actually the wrong Architecture. Thank you. Just curious, any
> reason why the 32bit was present instead of the
> 64bit ?, I will normally think the operating system should ship 64bit
> by default.

The 64-bit libc_malloc_debug.so.0 is in /lib64 and was moved to the glibc-utils package in Fedora 40, with 2c1b0f0 (Move memory tracing libraries to glibc-utils, 2024-05-15)¹. The commit message notes:

    On x86_64, glibc-utils will now only contain the 64-bit
    version of these libraries but still need the 32-bit
    version (in order to support tracing i686 applications).
    Therefore, on i686 the libraries remain in the main
    glibc package.

If you're interested in installing the various dependencies needed to run the test suite on Fedora, take a look at the Fedora git package spec file².

The BuildRequires contain a substantial set of dependencies which enable as many of the tests as practical to run when building the packages (I believe more tests are run there than are run in the git project's CI for most runs, actually :).

See also the %check section of the test suite for some tests which are skipped and other comments which might be useful.

¹ https://src.fedoraproject.org/rpms/glibc/c/2c1b0f0 ² https://src.fedoraproject.org/rpms/git/blob/rawhide/f/git.spec

-- 
Todd
Previous: Usman AkinyemiNext: Jeff King
Message 7 of 18 in “[RFC]: Test Were failing on Fedora Linux.”
  1. Usman AkinyemiNov 9, 2024
  2. Christian CouderNov 9, 2024
  3. Usman AkinyemiNov 9, 2024
  4. Christian CouderNov 9, 2024
  5. Andreas SchwabNov 9, 2024
  6. Usman AkinyemiNov 9, 2024
  7. Todd ZullingerNov 9, 2024
  8. Jeff KingNov 9, 2024
  9. Usman AkinyemiNov 9, 2024
  10. Junio C HamanoNov 11, 2024
  11. test-lib: check malloc debug LD_PRELOAD before usingJeff King, Nov 11, 2024
  12. Toon ClaesNov 13, 2024
  13. Jeff KingNov 14, 2024
  14. 2/1 test-lib: move malloc-debug setup after $PATH setupJeff King, Nov 14, 2024
  15. Toon ClaesNov 20, 2024
  16. Junio C HamanoNov 20, 2024
  17. Usman AkinyemiNov 9, 2024
  18. Usman AkinyemiNov 9, 2024

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.