I think it&#39;s a package problem and specifically it&#39;s<div><br></div><div>/usr/lib/rpm/brp-check-bytecode-version<br><br>which is triggering the fail. Is there a java-specific param in the spec file?</div><div>I can take a look at the spec file if you want.</div>
<div><br></div><div>Umberto<br><br><div class="gmail_quote">On Fri, Feb 24, 2012 at 8:46 AM, Stephan Holl <span dir="ltr">&lt;<a href="mailto:stephan.holl@intevation.de">stephan.holl@intevation.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Umberto,<br>
<br>
Umberto Nicoletti &lt;<a href="mailto:umberto.nicoletti@gmail.com">umberto.nicoletti@gmail.com</a>&gt;, <a href="tel:%5B20120223%20-%2021" value="+12012022321">[20120223 - 21</a>:24:46]<br>
<div class="im"><br>
&gt; Did check and I was able to successfully build svn trunk with jdk<br>
&gt; 1.6.29. Can you give more details or logs?<br>
<br>
</div>Good to know.<br>
<br>
I placed the logs here:<br>
<a href="ftp://ftp.intevation.de/users/stephan/mapserver/javac-1.6-errors.txt" target="_blank">ftp://ftp.intevation.de/users/stephan/mapserver/javac-1.6-errors.txt</a><br>
<br>
It uses openjdk 1.6.x for building. The build-process seems fine, what<br>
I am unsure about is the error-message. Is this a mapserver-specific<br>
error-message or a packaging-problem.<br>
<br>
Best regards<br>
<span class="HOEnZb"><font color="#888888"><br>
        Stephan<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
&gt; &gt;<br>
&gt; &gt;&gt; Hello devs,<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; using OpenSuse-Buildservice for building MapServer 6.0.1 on<br>
&gt; &gt;&gt; SLES_11-SP1, the build process outputs the following:<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;  ERROR: the files below contain java bytecode for something later<br>
&gt; &gt;&gt; than java 1.5,<br>
&gt; &gt;&gt;  ERROR: please set the javac target to 1.5 or lower.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Does that mean, that java 1.5 or lower is required for java<br>
&gt; &gt;&gt; mapscript?<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Not that I know. I will try to build svn trunk with 1.6 today and<br>
&gt; &gt;&gt; let you<br>
&gt; &gt; know.<br>
&gt; &gt;<br>
&gt; &gt; Umberto<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;&gt; TIA<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;        Stephan<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; --<br>
&gt; &gt;&gt; Stephan Holl &lt;<a href="mailto:stephan.holl@intevation.de">stephan.holl@intevation.de</a>&gt; | Tel.: <a href="tel:%2B49%20%280%29541-33" value="+4954133">+49 (0)541-33</a><br>
&gt; &gt;&gt; 508 3663 Intevation GmbH, Neuer Graben 17, 49074 OS  |  AG<br>
&gt; &gt;&gt; Osnabrück - HR B 18998 Geschäftsführer:  Frank Koormann, Bernhard<br>
&gt; &gt;&gt; Reiter, Dr. Jan-Oliver Wagner<br>
&gt; &gt;&gt;<br>
&gt; &gt;<br>
<br>
<br>
<br>
--<br>
Stephan Holl &lt;<a href="mailto:stephan.holl@intevation.de">stephan.holl@intevation.de</a>&gt; | Tel.: <a href="tel:%2B49%20%280%29541-33%20508%203663" value="+49541335083663">+49 (0)541-33 508 3663</a><br>
Intevation GmbH, Neuer Graben 17, 49074 OS  |  AG Osnabrück - HR B 18998<br>
Geschäftsführer:  Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner<br>
</div></div></blockquote></div><br></div>