[Pkg-xfce-devel] Bug#682414: libxfce4util: FTBFS on ppc64

Aurelien Jarno aurel32 at debian.org
Sun Jul 22 14:26:51 UTC 2012


Source: libxfce4util
Version: 4.8.2-1
Severity: normal
Tags: patch

Hi,

libxfce4util FTBFS on ppc64, due to the ABI check test failing [1]. This
test uses the nm binary to get the list of functions. However it looks
for the functions in the text section, while ppc64 uses function
descriptors, which appear in the data section.

The small patch below fixes the problem. Would it be possible to apply
it in the next upload? Thanks in advance.

Regards,
Aurelien

[1] http://buildd.debian-ports.org/status/fetch.php?pkg=libxfce4util&arch=ppc64&ver=4.8.2-1&stamp=1342583525


--- libxfce4util-4.8.2.orig/libxfce4util/abicheck.sh
+++ libxfce4util-4.8.2/libxfce4util/abicheck.sh
@@ -20,5 +20,5 @@
 #
 
 cpp -P -DINCLUDE_INTERNAL_SYMBOLS -DINCLUDE_VARIABLES -DALL_FILES ${srcdir:-.}/libxfce4util.symbols | sed -e '/^$/d' -e 's/ G_GNUC.*$//' -e 's/ PRIVATE//' | sort > expected-abi
-nm -D .libs/libxfce4util.so | grep " T\|R\|G " | cut -d ' ' -f 3 | grep -v '^_.*' | grep -v '^ *$' | sort > actual-abi
+nm -D .libs/libxfce4util.so | grep " T\|R\|G\|D " | cut -d ' ' -f 3 | grep -v '^_.*' | grep -v '^ *$' | sort > actual-abi
 diff -u expected-abi actual-abi && rm expected-abi actual-abi

-- System Information:
Debian Release: wheezy/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: ppc64

Kernel: Linux 3.2.0-3-powerpc64 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



More information about the Pkg-xfce-devel mailing list