Package: libgluegen2-build-java Version: 2.1.3-1 Severity: serious Tags: upstream patch Justification: makes other packages FTBFS
libgluegen2-build-java provides a mechanism in <glibc-compat-symbols.h> to lower memcpy symbols version. This doesn't take care of at least ia64 and s390x among the official Debian architectures, but at least arm64, ppc64, sh4, sparc64, and x32 are also affected among unofficial architectures. This causes other packages to FTBFS, see for example: https://buildd.debian.org/status/fetch.php?pkg=libjogl2-java&arch=ia64&ver=2.1.3-1&stamp=1387422174 https://buildd.debian.org/status/fetch.php?pkg=libjogl2-java&arch=s390x&ver=2.1.3-1&stamp=1388229627 As this mechanism doesn't really make sense in a distribution context (the dependencies are handled by the package manager), I would suggest to simply disable it. This is the purpose of the patch below: --- gluegen2-2.1.3.orig/make/stub_includes/platform/glibc-compat-symbols.h +++ gluegen2-2.1.3/make/stub_includes/platform/glibc-compat-symbols.h @@ -15,7 +15,9 @@ * * Check build-in macro definitions via 'gcc -dM -E - < /dev/null' */ -#if defined(__linux__) /* Actually we like to test whether we link against GLIBC .. */ + +/* This feature doesn't make sense in a distribution context. Disable it. */ +#if 0 && defined(__linux__) /* Actually we like to test whether we link against GLIBC .. */ #if defined(__GNUC__) || defined(__clang__) #if defined(__arm__) #define GLIBC_COMPAT_SYMBOL(FFF) asm(".symver " #FFF "," #FFF "@GLIBC_2.4"); @@ -29,7 +31,7 @@ #define GLIBC_COMPAT_SYMBOL(FFF) #endif #else - #warning GLIBC_COMPAT_SYMBOL not supported with target OS +/* #warning GLIBC_COMPAT_SYMBOL not supported with target OS */ #define GLIBC_COMPAT_SYMBOL(FFF) #endif -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: s390x Kernel: Linux 3.2.0-4-s390x (SMP w/2 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org