Package: libgnatprj-dev
Version: 3.15p-16
Severity: serious

One of the changes I'm experimenting with in GNAT is to change the
GNAT_Version_String (declared in gnatvsn.ads, and displayed by
"gnatmake -v") to reflect the Debian version number.  My intention is
to allow ASIS and GLADE to use this shared version string, instead of
providing their own (they both contain a copy of parts of GNAT, and
I'd like to stop that so that they can benefit from bug fixes made in
GNAT).  Another reason for doing this is that the GCC packages
(gnat-3.4, gnat-4.0) also do that.

I've just discovered that changing the GNAT_Version_String with every
Debian release (e.g. "Debian 3.15p-14") was a bad idea, because GNAT
keeps the CRC of the source (gnatvsn.ads) in the corresponding library
information file (gnatvsn.ali).  And if the CRC changes, then
everything that depends on gnatvsn.ads must be recompiled.  The latest
upload is currently gnat 3.15p-16 and it breaks ASIS, GLADE and GPS
(they can still run, but GLADE and GPS fail to build from source).

Therefore, the GNAT_Version_String should not change, unless the
soname of the library changes.  Starting with -17, the
GNAT_Version_String will be "3.15p (Debian)" instead of "3.15p (Debian
3.15p-16)".

I'm cloning this bug for gnat-3.4 and gnat-4.0, which also have this
problem, but with low severity, because no package depends on them.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (600, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.27-2-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages libgnatprj-dev depends on:
ii  gnat                          3.15p-16   The GNU Ada 95 compiler
ii  libgnatprj-3.15p              3.15p-16   GNU Ada Project file support libra

libgnatprj-dev recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to