Your message dated Mon, 15 Jul 2024 11:26:07 +0200
with message-id <[email protected]>
and subject line Fixed in 1.1.2-3
has caused the Debian Bug report #1034632,
regarding rust-zram-generator: FTBFS - Couldn't find DIE at [59fe9]
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 [email protected]
immediately.)
--
1034632: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1034632
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: rust-zram-generator
Version: 1.1.2-2
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu ubuntu-patch
X-Debbugs-Cc: [email protected]
Dear Maintainer,
rust-zram-generator FTBFS on LLVM-15 when LTO is enabled in Cargo.toml due to
https://github.com/rust-lang/rust/issues/66118
This does not currently affect Debian, but can be reproduced on Ubuntu, where
llvm-15 is already the default. It will affect Debian in the future.
dh_fixperms -a -O--buildsystem=cargo
dh_missing -a -O--buildsystem=cargo
dh_dwz -a -O--buildsystem=cargo
dwz:
debian/systemd-zram-generator/lib/systemd/system-generators/zram-generator:
Couldn't find DIE at [55d39] referenced by DW_AT_abstract_origin from DIE at
[25457]
dh_dwz: error: dwz --
debian/systemd-zram-generator/lib/systemd/system-generators/zram-generator
returned exit code 1
In Ubuntu, the attached patch was applied to achieve the following:
* d/rules: Disable dwz to fix FTBFS with LTO
Thanks for considering the patch.
-- Lukas
-- System Information:
Debian Release: bookworm/sid
APT prefers jammy-updates
APT policy: (500, 'jammy-updates'), (500, 'jammy-security'), (500, 'jammy'),
(100, 'jammy-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.19.0-38-generic (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
diff -Nru rust-zram-generator-1.1.2/debian/rules
rust-zram-generator-1.1.2/debian/rules
--- rust-zram-generator-1.1.2/debian/rules 2022-12-28 18:03:27.000000000
+0100
+++ rust-zram-generator-1.1.2/debian/rules 2023-04-20 10:58:07.000000000
+0200
@@ -14,3 +14,7 @@
mv debian/systemd-zram-generator/usr/bin/zram-generator \
debian/systemd-zram-generator/lib/systemd/system-generators
rm -rf debian/systemd-zram-generator/usr/bin
+
+override_dh_dwz:
+ # Don't do anything. Fails because of LTO:
+ # https://github.com/rust-lang/rust/issues/66118
--- End Message ---
--- Begin Message ---
Version: 1.1.2-3
The workaround (override dh_dwz making it a no-op) has been applied in
version 1.1.2-3.
Thanks,
Arnaud
OpenPGP_0xD3EBB5966BB99196.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature
--- End Message ---