[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1030553: tup FTBFS on hppa



Package: tup
Tags: patch, ftbfs, hppa
Version: 0.7.11-3

The attached patch fixes the tup build on hppa.
In addition it would make sense that tup is compiled with the "future+lfs" flags
to support large files on large discs on 32-bit builds.
It currently builds with   -D_FILE_OFFSET_BITS=64 but large files is still missing.

Please apply to next upload.

Thanks!
Helge
diff -up ./debian/rules.org ./debian/rules
--- ./debian/rules.org	2023-02-04 22:15:19.619396046 +0000
+++ ./debian/rules	2023-02-04 22:15:59.371776381 +0000
@@ -1,5 +1,5 @@
 #!/usr/bin/make -f
-export DEB_BUILD_MAINT_OPTIONS = hardening=+all qa=+canary
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all qa=+canary future=+lfs
 DPKG_EXPORT_BUILDFLAGS = 1
 include /usr/share/dpkg/default.mk
 
diff -up ./src/tup/platform.c.org ./src/tup/platform.c
--- ./src/tup/platform.c.org	2023-02-04 22:10:17.296503537 +0000
+++ ./src/tup/platform.c	2023-02-04 22:11:02.672937681 +0000
@@ -60,6 +60,8 @@ const char *tup_arch = "arm";
 const char *tup_arch = "arm64";
 #elif __s390x__
 const char *tup_arch = "s390x";
+#elif __hppa__
+const char *tup_arch = "hppa";
 #elif (__riscv || __riscv__) && __riscv_xlen == 64
 const char *tup_arch = "riscv64";
 #elif (__riscv || __riscv__) && __riscv_xlen == 32

Reply to: