Skip to content

Commit 71cecf0

Browse files
committed
gh: generate lib/configure before running it in cflite build.sh
lib/configure is produced by autoreconf from lib/configure.ac and is gitignored, not checked into the repository; the top-level ./configure creates it on first use. .clusterfuzzlite/build.sh assumed it already existed and failed immediately in CI ("./configure: No such file or directory") since it only worked locally where it had already been generated by a prior build. Run 'autoreconf -i' first, same as the top-level ./configure does, before invoking lib/configure. Assisted-by: Claude:claude-sonnet-5 Signed-off-by: Xavier Delaruelle <xavier.delaruelle@cea.fr>
1 parent 9633cc3 commit 71cecf0

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

‎.clusterfuzzlite/build.sh‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,20 @@
1616
MODROOT="$SRC/modules"
1717
FUZZDIR="$MODROOT/.clusterfuzzlite"
1818

19+
# lib/configure is generated (gitignored, not checked into the repo);
20+
# the top-level ./configure normally creates it on demand via the same
21+
# 'autoreconf -i' before running it, which we replicate here since we
22+
# only need the C library, not a full top-level configure run.
23+
cd "$MODROOT/lib"
24+
autoreconf -i
25+
1926
# Generate lib/config.h (PACKAGE_NAME, GETGROUPS_T, ...) through the
2027
# project's own TEA-based configure script. --disable-shared
2128
# --disable-stubs turns off USE_TCL_STUBS: the shipped module is a
2229
# stub-linked loadable extension whose Tcl_* calls only resolve once
2330
# Envmodules_Init() runs Tcl_InitStubs(), but these fuzz targets call the
2431
# ObjCmd entry points directly and link against libtcl itself, which
2532
# doesn't export tclStubsPtr/Tcl_InitStubs.
26-
cd "$MODROOT/lib"
2733
TCLCONFDIR=$(dirname "$(find /usr -name tclConfig.sh | head -n1)")
2834
./configure --with-tcl="$TCLCONFDIR" --disable-shared --disable-stubs
2935

‎.hunspell.en.dic‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1515,3 +1515,4 @@ parsedatetimearg
15151515
readfile
15161516
request's
15171517
uid
1518+
gitignored

0 commit comments

Comments
 (0)