Your message dated Sun, 10 Mar 2013 23:38:00 +0000 with message-id <1362958680.5951.43.camel@deadeye.wl.decadent.org.uk> and subject line Re: Bug#702625: linux-source-3.2: Custom kernel built from Debian source gives a package with huge size has caused the Debian Bug report #702625, regarding linux-source-3.2: Custom kernel built from Debian source gives a package with huge size 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 owner@bugs.debian.org immediately.) -- 702625: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=702625 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: linux-source-3.2: Custom kernel built from Debian source gives a package with huge size
- From: Frédéric Boiteux <fboiteux@free.fr>
- Date: Sat, 09 Mar 2013 10:31:40 +0100
- Message-id: <[🔎] 20130309093140.9744.30561.reportbug@prem1t.prosodie.com>
Package: linux-source-3.2 Version: 3.2.35-2 Severity: normal Dear Maintainer, Upgrading from Squeeze to Wheezy and using TuxOnIce hibernation system, I installed the Wheezy's linux-source-3.2 package, and build a cusom kernel following recommendations as in : http://kernel-handbook.alioth.debian.org/ch-common-tasks.html#s-common-building (I used to do this also on my Squeeze system). I applied the TuxOnIce and RT patches, copy the config of the Debian package linux-image-3.2.0-rt-amd64, done a 'make oldconfig' to answer new config about TOI, and run the compilation with : time ionice -c 3 nice env KBUILD_PKG_ROOTCMD="fakeroot -u" make -j 3 KDEB_PKGVERSION=3.2-3.2.35-2 KERNELRELEASE=3.2-rt-toi deb-pkg After a while, I get a debian package, but with a huge size, about 500 MB, whereas official Debian is about 20 MB ! It seems the modules are built with symbols. Looking around on the web, I saw people telling to look at CONFIG_DEBUG_INFO config parameter, and it's actually set : $ grep CONFIG_DEBUG_INFO .config CONFIG_DEBUG_INFO=y # CONFIG_DEBUG_INFO_REDUCED is not set But it's also set in the official Debian configs : $ grep CONFIG_DEBUG_INFO /boot/config-3.2.0-4-* /boot/config-3.2.0-4-amd64:CONFIG_DEBUG_INFO=y /boot/config-3.2.0-4-amd64:# CONFIG_DEBUG_INFO_REDUCED is not set /boot/config-3.2.0-4-rt-amd64:CONFIG_DEBUG_INFO=y /boot/config-3.2.0-4-rt-amd64:# CONFIG_DEBUG_INFO_REDUCED is not set What should I do to get a 'standard size' Debian package ? Disable this parameter in the kernel config ? Or doing an action / setup I forgot ? Thanks for your support, Fred. -- System Information: Debian Release: 7.0 APT prefers testing APT policy: (990, 'testing'), (800, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages linux-source-3.2 depends on: ii binutils 2.22-8 ii bzip2 1.0.6-4 Versions of packages linux-source-3.2 recommends: ii gcc 4:4.7.2-1 ii libc6-dev [libc-dev] 2.13-38 ii make 3.81-8.2 Versions of packages linux-source-3.2 suggests: ii libncurses5-dev [ncurses-dev] 5.9-10 pn libqt4-dev <none> ii pkg-config 0.26-1 -- no debconf information
--- End Message ---
--- Begin Message ---
- To: 702625-done@bugs.debian.org
- Subject: Re: Bug#702625: linux-source-3.2: Custom kernel built from Debian source gives a package with huge size
- From: Ben Hutchings <ben@decadent.org.uk>
- Date: Sun, 10 Mar 2013 23:38:00 +0000
- Message-id: <1362958680.5951.43.camel@deadeye.wl.decadent.org.uk>
- In-reply-to: <[🔎] 20130309093140.9744.30561.reportbug@prem1t.prosodie.com>
- References: <[🔎] 20130309093140.9744.30561.reportbug@prem1t.prosodie.com>
On Sat, 2013-03-09 at 10:31 +0100, Frédéric Boiteux wrote: [...] > After a while, I get a debian package, but with a huge size, about 500 MB, > whereas official Debian is about 20 MB ! > It seems the modules are built with symbols. Looking around on the web, > I saw people telling to look at CONFIG_DEBUG_INFO config parameter, and > it's actually set : > > $ grep CONFIG_DEBUG_INFO .config > CONFIG_DEBUG_INFO=y > # CONFIG_DEBUG_INFO_REDUCED is not set > > But it's also set in the official Debian configs : > > $ grep CONFIG_DEBUG_INFO /boot/config-3.2.0-4-* > /boot/config-3.2.0-4-amd64:CONFIG_DEBUG_INFO=y > /boot/config-3.2.0-4-amd64:# CONFIG_DEBUG_INFO_REDUCED is not set > /boot/config-3.2.0-4-rt-amd64:CONFIG_DEBUG_INFO=y > /boot/config-3.2.0-4-rt-amd64:# CONFIG_DEBUG_INFO_REDUCED is not set > > What should I do to get a 'standard size' Debian package ? > Disable this parameter in the kernel config ? Or doing an action / setup > I forgot ? You should disable this option if you don't need debug information. The official binary packages are built with a post-processing step that removes the debug information into separate packages e.g. linux-image-3.2.0-amd64-dbg. Ben. -- Ben Hutchings Every program is either trivial or else contains at least one bugAttachment: signature.asc
Description: This is a digitally signed message part
--- End Message ---