On 02/29/2012 07:33 AM, Andreas Tille wrote: > Hi, > > On Wed, Feb 29, 2012 at 01:25:21PM +0100, Xerxes Rånby wrote: >> 2012-02-29 08:45, Andreas Tille skrev: >> >> I think you "simply" meed to use a javase 6 compatible jvm and classlibrary >> to compile this code. >> The Math.getExponent got added in JDK6. OpenJDK6 can compile this fine. >> http://binkley.blogspot.com/2005/12/new-math-functions-in-jdk6.html >> >> Which jvm/classlibrary do you use to build this package on kfreebsd? > > I looked at > > > https://buildd.debian.org/status/fetch.php?pkg=libhmsbeagle&arch=kfreebsd-amd64&ver=1.0-4&stamp=1327501467 > > and found > > ... > Selecting previously unselected package gcj-4.6-jdk. > Unpacking gcj-4.6-jdk (from .../gcj-4.6-jdk_4.6.2-2_kfreebsd-amd64.deb) ... > Selecting previously unselected package gcj-jdk. > ... > > So do you think > > Build-Depends: ..., openjdk > > instead of current > > Build-Depends: ..., default-jdk > > would do the trick? > > On the other hand: Is there any reason to stick to gcj as default-jdk for > any architecture? > > Kind regards > > Andreas.
That change should do the trick; there's no shortage of cases like this where one must chase down loose ends that gcj has yet to cover. While I heartily agree that default-jdk should favor OpenJDK options over gcj, I've been out of the loop for a while and I'm not sure of the situation with all the architectures and addressed by Debian and OpenJDK's ability to build on each. Regards, -- Barry Hawkins >>> On Wed, Feb 29, 2012 at 12:36:21AM +0100, Julien Cristau wrote: >>>> Source: libhmsbeagle >>>> Version: 1.0-4 >>>> Severity: serious >>>> Justification: fails to build from source >>>> >>>> See the build logs at >>>> https://buildd.debian.org/status/package.php?p=libhmsbeagle >>>> >>>> Excerpt from the log: >>>>> [javac] 4. ERROR in >>>>> /build/buildd-libhmsbeagle_1.0-4-kfreebsd-amd64-z1XXfw/libhmsbeagle-1.0/java/beagle/FourStateBeagleImpl.java >>>>> (at line 137) >>>>> [javac] exponent |= Math.abs(Math.getExponent(partials3[u])); >>>>> [javac] ^^^^^^^^^^^ >>>>> [javac] The method getExponent(double) is undefined for the type Math >>>> >>>> Cheers, >>>> Julien >>> >>> >>> >>>> _______________________________________________ >>>> Debian-med-packaging mailing list >>>> [email protected] >>>> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-packaging -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

