[PATCH] Fix make check with libtool >= 2.5.3.

6 views
Skip to first unread message

Andreas Metzler

unread,
Jul 26, 2026, 12:11:37 PMJul 26
to wmake...@googlegroups.com
Hello,

with libtool >= 2.5.3 make check fail with:

make[3]: Entering directory '/tmp/WMAKER/wmaker.git'
./script/check-cmdline-options-doc.sh \
--program "./configure" --text-doc "./INSTALL-WMAKER" \
--ignore-prg 'with-PACKAGE,without-PACKAGE # only template names from Autoconf' \
--ignore-prg 'program-prefix,program-suffix,program-transform-name # in INSTALL' \
--ignore-prg 'version,quiet,srcdir,build,host,cache-file,no-create # in INSTALL' \
--ignore-prg 'enable-silent-rules,disable-silent-rules # should be in INSTALL' \
--ignore-prg 'enable-dependency-tracking,disable-dependency-tracking # in INSTALL' \
--ignore-prg 'enable-shared,enable-static # should be in INSTALL' \
--ignore-prg 'disable-option-checking,enable-fast-install # should be in INSTALL' \
--ignore-prg 'disable-libtool-lock,with-pic,with-gnu-ld,with-sysroot # for libtool' \
--ignore-prg 'runstatedir #new in autoconf 2.70, backported in Debian' \
--ignore-prg 'with-aix-soname #new in libtool 2.4.4' \


--ignore-prg 'with-x # no use, it would not work without X'
Warning: program's option does not contain "--with-pic", specified in "--ignore-prg"
Warning: program's option does not contain "--with-aix-soname", specified in "--ignore-prg"
Error: program option '--enable-pic' is not in the documentation './INSTALL-WMAKER'
Error: program option '--enable-aix-soname' is not in the documentation './INSTALL-WMAKER'
make[3]: *** [Makefile:1016: configure-documentation] Error 1
make[3]: Leaving directory '/tmp/WMAKER/wmaker.git'
make[2]: *** [Makefile:810: check-am] Error 2

We have been applying the attched patch in Debian to fix this.

cu Andreas
--
"You people are noisy," Nia said.
I made the gesture of agreement.
76_fix_error_with_libtool_2.5.3.diff

Christophe CURIS

unread,
Jul 26, 2026, 12:39:35 PMJul 26
to Window Maker Devel
Hello,

I am proposing a slightly different version of the patch from Andreas:
- to provide clearer comments in the changes, to better understand why
the version range;
- to try to provide a better title to the commit message;
- to make something git-am-ready

Christophe.


Andreas Metzler (1):
Update the check of configure options in the documentation to cover
options from libtool 2.5.3

Makefile.am | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

--
2.39.2

Christophe CURIS

unread,
Jul 26, 2026, 12:39:39 PMJul 26
to Window Maker Devel
From: Andreas Metzler <amet...@debian.org>

Bug-Debian: https://bugs.debian.org/1092416

---
Makefile.am | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index 3fc0adda..eb80ec7f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -143,7 +143,9 @@ configure-documentation:
--ignore-prg 'disable-option-checking,enable-fast-install # should be in INSTALL' \
--ignore-prg 'disable-libtool-lock,with-pic,with-gnu-ld,with-sysroot # for libtool' \
--ignore-prg 'runstatedir #new in autoconf 2.70, backported in Debian' \
- --ignore-prg 'with-aix-soname #new in libtool 2.4.4' \
+ --ignore-prg 'with-aix-soname # new in libtool 2.4.4 up to 2.5.2' \
+ --ignore-prg 'enable-aix-soname # renamed in libtool 2.5.3' \
+ --ignore-prg 'enable-pic # new in libtool 2.5.3' \
--ignore-prg 'with-x # no use, it would not work without X'

.PHONY: configure-documentation
--
2.39.2

Reply all
Reply to author
Forward
0 new messages