Package: db2 Severity: serious Version: 2:2.7.7.0-9 >From my build log (reproduced using pbuilder in an i386 chroot):
... gcc -O2 -I. -I./include -include ./compat.h -c -fPIC -o os_map.os os/os_map.c gcc -O2 -I. -I./include -include ./compat.h -c -fPIC -o os_oflags.os os/os_oflags.c os/os_oflags.c: In function '__db_oflags': os/os_oflags.c:48: error: label at end of compound statement make[1]: *** [os_oflags.os] Error 1 make[1]: Leaving directory `/tmp/buildd/db2-2.7.7.0/build-tree/db2' make: *** [stampdir/build] Error 2 Unfortunately, since this is in build-tree/db2 instead of build-tree/db-2.7.7, I can't figure out how to get dbs to patch this file. Anyway, the patch to that file is attached. -- System Information: Debian Release: testing/unstable Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.11-9-amd64-k8 Locale: LANG=en, LC_CTYPE=en (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8) -- Daniel Schepler "Please don't disillusion me. I [EMAIL PROTECTED] haven't had breakfast yet." -- Orson Scott Card
diff -urN db2/os/os_oflags.c db2.new/os/os_oflags.c --- db2/os/os_oflags.c 1999-06-07 18:09:37.000000000 +0000 +++ db2.new/os/os_oflags.c 2005-07-15 22:01:53.000000000 +0000 @@ -44,6 +44,7 @@ case O_RDWR: break; default: /* Bogus flags value from user. */ + break; /* XXX no way to return error from here */ } if (oflags & O_CREAT)