Control: tags -1 moreinfo

On 2026-09-10 14:29:10 +0100, Peter wrote:
> 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#

No, this is wrong. If gnat-16 is broken on 32 bit architectures and
unfixable, then the package and its reverse dependencies need to be
removed from the 32 bit architectures first. Please remove the moreinfo
tag once this is resolved -- either by gnat-16 being fixed or the binary
packages removed.

Cheers
-- 
Sebastian Ramacher

Reply via email to