On Sun, Aug 29, 2010 at 09:43:34PM +0200, Aurelien Jarno wrote: > On Sun, Aug 29, 2010 at 08:43:32PM +0200, Julien Cristau wrote: > > Package: db4.8 > > Version: 4.8.30-1 > > Severity: serious > > Justification: fails to build from source > > > > configure fails with: > > > configure: error: No unsigned 1-byte integral type > > > > https://buildd.debian.org/fetch.cgi?pkg=db4.8;ver=4.8.30-1;arch=mips;stamp=1282685080 > > > > aurel32 says configure is buggy and doesn't handle java not being > > openjdk (gcj is used on mips), but he didn't have time to > > investigate/fix, so if somebody else can step up that would be nice. > > > > The problem is not specific to mips, sparc64 has the same problem. A > workaround for that is to disable java support. >
The issue is that the configure script tries to determine java include libraries. As we are on a Linux system, it looks for $java_top_directory/include/linux. With openjdk, the java top directory is "/usr/lib/jvm/default-java/" while with gcj it is simply "/usr", so /usr/include/linux get added to the include search path. This causes conflicts with the GNU libc headers. The configure script has a special case when the java top directory is "/usr", but it fails on Debian as we are using relative symlinks: test /usr/lib/jvm/default-java/bin/../../../.. '!=' /usr -- Aurelien Jarno GPG: 1024D/F1BCDB73 [email protected] http://www.aurel32.net -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

