CFT: print/pdftk port compiled with Java compiler from gcc 4.5

Tsurutani Naoki turutani at scphys.kyoto-u.ac.jp
Thu Apr 22 07:58:23 UTC 2010


Greg Larkin <glarkin at freebsd.org> wrote:

> As far as I can tell, this error is caused by the LANG setting which
> changes the line:
> 
> 	if (value.startsWith("\""))
> 
> into something that results an unterminated string.  I suppose the
> backslash loses its meaning as an escape character.
> 
> I found some references to the same error in Google, posted by folks
> trying to compile software with different LANG settings.  I haven't
> found a general fix yet, but maybe it can be done by building a
> character string from individual, unescaped characters, then converting
> them to a java.lang.String object for use in the .startsWith() function.
> 
> If you could submit a PR to support building with LANG=ja_JP.eucJP, I
> would be very appreciative!

Thank you for your reply.
But I have no idea to avoid this...
This trouble does not occur while building with gcc42 or any older building
processes.  Therefore I think this may be a bug of gcc45.
Moving to gcc45, this may cause an error.
In addition, run-time dependence to gcc library may be necessary
as I said in another mail.


More information about the freebsd-ports mailing list