← Back to team overview

openjdk team mailing list archive

Bug#675495: Bug#675834: hsqldb: FTBFS: The import java.sql.SQLFeatureNotSupportedException cannot be resolved

 

On Sun, Jun 03, 2012 at 06:07:33PM +0200, Rene Engelhard wrote:
> On Sun, Jun 03, 2012 at 05:44:59PM +0200, Christoph Egger wrote:
>> Your package failed to build on the kfreebsd-* buildds:

> More: s/on the kfreebsd-* buildds/with gcj/

> Interesting. This should be JAVA7 only:

> +//#ifdef JAVA7
> +    public Logger getParentLogger() throws SQLFeatureNotSupportedException
> +    {
> +        throw new SQLFeatureNotSupportedException("Not supported yet.");
> +    }
> +
> +//#endif JAVA7

It should, but is not, because the way the preprocessing was applied
is buggy.

See http://cgit.freedesktop.org/libreoffice/core/commit/?id=69273cdd675b205b6f47e9aab2872901c03be578

> But maybe we should just stop the native compilation, which makes this a pure
> _all package and then it can build everywjere (and we can then ignore that this
> is not building on gcj archs as noone seriously will build there for _all
> packages)

I'd rather avoid a situation where one of our arches cannot build one
of the packages that it ships: this makes users of this arch unable to
patch their package, and thus to make use of the software freedom.

-- 
Lionel