Source: mgetty Version: 1.1.36-2.1 Severity: important Tags: patch Hi,
mgetty FTBFS on mips64el because it isn't in the list of 64-bit arches in mgetty.h. Full log: http://mipsdebian.imgtec.com/debian/logs/m/mgetty/mgetty_1.1.36-2.1_mips64el-20150115-1451.build.gz Since the code which needs to be updated is actually trying to work out whether sizeof(long) == sizeof(void*), I've attached a patch which just replaces the list of architectures with an #ifdef __LP64__ which should be defined on all arches where longs and pointers are both 64-bit. The patch applies before the 79-arm64 patch (which you can now drop). Thanks, James
diff -ur a/mgetty.h b/mgetty.h --- a/mgetty.h 2015-01-16 14:02:00.000000000 +0000 +++ b/mgetty.h 2015-01-16 14:32:25.879672396 +0000 @@ -196,9 +196,7 @@ * union to use "void *" and "long", instead of "int" (see config.h). * Same for Sparc Ultra machines [at least with SparcLinux] */ -#if defined(__alpha__) || defined(__sparc64__) || \ - defined(__ia64__) || defined(__s390x__) || defined(__x86_64__) || \ - defined(__powerpc64__) +#ifdef __LP64__ # define PTR_IS_LONG #endif

