[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Pkg-xfce-devel] Bug#682501: libxfce4ui: FTBFS on ppc64



Source: libxfce4ui
Version: 4.8.1-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=libxfce4ui&arch=ppc64&ver=4.8.1-1&stamp=1342998354 


--- libxfce4ui-4.8.1.orig/libxfce4ui/abicheck.sh
+++ libxfce4ui-4.8.1/libxfce4ui/abicheck.sh
@@ -20,5 +20,5 @@
 #
 
 cpp -P -DINCLUDE_INTERNAL_SYMBOLS -DINCLUDE_VARIABLES -DALL_FILES ${srcdir:-.}/libxfce4ui.symbols | sed -e '/^$/d' -e 's/ LIBXFCE4UI_GNUC.*$//' -e 's/ G_GNUC.*$//' -e 's/ PRIVATE//' | sort > expected-abi
-nm -D .libs/libxfce4ui-1.so | grep " T\|R\|G " | cut -d ' ' -f 3 | grep -v '^_.*' | grep -v '^ *$' | sort > actual-abi
+nm -D .libs/libxfce4ui-1.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




Reply to: