Your message dated Sat, 03 Jan 2009 09:10:21 -0600
with message-id <[email protected]>
and subject line Re: Bug#444248: kernel-package: headers package creation could 
be speed up since it doesn't include binary files
has caused the Debian Bug report #444248,
regarding kernel-package: headers package creation could be speed up since it 
doesn't include binary files
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 [email protected]
immediately.)


-- 
444248: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=444248
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: kernel-package
Version: 10.067
Severity: wishlist
Tags: patch

While creating linux-headers-$VERSION package I found that my system run for
three hours on this loop:

k=`find 
/usr/local/src/kernel/linux-2.6.23-rc8/debian/linux-headers-2.6.23-rc8-gs1 
-type f | ( while read i; do                    \
          if file -b $i | egrep -q "^ELF.*executable.*dynamically linked" ; 
then \
            j="$j $i";                                                  \
           fi;                                                            \
        done; echo $j; )`; test -z "$k" || dpkg-shlibdeps $k;          \
        test -n "$k" || perl -pli~ -e 's/\$\{shlibs:Depends\}\,?//g' 
debian/control

Of course my machine is not probably the fastest in the world, but I am not
sure about this loop should be executed at all.

If I understand correctly, this loop try to find executable to be stripped, 
i.e., binary
files compiled in this run.

I don't think that the $mydir/debian/linux-headers-$VERSION include any such 
files, so I
am wondering if this look could be avoid.

I include a simple patch that comment out the whole loop from headers.mk

Bye,
Giuseppe

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: mips (mips64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-5-r5k-ip32
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to it_IT.UTF-8)

Versions of packages kernel-package depends on:
ii  dpkg                         1.13.25     package maintenance system for Deb
ii  dpkg-dev                     1.13.25     package building tools for Debian
ii  file                         4.17-5etch3 Determines file type using "magic"
ii  gcc [c-compiler]             4:4.1.1-15  The GNU C compiler
ii  gcc-4.1 [c-compiler]         4.1.1-21    The GNU C compiler
ii  gettext                      0.16.1-1    GNU Internationalization utilities
ii  make                         3.81-2      The GNU version of the "make" util
ii  perl                         5.8.8-7     Larry Wall's Practical Extraction 
ii  po-debconf                   1.0.8       manage translated Debconf template

Versions of packages kernel-package recommends:
ii  bzip2                  1.0.3-6           high-quality block-sorting file co
ii  libc6-dev [libc-dev]   2.3.6.ds1-13etch2 GNU C Library: Development Librari

-- no debconf information

--- /usr/share/kernel-package/ruleset/targets/headers.mk.orig	2007-02-25 07:54:41.000000000 +0100
+++ /usr/share/kernel-package/ruleset/targets/headers.mk	2007-09-27 07:10:09.000000000 +0200
@@ -176,13 +176,13 @@
 	chmod 755                                       $(TMPTOP)/DEBIAN/postinst
 #	echo "/etc/kernel/postinst.d/create_link-$(version)" > $(TMPTOP)/DEBIAN/conffiles
 	cp -pf debian/control debian/control.dist
-	k=`find $(TMPTOP) -type f | ( while read i; do                    \
-          if file -b $$i | egrep -q "^ELF.*executable.*dynamically linked" ; then \
-            j="$$j $$i";                                                  \
-           fi;                                                            \
-        done; echo $$j; )`; test -z "$$k" || dpkg-shlibdeps $$k;          \
-        test -n "$$k" || perl -pli~ -e 's/\$$\{shlibs:Depends\}\,?//g' debian/control
-	test ! -e debian/control~ || rm -f debian/control~
+#	k=`find $(TMPTOP) -type f | ( while read i; do                    \
+#          if file -b $$i | egrep -q "^ELF.*executable.*dynamically linked" ; then \
+#            j="$$j $$i";                                                  \
+#           fi;                                                            \
+#        done; echo $$j; )`; test -z "$$k" || dpkg-shlibdeps $$k;          \
+#        test -n "$$k" || perl -pli~ -e 's/\$$\{shlibs:Depends\}\,?//g' debian/control
+#	test ! -e debian/control~ || rm -f debian/control~
 ifneq ($(strip $(header_clean_hook)),)
 	(cd $(SRCDIR); test -x $(header_clean_hook) && $(header_clean_hook))
 endif

--- End Message ---
--- Begin Message ---
On Thu, Sep 27 2007, Giuseppe Sacco wrote:


> If I understand correctly, this loop try to find executable to be
> stripped, i.e., binary files compiled in this run.
>
> I don't think that the $mydir/debian/linux-headers-$VERSION include
> any such files, so I am wondering if this look could be avoid.

        It does. Look into the scripts directory.

        manoj

-- 
Drilling for oil is boring.
Manoj Srivastava <[email protected]> <http://www.golden-gryphon.com/>  
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C


--- End Message ---

Reply via email to