Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 669560 - sys-apps/systemd-239-r1 with sys-libs/glibc-2.28 - In file included from ../systemd-239/src/libsystemd/sd-resolve/sd-resolve.c:20: /usr/include/linux/stat.h:18:8: error: redefinition of ‘struct statx_timestamp’
Summary: sys-apps/systemd-239-r1 with sys-libs/glibc-2.28 - In file included from ../s...
Status: RESOLVED DUPLICATE of bug 662776
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo systemd Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: glibc-2.28
  Show dependency tree
 
Reported: 2018-10-25 08:16 UTC by Mike Lothian
Modified: 2018-10-29 17:55 UTC (History)
1 user (show)

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


Attachments
build.log.xz (build.log.xz,8.68 KB, application/x-xz)
2018-10-25 08:16 UTC, Mike Lothian
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Lothian 2018-10-25 08:16:54 UTC
Created attachment 552848 [details]
build.log.xz

Due to the statx changes in glibc systemd no longer compiles, this has been fixed upstream:

https://github.com/systemd/systemd/commit/75720bff62a84896e9a0654afc7cf9408cf89a38.diff

FAILED: src/libsystemd/src@libsystemd@@systemd_static@sta/sd-resolve_sd-resolve.c.o
x86_64-pc-linux-gnu-gcc -m32 -Isrc/libsystemd/src@libsystemd@@systemd_static@sta -Isrc/libsystemd -I../systemd-239/src/libsystemd -Isrc/basic -I../systemd-239/src/basic -Isrc/shared -I../systemd-239/src/shared -Isrc/systemd -I../systemd-239/src/systemd -Isrc/journal -I../systemd-239/src/journal -Isrc/journal-remote -I../systemd-239/src/journal-remote -Isrc/nspawn -I../systemd-239/src/nspawn -Isrc/resolve -I../systemd-239/src/resolve -Isrc/timesync -I../systemd-239/src/timesync -I../systemd-239/src/time-wait-sync -Isrc/login -I../systemd-239/src/login -Isrc/udev -I../systemd-239/src/udev -Isrc/libudev -I../systemd-239/src/libudev -Isrc/core -I../systemd-239/src/core -I../systemd-239/src/libsystemd/sd-bus -I../systemd-239/src/libsystemd/sd-device -I../systemd-239/src/libsystemd/sd-hwdb -I../systemd-239/src/libsystemd/sd-id128 -I../systemd-239/src/libsystemd/sd-netlink -I../systemd-239/src/libsystemd/sd-network -Isrc/libsystemd-network -I../systemd-239/src/libsystemd-network -I. -I../systemd-239/ -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=gnu99 -Wextra -Werror=undef -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Winit-self -Wfloat-equal -Wsuggest-attribute=noreturn -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=missing-declarations -Werror=return-type -Werror=incompatible-pointer-types -Werror=format=2 -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wimplicit-fallthrough=5 -Wshadow -Wendif-labels -Wstrict-aliasing=2 -Wwrite-strings -Werror=overflow -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -ffast-math -fno-common -fdiagnostics-show-option -fno-strict-aliasing -fvisibility=hidden -fstack-protector -fstack-protector-strong --param=ssp-buffer-size=4 -fPIE -ffunction-sections -fdata-sections -Wno-unused-parameter -Wno-missing-field-initializers -Wno-unused-result -Wno-format-signedness -Wno-error=nonnull -Werror=shadow -include config.h -fPIC -pthread -fvisibility=default -O3 -march=native -pipe -MD -MQ 'src/libsystemd/src@libsystemd@@systemd_static@sta/sd-resolve_sd-resolve.c.o' -MF 'src/libsystemd/src@libsystemd@@systemd_static@sta/sd-resolve_sd-resolve.c.o.d' -o 'src/libsystemd/src@libsystemd@@systemd_static@sta/sd-resolve_sd-resolve.c.o' -c ../systemd-239/src/libsystemd/sd-resolve/sd-resolve.c
In file included from ../systemd-239/src/basic/missing.h:18,
                 from ../systemd-239/src/basic/util.h:28,
                 from ../systemd-239/src/basic/hashmap.h:11,
                 from ../systemd-239/src/shared/dns-domain.h:12,
                 from ../systemd-239/src/libsystemd/sd-resolve/sd-resolve.c:20:
/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,
                 from ../systemd-239/src/basic/util.h:19,
                 from ../systemd-239/src/basic/hashmap.h:11,
                 from ../systemd-239/src/shared/dns-domain.h:12,
                 from ../systemd-239/src/libsystemd/sd-resolve/sd-resolve.c:20:
/usr/include/bits/statx.h:25:8: note: originally defined here
 struct statx_timestamp
        ^~~~~~~~~~~~~~~
In file included from ../systemd-239/src/basic/missing.h:18,
                 from ../systemd-239/src/basic/util.h:28,
                 from ../systemd-239/src/basic/hashmap.h:11,
                 from ../systemd-239/src/shared/dns-domain.h:12,
                 from ../systemd-239/src/libsystemd/sd-resolve/sd-resolve.c:20:
/usr/include/linux/stat.h:61:8: error: redefinition of ‘struct statx’
 struct statx {
        ^~~~~
In file included from /usr/include/sys/stat.h:446,
                 from ../systemd-239/src/basic/util.h:19,
                 from ../systemd-239/src/basic/hashmap.h:11,
                 from ../systemd-239/src/shared/dns-domain.h:12,
                 from ../systemd-239/src/libsystemd/sd-resolve/sd-resolve.c:20:
/usr/include/bits/statx.h:36:8: note: originally defined here
 struct statx
        ^~~~~
Comment 1 Mike Gilbert gentoo-dev 2018-10-29 02:53:25 UTC

*** This bug has been marked as a duplicate of bug 662776 ***
Comment 2 Toralf Förster gentoo-dev 2018-10-29 17:55:13 UTC
*** Bug 669846 has been marked as a duplicate of this bug. ***