Package: pax-utils Version: 0.2.3-1 Severity: important Tags: patch User: [email protected] Usertags: hurd
Hi, currently[1], pax-utils fails to build on GNU/Hurd. The problem is that in porting.h, the wrong header for endianness swap macros is chosen (Hurd currently runs on a Mach-based kernel, so __MACH__ is defined too). The easy solution is to make use of the glibc headers. (Tested also on kFreeBSD.) (PS: why do not run the test suite during the build, even in a non-fatal mode?) [1] https://buildd.debian.org/status/fetch.php?pkg=pax-utils&arch=hurd-i386&ver=0.2.3-1&stamp=1317977038 Thanks, -- Pino
--- a/porting.h +++ b/porting.h @@ -39,7 +39,7 @@ #if !defined(__FreeBSD__) # include <alloca.h> #endif -#if defined(__linux__) +#if defined(__linux__) || defined(__GLIBC__) # include <byteswap.h> # include <endian.h> #elif defined(__FreeBSD__)

