Source: erofs-utils
Version: 1.8.1-1
Severity: wishlist

Dear Maintainer,

I noticed that erofs-utils is Architecture: linux-any.
It should probably not be; the ability to make/check/dump erofs
filesystems is also useful on the hurd (&c.).

I tried building erofs-utils as Architecture: any,
and failed because of a PATH_MAX user that didn't include internal.h
(patch for attached (I'll rebase and forward it upstream)
 that's the only build issue AFAICT, and the artifacts seem to work).
Building it like this will help detect this type of issue earlier.

OTOH, the FUSE bit is likely untenable on the Hurd.

Best,

-- System Information:
Debian Release: 12.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'stable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-12-amd64 (SMP w/24 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_FIRMWARE_WORKAROUND, 
TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
--- erofs-utils-1.8.1.orig/lib/exclude.c
+++ erofs-utils-1.8.1/lib/exclude.c
@@ -8,6 +8,7 @@
 #include "erofs/list.h"
 #include "erofs/print.h"
 #include "erofs/exclude.h"
+#include "erofs/internal.h"
 
 #define EXCLUDE_RULE_EXACT_SIZE        offsetof(struct erofs_exclude_rule, reg)
 #define EXCLUDE_RULE_REGEX_SIZE        sizeof(struct erofs_exclude_rule)

Attachment: signature.asc
Description: PGP signature

Reply via email to