[patch] fix build failure building libjava/classpath/examples

Matthias Klose doko@ubuntu.com
Thu Jul 12 11:20:00 GMT 2007


Andrew Haley schrieb:
> Tom Tromey writes:
>  > >>>>> "Matthias" == Matthias Klose <doko@ubuntu.com> writes:
>  > 
>  > Matthias> The merge of classpath-0.95 did drop the support to build
>  > Matthias> the example files in libjava/classpath/examples. The
>  > Matthias> following patch use the just built compiler with the correct
>  > Matthias> classpath to build the examples.
>  > 
>  > Matthias> Ok for the trunk?
>  > 
>  > Do we really want to build and install the examples?
> 
> No.  Nuke 'em.  :-)
> 
> Andrew.

libjava/classpath/Makefile.am reads:

# lib first, to compile .class files before native code, last examples
SUBDIRS = lib doc external include native resource scripts tools $(EXAMPLESDIR)
DIST_SUBDIRS = lib doc external include native resource scripts tools examples

so these are not built and installed at all. I just discovered this during
packaging, because current versions of the libgcj-doc.deb package do include
these examples.

AFAIU we try to include most things from classpath unmodified, so I'm happy to
keep this patch as a local debian patch; otoh people trying to build these may
see the same failure.

  Matthias



More information about the Java-patches mailing list