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 <[email protected]> [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

