> Did it build the older version of gdb before you applied your patch?

I didn't, but I believe it would have gotten much the same result.
Looking at the publishing history, I found version "6" as an example:
https://launchpad.net/ubuntu/+source/gdb-arm-none-eabi/6. So, when I
look at what binary packages it produced, they are actually called "gdb-
arm-none-eabi 7.8-0ubuntu1+6"
(https://launchpad.net/ubuntu/wily/+package/gdb-arm-none-eabi).

Like I mentioned above, I believe this package picks up the first part
of the version number from the gdb package when building. It is
unfortunately not clear to me exactly how this happens. Furthermore, I'm
somewhat worried that in doing so, my tiny little patch has actually
pulled in a ton of other changes when it actually built and the version
number was tweaked.

>It looks like the version in the new changelog entry should probably be
`2` instead of having an ubuntu prefix, since the prefix is already
built into the version number.

Well, the extra "ubuntu" wasn't there when I wrote it. :P In more
seriousness, I'm quite sure what the appropriate version number here is.
Appending ubuntuX is customary when adding a patch in Ubuntu, though I
also considered .1 (I'll explain that one more below).

I can't really use 2, because that version exists upstream. If you look
at the changelog at http://anonscm.debian.org/cgit/collab-maint/gdb-arm-
none-eabi.git/log/, one of the lines is tagged debian/1. Above it is two
(or three, if you include the changelog entry) commits, which are then
tagged as debian/2. This means that version 2 exists and it contains of
those two patches since version 1. Since I've only taken one of the
patches I can't call it version 2 without being confusing and probably
misleading since people would also expect the other patch to be present
if they read this changelog. So in reality, it's simply version 1 "plus
some extra stuff", which is why I also considered version 1.1 to
indicate it has slightly more than version 1, but it isn't a straight
import of a newer version.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267680

Title:
  package gdb-arm-none-eabi (not installed) failed to install/upgrade:
  trying to overwrite '/usr/share/man/man1/gdb.1.gz', which is also in
  package gdb 7.6.50.20131218-0ubuntu1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/1267680/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to