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

Bug#247507: gcc-3.3: No way to get source-version from binary package version.



Package: gcc-3.3
Version: N/A; reported 2004-05-05
Severity: normal

When debugging autobuilds it is quite intersting which version of gcc
was used, which is why the autobuilders include e.g. this in the
build-log:

| Checking correctness of source dependencies...
| Toolchain package versions: libc6-dev_2.3.2.ds1-11 linux-kernel-headers_2.5.999-test7-bk-15 gcc-3.3_1:3.3.3-2 g++-3.3_1:3.3.3-2 binutils_2.14.90.0.7-6 libstdc++5_1:3.3.3-2 libstdc++5-3.3-dev_1:3.3.3-2

The problem is that this is information is next to useless because gcc
uses different, unrelated version numbers for source and binary
packages. There is no easy way to find out which source version
corresponds to "gcc-3.3_1:3.3.3-2".

I actually needed this information and the way I solved it was
painful as possible: I guessed, downloaded the respective diff from
snapshot.debian.net, searched it for "1:3.3.3" and found that the
version is defined in debian/rules.parameters. Because my initial
guess was quite well I only needed to download two (2.5MB) diffs until
I had the correct one. :-(

I am not familiar enough with gcc to really suggest a solution, but
I'd be surpised if there was a better one than simply documenting the
mangled versions in debian/changelog or shipping a conversion table in
/usr/share/doc/
             cu andreas

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux balrog 2.4.26-1-k7 #3 Sun Apr 18 21:43:29 EST 2004 i686
Locale: LANG=de_AT, LC_CTYPE=de_AT



Reply to: