Date: Mon, 7 Apr 2014 21:00:39 +0200 From: Aleksandar Zlicic Subject: For mips/mipsel ABIO32, define int d_dev as unsigned long int https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=742940 The cause of this problem is that st_dev member of structure stat, defined in /usr/include/mipsel-linux-gnu/bits/stat.h, is expected to be of type dev_t. But for mips/mipsel ABIO32 it is defined as 'unsigned long int'. And dev_t type is defined as 'unsigned long long int'. Same behavior is observed on hurd-i386: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=591386 Attached patch fixes package on mips/mipsel. Index: since-1.1/since.c =================================================================== --- since-1.1.orig/since.c +++ since-1.1/since.c @@ -52,7 +52,13 @@ struct fmt_map{ struct data_file{ int d_fd; char *d_name; +#if defined (__mips__ ) && (_MIPS_SIM == _ABIO32) + unsigned long int d_dev; +#elif defined(__GNU__) + unsigned long long int d_dev; +#else dev_t d_dev; +#endif ino_t d_ino; off_t d_had; off_t d_now;