* [PATCH] autoregen.py: handle aclocal
@ 2023-11-15 14:12 Sam James
0 siblings, 0 replies; only message in thread
From: Sam James @ 2023-11-15 14:12 UTC (permalink / raw)
To: buildbot; +Cc: Sam James
We need to run aclocal which came up earlier with the binutils intl/ drop
(syncing with gcc).
The autotools docs recommend not running it manually but the setup we have
is unconventional.
---
builder/containers/autoregen.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/builder/containers/autoregen.py b/builder/containers/autoregen.py
index 9315334..8443551 100755
--- a/builder/containers/autoregen.py
+++ b/builder/containers/autoregen.py
@@ -26,6 +26,8 @@ for folder in sorted(config_folders):
continue;
os.chdir(folder)
configure_lines = open('configure.ac').read().splitlines()
+ if any(True for line in configure_lines if line.startswith('AC_CONFIG_MACRO_DIRS')):
+ subprocess.check_output(f'{ENV} {ACLOCAL_BIN}', shell=True, encoding='utf8')
if any(True for line in configure_lines if line.startswith('AC_CONFIG_HEADERS')):
subprocess.check_output(f'{ENV} {AUTOHEADER_BIN} -f', shell=True, encoding='utf8')
# apparently automake is somehow unstable -> skip it for gotools
--
2.42.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-11-15 14:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-15 14:12 [PATCH] autoregen.py: handle aclocal Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).