Thread View: linux.debian.bugs.rc
2 messages
2 total messages
Started by Rafael Laboissière
Mon, 16 Nov 2026 12:10
Bug#1154137: FTBFS in current unstable with dh_ada_library error
Author: Rafael Laboissière
Date: Mon, 16 Nov 2026 12:10
Date: Mon, 16 Nov 2026 12:10
60 lines
4571 bytes
4571 bytes
Control: reassign -1 dh-ada-library 9.9
Control: affects -1 src:plplot
Control: retitle -1 dh-ada-library: dh_ada_library does not properly parse the "gnatmake --version" output
Control: tags -1 + patch
* Stéphane Glondu <glondu@debian.org> [2026-11-16 10:11]:
> Source: plplot
> Version: 5.15.0+dfsg3-6
> Severity: serious
> Tags: ftbfs
>
> Dear Maintainer,
>
> plplot FTBFS in current unstable with:
>> [...]
>> dh_python3 -O-Scmake
>> I: dh_python3 fs:545: renaming _Pltk_init.so to _Pltk_init.cpython-314-x86_64-linux-gnu.so
>> I: dh_python3 fs:545: renaming _plplotc.so to _plplotc.cpython-314-x86_64-linux-gnu.so
>> I: dh_python3 fs:545: renaming plplot_pyqt5.so to plplot_pyqt5.cpython-314-x86_64-linux-gnu.so
>> dh_installinit -O-Scmake
>> dh_lintian -O-Scmake
>> dh_ada_library -O-Scmake
>> dpkg-query: no packages found matching gnat-20261107-x86-64-linux-gnu:amd64
>> dh_ada_library: error: dpkg-query -Wf\${Provides} gnat-20261107-x86-64-linux-gnu:amd64 returned exit code 1
>> dh_ada_library: error: Aborting due to earlier error
>> make: *** [debian/rules:65: binary] Error 25
>> dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
Thanks for the bug report. I am hereby reassigning it to the dh-ada-library package. The dh_ada_library script does not properly parse the "gnatmake --version" output when setting the $deb_gnat_version variable.
Currently, in Debian unstable, "gnatmake --version" yields the following:
$ gnatmake --version
GNATMAKE 14.4.1 20261107
Copyright (C) 1995-2024, Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
The parsing in line 54 of the dh_ada_library script [1] is producing "gnat-20261107", but it should produce "gnat-14", I think. Changing that line like the following fixes the issue:
--- /usr/bin/dh_ada_library 2025-02-27 10:14:55.000000000 +0000
+++ /home/rafael/dh_ada_library 2026-11-16 11:36:06.055053027 +0000
@@ -51,7 +51,7 @@
my $deb_gnat_version = do {
my @cmd = qw(gnatmake --version);
my @out = qx_cmd(@cmd); #_;# relax syntax highlighters
- if ( defined $out[0] and $out[0] =~ m/ [ ] (\d+) (?: [.] \d+ )* $ / ) {
+ if ( defined $out[0] and $out[0] =~ m/ [ ] (\d+) (?: [. ] \d+ )* $ / ) {
$1;
}
else {
Best,
Rafael Laboissière
P.S.: I am adding Nicolas Boulenguez to the Cc of this message. He should be able to judge whether reassigning this bug report is relevant.
[1] https://salsa.debian.org/debian/dh_ada_library/-/blob/master/dh_ada_library?ref_type=heads#L54
Processed: Re: Bug#1154137: FTBFS in current unstable with dh_ada_library error
Author: Debian Bug Tracking System
Date: Mon, 16 Nov 2026 12:10
Date: Mon, 16 Nov 2026 12:10
32 lines
3074 bytes
3074 bytes
Processing control commands: > reassign -1 dh-ada-library 9.9 Bug #1154137 [src:plplot] FTBFS in current unstable with dh_ada_library error Bug reassigned from package 'src:plplot' to 'dh-ada-library'. No longer marked as found in versions plplot/5.15.0+dfsg3-6. Ignoring request to alter fixed versions of bug #1154137 to the same values previously set Bug #1154137 [dh-ada-library] FTBFS in current unstable with dh_ada_library error Marked as found in versions dh-ada-library/9.9. > affects -1 src:plplot Bug #1154137 [dh-ada-library] FTBFS in current unstable with dh_ada_library error Added indication that 1154137 affects src:plplot > retitle -1 dh-ada-library: dh_ada_library does not properly parse the "gnatmake --version" output Bug #1154137 [dh-ada-library] FTBFS in current unstable with dh_ada_library error Changed Bug title to 'dh-ada-library: dh_ada_library does not properly parse the "gnatmake --version" output' from 'FTBFS in current unstable with dh_ada_library error'. > tags -1 + patch Bug #1154137 [dh-ada-library] dh-ada-library: dh_ada_library does not properly parse the "gnatmake --version" output Added tag(s) patch. -- 1154137: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1154137 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads