Bug#898903: libnative-platform-java: FTBFS with Java 10 due to javah removal

Emmanuel Bourg ebourg at apache.org
Thu May 17 10:29:50 BST 2018


Package: libnative-platform-java
Version: 0.14-3
Severity: serious
Tags: sid buster
User: debian-java at lists.debian.org
Usertags: default-java10

libnative-platform-java fails to build with Java 10 due to the removal of javah:

  javac -source 1.7 -target 1.7 -encoding UTF-8 -d debian/out/classes src/main/java/net/rubygrapefruit/platform/package-info.java src/main/java/net/rubygrapefruit/platform/internal/Platform.java src/main/java/net/rubygrapefruit/platform/internal/NativeLibraryLocator.java src/main/java/net/rubygrapefruit/platform/internal/jni/WindowsRegistryFunctions.java src/main/java/net/rubygrapefruit/platform/internal/jni/WindowsHandleFunctions.java src/main/java/net/rubygrapefruit/platform/internal/jni/WindowsFileFunctions.java src/main/java/net/rubygrapefruit/platform/internal/jni/WindowsConsoleFunctions.java src/main/java/net/rubygrapefruit/platform/internal/jni/TerminfoFunctions.java src/main/java/net/rubygrapefruit/platform/internal/jni/PosixTypeFunctions.java src/main/java/net/rubygrapefruit/platform/internal/jni/PosixTerminalFunctions.java src/main/java/net/rubygrapefruit/platform/internal/jni/PosixProcessFunctions.java src/main/java/net/rubygrapefruit/platform/internal/jni/PosixFileSystemFunctions.java src/main/java/net/rubygrapefruit/platform/internal/jni/PosixFileFunctions.java src/main/java/net/rubygrapefruit/platform/internal/jni/OsxMemoryFunctions.java src/main/java/net/rubygrapefruit/platform/internal/jni/NativeLibraryFunctions.java src/main/java/net/rubygrapefruit/platform/internal/jni/MemoryFunctions.java src/main/java/net/rubygrapefruit/platform/internal/jni/FileEventFunctions.java src/main/java/net/rubygrapefruit/platform/internal/WrapperTerminal.java src/main/java/net/rubygrapefruit/platform/internal/WrapperProcessLauncher.java src/main/java/net/rubygrapefruit/platform/internal/WrapperProcess.java src/main/java/net/rubygrapefruit/platform/internal/WindowsTerminals.java src/main/java/net/rubygrapefruit/platform/internal/WindowsTerminal.java src/main/java/net/rubygrapefruit/platform/internal/WindowsProcessLauncher.java src/main/java/net/rubygrapefruit/platform/internal/WindowsFileTime.java src/main/java/net/rubygrapefruit/platform/internal/WindowsFileStat.java src/main/java/net/rubygrapefruit/platform/internal/WindowsDirList.java src/main/java/net/rubygrapefruit/platform/internal/TerminfoTerminals.java src/main/java/net/rubygrapefruit/platform/internal/TerminfoTerminal.java src/main/java/net/rubygrapefruit/platform/internal/TerminalCapabilities.java src/main/java/net/rubygrapefruit/platform/internal/PosixFileSystems.java src/main/java/net/rubygrapefruit/platform/internal/NativeLibraryLoader.java src/main/java/net/rubygrapefruit/platform/internal/MutableTypeInfo.java src/main/java/net/rubygrapefruit/platform/internal/MutableTerminalSize.java src/main/java/net/rubygrapefruit/platform/internal/MutableSystemInfo.java src/main/java/net/rubygrapefruit/platform/internal/LibraryDef.java src/main/java/net/rubygrapefruit/platform/internal/FunctionResult.java src/main/java/net/rubygrapefruit/platform/internal/FileSystemList.java src/main/java/net/rubygrapefruit/platform/internal/FileStat.java src/main/java/net/rubygrapefruit/platform/internal/DirList.java src/main/java/net/rubygrapefruit/platform/internal/DefaultWindowsRegistry.java src/main/java/net/rubygrapefruit/platform/internal/DefaultWindowsFiles.java src/main/java/net/rubygrapefruit/platform/internal/DefaultSystemInfo.java src/main/java/net/rubygrapefruit/platform/internal/DefaultProcessLauncher.java src/main/java/net/rubygrapefruit/platform/internal/DefaultProcess.java src/main/java/net/rubygrapefruit/platform/internal/DefaultPosixFiles.java src/main/java/net/rubygrapefruit/platform/internal/DefaultOsxMemoryInfo.java src/main/java/net/rubygrapefruit/platform/internal/DefaultOsxMemory.java src/main/java/net/rubygrapefruit/platform/internal/DefaultMemoryInfo.java src/main/java/net/rubygrapefruit/platform/internal/DefaultMemory.java src/main/java/net/rubygrapefruit/platform/internal/DefaultFileSystemInfo.java src/main/java/net/rubygrapefruit/platform/internal/DefaultFileEvents.java src/main/java/net/rubygrapefruit/platform/internal/AnsiTerminal.java src/main/java/net/rubygrapefruit/platform/internal/AbstractTerminals.java src/main/java/net/rubygrapefruit/platform/internal/AbstractTerminal.java src/main/java/net/rubygrapefruit/platform/internal/AbstractFiles.java src/main/java/net/rubygrapefruit/platform/WindowsRegistry.java src/main/java/net/rubygrapefruit/platform/WindowsFiles.java src/main/java/net/rubygrapefruit/platform/WindowsFileInfo.java src/main/java/net/rubygrapefruit/platform/ThreadSafe.java src/main/java/net/rubygrapefruit/platform/Terminals.java src/main/java/net/rubygrapefruit/platform/TerminalSize.java src/main/java/net/rubygrapefruit/platform/Terminal.java src/main/java/net/rubygrapefruit/platform/SystemInfo.java src/main/java/net/rubygrapefruit/platform/ResourceClosedException.java src/main/java/net/rubygrapefruit/platform/ProcessLauncher.java src/main/java/net/rubygrapefruit/platform/Process.java src/main/java/net/rubygrapefruit/platform/PosixFiles.java src/main/java/net/rubygrapefruit/platform/PosixFileInfo.java src/main/java/net/rubygrapefruit/platform/OsxMemoryInfo.java src/main/java/net/rubygrapefruit/platform/OsxMemory.java src/main/java/net/rubygrapefruit/platform/NotADirectoryException.java src/main/java/net/rubygrapefruit/platform/NoSuchFileException.java src/main/java/net/rubygrapefruit/platform/NativeIntegrationUnavailableException.java src/main/java/net/rubygrapefruit/platform/NativeIntegrationLinkageException.java src/main/java/net/rubygrapefruit/platform/NativeIntegration.java src/main/java/net/rubygrapefruit/platform/NativeException.java src/main/java/net/rubygrapefruit/platform/Native.java src/main/java/net/rubygrapefruit/platform/MissingRegistryEntryException.java src/main/java/net/rubygrapefruit/platform/MemoryInfo.java src/main/java/net/rubygrapefruit/platform/Memory.java src/main/java/net/rubygrapefruit/platform/Files.java src/main/java/net/rubygrapefruit/platform/FileWatch.java src/main/java/net/rubygrapefruit/platform/FileSystems.java src/main/java/net/rubygrapefruit/platform/FileSystemInfo.java src/main/java/net/rubygrapefruit/platform/FilePermissionException.java src/main/java/net/rubygrapefruit/platform/FileInfo.java src/main/java/net/rubygrapefruit/platform/FileEvents.java src/main/java/net/rubygrapefruit/platform/DirEntry.java debian/additionalSrc/PosixFile.java
  warning: [options] bootstrap class path not set in conjunction with -source 7
  Note: src/main/java/net/rubygrapefruit/platform/internal/WrapperProcess.java uses unchecked or unsafe operations.
  Note: Recompile with -Xlint:unchecked for details.
  1 warning
  javah -o debian/out/native.h -classpath debian/out/classes \
        net.rubygrapefruit.platform.internal.jni.NativeLibraryFunctions \
        net.rubygrapefruit.platform.internal.jni.PosixFileFunctions \
        net.rubygrapefruit.platform.internal.jni.PosixFileSystemFunctions \
        net.rubygrapefruit.platform.internal.jni.PosixProcessFunctions \
        net.rubygrapefruit.platform.internal.jni.PosixTerminalFunctions \
        net.rubygrapefruit.platform.internal.jni.TerminfoFunctions \
        net.rubygrapefruit.platform.internal.jni.WindowsConsoleFunctions \
        net.rubygrapefruit.platform.internal.jni.WindowsHandleFunctions \
        net.rubygrapefruit.platform.internal.jni.WindowsRegistryFunctions \
        net.rubygrapefruit.platform.internal.jni.WindowsFileFunctions \
        net.rubygrapefruit.platform.internal.jni.FileEventFunctions \
        net.rubygrapefruit.platform.internal.jni.PosixTypeFunctions
  make[2]: javah: Command not found
  make[2]: *** [debian/Makefile:54: debian/out/native.h] Error 127
  make[2]: Leaving directory '/build/1st/libnative-platform-java-0.14'
  make[1]: *** [debian/rules:12: override_dh_auto_build] Error 2
  make[1]: Leaving directory '/build/1st/libnative-platform-java-0.14'
  make: *** [debian/rules:8: build] Error 2
  dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the pkg-java-maintainers mailing list