[SRU] java-atk-wrapper: replace javah usage with a call to javac

Bug #1767010 reported by Tiago Stürmer Daitx
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
java-atk-wrapper (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

[Impact]
Currently java-atk-wrapper 0.33.3-20 FTBFS during the Bionic rebuild [1] because it can't find the javah binary.

The javah binary has been removed from OpenJDK 10 and the java compiler should be used in its place to build native headers by calling "javac -h".

[Test Case]
Build java-atk-wrapper 0.33.3-20 in Bionic with a current default-jdk (ie. depends on openjdk-11-jdk), it should FTBFS with:

checking for javah... no
configure: error: Java 1.6 or later is required to build java-access-bridge

When fixed the build is build is expected to succeed.

[Regression Potential]
No regression is expected as javah is not used by java-atk-wrapper.

[Other Info]
 * java-atk-wrapper does not use javah although it is currently declared in configure.ac, the build succeeds by simply removing the javah check.

[References]
[1] http://qa.ubuntuwire.org/ftbfs/rebuilds/test-rebuild-20180408-bionic.html

tags: added: bionic ftbfs
Revision history for this message
Tiago Stürmer Daitx (tdaitx) wrote :

This debdiff removed the javah check in configure.ac

description: updated
tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package java-atk-wrapper - 0.33.3-20ubuntu0.1

---------------
java-atk-wrapper (0.33.3-20ubuntu0.1) bionic; urgency=medium

  * debian/patches/remove-javah: remove the javah checks as it has been
    removed from openjdk 10 and it is not actually used by the
    java-atk-wrapper. LP: #1767010.

 -- Tiago Stürmer Daitx <email address hidden> Wed, 25 Apr 2018 21:40:46 +0000

Changed in java-atk-wrapper (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.