<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<p>On 2022-05-08 16:42, Bernhard M. Wiedemann via rb-general wrote:<br>
</p>
<blockquote type="cite" cite="mid:bef9218e-08ef-53d3-01cf-ecf3301e9853@lsmod.de">
<pre class="moz-quote-pre" wrap="">
On 06/05/2022 22.48, John Neffenger wrote:
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">Starting yesterday, for the first time, the JDK can create reproducible
builds of the JDK!
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
That is great news. Thank you John, Magnus and Andrew for taking care of
this.
I tried to get a double-build test working on openSUSE with
<a class="moz-txt-link-freetext" href="https://github.com/openjdk/jdk/releases/tag/jdk-19%2B21">https://github.com/openjdk/jdk/releases/tag/jdk-19%2B21</a> to either
confirm the reproducibility or find some remaining diff for you,
however building JDK is still hard, so
<a class="moz-txt-link-freetext" href="https://build.opensuse.org/package/show/home:bmwiedemann:java/java-19-openjdk">https://build.opensuse.org/package/show/home:bmwiedemann:java/java-19-openjdk</a>
errors out atm with
checking for java...
/home/abuild/rpmbuild/BUILD/jdk-jdk-19-21/build/bootcycle-build/images/jdk/bin/java
checking for javac...
/home/abuild/rpmbuild/BUILD/jdk-jdk-19-21/build/bootcycle-build/images/jdk/bin/javac
checking for javah... no
configure: error: Java 1.6 or later is required to build java-access-bridge</pre>
</blockquote>
<p>This error is not coming from OpenJDK per se, but from the
configure script of the java-atk-wrapper package that SUSE
(apparently) bundles with the OpenJDK. There is no javah in JDK
19, and has not been for a long time, so this package needs to be
updated.</p>
<p>Just a few lines above you can see that the actual OpenJDK build
finished successfully:</p>
<pre>[ 4810s] Finished building targets 'bootcycle-images all' in configuration '/home/abuild/rpmbuild/BUILD/jdk-jdk-19-21/build'</pre>
<p>(The log is incredibly hard to read since very low-level
debugging information is turned on. Also, building
bootcycle-images is mostly just a waste of CPU cycles.)</p>
<p>/Magnus<br>
</p>
<p>
</p>
<blockquote type="cite" cite="mid:bef9218e-08ef-53d3-01cf-ecf3301e9853@lsmod.de">
<pre class="moz-quote-pre" wrap="">
I found a javah in 1_8_0 but that is rejected as bootstrap java version
(needs to be 18 or 19)
Can you point me to the scripts that build your official Linux binaries
or do you have hints on how to fix my build?
You can also try this locally on Debian or openSUSE with an account from
<a class="moz-txt-link-freetext" href="https://idp-portal.suse.com/">https://idp-portal.suse.com/</a> and
osc co home:bmwiedemann:java/java-19-openjdk && cd $_
osc build --noservice standard
Ciao
Bernhard M.
</pre>
</blockquote>
</body>
</html>