Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 879141 - sys-apps/systemd-utils-251.7 - cc1: error: argument to ‘-O’ should be a non-negative integer, ‘g’, ‘s’, ‘z’ or ‘fast’
Summary: sys-apps/systemd-utils-251.7 - cc1: error: argument to ‘-O’ should be a non-n...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo systemd Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-02 08:21 UTC by Toralf Förster
Modified: 2022-11-07 16:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.86 KB, text/plain)
2022-11-02 08:21 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,20.11 KB, text/plain)
2022-11-02 08:21 UTC, Toralf Förster
Details
environment (environment,145.53 KB, text/plain)
2022-11-02 08:21 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,36.58 KB, application/x-bzip)
2022-11-02 08:21 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,28.31 KB, application/x-bzip)
2022-11-02 08:21 UTC, Toralf Förster
Details
sys-apps:systemd-utils-251.7:20221102-061611.log (sys-apps:systemd-utils-251.7:20221102-061611.log,53.38 KB, text/plain)
2022-11-02 08:21 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,43.52 KB, application/x-bzip)
2022-11-02 08:21 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-11-02 08:21:08 UTC
too long lines were shrinked:

cc1: error: argument to -O should be a non-negative integer, g, s, z or fast
[5/468] /usr/lib/python-exec/python3.10/meson --internal exe --capture src/basic/arphrd-list.txt -- /var/tmp/portage/sys-apps/systemd-utils-251.7/work/systemd-stable-251.7/src/basic/generate-arphrd-list.sh 'x86_64-pc-linux-gnu-gcc -E' config.h
[6/468] /usr/lib/python-exec/python3.10/meson --internal exe --capture src/basic/af-from-name.gperf -- /var/tmp/portage/sys-apps/systemd-utils-251.7/work/systemd-stable-251.7/tools/generate-gperfs.py af '' src/basic/af-list.txt
[7/468] /usr/lib/python-exec/python3.10/meson --internal exe --capture src/basic/errno-list.txt -- /var/tmp/portage/sys-apps/systemd-utils-251.7/work/systemd-stable-251.7/src/basic/generate-errno-list.sh 'x86_64-pc-linux-gnu-gcc -E'
ninja: build stopped: subcommand failed.
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: /usr/bin/ninja -j 4 -v bootctl kernel-install man/bootctl.1 man/kernel-install.8 src/boot/efi/linuxx64.efi.stub src/boot/efi/linuxx64.elf.stub src/boot/efi/systemd-bootx64.efi systemd-tmpfiles.standalone man/tmpfiles.d.5 man/systemd-tmpfiles.8 man/systemd-tm

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-j4-20221102-020008

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
/usr/lib/llvm/15
15.0.3
Python 3.10.8
Available Rust versions:
  [1]   rust-bin-1.64.0 *
php cli (if any):
GNU Make 4.4

  HEAD of ::gentoo
commit 5846e7414d85283f0f9302da643fedc0c3ac883c
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Nov 2 01:31:54 2022 +0000

    2022-11-02 01:31:54 UTC

emerge -qpvO sys-apps/systemd-utils
[ebuild     U ] sys-apps/systemd-utils-251.7 [251.4-r2] USE="acl boot* kmod (split-usr) tmpfiles udev (-selinux) -sysusers -test" ABI_X86="(64) -32 (-x32)"
Comment 1 Toralf Förster gentoo-dev 2022-11-02 08:21:09 UTC
Created attachment 826627 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-02 08:21:10 UTC
Created attachment 826629 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-11-02 08:21:12 UTC
Created attachment 826631 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-11-02 08:21:13 UTC
Created attachment 826633 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-11-02 08:21:14 UTC
Created attachment 826635 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-02 08:21:16 UTC
Created attachment 826637 [details]
sys-apps:systemd-utils-251.7:20221102-061611.log
Comment 7 Toralf Förster gentoo-dev 2022-11-02 08:21:17 UTC
Created attachment 826639 [details]
temp.tar.bz2
Comment 8 Mike Gilbert gentoo-dev 2022-11-02 19:11:09 UTC
FAILED: src/boot/efi/bootspec-fundamental.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc -c ../systemd-stable-251.7/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 /var/tmp/portage/sys-apps/systemd-utils-251.7/work/systemd-stable-251.7/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 -O2
cc1: error: argument to ‘-O’ should be a non-negative integer, ‘g’, ‘s’, ‘z’ or ‘fast’
Comment 9 Larry the Git Cow gentoo-dev 2022-11-06 03:22:28 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=932a4a03a9e7f147dd4aabbefae58dcafa77ff32

commit 932a4a03a9e7f147dd4aabbefae58dcafa77ff32
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2022-11-06 03:22:00 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2022-11-06 03:22:00 +0000

    sys-apps/systemd-utils: fix build with meson-0.64
    
    Closes: https://bugs.gentoo.org/879141
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 sys-apps/systemd-utils/files/251-meson-0.64.patch | 26 +++++++++++++++++++++++
 sys-apps/systemd-utils/systemd-utils-251.7.ebuild |  1 +
 2 files changed, 27 insertions(+)
Comment 10 Larry the Git Cow gentoo-dev 2022-11-07 16:15:19 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83353a2bfaa32fa2a5988496eb99674f711849cd

commit 83353a2bfaa32fa2a5988496eb99674f711849cd
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2022-11-07 16:14:40 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2022-11-07 16:14:40 +0000

    sys-apps/systemd: backport fix for meson-0.64
    
    Bug: https://bugs.gentoo.org/879141
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 sys-apps/systemd/files/251-meson-0.64.patch | 26 ++++++++++++++++++++++++++
 sys-apps/systemd/systemd-251.7.ebuild       |  1 +
 2 files changed, 27 insertions(+)