On Sat, Nov 17, 2018 at 01:33:19AM +0100, Guillermo Rodriguez Garcia wrote:
> El viernes, 16 de noviembre de 2018, Michael Olbrich <
> m.olbr...@pengutronix.de> escribió:
> 
> > On Fri, Nov 16, 2018 at 12:20:18PM +0100, Guillermo Rodríguez wrote:
> > > Commit bbc978e623cafc added a patch intended to fix building
> > > with OpenJDK 1.8, however that commit was not complete. It is
> > > necessary to run autogen.sh so that the configure script is
> > > regenerated and the patched m4 macros are used.
> > >
> > > Signed-off-by: Guillermo Rodriguez <guille.rodrig...@gmail.com>
> >
> > Unfortunately it's not that simple. The */Makefile.am also need the
> > 1.5 -> 1.6 change. I tried that an then I get lots of errors like this:
> >
> > warning: as of release 9, '_' is a keyword, and may not be used as an
> > identifier
> 
> 
> Uhm, those are not errors, they are warnings (as long as we specify -target
> < 9, which is the case here). Anyway from these messages it looks like you
> are building with OpenJDK9? That is not supposed to work; the intent of the
> patch was to allow building with OpenJDK8... can you check the version of
> javac?

Right, I missed the errors because of all those warnings:
[...]/classpath-0.99/java/util/regex/Matcher.java:623: error: unmappable 
character (0xC2) for encoding US-ASCII
   *??@since 1.5
    ^

There is some white-space there that does not match the selected encoding,
I think. If I replace this with a space, then building the package
succeeds.
So please add the Makefile.am changes to the first patch and create another
to fix this whitespace.

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to