- Package:
- gcc-defaults
- Source:
- gcc-defaults
- Submitter:
- Helmut Grohne
- Date:
- 2025-09-04 00:07:03 UTC
- Severity:
- normal
- Tags:
Package: gcc-defaults
Version: 1.224
Severity: important
Tags: patch
Justification: breaks architecture cross bootstrap
User: debian-cross@lists.debian.org
Usertags: cross-satisfiability
User: helmutg@debian.org
Usertags: rebootstrap
X-Debbugs-Cc: zeha@debian.org
Hi Matthias,
you recently fixed use of the apt cache in gcc-defaults #1104504.
Unfortunately, the new version poses several problems.
A relatively straight forward one is this message during build:
| dpkg-query: error in show format: may not be empty string
It originates from:
| MOD_VER := $(shell dpkg-query -W --showformat='${Provides}' gfortran-$(PV_GFORT) \
| | sed 's/.*\(gfortran-mod-[0-9]*\).*/\1/')
In this invocation, ${Provides} is evaluated as a makefile variable. As
it happens to be unset, the empty string is substituted. dpkg doesn't
like that and as a result, gfortran does not provide any gfortran-mod-*.
This is easily fixed by escaping the $ as '$${Provides}'. Fair enough.
The next problem is the additional gfortran-VER dependency. It's implied
as a host architecture dependency and it transitively depends on
binutils:HOST. This is in stark conflict with binutils:BUILD as depended
upon by build-essential. As a result, this dependency is always
cross-unsatisfiable.
If we assume that the modversion does not vary across architectures
(which seems like a valid assumption given that it is scraped from
$(srcdir)/gcc/fortran/module.cc), we may change that to
gfortran-VER:native. Do you agree?
Helmut
fixed both in the VCS.
We believe that the bug you reported is fixed in the latest version of gcc-defaults, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 1107486@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Matthias Klose <doko@debian.org> (supplier of updated gcc-defaults package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) Format: 1.8 Date: Thu, 04 Sep 2025 01:22:32 +0200 Source: gcc-defaults Architecture: source Version: 1.226 Distribution: unstable Urgency: medium Maintainer: Debian GCC Maintainers <debian-gcc@lists.debian.org> Changed-By: Matthias Klose <doko@debian.org> Closes: 1099449 1107486 Changes: gcc-defaults (1.226) unstable; urgency=medium . * Fix some man page issues (Bjarni Ingi Gislason). Closes: #1099449. * Fix mod-version computation (Helmut Grohne). Closes: #1107486. * Depend on the native gfortran-N (Helmut Grohne). * Build libgphobos-dev on ppc64el. * Bump versions to 15.2 and 14.3. Checksums-Sha1: 4079a9eb7ea2d863e2c84286474be7c6e722581d 37750 gcc-defaults_1.226.dsc b87d12157f9498e64082f35f105ec5d0d7ec0ba6 55392 gcc-defaults_1.226.tar.xz f1aa6f7fd25aaef326557fb5f41358eaf0c69182 6211 gcc-defaults_1.226_source.buildinfo Checksums-Sha256: 0fdb11463f9750a4519dc05e791723d09b06de6dfc7f9787b1eab6c4c5350a90 37750 gcc-defaults_1.226.dsc 2823e8a1958a4b0f2a0ccccf5ae84cfc20d52001bc7410b3a504a979a132264a 55392 gcc-defaults_1.226.tar.xz cee315a995120e9e4aae523d633bdff97084c18a17672244bd28245d1f1b829d 6211 gcc-defaults_1.226_source.buildinfo Files: 427560eb4a02c8d68a06e3eab88b714f 37750 devel standard gcc-defaults_1.226.dsc a287c9985a93d1afad7cefdf792f11bb 55392 devel standard gcc-defaults_1.226.tar.xz 5338235623a3e694cbee16911d822f36 6211 devel standard gcc-defaults_1.226_source.buildinfo -----BEGIN PGP SIGNATURE----- iQJEBAEBCgAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAmi40QAQHGRva29AZGVi aWFuLm9yZwAKCRC9fqpgd4+m9QG/EADZt8IKY+/1cldgLQ7dOYVAtfRSxY2afHMA WXQvjHuA3hm9RXIOUkU63wJMdSYRjFPA0yOxL3dZwvGM/Tqk6/VGDqauzKPAZJj7 8r2MVsff5gmQbsNcpk5IBxCVRdCptmk81Ivzqp+VvtPyct3oyHS7KrABH0+L4b4O c7xdfavhc9AuYJcUi24OT4daG+HfuNWgVh/7UtoOV5YF53VzM6tuBxgFkdYnYWcu Xy9jKPso2jQWtA2Mp/At6f5KecaT2Pz4JN/SBrW3gj5cY2ZMXKbT2PKni4ZbXEY/ icnJ88Z9eC2853Xqfd6GNZ5idpYnYzoXKtGxrKnFMwXHoJxWdXPwJjvz5nqrESLx QMh+S6EUk/bjEfr8ED0965Frs2Fzbja63J7a9tAnb+k3pdB0WFyyeaYZJgcRc/8L DG1UzS/9942jNgaoEnGAxf41nPg8J1HibVTNWpMTry9rV3R3whVjLFERzjuaWuTa zn02kLHK2DDXJKnGUBbBYBkvRTPYfiIbj/d3TfwbMzYUdG1sx3EpwSdgv0TYHAq7 iow30zZ3I7wl9OGbSHbsWB5bjw4myVc0nhy6OhmzG+qxLi+KxE91oT2ud8F3vzWZ ofMfqjZLYDcDRB6YdHD2fL7Vv66PmJiPLwFSHXdKvjLuiB9Vh9slSBZpdtJQQboS SE3BWw6T2Q== =yiND -----END PGP SIGNATURE-----