[Pkg-db-devel] Bug#532555: db4.6: pathological java include dirs when javac's path is a relative symlink

Steve Langasek steve.langasek at canonical.com
Wed Jun 10 02:29:17 UTC 2009


Source: db4.6
Version: 4.6.21-13
Severity: important
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch karmic

The current version of db4.6 is failing to build in Ubuntu because the java
include path detection winds up putting /usr/include/linux on the compiler's
commandline.  This certainly shouldn't be there, but it ends up there
because the java include macro can't detect that a relative symlink points
at /usr/bin.

The attached patch corrects this, and should be applicable to Debian as well
even though the package doesn't appear to have FTBFS yet.  It doesn't appear
to have affected db4.7, though, so perhaps the better solution here is to
just deprecate db4.6 faster for squeeze.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: db4.6-kooky-java.patch
Type: text/x-diff
Size: 772469 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-db-devel/attachments/20090609/85fd384b/attachment-0001.patch>


More information about the Pkg-db-devel mailing list