Bug#769003: libjogl2-java: FTBFS on arm64, ppc64el, s390x
Colin Watson
cjwatson at ubuntu.com
Tue Nov 11 11:03:03 UTC 2014
Control: reassign -1 libgluegen2-build-java 2.2.4-1
Control: affects -1 libjogl2-java
On Mon, Nov 10, 2014 at 05:53:43PM +0100, Hector Oron wrote:
> Your package fails to build from source on Debian autobuilder network.
>
> Please check your package build logs at:
> <https://buildd.debian.org/status/package.php?p=libjogl2-java&suite=sid>
>
> arm64 full log at:
> https://buildd.debian.org/status/fetch.php?pkg=libjogl2-java&arch=arm64&ver=2.2.4%2Bdfsg-1&stamp=1415253649
This is a recurrence of #733310, which happened because
missing-arch-symbol.diff was incorrectly rebased across the upstream
change in
http://jogamp.org/git/?p=gluegen.git;a=commitdiff;h=addb639e6dde90519f772a66222eb86107b35176.
Here's a fix.
* Fix missing-arch-symbol.diff to cover the gcc case as well as clang
(closes: #769003).
diff -Nru gluegen2-2.2.4/debian/patches/missing-arch-symbol.diff gluegen2-2.2.4/debian/patches/missing-arch-symbol.diff
--- gluegen2-2.2.4/debian/patches/missing-arch-symbol.diff 2014-10-20 15:35:29.000000000 +0100
+++ gluegen2-2.2.4/debian/patches/missing-arch-symbol.diff 2014-11-11 10:57:44.000000000 +0000
@@ -1,8 +1,18 @@
-Index: gluegen-v2.2.0/make/stub_includes/platform/glibc-compat-symbols.h
+Index: b/make/stub_includes/platform/glibc-compat-symbols.h
===================================================================
---- gluegen-v2.2.0.orig/make/stub_includes/platform/glibc-compat-symbols.h 2014-08-10 15:38:43.065816752 +0200
-+++ gluegen-v2.2.0/make/stub_includes/platform/glibc-compat-symbols.h 2014-08-10 15:38:43.065816752 +0200
-@@ -30,7 +30,8 @@
+--- a/make/stub_includes/platform/glibc-compat-symbols.h
++++ b/make/stub_includes/platform/glibc-compat-symbols.h
+@@ -22,7 +22,8 @@
+ #elif defined(__amd64__)
+ #define GLIBC_COMPAT_SYMBOL(FFF) __asm__(".symver " #FFF "," #FFF "@GLIBC_2.2.5");
+ #else
+- #define GLIBC_COMPAT_SYMBOL(FFF) __asm__(".symver " #FFF "," #FFF "@GLIBC_2.0");
++ /* Don't try to guess a wrong version */
++ #define GLIBC_COMPAT_SYMBOL(FFF)
+ #endif /*__amd64__*/
+ #elif defined(__clang__)
+ #if defined(__arm__)
+@@ -30,7 +31,8 @@
#elif defined(__amd64__)
#define GLIBC_COMPAT_SYMBOL(FFF) asm(".symver " #FFF "," #FFF "@GLIBC_2.2.5");
#else
Thanks,
--
Colin Watson [cjwatson at ubuntu.com]
More information about the pkg-java-maintainers
mailing list