Package: release.debian.org
Severity: normal
X-Debbugs-Cc: [email protected], [email protected]
Control: affects -1 + src:gnat
User: [email protected]
Usertags: transition
Debian's Ada metapackage gnat depends on gcc-14,
whereas the current gcc version is 16.
Impacted packages;
adasockets
gcc-doc-defaults
libgmpada
music123 (rebuild only)
topal (rebuild only)
===========================================================
Ben file:
title = "gnat-16";
is_affected = .depends ~ /libgnat/ & !.source ~ /gcc/;
is_good = .depends ~ /libgnat-16/;
is_bad = .depends ~ /libgnat-\d+/ & !.depends ~ /libgnat-16/;
===========================================================
Packages not in Testing depending on gnat-14
ada-bar-codes
adacgi
ahven
anet
dbusada
ghdl
gprbuild
libflorist
libgnatcoll
libgnatcoll-bindings
libgtkada
libtemplates-parser
libxmlada
libxmlezout
Packages not in Testing depending on unversioned gnat
alire
dh-ada-library
I understand there is an issue with 32bit architectures,
that is very unlikely to be resolved any time soon.
(Maybe never, as there has been no progress since last year.)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114065
https://bugs.debian.org/1121759
https://bugs.debian.org/1121232
To avoid users installing a broken package,
I'm thinking of adding a preinst to gnat,
to prevent installing on 32bit arches.
(attached)
#!/bin/sh
set -e
# Query dpkg-architecture for the pointer size / bits of the host system
ARCH_BITS=$(dpkg-architecture -q DEB_HOST_ARCH_BITS 2>/0)
case "$ARCH_BITS" in
32)
echo "Error: This package cannot be installed on a 32-bit system." >&2
exit 1
;;
*)
# Allows 64-bit systems safely
exit 0
;;
esac
#DEBHELPER#