On 18.11.2009 07:48, Bruno Kleinert wrote:
Package: binutils
Version: 2.20-4
Severity: normal

--- Please enter the report below this line. ---
Hi,

while trying to fix the package sauerbraten for binutils-gold (I'm
working with version 2.20-4) I stumbled over a problem with objcopy
when it's called from dh_strip to generate the binary debug package
sauerbraten-dbg.

Building the package with DH_VERBOSE=1 shows up this error:

dh_strip -psauerbraten --dbg-package=sauerbraten-dbg
        install -d 
debian/sauerbraten-dbg/usr/lib/debug//usr/lib/games/sauerbraten
        objcopy --only-keep-debug 
debian/sauerbraten/usr/lib/games/sauerbraten/sauer_client 
debian/sauerbraten-dbg/usr/lib/debug//usr/lib/games/sauerbraten/sauer_client
        chmod 644 
debian/sauerbraten-dbg/usr/lib/debug//usr/lib/games/sauerbraten/sauer_client
        strip --remove-section=.comment --remove-section=.note 
debian/sauerbraten/usr/lib/games/sauerbraten/sauer_client
        objcopy --add-gnu-debuglink 
debian/sauerbraten-dbg/usr/lib/debug//usr/lib/games/sauerbraten/sauer_client 
debian/sauerbraten/usr/lib/games/sauerbraten/sauer_client
objcopy:debian/sauerbraten/usr/lib/games/sauerbraten/sticbWpq: cannot create 
debug link section 
`debian/sauerbraten-dbg/usr/lib/debug//usr/lib/games/sauerbraten/sauer_client': 
Invalid operation
dh_strip: objcopy returned exit code 1

Is this a known problem with binutils-gold?

yes, I did see this as well recently.

  Matthias



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to