Bug#528626: amule: please make it easier to build with debugging symbols
Debugging symbols are included if -g is passed to the compiler, and if you check the builds log of amule in http://buildd.debian.org, you'll see -g is being passed. -g was passed, but the executable did not contain the debugging symbols. If, however, you're absolutely sure that building with 'nostrip' in DEB_BUILD_OPTIONS is not producing unstripped binaries (i.e., `file /usr/bin/amule` says stripped instead of not stripped), then please let me know and I'll investigate what's going wrong. But please be sure of it to the extent possible! amule-2.2.1$ DEB_BUILD_OPTIONS=nostrip debuild [..] amule-2.2.1$ file obj-x86_64-linux-gnu/src/amule obj-x86_64-linux-gnu/src/amule: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.8, not stripped So I guess I must have messed up the environment when I tried. I am really sorry to have bothered you with this, I thought the amule build system was stripping the binaries somehow... and that --enable-debug prevented this from happennig. Sorry again, my report is invalid. Alex -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#528626: amule: please make it easier to build with debugging symbols
+ Alexandre Rossi (Thu, 14 May 2009 10:48:38 +0200): Hello, Alexandre. Package: amule Version: 2.2.1-1+b1 Severity: normal The amule package build system does not seem to allow building with debugging symbols using the DEB_BUILD_OPTIONS=nostrip trick. Maybe the following would help : - --disable-dependency-tracking --disable-ccache --disable-debug \ + --disable-dependency-tracking --disable-ccache \ +# Enable debug with nostrip +ifneq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) +confflags += --enable-debug +else +confflags += --disable-debug +endif + ### Well, I don't think that's correct, --enable-debug is not about including debugging symbols in the build, but about emitting extra debuggin information when executing the program. Debugging symbols are included if -g is passed to the compiler, and if you check the builds log of amule in http://buildd.debian.org, you'll see -g is being passed. If, however, you're absolutely sure that building with 'nostrip' in DEB_BUILD_OPTIONS is not producing unstripped binaries (i.e., `file /usr/bin/amule` says stripped instead of not stripped), then please let me know and I'll investigate what's going wrong. But please be sure of it to the extent possible! Thanks, -- - Are you sure we're good? - Always. -- Rory and Lorelai -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#528626: amule: please make it easier to build with debugging symbols
Package: amule Version: 2.2.1-1+b1 Severity: normal The amule package build system does not seem to allow building with debugging symbols using the DEB_BUILD_OPTIONS=nostrip trick. Maybe the following would help : --- amule-2.2.1/debian/rules2009-05-14 08:45:50.0 + +++ amule-2.2.1.new/debian/rules2009-05-14 08:47:39.0 + @@ -7,7 +7,7 @@ # Configure arguments confflags = --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info \ - --disable-dependency-tracking --disable-ccache --disable-debug \ + --disable-dependency-tracking --disable-ccache \ --enable-amule-daemon --enable-amulecmd --enable-ed2k --enable-webserver\ --enable-amule-gui --enable-cas --enable-wxcas --enable-alc --enable-alcc \ --disable-embedded-crypto --enable-geoip --enable-upnp --with-denoise-level=0 @@ -22,6 +22,13 @@ confflags += --host $(DEB_HOST_GNU_TYPE) endif +# Enable debug with nostrip +ifneq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) +confflags += --enable-debug +else +confflags += --disable-debug +endif + ### # Directory to make the build on -- System Information: Debian Release: 5.0.1 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.26-2-openvz-amd64 (SMP w/2 CPU cores) Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org