Package: bind9-host
Version: 1:9.7.3.dfsg-1~squeeze3
Severity: normal

Hi,
Please include a README.Source to explain how to rebuild with debugging
symbols. I was trying to get a build of /usr/bin/host which i could run
in gdb to help with #648113 , but gave up after 3 tries and just put in the
bug as is.

First try:
- DEB_BUILD_OPTIONS=debug dpkg-buildpackage -sa

GDB reports:
- warning: The current binary is a PIE (Position Independent
  Executable), which GDB does NOT currently support.  Most debugger
  features will fail if used in this session.
  Reading symbols from /usr/bin/host...(no debugging symbols
  found)...done.

Second try:
- Remove build-dep on hardening-wrapper, purge hardening wrapper.
- DEB_BUILD_OPTIONS=debug dpkg-buildpackage -sa

GDB reports:
- Reading symbols from /usr/bin/host...(no debugging symbols
  found)...done.

Third try:
- export DEB_BUILD_OPTIONS=debug
- DEB_BUILD_OPTIONS=debug dpkg-buildpackage -sa

GDB reports:
- Reading symbols from /usr/bin/host...(no debugging symbols
  found)...done.

(Yes, I installed my new packages each time).

After these three tries I'm not sure what the remaining 'obvious'
options are, so please provide some documentation on how to do this.

thanks,
kk

-- System Information:
Debian Release: 6.0.3
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bind9-host depends on:
ii  libbind9-60      1:9.7.3.dfsg-1~squeeze3 BIND9 Shared Library used by BIND
ii  libc6            2.11.2-10               Embedded GNU C Library: Shared lib
ii  libcap2          1:2.19-3                support for getting/setting POSIX.
ii  libdns69         1:9.7.3.dfsg-1~squeeze3 DNS Shared Library used by BIND
ii  libgssapi-krb5-2 1.8.3+dfsg-4squeeze2    MIT Kerberos runtime libraries - k
ii  libisc62         1:9.7.3.dfsg-1~squeeze3 ISC Shared Library used by BIND
ii  libisccfg62      1:9.7.3.dfsg-1~squeeze3 Config File Handling Library used 
ii  liblwres60       1:9.7.3.dfsg-1~squeeze3 Lightweight Resolver Library used 
ii  libssl0.9.8      0.9.8o-4squeeze3        SSL shared libraries
ii  libxml2          2.7.8.dfsg-2+squeeze1   GNOME XML library

bind9-host recommends no packages.

bind9-host suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to