Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yegor Yefremov via buildroot <buildroot@buildroot.org>
To: buildroot@buildroot.org
Cc: Shubham Chakraborty <chakrabortyshubham66@gmail.com>,
	"Ernesto L . Williams Jr" <realcontrols@gmail.com>
Subject: [Buildroot] [PATCH 2/2] package/szip: remove package
Date: Tue,  6 Oct 2026 13:07:14 +0200	[thread overview]
Message-ID: <20261006110714.3242851-3-yegorslists@gmail.com> (raw)
In-Reply-To: <20261006110714.3242851-1-yegorslists@gmail.com>

From: Yegor Yefremov <yegorslists@googlemail.com>

szip is not maintained upstream anymore: 2.1.1 is the last release,
there is no public repository, and the source is only available from
the HDF Group archive. Its license is not a standard open source one,
and the HDF Group itself recommends libaec as a replacement.

The package also fails to build with GCC >= 15 on non-glibc
toolchains, as only linux-gnu hosts get -ansi from szip's configure
and the code relies on pre-C23 empty parameter lists:

  rice.c:1323:15: error: too many arguments to function 'winner_ref_function'; expected 0, have 2

libaec provides libsz, a drop-in replacement with the same API and
soname, so select it through the legacy option.

Fixes:
  https://autobuild.buildroot.org/results/5e400d0e13480c58e8b1b0178bf7e5537dd31751

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Assisted-by: Claude:claude-opus-5-5
---
 Config.in.legacy       |  9 +++++++++
 DEVELOPERS             |  3 ---
 package/Config.in      |  1 -
 package/szip/Config.in | 16 ----------------
 package/szip/szip.hash |  3 ---
 package/szip/szip.mk   | 13 -------------
 6 files changed, 9 insertions(+), 36 deletions(-)
 delete mode 100644 package/szip/Config.in
 delete mode 100644 package/szip/szip.hash
 delete mode 100644 package/szip/szip.mk

diff --git a/Config.in.legacy b/Config.in.legacy
index 9ba6ab243e..07d6a7b2f1 100644
--- a/Config.in.legacy
+++ b/Config.in.legacy
@@ -146,6 +146,15 @@ endif
 
 comment "Legacy options removed in 2026.11"
 
+config BR2_PACKAGE_SZIP
+	bool "szip has been removed"
+	select BR2_LEGACY
+	select BR2_PACKAGE_LIBAEC
+	help
+	  The szip package has been removed, as it is no longer
+	  maintained upstream. libaec, which provides a drop-in
+	  replacement libsz library, has been selected instead.
+
 config BR2_PACKAGE_PYTHON3_2TO3
 	bool "python module 2to3 has been removed"
 	select BR2_LEGACY
diff --git a/DEVELOPERS b/DEVELOPERS
index bde955ec6a..d96fb11051 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -974,9 +974,6 @@ F:	package/imx-mkimage/
 N:	Erik Stromdahl <erik.stromdahl@gmail.com>
 F:	package/mxsldr/
 
-N:	Ernesto L. Williams Jr <realcontrols@gmail.com>
-F:	package/szip/
-
 N:	Esben Haabendal <esben@haabendal.dk>
 F:	package/python-kiwisolver/
 
diff --git a/package/Config.in b/package/Config.in
index 0585bacccf..2a0c59b90f 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1630,7 +1630,6 @@ menu "Compression and decompression"
 	source "package/minizip/Config.in"
 	source "package/minizip-zlib/Config.in"
 	source "package/snappy/Config.in"
-	source "package/szip/Config.in"
 	source "package/zchunk/Config.in"
 	source "package/zlib/Config.in"
 	source "package/zziplib/Config.in"
diff --git a/package/szip/Config.in b/package/szip/Config.in
deleted file mode 100644
index 5a24362f29..0000000000
--- a/package/szip/Config.in
+++ /dev/null
@@ -1,16 +0,0 @@
-config BR2_PACKAGE_SZIP
-	bool "szip"
-	help
-	  Szip is an implementation of the extended-Rice lossless
-	  compression algorithm.
-
-	  The Consultative Committee on Space Data Systems (CCSDS) has
-	  adopted the extended-Rice algorithm for international
-	  standards for space applications[1,6,7]. Szip is reported to
-	  provide fast and effective compression, specifically for the
-	  EOS data generated by the NASA Earth Observatory System
-	  (EOS)[1]. It was originally developed at University of New
-	  Mexico (UNM) and integrated with HDF4 by UNM researchers and
-	  developers.
-
-	  http://www.hdfgroup.org/doc_resource/SZIP
diff --git a/package/szip/szip.hash b/package/szip/szip.hash
deleted file mode 100644
index 5d3ee042f9..0000000000
--- a/package/szip/szip.hash
+++ /dev/null
@@ -1,3 +0,0 @@
-# Locally computed
-sha256  21ee958b4f2d4be2c9cabfa5e1a94877043609ce86fde5f286f105f7ff84d412  szip-2.1.1.tar.gz
-sha256  98cc66747133b26563fefc4630ad4c8c7848c722c7b8a60ecd4afbc4c7d7eb01  COPYING
diff --git a/package/szip/szip.mk b/package/szip/szip.mk
deleted file mode 100644
index 869fc9c358..0000000000
--- a/package/szip/szip.mk
+++ /dev/null
@@ -1,13 +0,0 @@
-################################################################################
-#
-# szip
-#
-################################################################################
-
-SZIP_VERSION = 2.1.1
-SZIP_SITE = https://docs.hdfgroup.org/archive/support/ftp/lib-external/szip/$(SZIP_VERSION)/src
-SZIP_LICENSE = szip license
-SZIP_LICENSE_FILES = COPYING
-SZIP_INSTALL_STAGING = YES
-
-$(eval $(autotools-package))
-- 
2.34.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  parent reply	other threads:[~2026-10-06 11:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-06 11:07 [Buildroot] [PATCH 0/2] package/szip: replace with libaec Yegor Yefremov via buildroot
2026-10-06 11:07 ` [Buildroot] [PATCH 1/2] package/libaec: new package Yegor Yefremov via buildroot
2026-10-06 11:07 ` Yegor Yefremov via buildroot [this message]
2026-10-11  7:07 ` [Buildroot] [PATCH 0/2] package/szip: replace with libaec Thomas Petazzoni via buildroot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261006110714.3242851-3-yegorslists@gmail.com \
    --to=buildroot@buildroot.org \
    --cc=chakrabortyshubham66@gmail.com \
    --cc=realcontrols@gmail.com \
    --cc=yegorslists@googlemail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox