Package: libverto
Version: 0.2.2-1
Severity: normal
Tags: patch

Hi,

libverto 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=libverto&arch=ppc64&ver=0.2.2-1&stamp=1338713956

--- libverto-0.2.2.orig/tests/abi
+++ libverto-0.2.2/tests/abi
@@ -11,6 +11,6 @@ else
   exit 1
 fi
 
-HASH=`nm -g $LIBVERTO | awk '/^[0-9a-fA-F]+ T verto_/ { print $NF; }' | sed 
's|^_||' | sort -u | $HASHCMD | cut -d' ' -f1`
+HASH=`nm -g $LIBVERTO | awk '/^[0-9a-fA-F]+ [DT] verto_/ { print $NF; }' | sed 
's|^_||' | sort -u | $HASHCMD | cut -d' ' -f1`
 echo "Hash: $HASH"
 test $HASH = 6a60a3d64f1bd131ce1b81d002b17921

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

Kernel: Linux 3.2.0-2-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



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to