Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 894430

Summary: sys-apps/systemd-utils-252.5 - ../.../bootctl.c: error: _WORDSIZE undeclared (first use in this function)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo systemd Team <systemd>
Status: RESOLVED OBSOLETE    
Severity: normal CC: musl
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/systemd/systemd/pull/26412
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
sys-apps:systemd-utils-252.5:20230214-174102.log.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2023-02-14 17:47:17 UTC
too long lines were shrinked:

FAILED: bootctl.p/src_boot_bootctl.c.o 
x86_64-gentoo-linux-musl-gcc -Ibootctl.p -I. -I../systemd-stable-252.5 -Isrc/basic -I../systemd-stable-252.5/src/basic -Isrc/fundamental -I../systemd-stable-252.5/src/fundamental -Isrc/systemd -I../systemd-stable-252.5/src/systemd -I../systemd-stable-252.5/src/libsystemd/sd-bus -I../systemd-stable-2
In file included from ../systemd-stable-252.5/src/basic/macro.h:452,
                 from ../systemd-stable-252.5/src/basic/alloc-util.h:10,
                 from ../systemd-stable-252.5/src/boot/bootctl.c:15:
../systemd-stable-252.5/src/boot/bootctl.c: In function 'get_efi_arch':
../systemd-stable-252.5/src/boot/bootctl.c:453:97: error: '__WORDSIZE' undeclared (first use in this function)
  453 |                 log_warning_errno(r, "Error reading EFI firmware word size, assuming '%i': %m", __WORDSIZE);
      |                                                                                                 ^~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-j4-20230214-161236

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-12 *
clang/llvm (if any):
Python 3.10.10
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
php cli (if any):

  HEAD of ::gentoo
commit f330b5f20e3fbf6795a8f382893c4ae3543e4eed
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Feb 14 16:02:21 2023 +0000

    2023-02-14 16:02:21 UTC

emerge -qpvO sys-apps/systemd-utils
[ebuild     U ] sys-apps/systemd-utils-252.5 [251.10-r1] USE="boot* kmod (split-usr) tmpfiles udev -acl* (-selinux) -sysusers -test"
Comment 1 Toralf Förster gentoo-dev 2023-02-14 17:47:18 UTC
Created attachment 851120 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-02-14 17:47:19 UTC
Created attachment 851122 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-02-14 17:47:21 UTC
Created attachment 851124 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-02-14 17:47:22 UTC
Created attachment 851126 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2023-02-14 17:47:23 UTC
Created attachment 851128 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-02-14 17:47:24 UTC
Created attachment 851130 [details]
sys-apps:systemd-utils-252.5:20230214-174102.log.bz2
Comment 7 Toralf Förster gentoo-dev 2023-02-14 17:47:25 UTC
Created attachment 851132 [details]
temp.tar.bz2
Comment 8 Mike Gilbert gentoo-dev 2023-07-22 20:56:14 UTC
Fixed in recent systemd versions.