[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#154468: dpkg-dev: dpkg-buildpackage could make building debug versions easier

Package: dpkg-dev
Version: 1.10.4
Severity: wishlist

I often use apt-get source + dpkg-buildpackage to build a debugging
version of a package so that I can investigate bugs with full debugging
symbols.  And I never can remember what is the name of the environment
variable that you have to set to achieve it (DEB_BUILD_OPTIONS).  It
would be nice if it were mentioned in dpkg-buildpackage manual page
somewhere.  It would be even better if dpkg-buildpackage supported an
option --debug-build or something that would automatically export
to the build process.

BTW the manual page could also mention fakeroot in the discussion of -r
flag.  I was under the impression that fakeroot is the preferred one.
It also can help catch some packaging errors, like trying to install
 something under /bin instead of .../debian/tmp/bin.

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux mg 2.4.18 #1 Wed Apr 24 20:17:10 EET 2002 i686
Locale: LANG=C, LC_CTYPE=lt_LT

Versions of packages dpkg-dev depends on:
ii  binutils         The GNU assembler, linker and bina
ii  cpio                      2.5-1          GNU cpio -- a program to manage ar
ii  make                      3.79.1-14      The GNU version of the "make" util
ii  patch                     2.5.4-11       Apply a diff file to an original
ii  perl [perl5]              5.6.1-7        Larry Wall's Practical Extraction 
ii  perl-modules              5.6.1-7        Core Perl modules.

-- no debconf information

Marius Gedminas
Never, ever expect hackers to be able to read closed proprietary document
formats like Microsoft Word. Most hackers react to these about as well as you
would to having a pile of steaming pig manure dumped on your doorstep.
	-- ESR (http://www.tuxedo.org/~esr/faqs/smart-questions.html)

To UNSUBSCRIBE, email to debian-dpkg-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: