Package: liblinux-inotify2-perl Version: 1.01-1 Severity: important Tags: patch
Your package doesn't support mips and mipsel. A patch is below. Thiemo: is __mips__ okay in this case or how can I check for O32? With it applied I get: (sid)369:[EMAIL PROTECTED]: ..iblinux-inotify2-perl-1.01] make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00_load.......ok t/01_inotify....ok All tests successful. Files=2, Tests=6, 1 wallclock secs ( 0.47 cusr + 0.14 csys = 0.61 CPU) > Automatic build of liblinux-inotify2-perl_1.01-1 on bigsur by sbuild/mips > 1.106 ... > cc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN > -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -Wall -g -O2 -DVERSION=\"1.01\" > -DXS_VERSION=\"1.01\" -fPIC "-I/usr/lib/perl/5.8/CORE" Inotify2.c > In file included from Inotify2.xs:11: > inotify-syscalls.h:43:3: error: #error "Unsupported architecture!" > In file included from Inotify2.xs:11: > inotify-syscalls.h: In function 'inotify_init': > inotify-syscalls.h:48: error: '__NR_inotify_init' undeclared (first use in > this function) > inotify-syscalls.h:48: error: (Each undeclared identifier is reported only > once > inotify-syscalls.h:48: error: for each function it appears in.) > inotify-syscalls.h: In function 'inotify_add_watch': > inotify-syscalls.h:53: error: '__NR_inotify_add_watch' undeclared (first use > in this function) > inotify-syscalls.h: In function 'inotify_rm_watch': > inotify-syscalls.h:58: error: '__NR_inotify_rm_watch' undeclared (first use > in this function) > Inotify2.c: In function 'XS_Linux__Inotify2_inotify_blocking': > Inotify2.c:104: warning: unused variable 'targ' > Inotify2.c:103: warning: unused variable 'RETVAL' > Inotify2.xs: In function 'XS_Linux__Inotify2_inotify_read': > Inotify2.xs:69: warning: suggest explicit braces to avoid ambiguous 'else' > make[1]: *** [Inotify2.o] Error 1 --- inotify-syscalls.h~ 2006-03-25 13:41:40.000000000 +0000 +++ inotify-syscalls.h 2006-03-25 13:46:57.000000000 +0000 @@ -39,6 +39,14 @@ # define __NR_inotify_init 290 # define __NR_inotify_add_watch 291 # define __NR_inotify_rm_watch 292 +#elif defined (__mips__) +/* + * Linux o32 style syscalls are in the range from 4000 to 4999. + */ +#define __NR_Linux 4000 +#define __NR_inotify_init (__NR_Linux + 284) +#define __NR_inotify_add_watch (__NR_Linux + 285) +#define __NR_inotify_rm_watch (__NR_Linux + 286) #else # error "Unsupported architecture!" #endif -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

