FTBFS noble: error: "_FORTIFY_SOURCE" redefined
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qemu (Ubuntu) |
Fix Released
|
High
|
Sergio Durigan Junior |
Bug Description
Rebuilding qemu 1:8.1.3+ds-1ubuntu2 in noble fails with:
FAILED: libmodule-
cc -m64 -mcx16 -Ilibmodule-
<command-line>: error: "_FORTIFY_SOURCE" redefined [-Werror]
<command-line>: note: this is the location of the previous definition
cc1: all warnings being treated as errors
Related branches
- git-ubuntu bot: Approve
- Andreas Hasenack: Approve
- Canonical Server Reporter: Pending requested
-
Diff: 7203 lines (+6597/-11)14 files modifieddebian/changelog (+5204/-3)
debian/control (+54/-7)
debian/control-in (+3/-0)
debian/patches/series (+6/-0)
debian/patches/ubuntu/define-ubuntu-machine-types.patch (+1005/-0)
debian/patches/ubuntu/enable-svm-by-default.patch (+34/-0)
debian/patches/ubuntu/pre-bionic-256k-ipxe-efi-roms.patch (+64/-0)
debian/patches/ubuntu/qboot-Disable-LTO-for-ELF-binary-build-step.patch (+44/-0)
debian/qemu-block-extra.postinst (+59/-0)
debian/qemu-kvm-init (+89/-0)
debian/qemu-system-common.install (+1/-0)
debian/qemu-system-common.qemu-kvm.default (+8/-0)
debian/qemu-system-common.qemu-kvm.service (+16/-0)
debian/rules (+10/-1)
CVE References
Changed in qemu (Ubuntu): | |
assignee: | nobody → Sergio Durigan Junior (sergiodj) |
Changed in qemu (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → High |
We get _FORTIFY_SOURCE=3 from dpkg-buildflags, and the qemu cflags do:
"U_FORTIFY_SOURCE -D_FORTIFY_ SOURCE= 2"