Your message dated Mon, 9 Nov 2009 20:16:31 -0500
with message-id <20091110011630.ga28...@gnu.kitenet.net>
and subject line Re: Processed: reassign 555494 to debhelper
has caused the Debian Bug report #555494,
regarding dh_strip doesn't prevent leakage of the build directory.
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
555494: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=555494
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package:  debhlper
Version:  7.4.3
Severity: wishlist

  Version 2.9.27 of libc6 has the following item in
changelog.Debian.gz:

    Strip *.o files manually (dh_strip does not do it) to prevent
    leakage of the build directory.

According to 
http://lists.debian.org/debian-glibc/2009/11/msg00089.html,
the code is:

    find . -name \*crt\*.o -exec objcopy
        --only-keep-debug '{}' ../$(libc)-dbg/usr/lib/debug/'{}'
        ';' || true;
    find . -name \*crt\*.o -exec objcopy
        --add-gnu-debuglink=../$(libc)-dbg/usr/lib/debug/'{}'
        '{}' ';' || true);
    find debian/$(curpass) -name \*crt\*.o -exec
        strip --strip-debug --remove-section=.comment
        --remove-section=.note --strip-unneeded '{}' ';' || true;


Is it possible to have similar lines in dh_strip?

-- 
sobtw...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



--- End Message ---
--- Begin Message ---
From the man page:

       Since it is very hard to automatically guess if a file is a module, and
       hard to determine how to strip a module, dh_strip does not currently
       deal with stripping binary modules such as .o files.

If you look at the .o files present on any debian system,
including ones like /usr/lib/gcrt1.o from libc6-dev, you
will notice that many of them are not stripped. Unless you
can prove that stripping all of them would not break them,
it is not appropriate for dh_strip to strip them.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to