FS#75852 - [meson][systemd] FTBFS

Attached to Project: Arch Linux
Opened by Xeonacid (Xeonacid) - Thursday, 08 September 2022, 11:17 GMT
Last edited by Toolybird (Toolybird) - Wednesday, 09 November 2022, 19:43 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Christian Hesse (eworm)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:

[1/2460] Generating src/boot/efi/bootspec-fundamental.c.o with a custom command
FAILED: src/boot/efi/bootspec-fundamental.c.o
/usr/bin/cc -c ../systemd-stable/src/fundamental/bootspec-fundamental.c -o src/boot/efi/bootspec-fundamental.c.o -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wdate-time -Wendif-labels -Werror=format=2 -Werror=implicit-function-declaration -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wno-maybe-uninitialized -Wno-unused-result -fno-stack-protector -fno-strict-aliasing -fpic -fwide-exec-charset=UCS2 -Wall -Wextra -Wsign-compare -nostdlib -std=gnu11 -ffreestanding -fshort-wchar -fvisibility=hidden -isystem /usr/include/efi -isystem /usr/include/efi/x86_64 -I /build/systemd/src/systemd-stable/src/fundamental -DSD_BOOT -DGNU_EFI_USE_MS_ABI -include src/boot/efi/efi_config.h -include version.h -O1 -mno-red-zone -mno-sse -mno-mmx -Oplain -flto -O2 -ffile-prefix-map=/build/systemd/src=/usr/src/debug -flto=auto
cc1: error: argument to ‘-O’ should be a non-negative integer, ‘g’, ‘s’, ‘z’ or ‘fast’
[2/2460] Generating src/boot/efi/efivars-fundamental.c.o with a custom command
FAILED: src/boot/efi/efivars-fundamental.c.o
/usr/bin/cc -c ../systemd-stable/src/fundamental/efivars-fundamental.c -o src/boot/efi/efivars-fundamental.c.o -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wdate-time -Wendif-labels -Werror=format=2 -Werror=implicit-function-declaration -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wno-maybe-uninitialized -Wno-unused-result -fno-stack-protector -fno-strict-aliasing -fpic -fwide-exec-charset=UCS2 -Wall -Wextra -Wsign-compare -nostdlib -std=gnu11 -ffreestanding -fshort-wchar -fvisibility=hidden -isystem /usr/include/efi -isystem /usr/include/efi/x86_64 -I /build/systemd/src/systemd-stable/src/fundamental -DSD_BOOT -DGNU_EFI_USE_MS_ABI -include src/boot/efi/efi_config.h -include version.h -O1 -mno-red-zone -mno-sse -mno-mmx -Oplain -flto -O2 -ffile-prefix-map=/build/systemd/src=/usr/src/debug -flto=auto
cc1: error: argument to ‘-O’ should be a non-negative integer, ‘g’, ‘s’, ‘z’ or ‘fast’
... (A lot more)
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().

「-Oplain」occurs strangely.

Steps to reproduce:
- extra-x86_64-build
This task depends upon

Closed by  Toolybird (Toolybird)
Wednesday, 09 November 2022, 19:43 GMT
Reason for closing:  Fixed
Additional comments about closing:  systemd 251.6-1
Comment by Christian Hesse (eworm) - Thursday, 08 September 2022, 12:26 GMT Comment by Jan Alexander Steffens (heftig) - Thursday, 08 September 2022, 13:45 GMT
Easiest workaround: Add `--buildtype debugoptimized -D b_ndebug=true` until this is fixed.
Comment by Christian Hesse (eworm) - Thursday, 08 September 2022, 19:38 GMT
Thanks, Jan!
Fixed in svn with the workaround given above.

Loading...