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

Bug 669846

Summary: sys-boot/systemd-boot-239 : /.../stat.h:18:8: error: redefinition of struct statx_timestamp
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Mike Gilbert <floppym>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=662776
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 663916    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
sys-boot:systemd-boot-239:20181028-104610.log
temp.tbz2

Description Toralf Förster gentoo-dev 2018-10-28 10:48:58 UTC
                 from ../systemd-239/src/basic/util.h:28,
                 from ../systemd-239/src/basic/alloc-util.c:8:
/usr/include/linux/stat.h:18:8: error: redefinition of ‘struct statx_timestamp’
 struct statx_timestamp {
        ^~~~~~~~~~~~~~~
In file included from /usr/include/sys/stat.h:446,

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-no-multilib-hardened_libressl_20181027-104721

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-8.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems) *



emerge -qpvO sys-boot/systemd-boot
[ebuild  N    ] sys-boot/systemd-boot-239
Comment 1 Toralf Förster gentoo-dev 2018-10-28 10:49:01 UTC
Created attachment 553470 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-10-28 10:49:03 UTC
Created attachment 553472 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-10-28 10:49:06 UTC
Created attachment 553474 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-10-28 10:49:09 UTC
Created attachment 553476 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-10-28 10:49:12 UTC
Created attachment 553478 [details]
sys-boot:systemd-boot-239:20181028-104610.log
Comment 6 Toralf Förster gentoo-dev 2018-10-28 10:49:14 UTC
Created attachment 553480 [details]
temp.tbz2
Comment 7 Mike Lothian 2018-10-29 02:18:49 UTC
Duplicate of 669560
Comment 8 Toralf Förster gentoo-dev 2018-10-29 17:55:13 UTC

*** This bug has been marked as a duplicate of bug 669560 ***
Comment 9 Mike Gilbert gentoo-dev 2018-10-29 18:45:27 UTC
sys-apps/systemd and sys-boot/systemd-boot are separate packages, so this is not technically a duplicate.
Comment 10 Larry the Git Cow gentoo-dev 2018-10-30 01:15:35 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6713479f9affb2b5e2231d135219c16ce3f03778

commit 6713479f9affb2b5e2231d135219c16ce3f03778
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2018-10-29 03:01:49 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2018-10-30 01:15:25 +0000

    sys-boot/systemd-boot: glibc-2.28 compat for stat.h
    
    Closes: https://bugs.gentoo.org/669846
    Package-Manager: Portage-2.3.51_p2, Repoman-2.3.11_p27
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 sys-boot/systemd-boot/files/239-stat-0.patch  | 108 ++++++++++++++++++++++++++
 sys-boot/systemd-boot/files/239-stat-1.patch  |  74 ++++++++++++++++++
 sys-boot/systemd-boot/systemd-boot-239.ebuild |   2 +
 3 files changed, 184 insertions(+)