Re: gnatcoll-db (was transition to gcc-12)

2022-12-25 Thread Björn Persson
Nicolas Boulenguez wrote:
> libgnatcoll-db is fixed in experimental.

Thanks, that's a nice Christmas package. :-)

Björn Persson


pgpUuqZhj4Ea3.pgp
Description: OpenPGP digital signatur


Re: gnatcoll-db (was transition to gcc-12)

2022-12-23 Thread Nicolas Boulenguez
libgnatcoll-db is fixed in experimental.

For the record:

> That looks workable. Thanks for the tip. I assume that the package in
> unstable will at some point be linked to a new version of Libgnat or
> some other library, and thus become uninstallable in Bookworm, so I
> should do the above before that happens, and then the package I have
> installed will remain installed.

You are right, it is better to pin a specific version of a specific
package, else apt will attempt to update it and drag unwanted
dependencies.



Re: gnatcoll-db (was transition to gcc-12)

2022-12-22 Thread Björn Persson
Nicolas Boulenguez wrote:
> > I have an Ada program that uses a database on Debian. Do I understand
> > correctly that Gnatcoll-DB will be removed entirely from Debian
> > Bookworm because of what looks like miscompilation on a single arch?
> > So I'll have to build Gnatcoll-DB myself to be able to upgrade from
> > Bullseye to Bookworm?  
> 
> You should not need to build libgnatcoll-db yourself.
> 
> If the issue is not fixed when you upgrade your system to bookworm,
> you may install the specific libgnatcoll-db package from the unstable
> distribution (except on MIPS of course).
> 
> /etc/apt/sources.list:
> deb http://deb.debian.org/debian bookworm main
> deb http://deb.debian.org/debian unstable main
> 
> By default, prefer packages from bookworm even if more recent versions
> exist in unstable.
> 
> /etc/apt/preferences:
> Package: *
> Pin: release n=bookworm
> Pin-Priority: 900
> 
> Package: *
> Pin: release n=bookworm-updates
> Pin-Priority: 990
> 
> You may then use
> # aptitude install libgnatcoll-db/unstable
> or something similar in aptitude/synaptics/...

That looks workable. Thanks for the tip. I assume that the package in
unstable will at some point be linked to a new version of Libgnat or
some other library, and thus become uninstallable in Bookworm, so I
should do the above before that happens, and then the package I have
installed will remain installed.

Björn Persson


pgpkRbM2yZHvf.pgp
Description: OpenPGP digital signatur


Re: gnatcoll-db (was transition to gcc-12)

2022-12-21 Thread Nicolas Boulenguez
> I have an Ada program that uses a database on Debian. Do I understand
> correctly that Gnatcoll-DB will be removed entirely from Debian
> Bookworm because of what looks like miscompilation on a single arch?
> So I'll have to build Gnatcoll-DB myself to be able to upgrade from
> Bullseye to Bookworm?

You should not need to build libgnatcoll-db yourself.

If the issue is not fixed when you upgrade your system to bookworm,
you may install the specific libgnatcoll-db package from the unstable
distribution (except on MIPS of course).

/etc/apt/sources.list:
deb http://deb.debian.org/debian bookworm main
deb http://deb.debian.org/debian unstable main

By default, prefer packages from bookworm even if more recent versions
exist in unstable.

/etc/apt/preferences:
Package: *
Pin: release n=bookworm
Pin-Priority: 900

Package: *
Pin: release n=bookworm-updates
Pin-Priority: 990

You may then use
# aptitude install libgnatcoll-db/unstable
or something similar in aptitude/synaptics/...