openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #12937
Re: Bug#897555: subversion: FTBFS: /bin/bash: /usr/lib/jvm/default-java/bin/javah: No such file or directory
On Wed, May 02, 2018 at 11:02:02PM +0200, Lucas Nussbaum wrote:
> During a rebuild of all packages in sid, your package failed to build on
> amd64.
>
> Relevant part (hopefully):
> > [snip]
> > /usr/lib/jvm/default-java/bin/javah -force -d subversion/bindings/javahl/include -classpath subversion/bindings/javahl/classes: org.apache.subversion.javahl.ClientException org.apache.subversion.javahl.ClientNotifyInformation org.apache.subversion.javahl.CommitInfo org.apache.subversion.javahl.CommitItem org.apache.subversion.javahl.CommitItemStateFlags org.apache.subversion.javahl.ConflictDescriptor org.apache.subversion.javahl.ConflictResult org.apache.subversion.javahl.DiffSummary org.apache.subversion.javahl.ISVNClient org.apache.subversion.javahl.ISVNConfig org.apache.subversion.javahl.ISVNEditor org.apache.subversion.javahl.ISVNRemote org.apache.subversion.javahl.ISVNReporter org.apache.subversion.javahl.ISVNRepos org.apache.subversion.javahl.JNIError org.apache.subversion.javahl.JNIObject org.apache.subversion.javahl.NativeException org.apache.subversion.javahl.NativeResources org.apache.subversion.javahl.OperationContext org.apache.subversion.javahl.ProgressEvent org.apache.subversion.javahl.ReposNotifyInformation org.apache.subversion.javahl.SVNClient org.apache.subversion.javahl.SVNRepos org.apache.subversion.javahl.SVNUtil org.apache.subversion.javahl.SubversionException
> > /bin/bash: /usr/lib/jvm/default-java/bin/javah: No such file or directory
> > make[1]: *** [/<<PKGBUILDDIR>>/build-outputs.mk:601: subversion/bindings/javahl/include/org_apache_subversion_javahl_ClientException.h] Error 127
Ah, that's because the javah command was removed in Java 10, to be
replaced by running "javac -h".
It would have been useful to get a notice about this ahead of time, for
those not as involved with Java. Especially since this has apparently
been planned since Java 8.
Cheers,
--
James
GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7 2D23 DFE6 91AE 331B A3DB