Package: e2fsprogs
Version: 1.38+1.39-WIP-2006.03.29-2
Severity: serious

Hello,

when building 'e2fsprogs' on amd64/unstable, I get the following error:

make[4]: Leaving directory 
`/e2fsprogs-1.38+1.39-WIP-2006.03.29/debian/BUILD-STD/lib/blkid'
        CC /e2fsprogs-1.38+1.39-WIP-2006.03.29/lib/blkid/cache.c
        CC /e2fsprogs-1.38+1.39-WIP-2006.03.29/lib/blkid/dev.c
        CC /e2fsprogs-1.38+1.39-WIP-2006.03.29/lib/blkid/devname.c
In file included from /usr/include/asm/types.h:8,
                 from /usr/include/linux/types.h:9,
                 from /usr/include/libdevmapper.h:23,
                 from 
/e2fsprogs-1.38+1.39-WIP-2006.03.29/lib/blkid/devname.c:42:
/usr/include/asm-x86_64/types.h:23: error: conflicting types for '__s64'
../../lib/blkid/blkid_types.h:18: error: previous declaration of '__s64' was 
here
/usr/include/asm-x86_64/types.h:24: error: conflicting types for '__u64'
../../lib/blkid/blkid_types.h:19: error: previous declaration of '__u64' was 
here
make[3]: *** [devname.o] Error 1
make[3]: Leaving directory 
`/e2fsprogs-1.38+1.39-WIP-2006.03.29/debian/BUILD-STD/lib/blkid'

With the attached patch 'e2fsprogs' can be compiled on amd64.

Regards
Andreas Jochens

diff -urN ../tmp-orig/e2fsprogs-1.38+1.39-WIP-2006.03.29/lib/blkid/devname.c 
./lib/blkid/devname.c
--- ../tmp-orig/e2fsprogs-1.38+1.39-WIP-2006.03.29/lib/blkid/devname.c  
2006-03-19 19:53:35.000000000 +0000
+++ ./lib/blkid/devname.c       2006-04-01 06:55:49.000000000 +0000
@@ -36,12 +36,12 @@
 #endif
 #include <time.h>
 
-#include "blkidP.h"
-
 #ifdef HAVE_DEVMAPPER
 #include <libdevmapper.h>
 #endif
 
+#include "blkidP.h"
+
 /*
  * Find a dev struct in the cache by device name, if available.
  *


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to