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

Bug#1057813: marked as done (elfutils FTCBFS: leaks host flags into native build)



Your message dated Tue, 12 Mar 2024 11:05:29 +0000
with message-id <E1rjzwn-001Ryf-9x@fasolo.debian.org>
and subject line Bug#1057813: fixed in elfutils 0.191-1
has caused the Debian Bug report #1057813,
regarding elfutils FTCBFS: leaks host flags into native build
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.)


-- 
1057813: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1057813
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: elfutils
Version: 0.190-1
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs

elfutils fails to cross build from source for amd64 and arm64 both of
which recently added architecture-specific compiler flags such as
PAC/BTI. These leak into the native build pass where the compiler may
not understand them. I'm attaching a patch for your convenience.

Helmut
diff --minimal -Nru elfutils-0.190/debian/changelog elfutils-0.190/debian/changelog
--- elfutils-0.190/debian/changelog	2023-11-16 14:54:07.000000000 +0100
+++ elfutils-0.190/debian/changelog	2023-12-08 07:38:31.000000000 +0100
@@ -1,3 +1,10 @@
+elfutils (0.190-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Do not leak host flags into native build. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Fri, 08 Dec 2023 07:38:31 +0100
+
 elfutils (0.190-1) unstable; urgency=medium
 
   * New upstream version.
diff --minimal -Nru elfutils-0.190/debian/rules elfutils-0.190/debian/rules
--- elfutils-0.190/debian/rules	2023-01-14 14:54:50.000000000 +0100
+++ elfutils-0.190/debian/rules	2023-12-08 07:38:31.000000000 +0100
@@ -68,6 +68,10 @@
 	dh_autoreconf
 	@mkdir -p stamps
 ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
+	CFLAGS='$(CFLAGS_FOR_BUILD)' \
+	CPPFLAGS='$(CPPFLAGS_FOR_BUILD)' \
+	CXXFLAGS='$(CXXFLAGS_FOR_BUILD)' \
+	LDFLAGS='$(LDFLAGS_FOR_BUILD)' \
 	./configure --enable-maintainer-mode \
 		--enable-libdebuginfod=dummy \
 		--disable-debuginfod

--- End Message ---
--- Begin Message ---
Source: elfutils
Source-Version: 0.191-1
Done: Matthias Klose <doko@debian.org>

We believe that the bug you reported is fixed in the latest version of
elfutils, 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 1057813@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 elfutils 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: Tue, 12 Mar 2024 11:42:59 +0100
Source: elfutils
Architecture: source
Version: 0.191-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Elfutils Maintainers <debian-gcc@lists.debian.org>
Changed-By: Matthias Klose <doko@debian.org>
Closes: 1049367 1050108 1057813
Changes:
 elfutils (0.191-1) unstable; urgency=medium
 .
   * New upstream version.
   * Add translations (it, sv). Closes: #1050108, #1049367.
   * Fix cross build failure (Helmut Grohne). Closes: #1057813.
Checksums-Sha1:
 e509f9df38c4b5dd936dd18c2a213535a3893b44 3271 elfutils_0.191-1.dsc
 651aa2b7390aeba178be2ceefd4c2eb42e783e97 9310088 elfutils_0.191.orig.tar.bz2
 1c54cf0de0d4f1b902b26c82108af28f764c69bf 44336 elfutils_0.191-1.debian.tar.xz
 a49065dbd315d4d00e41596d2f0f4c35214574bd 8520 elfutils_0.191-1_source.buildinfo
Checksums-Sha256:
 fd47fd02746b16e94816ccd93f122bc7ed538006cdf0e0287bb6a898074b64b5 3271 elfutils_0.191-1.dsc
 df76db71366d1d708365fc7a6c60ca48398f14367eb2b8954efc8897147ad871 9310088 elfutils_0.191.orig.tar.bz2
 6d9b49304b2602beebf694a967dc37fbd21068ddcbb064b9df30ca4903e83c62 44336 elfutils_0.191-1.debian.tar.xz
 bed46f87f7f4bbf45c13fda739fde558028064c91d30acdfca2a238dc1f3cbd0 8520 elfutils_0.191-1_source.buildinfo
Files:
 dc1554c74fcc2f203946f666960c45fa 3271 libs optional elfutils_0.191-1.dsc
 636547248fb3fae58ec48030298d3ef7 9310088 libs optional elfutils_0.191.orig.tar.bz2
 b75484e51dc1fb9ae9c339c24ef5496a 44336 libs optional elfutils_0.191-1.debian.tar.xz
 1a15944001804cc8e39cc06cf7e9fcb5 8520 libs optional elfutils_0.191-1_source.buildinfo

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

iQJEBAEBCgAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAmXwNCkQHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9V/tD/9zEs5wO5INe6Loq8crdblKpRbegrTYKs/L
XSYlStxn7hwJQR3W2Ze7JYvVIZGrj89FIezSrL4ogHL88/v0GHok6xkKTnXKoXmn
vBUHYgjg2J3YxWlTlPcAXXx+XhCeVdLJNr6riJoACSdF3suhfG4hlvOIDX8/y8BT
0J6BCKOPgy/5PspjxIBqoFR6hxuL8hoos9jEmlgrbWpXDtaFenkdRrmbSS6XVzon
eF7EDJ5NSUG56QMNhQwtzPNmAt1smEmVjN3psc1g1kufl35CO+pbywuxP37A8NsD
NXPzo5zyehKoFFBh30UzLu57fHlyCsl7O3YjM5dYndH/DRXIV+Gu3CY9D37qOLty
hd7tfML9oxRBwCfm68EKC/48YR91xT/f16V6s7WoqRZ/P4W0dt898X5mPps1bl8s
vsiIjx2xtJOKsZplHVewlG60EBZHJCrcINE2EC2Hm3l+IBMCcHNGBagaxHmDtVwL
3ISBDYegevABupZXJo/u1jQoKd0U/jB+8EcPBUXhNCBWeW+6MBGeefN9zqb7Ys9W
s2NymUcHNKbNHo85UPXwo9zNVCpnLkIpUItGikIv7tKy+9hfPUCB+g5/f9pghje+
OZ0WssxsAz9PeHeqirmHpNsztSNKpYkDLIcoUVzt8+ccpJcT4arMH4Jsmw3vEGrO
DHOfkzzyeQ==
=ERHK
-----END PGP SIGNATURE-----

Attachment: pgpaF4w4Elis8.pgp
Description: PGP signature


--- End Message ---

Reply to: