[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1067904: marked as done ($frontend-$version-for-host: versioned dependency too strict)



Your message dated Sun, 31 Mar 2024 10:42:46 +0000
with message-id <E1rqseE-004xtv-L2@fasolo.debian.org>
and subject line Bug#1067904: fixed in gcc-14 14-20240330-1
has caused the Debian Bug report #1067904,
regarding $frontend-$version-for-host: versioned dependency too strict
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1067904: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1067904
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: gcc-14
Severity: wishlist
Tags: patch
User: helmutg@debian.org
Usertags rebootstrap

Hi Matthias,

thanks for merging my -for-host work. I'm looking into making practical
use of it and a major issue is the following dependency:

$FRONTEND-$VERSION-for-host:$DEB_HOST_ARCH -> $FRONTEND-$VERSION-$DEB_HOST_GNU_TYPE (= ${gcc:Version})

While this works nicely for native compilers, trying to use the
-for-host package with a cross toolchain is doomed to fail, because it
always has different version. The equal constraint is too strict to make
practical use of these -for-host packages. I think we should change (=
${gcc:Version}) to (>= ${gcc:SoftVersion}) as is done elsewhere. Do you
agree?

I'm attaching the obvious patch.

Helmut
commit 843e8ae7602a0ec16c67d7064396fa2acd1182cd
Author: Helmut Grohne <helmut@subdivi.de>
Date:   Fri Mar 22 09:35:04 2024 +0100

    use gcc:SoftVersion for -for-host dependencies

diff --git a/debian/control.m4 b/debian/control.m4
index 4b6c61b8..61a4d3a8 100644
--- a/debian/control.m4
+++ b/debian/control.m4
@@ -804,7 +804,7 @@ Package: gcc`'PV`'-for-host
 Architecture: ifdef(`TARGET',`TARGET',`any')
 TARGET_PACKAGE`'dnl
 Multi-Arch: same
-Depends: BASEDEP, gcc`'PV`'${target:suffix} (= ${gcc:Version}),
+Depends: BASEDEP, gcc`'PV`'${target:suffix} (>= ${gcc:SoftVersion}),
   cpp`'PV`'-for-host (= ${gcc:Version}), ${misc:Depends}
 BUILT_USING`'dnl
 Description: GNU C compiler for the host architecture
@@ -929,7 +929,7 @@ Architecture: ifdef(`TARGET',`TARGET',`any')
 TARGET_PACKAGE`'dnl
 Multi-Arch: same
 Section: ifdef(`TARGET',`devel',`interpreters')
-Depends: BASEDEP, cpp`'PV`'${target:suffix} (= ${gcc:Version}), ${misc:Depends}
+Depends: BASEDEP, cpp`'PV`'${target:suffix} (>= ${gcc:SoftVersion}), ${misc:Depends}
 BUILT_USING`'dnl
 Description: GNU C preprocessor for the host architecture
  A macro processor that is used automatically by the GNU C compiler
@@ -1019,7 +1019,7 @@ Package: g++`'PV`'-for-host
 Architecture: ifdef(`TARGET',`TARGET',`any')
 TARGET_PACKAGE`'dnl
 Multi-Arch: same
-Depends: BASEDEP, g++`'PV`'${target:suffix} (= ${gcc:Version}),
+Depends: BASEDEP, g++`'PV`'${target:suffix} (>= ${gcc:SoftVersion}),
   gcc`'PV`'-for-host (= ${gcc:Version}), ${misc:Depends}
 BUILT_USING`'dnl
 Description: GNU C++ compiler for the host architecture
@@ -2522,7 +2522,7 @@ Package: gobjc++`'PV`'-for-host
 Architecture: ifdef(`TARGET',`TARGET',`any')
 TARGET_PACKAGE`'dnl
 Multi-Arch: same
-Depends: BASEDEP, gobjc++`'PV`'${target:suffix} (= ${gcc:Version}),
+Depends: BASEDEP, gobjc++`'PV`'${target:suffix} (>= ${gcc:SoftVersion}),
   gobjc`'PV`'-for-host (= ${gcc:Version}), g++`'PV`'-for-host (= ${gcc:Version}),
   ${misc:Depends}
 BUILT_USING`'dnl
@@ -2599,7 +2599,7 @@ Package: gobjc`'PV`'-for-host
 Architecture: ifdef(`TARGET',`TARGET',`any')
 TARGET_PACKAGE`'dnl
 Multi-Arch: same
-Depends: BASEDEP, gobjc`'PV`'${target:suffix} (= ${gcc:Version}),
+Depends: BASEDEP, gobjc`'PV`'${target:suffix} (>= ${gcc:SoftVersion}),
   gobjc`'PV`'-for-host (= ${gcc:Version}), ${misc:Depends}
 BUILT_USING`'dnl
 Description: GNU Objective-C compiler for the host architecture
@@ -2844,7 +2844,7 @@ Package: gfortran`'PV`'-for-host
 Architecture: ifdef(`TARGET',`TARGET',`any')
 TARGET_PACKAGE`'dnl
 Multi-Arch: same
-Depends: BASEDEP, gfortran`'PV`'${target:suffix} (= ${gcc:Version}),
+Depends: BASEDEP, gfortran`'PV`'${target:suffix} (>= ${gcc:SoftVersion}),
   gcc`'PV`'-for-host (= ${gcc:Version}), ${misc:Depends}
 BUILT_USING`'dnl
 Description: GNU Fortran compiler for the host architecture
@@ -3111,7 +3111,7 @@ Package: gccgo`'PV`'-for-host
 Architecture: ifdef(`TARGET',`TARGET',`any')
 TARGET_PACKAGE`'dnl
 Multi-Arch: same
-Depends: BASEDEP, gccgo`'PV`'${target:suffix} (= ${gcc:Version}),
+Depends: BASEDEP, gccgo`'PV`'${target:suffix} (>= ${gcc:SoftVersion}),
   gcc`'PV`'-for-host (= ${gcc:Version}), ${misc:Depends}
 BUILT_USING`'dnl
 Description: GNU Go compiler for the host architecture
@@ -3821,7 +3821,7 @@ Package: gnat`'PV`'-for-host
 Architecture: ifdef(`TARGET',`TARGET',`any')
 TARGET_PACKAGE`'dnl
 Multi-Arch: same
-Depends: BASEDEP, gnat`'PV`'${target:suffix} (= ${gcc:Version}),
+Depends: BASEDEP, gnat`'PV`'${target:suffix} (>= ${gcc:SoftVersion}),
   gcc`'PV`'-for-host (= ${gcc:Version}), ${misc:Depends}
 BUILT_USING`'dnl
 Description: GNU Ada compiler for the host architecture
@@ -3981,7 +3981,7 @@ Package: gdc`'PV`'-for-host
 Architecture: ifdef(`TARGET',`TARGET',`any')
 TARGET_PACKAGE`'dnl
 Multi-Arch: same
-Depends: BASEDEP, gdc`'PV`'${target:suffix} (= ${gcc:Version}),
+Depends: BASEDEP, gdc`'PV`'${target:suffix} (>= ${gcc:SoftVersion}),
   gcc`'PV`'-for-host (= ${gcc:Version}), ${misc:Depends}
 BUILT_USING`'dnl
 Description: GNU D compiler (version 2) for the host architecture
@@ -4268,7 +4268,7 @@ Package: gm2`'PV`'-for-host
 Architecture: ifdef(`TARGET',`TARGET',`any')
 TARGET_PACKAGE`'dnl
 Multi-Arch: same
-Depends: BASEDEP, gm2`'PV`'${target:suffix} (= ${gcc:Version}),
+Depends: BASEDEP, gm2`'PV`'${target:suffix} (>= ${gcc:SoftVersion}),
   gcc`'PV`'-for-host (= ${gcc:Version}), ${misc:Depends}
 BUILT_USING`'dnl
 Description: GNU Modula-2 compiler for the host architecture
@@ -4528,7 +4528,7 @@ Package: gccrs`'PV`'-for-host
 Architecture: ifdef(`TARGET',`TARGET',`any')
 TARGET_PACKAGE`'dnl
 Multi-Arch: same
-Depends: BASEDEP, gccrs`'PV`'${target:suffix} (= ${gcc:Version}),
+Depends: BASEDEP, gccrs`'PV`'${target:suffix} (>= ${gcc:SoftVersion}),
   gcc`'PV`'-for-host (= ${gcc:Version}), ${misc:Depends}
 BUILT_USING`'dnl
 Description: GNU Rust compiler for the host architecture

--- End Message ---
--- Begin Message ---
Source: gcc-14
Source-Version: 14-20240330-1
Done: Matthias Klose <doko@debian.org>

We believe that the bug you reported is fixed in the latest version of
gcc-14, 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 1067904@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-14 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)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 30 Mar 2024 13:27:56 +0100
Source: gcc-14
Architecture: source
Version: 14-20240330-1
Distribution: unstable
Urgency: medium
Maintainer: Debian GCC Maintainers <debian-gcc@lists.debian.org>
Changed-By: Matthias Klose <doko@debian.org>
Closes: 1067904
Changes:
 gcc-14 (14-20240330-1) unstable; urgency=medium
 .
   * Snapshot, taken from the trunk 20240330.
 .
   * Make vhdl known to the PPC backend.
   * Use the proposed patch to fix PR ada/114064, 64bit definitions for
     time_t_bits type on 32bit archs.
   * Move the _FORTIFY_SOURCE setting from cc1 to the driver.
   * d/p/gcc-distro-defaults: Make -fstack-protector-explicit known.
   * newlib: amdgcn: Implement proper locks, taken from newlib trunk.
   * Refresh patches.
   * Use gcc:SoftVersion for -for-host dependencies (Helmut Grohne).
     Closes: #1067904.
Checksums-Sha1:
 2473741df7055944df288955ef8d435f6d056d74 46429 gcc-14_14-20240330-1.dsc
 1e7f204c213548f43097383aebdd4f21cb198021 92673045 gcc-14_14-20240330.orig.tar.gz
 dc3ceb71b7b96f9e4251839e2df60f8830d4afb0 539176 gcc-14_14-20240330-1.debian.tar.xz
 67b28cec69a3cd0a0b6936fc0f63ba6711b5eee7 9684 gcc-14_14-20240330-1_source.buildinfo
Checksums-Sha256:
 9de0b0d51f5c0343a3568ea7a3cb9382e88364966a51c5612e016ec3d0eeacb8 46429 gcc-14_14-20240330-1.dsc
 25c8bfe87ea63efec67120a8ea99c2710de7b7525009b20453313a64ceb7c7f5 92673045 gcc-14_14-20240330.orig.tar.gz
 ace05fba034750cf35e9ee8871830d44c47db3fb7bafec6297f76484384b6f7f 539176 gcc-14_14-20240330-1.debian.tar.xz
 474a76094ba283b07cdf49a461abaa0a0ffe3b64d539d67d2299807e4a996ac3 9684 gcc-14_14-20240330-1_source.buildinfo
Files:
 2a5e1285bbb894b921de8afe8eceafca 46429 devel optional gcc-14_14-20240330-1.dsc
 cc6bd17c7adb880866dc4b36b2d3f21e 92673045 devel optional gcc-14_14-20240330.orig.tar.gz
 49dc09b50c8ef982da630dfffffa81bd 539176 devel optional gcc-14_14-20240330-1.debian.tar.xz
 cc21636743345cbbf703b8e343d6b56d 9684 devel optional gcc-14_14-20240330-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCgAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAmYIBYAQHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9f20EACrGIBfxntw+1juQ3kvZLD8+rSWiOzvL02c
bbO2FOJSfeR8xhOWLFBG3gNUHSruD0XAbp9L3EWIEVqBBN53gpx6ZI3vFpwIVqzv
ZSTMLqRRYpNKSKvEBwJvGlg45T5i2lh24PGKEyNfLaUClxVK0gWCfEJzyxxydtGr
3YBPx7a5g7kBhpRy1o/j4TB++FsMNFZaam7A1sETFUHX8t3bkNlRQn3S7WGS6UjN
DCuilAInaALQZjOKSM+b3IhWl7c7BE5bELTkEcDDt3mFQ7yUF2vny/mPobJGzhqZ
IsrfquPQ5O4bdLmM3YCbou8DdZAOjNYru/X3vNFtz5RyD1c+wEn4lkfW/SGv0cGc
BM4tWn5IOtX8Ym/rnn7YIhGteRgLTPGKVmW0s06ow+P5iBMUBGkd1xPehe6GXSha
FJYNBKU0mO2Q/uvJJWftEL1FoZXsjH9qLRzJLV3ztzmbsKv+0HhX4EOPn0RzKLuI
uCqtvZlgne5TKD0ngTcnNo7Fvi9uoNi8s82qb7ONZDodPpHOeRglSLx4vcOTB5fT
LDIOUXXLGn+PKRMB6KUpduVnnoQRajE78S+ksBqKY71QnAFgAuMdEezcEVfe7L+w
6PLVHk7dbEvJdkK9OWYX6MdzyaHVMr5Ob0mSgh3xZ/BpFx7fXLAt8YK5jbMZcMeB
Zhk/VkEh2g==
=/u2z
-----END PGP SIGNATURE-----

Attachment: pgpi6yh5AOpVE.pgp
Description: PGP signature


--- End Message ---

Reply to: