Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 946817 - dev-vcs/git-2.47.1: t/unit-tests/clar/clar.c:209:10: fatal error: clar.suite: No such file or directory
Summary: dev-vcs/git-2.47.1: t/unit-tests/clar/clar.c:209:10: fatal error: clar.suite:...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: parallel-make
  Show dependency tree
 
Reported: 2024-12-22 12:41 UTC by Michał Górny
Modified: 2024-12-25 23:26 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,284.79 KB, text/plain)
2024-12-22 12:41 UTC, Michał Górny
Details
emerge --info (emerge-info.txt,5.04 KB, text/plain)
2024-12-22 12:41 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-12-22 12:41:43 UTC
Created attachment 914695 [details]
build.log

aarch64-unknown-linux-gnu-gcc -o t/unit-tests/clar/clar.o -c -MF t/unit-tests/clar/.depend/clar.o.d -MQ t/unit-tests/clar/clar.o -MMD -MP    -O2 -pipe -std=gnu17  -I. -DHAVE_SYSINFO -DGIT_HOST_CPU="\"aarch64\"" -DUSE_LIBPCRE2 -DHAVE_ALLOCA_H  -DUSE_CURL_FOR_IMAP_SEND -DSUPPORTS_SIMPLE_IPC -DSHA1_BLK -DSHA256_BLK  -DHAVE_PATHS_H -DHAVE_DEV_TTY -DHAVE_CLOCK_GETTIME -DHAVE_CLOCK_MONOTONIC -DHAVE_SYNC_FILE_RANGE -DHAVE_GETDELIM '-DPROCFS_EXECUTABLE_PATH="/proc/self/exe"' -DFREAD_READS_DIRECTORIES -DNO_STRLCPY -DSHELL_PATH='"/bin/sh"' -It/unit-tests t/unit-tests/clar/clar.c
t/unit-tests/clar/clar.c:209:10: fatal error: clar.suite: No such file or directory
  209 | #include "clar.suite"
      |          ^~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:2819: t/unit-tests/clar/clar.o] Error 1
make: *** Waiting for unfinished jobs....


I'm guessing it's a race.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-12-22 12:41:56 UTC
Created attachment 914696 [details]
emerge --info
Comment 2 Preston Crow 2024-12-25 23:26:52 UTC
MAKEOPTS="-j1" emerge -v dev-vcs/git

That worked.  Leaving my default of -j4 hit this bug consistently.  This confirms that it's a race condition, and give a quick workaround for anyone hitting this until it's fixed.