Package: gdb
Version: 7.10-1
Severity: wishlist

Control: block -1 by 798401

(do read and fix the blocking bug first)

Dear Maintainer,

Since it is considered RC buggy to have gdb scripts that don't work
with both versions of GDB, it would be hugely useful if they could be
installed at the same time.

You can use the `update-alternatives` mechanism to select which gdb gets
the main name.

The contents of the packages are very similar, I do not anticipate any
fundamental problems, just packaging ones. I would guess you want to
split out a `gdb-data` package used by both. (Bikeshed: `gdb-common`?)

If you reject the creation of a new `gdb-data` package, you should change
`gdb-multiarch` and `gdb-mingw-w64` to depend on `gdb | gdb-python2`.

I have commented the below diff, and also <snip>ped some similar lines,
though note that it is somewhat wrong because of the blocking bug.

BEGIN DIFF

# extract both .deb files ...
$ diff -sr gdb-python2 gdb-python3

# Bug in gdb-python2, should be common
Only in gdb-python3: etc
# Bug in gdb-python2, should be common
Only in gdb-python3/usr/bin: gcore
Only in gdb-python3/usr/bin: gdb-add-index
# Bug in gdb-python2, should be common or named gdb-python2tui
Only in gdb-python3/usr/bin: gdbtui
# Grave bug, see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798401
Files gdb-python2/usr/bin/gdb and gdb-python3/usr/bin/gdb are identical
# Bug in gdb-python2 - it should not ship this directory at all
Only in gdb-python3/usr/share/doc/gdb: <snip>
# Bug in gdb-python2, should be in /usr/share/doc/gdb-python2/ or not at all
Files gdb-python2/usr/share/doc/gdb/check.log.gz and 
gdb-python3/usr/share/doc/gdb/check.log.gz are identical
# Okay
Only in gdb-python2/usr/share/doc: gdb-python2
# Okay, should be common
Files under gdb-python2/usr/share/gdb/<snip> and 
gdb-python3/usr/share/gdb/<snip> are identical
# Okay, should be common
# Note that gdb.1.gz is shipped in gdb-doc which is non-free due to stupid 
reasons.
Files gdb-python2/usr/share/man/man1/gcore.1.gz and 
gdb-python3/usr/share/man/man1/gcore.1.gz are identical
# Okay
Only in gdb-python3/usr/share/menu: gdb
Only in gdb-python2/usr/share/menu: gdb-python2

END DIFF

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (600, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, powerpc, arm64, armhf

Kernel: Linux 4.1.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gdb depends on:
ii  libbabeltrace-ctf1  1.2.4-1
ii  libbabeltrace1      1.2.4-1
ii  libc6               2.19-19
ii  libexpat1           2.1.0-7
ii  liblzma5            5.1.1alpha+20120614-2.1
ii  libncurses5         6.0+20150810-1
ii  libpython3.4        3.4.3-7
ii  libreadline6        6.3-8+b3
ii  libtinfo5           6.0+20150810-1
ii  zlib1g              1:1.2.8.dfsg-2+b1

Versions of packages gdb recommends:
ii  gdbserver             7.10-1
ii  libc6-dbg [libc-dbg]  2.19-19

Versions of packages gdb suggests:
ii  gdb-doc  7.6.2-1

-- no debconf information

Reply via email to