On 3/2/21 7:25 PM, Bruno Haible wrote:

$ ./gnulib-tool --create-testdir --dir=../testdir-all --single-configure
gnulib-tool: warning: module parse-datetime2 depends on a module with an 
incompatible license: gettime
...

Thanks for the heads-up; I had forgotten about the parse-datetime special case for licensing. I installed the attached 1-byte patch to work around the issue.
>From 487b9551b63ef936a6be6df38d1c9484cd97810c Mon Sep 17 00:00:00 2001
From: Paul Eggert <egg...@cs.ucla.edu>
Date: Sat, 6 Mar 2021 08:23:48 -0800
Subject: [PATCH] parse-datetime2: fix licensing

Problem reported by Bruno Haible in:
https://lists.gnu.org/r/bug-gnulib/2021-03/msg00017.html
* gnulib-tool (func_get_license): Treat parse-datetime2
(actually, anything starting with "parse-datetime")
like parse-datetime, as far as licenses go.
---
 ChangeLog   | 9 +++++++++
 gnulib-tool | 2 +-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 86c3e04e8..9706d7826 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2021-03-06  Paul Eggert  <egg...@cs.ucla.edu>
+
+	parse-datetime2: fix licensing
+	Problem reported by Bruno Haible in:
+	https://lists.gnu.org/r/bug-gnulib/2021-03/msg00017.html
+	* gnulib-tool (func_get_license): Treat parse-datetime2
+	(actually, anything starting with "parse-datetime")
+	like parse-datetime, as far as licenses go.
+
 2021-03-06  Bruno Haible  <br...@clisp.org>
 
 	free-posix: Update documentation.
diff --git a/gnulib-tool b/gnulib-tool
index 2ba5dec65..23b2c4456 100755
--- a/gnulib-tool
+++ b/gnulib-tool
@@ -2683,7 +2683,7 @@ func_get_license ()
       ;;
   esac
   case "$1" in
-    parse-datetime )
+    parse-datetime* )
       # These modules are under a weaker license only for the purpose of some
       # users who hand-edit it and don't use gnulib-tool. For the regular
       # gnulib users they are under a stricter license.
-- 
2.27.0

Reply via email to