Source: squashfs-tools-ng Version: 0.8-1 Severity: wishlist Tags: patch User: debian-h...@lists.debian.org Usertags: hurd
Hi, squashfs-tools-ng is not build on Hurd, most probably because its packaging was derived from squashfs-tools. OTOH, squashfs-tools-ng is a brand new implementation, and indeed it seems to build and work fine also on Hurd. The only issue I found was a missing include, and opened a PR [1] that was just merged [2] -- fix attached. In addition, simplify the debian/control by enabling squashfs-tools-ng on any architecture. [1] https://github.com/AgentD/squashfs-tools-ng/pull/36 [2] https://github.com/AgentD/squashfs-tools-ng/commit/027a17b2714c7db6c1824142547afaa0d1ee27e8 Thanks, -- Pino
>From 027a17b2714c7db6c1824142547afaa0d1ee27e8 Mon Sep 17 00:00:00 2001 From: Pino Toscano <toscano.p...@tiscali.it> Date: Tue, 31 Dec 2019 11:48:02 +0100 Subject: [PATCH] Include sys/sysmacros.h on any GNU libc platform sys/sysmacros.h is an implementation of GNU libc, so include it unconditionally when that libc is used. Signed-off-by: Pino Toscano <toscano.p...@tiscali.it> --- include/compat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/compat.h b/include/compat.h index 9051d88..5f73158 100644 --- a/include/compat.h +++ b/include/compat.h @@ -150,7 +150,7 @@ int chdir(const char *path); #include <unistd.h> #include <fcntl.h> -#ifdef __linux__ +#if defined(__linux__) || defined(__GLIBC__) #include <sys/sysmacros.h> #endif #endif -- 2.24.1
--- a/debian/control +++ b/debian/control @@ -7,7 +7,7 @@ Standards-Version: 4.4.1 Homepage: https://github.com/AgentD/squashfs-tools-ng Package: squashfs-tools-ng -Architecture: linux-any kfreebsd-any +Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Description: New set of tools for working with SquashFS images SquashFS is a highly compressed read-only filesystem for Linux, optimized @@ -31,7 +31,7 @@ Description: New set of tools for workin SELinux labels. Package: libsquashfs0 -Architecture: linux-any kfreebsd-any +Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Description: New set of tools for working with SquashFS images - shared library SquashFS is a highly compressed read-only filesystem for Linux, optimized @@ -59,7 +59,7 @@ Description: New set of tools for workin Package: libsquashfs-dev -Architecture: linux-any kfreebsd-any +Architecture: any Depends: ${misc:Depends} Description: New set of tools for working with SquashFS images - development SquashFS is a highly compressed read-only filesystem for Linux, optimized