Bug#835327: openjfx FTBFS on mips64el: error: static assertion failed

Radovan Birdic Radovan.Birdic at imgtec.com
Wed Aug 24 12:58:12 UTC 2016


Package: openjfx
Version: 8u102-b14-1
Severity: important
Tags: sid + patch
Justification: FTBFS
User: debian-mips at lists.debian.org
Usertags: mips-patch

Hello,

Package openjfx_8u102-b14-1 FTBFS on mips64el with following error:

> ../../../../src/main/native/Source/WTF/wtf/StdLibExtras.h:137:5: error: static assertion failed: bitwise_cast size of FromType and ToType must be equal!
>      static_assert(sizeof(FromType) == sizeof(ToType), "bitwise_cast size of FromType and ToType must be equal!"); 

Full build log:
https://buildd.debian.org/status/fetch.php?pkg=openjfx&arch=mips64el&ver=8u102-b14-1&stamp=1470053666

Similar issue is already noticed for package webkitgtk
and resolved by adding support for mips64 architecture in Platform.h and utils.h.

On the following links you can read more about this problem:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=754358
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=789261

I have created and attached a patch that resolves this issue.
With this patch package builds successfully.

Regards,
Radovan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-mips64-build.patch
Type: text/x-patch
Size: 1929 bytes
Desc: fix-mips64-build.patch
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20160824/67b340b3/attachment.bin>


More information about the pkg-java-maintainers mailing list