Skip to contentSkip to conversation

package/libargtable2: Remove package

PATCH In review Bernd Kuhls 2 participants 2 messages Nov 27, 2025 – Nov 30, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libargtable2: Remove package

The last release dates back to 2012[1], no other package depends on libargtable2 and the successor package libargtable3 is not backward-
compatible: https://www.argtable.org/

Due to build errors with newer gcc

/home/autobuild/autobuild/instance-15/output-1/host/microblazeel-buildroot-linux-musl/sysroot/usr/include/unistd.h:127:5:
error: conflicting types for 'getopt'; have 'int(int, char * const*, const char *)'
127 | int getopt(int, char * const [], const char *);

we remove the package from buildroot.

Fixes:
https://autobuild.buildroot.net/results/e6c/e6c039cb92fecbd93a91d2d1dab68e803875e62c/

[1] https://sourceforge.net/projects/argtable/files/argtable/

---
 Config.in.legacy                              |  6 +++++
 package/Config.in                             |  1 -
 .../libargtable2/0001-apply-uint-patch.patch  | 25 -------------------
 package/libargtable2/Config.in                |  7 ------
 package/libargtable2/libargtable2.hash        |  3 ---
 package/libargtable2/libargtable2.mk          | 21 ----------------
 6 files changed, 6 insertions(+), 57 deletions(-)
 delete mode 100644 package/libargtable2/0001-apply-uint-patch.patch
 delete mode 100644 package/libargtable2/Config.in
 delete mode 100644 package/libargtable2/libargtable2.hash
 delete mode 100644 package/libargtable2/libargtable2.mk
Config.in.legacy +6 -0
index 36296ca843..81396a2ce7 100644
@@ -146,6 +146,12 @@ endif
 
 comment "Legacy options removed in 2025.11"
 
+config BR2_PACKAGE_LIBARGTABLE2
+	bool "libargtable2 has been removed"
+	select BR2_LEGACY
+	help
+	  libargtable2 is unmaintained and has been removed
+
 config BR2_PACKAGE_OLA
 	bool "ola has been removed"
 	select BR2_LEGACY
package/Config.in +0 -1
index 12f327cb27..83414b3e0b 100644
@@ -2205,7 +2205,6 @@ menu "Other"
 	source "package/jemalloc/Config.in"
 	source "package/lapack/Config.in"
 	source "package/libabseil-cpp/Config.in"
-	source "package/libargtable2/Config.in"
 	source "package/libatomic_ops/Config.in"
 	source "package/libavl/Config.in"
 	source "package/libb64/Config.in"
package/libargtable2/0001-apply-uint-patch.patch deleted +0 -25
deleted file mode 100644
index fed0307852..0000000000
@@ -1,25 +0,0 @@
-From 3fe1ce4d7aa7c4fc16471a9ab023ecf6628c2f11 Mon Sep 17 00:00:00 2001
-From: Chris McClelland <[email protected]>
-Date: Thu, 12 Nov 2020 14:18:27 +0000
-Subject: [PATCH] Apply uint patch
-
-Upstream: https://github.com/makestuff/libargtable2/commit/3fe1ce4d7aa7c4fc16471a9ab023ecf6628c2f11
-[thomas: strip to only have the include]
-Signed-off-by: Thomas Perale <[email protected]>
----
- src/arg_int.c     |  2 ++
- 1 files changed, 2 insertions(+)
-
-diff --git a/src/arg_int.c b/src/arg_int.c
-index 29c20e5..c51706a 100644
---- a/src/arg_int.c
-+++ b/src/arg_int.c
-@@ -24,6 +24,8 @@ USA.
- #include "config.h"
- #endif
- 
-+#include <ctype.h>
-+
- /* #ifdef HAVE_STDLIB_H */
- #include <stdlib.h>
- /* #endif */
package/libargtable2/Config.in deleted +0 -7
deleted file mode 100644
index 42d067becd..0000000000
@@ -1,7 +0,0 @@
-config BR2_PACKAGE_LIBARGTABLE2
-	bool "libargtable2"
-	help
-	  A greatly simplified and yet quite robust argument parsing
-	  set of library calls.
-
-	  http://argtable.sourceforge.net/
package/libargtable2/libargtable2.hash deleted +0 -3
deleted file mode 100644
index 7df3a18041..0000000000
@@ -1,3 +0,0 @@
-# Locally computed:
-sha256  8f77e8a7ced5301af6e22f47302fdbc3b1ff41f2b83c43c77ae5ca041771ddbf  argtable2-13.tar.gz
-sha256  d7bf9d064ac3e5840f9dd02422b7eeec4f1fd03f37fadbd043602be5e882304f  COPYING
package/libargtable2/libargtable2.mk deleted +0 -21
deleted file mode 100644
index d033e28f40..0000000000
@@ -1,21 +0,0 @@
-################################################################################
-#
-# libargtable2
-#
-################################################################################
-
-LIBARGTABLE2_MAJOR_VERSION = 2
-LIBARGTABLE2_MINOR_VERSION = 13
-LIBARGTABLE2_VERSION = $(LIBARGTABLE2_MAJOR_VERSION).$(LIBARGTABLE2_MINOR_VERSION)
-LIBARGTABLE2_SOURCE = argtable2-$(LIBARGTABLE2_MINOR_VERSION).tar.gz
-LIBARGTABLE2_SITE = http://downloads.sourceforge.net/project/argtable/argtable/argtable-$(LIBARGTABLE2_VERSION)
-LIBARGTABLE2_INSTALL_STAGING = YES
-LIBARGTABLE2_CONF_OPTS = \
-	--disable-example \
-	--disable-kernel-module \
-	--enable-lib \
-	--enable-util
-LIBARGTABLE2_LICENSE = LGPL-2.0+
-LIBARGTABLE2_LICENSE_FILES = COPYING
-
-$(eval $(autotools-package))
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 12 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Bernd" == Bernd Kuhls <[email protected]> writes:

The last release dates back to 2012[1], no other package depends on libargtable2 and the successor package libargtable3 is not backward-
compatible: https://www.argtable.org/

Due to build errors with newer gcc

/home/autobuild/autobuild/instance-15/output-1/host/microblazeel-buildroot-linux-musl/sysroot/usr/include/unistd.h:127:5:
error: conflicting types for 'getopt'; have 'int(int, char * const*, const char *)'
127 | int getopt(int, char * const [], const char *);

Quoted 8 lines

we remove the package from buildroot.

Fixes:
https://autobuild.buildroot.net/results/e6c/e6c039cb92fecbd93a91d2d1dab68e803875e62c/

[1] https://sourceforge.net/projects/argtable/files/argtable/

That issue could probably be fairly easily patched, but there are indeed no in-tree users and it is ancient.

Committed, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot