Control: clone -1 -2
Control: reassign -2 gcj-6 6.4.0-12
Control: retitle -2 gcj-6: jawt_md.h and jni_md.h are in linux subdirectory on
kFreeBSD and GNU/Hurd
On 6 Mar 2018, at 22:50, Aaron M. Ucko <u...@debian.org> wrote:
> Source: python-jpype
> Version: 0.6.2+dfsg-2
> Severity: normal
> Tags: upstream
> User: email@example.com
> Usertags: hurd
> Builds of python-jpype for hurd-i386 (admittedly not a release
> architecture) have been failing, as most recently seen in :
> setup.py:91: UserWarning: Your platform is not being handled explicitly. It
> may work or not!
> " It may work or not!", UserWarning)
> Traceback (most recent call last):
> File "setup.py", line 95, in <module>
> [os.path.join(java_home, 'include', jni_md_platform)]
> NameError: name 'jni_md_platform' is not defined
> Per , the appropriate directory name here appears to be linux(!).
> Also, sys.platform starts with "gnu" on the Hurd.
I personally think this is a bug in GCJ. OpenJDK puts them in the
$(OPENJDK_TARGET_OS) subdirectory (except Windows uses win32 and macOS uses
darwin), so if it were ported to the Hurd it would presumably use either "gnu"
or "hurd" as the subdirectory name. FreeBSD's fork of OpenJDK uses "freebsd"
for the directory name, but GCJ also puts the files in "linux" there. I
guess GCJ should be patched (and the Hurd porters should decide on a directory
name to use).