Source: elfutils Version: 0.148-1 Severity: serious Tags: patch Justification: FTBFS
I need elfutils to build the Linux kernel on m68k, which FTBFS. The attached patch fixes this issue for me, please apply and reupload. -- System Information: Debian Release: squeeze/sid APT prefers etch-m68k APT policy: (500, 'etch-m68k') Architecture: m68k Kernel: Linux 2.6.26-1-atari Locale: LANG=C, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/mksh
diff -Nru elfutils-0.148/debian/changelog elfutils-0.148/debian/changelog --- elfutils-0.148/debian/changelog 2010-07-03 13:18:23.000000000 +0000 +++ elfutils-0.148/debian/changelog 2010-09-04 12:40:38.000000000 +0000 @@ -1,3 +1,11 @@ +elfutils (0.148-1+m68k) unreleased; urgency=low + + * Fix compilation error: + - gnuhash_xlate.h: In function ‘elf_cvt_gnuhash’: + gnuhash_xlate.h:92: error: operation on ‘src32’ may be undefined + + -- Thorsten Glaser <t...@mirbsd.de> Sat, 04 Sep 2010 12:39:07 +0000 + elfutils (0.148-1) unstable; urgency=low * New upstream release diff -Nru elfutils-0.148/debian/patches/debian-changes-0.148-1+m68k elfutils-0.148/debian/patches/debian-changes-0.148-1+m68k --- elfutils-0.148/debian/patches/debian-changes-0.148-1+m68k 1970-01-01 00:00:00.000000000 +0000 +++ elfutils-0.148/debian/patches/debian-changes-0.148-1+m68k 2010-09-04 12:42:33.000000000 +0000 @@ -0,0 +1,38 @@ +Description: Upstream changes introduced in version 0.148-1+m68k + This patch has been created by dpkg-source during the package build. + Here's the last changelog entry, hopefully it gives details on why + those changes were made: + . + elfutils (0.148-1+m68k) unreleased; urgency=low + . + * Fix compilation error: + - gnuhash_xlate.h: In function ‘elf_cvt_gnuhash’: + gnuhash_xlate.h:92: error: operation on ‘src32’ may be undefined + . + The person named in the Author field signed this changelog entry. +Author: Thorsten Glaser <t...@mirbsd.de> + +--- +The information above should follow the Patch Tagging Guidelines, please +checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here +are templates for supplementary fields that you might want to add: + +Origin: <vendor|upstream|other>, <url of original patch> +Bug: <url in upstream bugtracker> +Bug-Debian: http://bugs.debian.org/<bugnumber> +Forwarded: <no|not-needed|url proving that it has been forwarded> +Reviewed-By: <name and email of someone who approved the patch> +Last-Update: <YYYY-MM-DD> + +--- elfutils-0.148.orig/libelf/gnuhash_xlate.h ++++ elfutils-0.148/libelf/gnuhash_xlate.h +@@ -89,7 +89,8 @@ elf_cvt_gnuhash (void *dest, const void + dest32 = (Elf32_Word *) &dest64[bitmask_words]; + while (len >= 4) + { +- *dest32++ = bswap_32 (*src32++); ++ *dest32++ = bswap_32 (*src32); ++ ++src32; + len -= 4; + } + } diff -Nru elfutils-0.148/debian/patches/series elfutils-0.148/debian/patches/series --- elfutils-0.148/debian/patches/series 2010-07-03 13:03:05.000000000 +0000 +++ elfutils-0.148/debian/patches/series 2010-09-04 12:42:33.000000000 +0000 @@ -7,3 +7,4 @@ do-autoreconf.diff testsuite-ignore-elflint.diff elf_additions.diff +debian-changes-0.148-1+m68k