Trying to fix some of the easy TODO items first. I've noticed that the
referenced commit in the TODO file had ftruncate in the excluded
modules list. I've not added it back since that seems to be intended
[1].
[1]
https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=5c51e14ad89c9210536aab61836111962b68fb4f
Collin
From 6b0a5a3203f5ef97a92b82756ee61d81103600e5 Mon Sep 17 00:00:00 2001
From: Collin Funk <collin.fu...@gmail.com>
Date: Wed, 28 Feb 2024 16:35:36 -0800
Subject: [PATCH] gnulib-tool.py: Follow gnulib-tool changes, part 32.
Follow gnulib-tool change
2018-10-22 Bruno Haible <br...@clisp.org>
Fix failure of 'gnulib-tool --create-testdir' with all modules.
* pygnulib/GLTestDir.py (GLTestDir.execute): Exclude the 'timevar'
module from --create-testdir with all modules. Update comment.
---
ChangeLog | 9 +++++++++
gnulib-tool.py.TODO | 10 ----------
pygnulib/GLTestDir.py | 11 ++++++-----
3 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 02d22de00f..398d1d5cda 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2024-02-28 Collin Funk <collin.fu...@gmail.com>
+
+ gnulib-tool.py: Follow gnulib-tool changes, part 32.
+ Follow gnulib-tool change
+ 2018-10-22 Bruno Haible <br...@clisp.org>
+ Fix failure of 'gnulib-tool --create-testdir' with all modules.
+ * pygnulib/GLTestDir.py (GLTestDir.execute): Exclude the 'timevar'
+ module from --create-testdir with all modules. Update comment.
+
2024-02-28 Collin Funk <collin.fu...@gmail.com>
gnulib-tool.py: Emit year range on file copyright notices.
diff --git a/gnulib-tool.py.TODO b/gnulib-tool.py.TODO
index 5f4a134edf..905793e0c7 100644
--- a/gnulib-tool.py.TODO
+++ b/gnulib-tool.py.TODO
@@ -729,16 +729,6 @@ Date: Tue Oct 23 00:06:46 2018 +0200
--------------------------------------------------------------------------------
-commit 98993f9d1b2ed03007be9dbcdc6bd9fe2d49777b
-Author: Bruno Haible <br...@clisp.org>
-Date: Mon Oct 22 20:32:41 2018 +0200
-
- Fix failure of 'gnulib-tool --create-testdir' with all modules.
-
- * gnulib-tool (func_create_testdir): Exclude 'timevar' module.
-
---------------------------------------------------------------------------------
-
commit 8b1d4a63e34f3893036d82f39c5680e845de5ddf
Author: Bruno Haible <br...@clisp.org>
Date: Mon Sep 3 21:19:16 2018 +0200
diff --git a/pygnulib/GLTestDir.py b/pygnulib/GLTestDir.py
index bc0b153304..a7fd806d4f 100644
--- a/pygnulib/GLTestDir.py
+++ b/pygnulib/GLTestDir.py
@@ -159,14 +159,15 @@ class GLTestDir(object):
if len(specified_modules) == 0:
# All modules together.
# Except config-h, which breaks all modules which use HAVE_CONFIG_H.
- # Except non-recursive-gnulib-prefix-hack, which represents a
- # nonstandard way of using Automake.
- # Except mountlist, which aborts the configuration on mingw.
- # Except lib-ignore, which leads to link errors when Sun C++ is used.
+ # Except non-recursive-gnulib-prefix-hack, which represents a nonstandard
+ # way of using Automake.
+ # Except timevar, which lacks the required file timevar.def.
+ # Except mountlist, which aborts the configuration on mingw. FIXME.
+ # Except lib-ignore, which leads to link errors when Sun C++ is used. FIXME.
specified_modules = self.modulesystem.list()
specified_modules = [module
for module in specified_modules
- if module not in ['config-h', 'non-recursive-gnulib-prefix-hack',
+ if module not in ['config-h', 'non-recursive-gnulib-prefix-hack', 'timevar',
'mountlist', 'lib-ignore']]
# Canonicalize the list of specified modules.
--
2.39.2