New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

elogind-239.9999/src/basic/missing.h:1375:8: error: redefinition of ‘struct statx_timestamp’ #74

Closed
perfect7gentleman opened this Issue Sep 21, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@perfect7gentleman
Copy link

perfect7gentleman commented Sep 21, 2018

* Applying elogind-238.1-docs.patch ...                                                                                            [ ok ]
>>> Source prepared.
>>> Configuring source in /tmp/portage/sys-auth/elogind-239.9999/work/elogind-239.9999 ...
meson --buildtype plain --libdir lib64 --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload -Ddocdir=/usr/share/doc/elogind-239.9999 -Dhtmldir=/usr/share/doc/elogind-239.9999/html -Dpamlibdir=/lib64/security -Dudevrulesdir=/lib/udev/rules.d --libdir=/usr/lib64 -Drootlibdir=/lib64 -Drootlibexecdir=/lib64/elogind -Drootprefix=/ -Dbashcompletiondir=/usr/share/bash-completion/completions -Dzshcompletiondir=/usr/share/zsh/site-functions -Dman=auto -Dsmack=true -Dcgroup-controller=openrc -Ddefault-hierarchy=hybrid -Ddefault-kill-user-processes=false -Dacl=true --buildtype release -Dhtml=false -Dpam=true -Dselinux=false /tmp/portage/sys-auth/elogind-239.9999/work/elogind-239.9999 /tmp/portage/sys-auth/elogind-239.9999/work/elogind-239.9999-build
The Meson build system
Version: 0.47.1
Source dir: /tmp/portage/sys-auth/elogind-239.9999/work/elogind-239.9999
Build dir: /tmp/portage/sys-auth/elogind-239.9999/work/elogind-239.9999-build
Build type: native build
Project name: elogind
Project version: 239
Appending CFLAGS from environment: '-march=native -mtune=native -O2 -pipe -fomit-frame-pointer -fno-stack-protector -ftree-vectorize -s'
Appending LDFLAGS from environment: '-Wl,-O2 -Wl,--as-needed -Wl,--sort-common -Wl,--strip-debug'
Native C compiler: x86_64-pc-linux-gnu-gcc (gcc 8.2.0 "x86_64-pc-linux-gnu-gcc (Gentoo 8.2.0-r2 p1.2) 8.2.0")
Build machine cpu family: x86_64
Build machine cpu: x86_64
Program tools/meson-check-compilation.sh found: YES (/tmp/portage/sys-auth/elogind-239.9999/work/elogind-239.9999/tools/meson-check-compilation.sh)
Program tools/meson-build.sh found: YES (/tmp/portage/sys-auth/elogind-239.9999/work/elogind-239.9999/tools/meson-build.sh)
Program c++ found: YES (/usr/bin/c++)
Appending CXXFLAGS from environment: '-march=native -mtune=native -O2 -pipe -fomit-frame-pointer -fno-stack-protector -ftree-vectorize -s'
Appending LDFLAGS from environment: '-Wl,-O2 -Wl,--as-needed -Wl,--sort-common -Wl,--strip-debug'
Native C++ compiler: x86_64-pc-linux-gnu-g++ (gcc 8.2.0 "x86_64-pc-linux-gnu-g++ (Gentoo 8.2.0-r2 p1.2) 8.2.0")
Compiler for C supports arguments -Wextra: YES
Compiler for C supports arguments -Werror=undef: YES
Compiler for C supports arguments -Wlogical-op: YES
Compiler for C supports arguments -Wmissing-include-dirs: YES
Compiler for C supports arguments -Wold-style-definition: YES
Compiler for C supports arguments -Wpointer-arith: YES
Compiler for C supports arguments -Winit-self: YES
Compiler for C supports arguments -Wfloat-equal: YES
Compiler for C supports arguments -Wsuggest-attribute=noreturn: YES
Compiler for C supports arguments -Werror=missing-prototypes: YES
Compiler for C supports arguments -Werror=implicit-function-declaration: YES
Compiler for C supports arguments -Werror=missing-declarations: YES
Compiler for C supports arguments -Werror=return-type: YES
Compiler for C supports arguments -Werror=incompatible-pointer-types: YES
Compiler for C supports arguments -Werror=format=2: YES
Compiler for C supports arguments -Wstrict-prototypes: YES
Compiler for C supports arguments -Wredundant-decls: YES
Compiler for C supports arguments -Wmissing-noreturn: YES
Compiler for C supports arguments -Wimplicit-fallthrough=5: YES
Compiler for C supports arguments -Wshadow: YES
Compiler for C supports arguments -Wendif-labels: YES
Compiler for C supports arguments -Wstrict-aliasing=2: YES
Compiler for C supports arguments -Wwrite-strings: YES
Compiler for C supports arguments -Werror=overflow: YES
Compiler for C supports arguments -Werror=shift-count-overflow: YES
Compiler for C supports arguments -Werror=shift-overflow=2: YES
Compiler for C supports arguments -Wdate-time: YES
Compiler for C supports arguments -Wnested-externs: YES
Compiler for C supports arguments -ffast-math: YES
Compiler for C supports arguments -fno-common: YES
Compiler for C supports arguments -fdiagnostics-show-option: YES
Compiler for C supports arguments -fno-strict-aliasing: YES
Compiler for C supports arguments -fvisibility=hidden: YES
Compiler for C supports arguments -fstack-protector: YES
Compiler for C supports arguments -fstack-protector-strong: YES
Compiler for C supports arguments --param=ssp-buffer-size=4: YES
Compiler for C supports arguments -fPIE: YES
Compiler for C supports arguments -ffunction-sections: YES
Compiler for C supports arguments -fdata-sections: YES
Compiler for C supports arguments -Wunused-parameter: YES
Compiler for C supports arguments -Wmissing-field-initializers: YES
Compiler for C supports arguments -Wunused-result: YES
Compiler for C supports arguments -Wformat-signedness: YES
Compiler for C supports arguments -Werror=nonnull: YES
Checking if "-Werror=shadow with local shadowing" compiles: YES
Message: Linking with -Wl,-z,relro supported: yes
Message: Linking with -Wl,-z,now supported: yes
Message: Linking with -pie supported: yes
Message: Linking with -Wl,--gc-sections supported: yes
Checking for size of "pid_t": 4
Checking for size of "uid_t": 4
Checking for size of "gid_t": 4
Checking for size of "dev_t": 8
Checking for size of "ino_t": 8
Checking for size of "time_t": 8
Checking for size of "rlim_t": 8
Checking for size of "char16_t": 2
Checking for size of "char32_t": 4
Checking for size of "key_serial_t": -1
Checking for size of "struct ethtool_link_settings": 48
Checking for size of "struct fib_rule_uid_range": 8
Checking for size of "struct statx": -1
Header <linux/if_link.h> has symbol "IFLA_INET6_ADDR_GEN_MODE": YES
Header <linux/if_link.h> has symbol "IN6_ADDR_GEN_MODE_STABLE_PRIVACY": YES
Header <linux/if_link.h> has symbol "IFLA_VRF_TABLE": YES
Header <linux/if_link.h> has symbol "IFLA_MACVLAN_FLAGS": YES
Header <linux/if_link.h> has symbol "IFLA_IPVLAN_FLAGS": YES
Header <linux/if_link.h> has symbol "IFLA_PHYS_PORT_ID": YES
Header <linux/if_link.h> has symbol "IFLA_BOND_AD_INFO": YES
Header <linux/if_link.h> has symbol "IFLA_VLAN_PROTOCOL": YES
Header <linux/if_link.h> has symbol "IFLA_VXLAN_REMCSUM_NOPARTIAL": YES
Header <linux/if_link.h> has symbol "IFLA_VXLAN_GPE": YES
Header <linux/if_link.h> has symbol "IFLA_GENEVE_LABEL": YES
Header <linux/if_tunnel.h> has symbol "IFLA_VTI_REMOTE": YES
Header <linux/if_tunnel.h> has symbol "IFLA_IPTUN_ENCAP_DPORT": YES
Header <linux/if_tunnel.h> has symbol "IFLA_GRE_ENCAP_DPORT": YES
Header <linux/if_bridge.h> has symbol "IFLA_BRIDGE_VLAN_INFO": YES
Header <linux/if_link.h> has symbol "IFLA_BRPORT_PROXYARP": YES
Header <linux/if_link.h> has symbol "IFLA_BRPORT_LEARNING_SYNC": YES
Header <linux/if_link.h> has symbol "IFLA_BR_VLAN_DEFAULT_PVID": YES
Header <linux/if_link.h> has symbol "IPVLAN_F_PRIVATE": YES
Header <linux/neighbour.h> has symbol "NDA_IFINDEX": YES
Header <linux/if_addr.h> has symbol "IFA_FLAGS": YES
Header <linux/fib_rules.h> has symbol "FRA_UID_RANGE": YES
Header <linux/loop.h> has symbol "LO_FLAGS_PARTSCAN": YES
Header <linux/can/vxcan.h> has symbol "VXCAN_INFO_PEER": YES
Checking for function "secure_getenv" : YES
Checking for function "__secure_getenv" : NO
Checking for function "memfd_create" : YES
Checking for function "gettid" : NO
Checking for function "pivot_root" : NO
Checking for function "name_to_handle_at" : YES
Checking for function "setns" : YES
Checking for function "renameat2" : YES
Checking for function "kcmp" : NO
Checking for function "keyctl" : NO
Checking for function "copy_file_range" : YES
Checking for function "bpf" : NO
Checking for function "statx" : YES
Checking for function "explicit_bzero" : YES
Checking for function "reallocarray" : YES
Checking for function "getrandom" : YES
Program sed found: YES (/bin/sed)
Program awk found: YES (/usr/bin/awk)
Program m4 found: YES (/usr/bin/m4)
Program stat found: YES (/usr/bin/stat)
Program git found: YES (/usr/bin/git)
Program env found: YES (/usr/bin/env)
Program perl found: YES (/usr/bin/perl)
Program halt found: YES (/sbin/halt)
Program kexec found: NO
Program /usr/sbin/kexec found: NO
Program /sbin/kexec found: NO
Program poweroff found: YES (/sbin/poweroff)
Program reboot found: YES (/sbin/reboot)
Program gperf found: YES (/usr/bin/gperf)
Message: gperf len type is size_t
Has header "sys/capability.h": YES
Has header "crypt.h": YES
Has header "linux/btrfs.h": YES
Has header "linux/memfd.h": YES
Has header "linux/vm_sockets.h": YES
Has header "sys/auxv.h": YES
Has header "valgrind/memcheck.h": NO
Has header "valgrind/valgrind.h": NO
Program tools/meson-get-cg-controller.sh found: YES (/tmp/portage/sys-auth/elogind-239.9999/work/elogind-239.9999/tools/meson-get-cg-controller.sh)
Message: maximum system UID is 999
Message: maximum system GID is 999
Dependency threads found: YES
Library rt found: YES
Library m found: YES
Library dl found: YES
Library crypt found: YES
Found pkg-config: /usr/bin/x86_64-pc-linux-gnu-pkg-config (0.29.2)
Native dependency libcap found: YES 2.25
Native dependency polkit-gobject-1 found: YES 0.115
Library acl found: YES
Dependency audit found: NO
Library pam found: YES
Library pam_misc found: YES
Native dependency libpcre2-8 found: YES 10.32
Native dependency glib-2.0 found: YES 2.56.2
Native dependency gobject-2.0 found: YES 2.56.2
Native dependency gio-2.0 found: YES 2.56.2
Native dependency dbus-1 found: YES 1.12.10
Configuring config.h using configuration
Program tools/meson-apply-m4.sh found: YES (/bin/sh /tmp/portage/sys-auth/elogind-239.9999/work/elogind-239.9999/tools/meson-apply-m4.sh)
Program /tmp/portage/sys-auth/elogind-239.9999/work/elogind-239.9999/tools/meson-symlink_headers.sh found: YES (/tmp/portage/sys-auth/elogind-239.9999/work/elogind-239.9999/tools/meson-symlink_headers.sh)
Compiler for C supports arguments -std=iso9899:2017: YES
Program c++ found: YES (/usr/bin/c++)
Compiler for C supports arguments -std=c++14: YES
Compiler for C supports arguments -std=c++17: YES
Program generate-gperfs.py found: YES (/tmp/portage/sys-auth/elogind-239.9999/work/elogind-239.9999/src/basic/generate-gperfs.py)
Program generate-cap-list.sh found: YES (/tmp/portage/sys-auth/elogind-239.9999/work/elogind-239.9999/src/basic/generate-cap-list.sh)
Program generate-errno-list.sh found: YES (/tmp/portage/sys-auth/elogind-239.9999/work/elogind-239.9999/src/basic/generate-errno-list.sh)
Program generate-socket-protocol-list.sh found: YES (/bin/sh /tmp/portage/sys-auth/elogind-239.9999/work/elogind-239.9999/src/basic/generate-socket-protocol-list.sh)
Configuring libelogind.pc using configuration
Configuring logind.conf using configuration
Configuring org.freedesktop.login1.service using configuration
Configuring 71-seat.rules using configuration
Configuring 73-seat-late.rules.m4 using configuration
Native dependency libudev found: YES 220
Program generate-sym-test.py found: YES (/tmp/portage/sys-auth/elogind-239.9999/work/elogind-239.9999/src/test/generate-sym-test.py)
Message: test-ipcrm is an unsafe test
Message: test-cgroup is a manual test
Message: test-inhibit is a manual test
Program tools/make-directive-index.py found: YES (/tmp/portage/sys-auth/elogind-239.9999/work/elogind-239.9999/tools/make-directive-index.py)
Program tools/make-man-index.py found: YES (/tmp/portage/sys-auth/elogind-239.9999/work/elogind-239.9999/tools/make-man-index.py)
Program tools/xml_helper.py found: YES (/tmp/portage/sys-auth/elogind-239.9999/work/elogind-239.9999/tools/xml_helper.py)
Program xsltproc found: YES (/usr/bin/xsltproc)
Configuring custom-entities.ent using configuration
Message: python-lxml not available, not making man page indices
Program sh found: YES (/bin/sh)
Program tools/meson-check-help.sh found: YES (/tmp/portage/sys-auth/elogind-239.9999/work/elogind-239.9999/tools/meson-check-help.sh)
Program tools/meson-check-api-docs.sh found: YES (/tmp/portage/sys-auth/elogind-239.9999/work/elogind-239.9999/tools/meson-check-api-docs.sh)
Message: elogind 239
         split /usr:                        true
         split bin-sbin:                    true
         prefix directory:                  /usr
         rootprefix directory:              /
         sysconf directory:                 /etc
         include directory:                 /usr/include
         lib directory:                     /usr/lib64
         rootlib directory:                 /lib64
         rootexeclib dir:                   /lib64/elogind
         PAM modules directory:             /lib64/security
         PAM configuration directory:       /etc/pam.d
         modprobe.d directory:              /lib/modprobe.d
         D-Bus policy directory:            /usr/share/dbus-1/system.d
         D-Bus session directory:           /usr/share/dbus-1/services
         D-Bus system directory:            /usr/share/dbus-1/system-services
         bash completions directory:        /usr/share/bash-completion/completions
         zsh completions directory:         /usr/share/zsh/site-functions
         TTY GID:                           5
         maximum system UID:                999
         maximum system GID:                999
         nobody user name:                  nobody
         nobody group name:                 nobody
         default KillUserProcesses setting: false
         
         enabled features: PAM, SMACK, ACL, polkit, dbus, glib, man pages, utmp
         
         disabled features: AUDIT, SELinux, legacy pkla, html pages, man page indices, valgrind, debug elogind, debug hashmap, debug mmap cache
         
Build targets in project: 476
Option localstatedir is: /var/lib [default: /var]
Found ninja-1.8.2.git.kitware.dyndep-1.jobserver-1 at /usr/bin/ninja
>>> Source configured.
>>> Compiling source in /tmp/portage/sys-auth/elogind-239.9999/work/elogind-239.9999 ...
ninja -v -j5 -l0 -C /tmp/portage/sys-auth/elogind-239.9999/work/elogind-239.9999-build
ninja: Entering directory `/tmp/portage/sys-auth/elogind-239.9999/work/elogind-239.9999-build'
[1/343] x86_64-pc-linux-gnu-gcc -Isrc/libelogind/src@libelogind@@elogind_static@sta -Isrc/libelogind -I../elogind-239.9999/src/libelogind -Isrc/basic -I../elogind-239.9999/src/basic -Isrc/shared -I../elogind-239.9999/src/shared -Isrc/systemd -I../elogind-239.9999/src/systemd -Isrc/login -I../elogind-239.9999/src/login -Isrc/core -I../elogind-239.9999/src/core -I../elogind-239.9999/src/libelogind/sd-bus -I../elogind-239.9999/src/libelogind/sd-id128 -Isrc/sleep -I../elogind-239.9999/src/sleep -Isrc/update-utmp -I../elogind-239.9999/src/update-utmp -I. -I../elogind-239.9999/ -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -O3 -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 -march=native -mtune=native -O2 -fomit-frame-pointer -fno-stack-protector -ftree-vectorize -s -fPIC -pthread -fvisibility=default  -MD -MQ 'src/libelogind/src@libelogind@@elogind_static@sta/sd-bus_bus-error.c.o' -MF 'src/libelogind/src@libelogind@@elogind_static@sta/sd-bus_bus-error.c.o.d' -o 'src/libelogind/src@libelogind@@elogind_static@sta/sd-bus_bus-error.c.o' -c ../elogind-239.9999/src/libelogind/sd-bus/bus-error.c
FAILED: src/libelogind/src@libelogind@@elogind_static@sta/sd-bus_bus-error.c.o 
x86_64-pc-linux-gnu-gcc -Isrc/libelogind/src@libelogind@@elogind_static@sta -Isrc/libelogind -I../elogind-239.9999/src/libelogind -Isrc/basic -I../elogind-239.9999/src/basic -Isrc/shared -I../elogind-239.9999/src/shared -Isrc/systemd -I../elogind-239.9999/src/systemd -Isrc/login -I../elogind-239.9999/src/login -Isrc/core -I../elogind-239.9999/src/core -I../elogind-239.9999/src/libelogind/sd-bus -I../elogind-239.9999/src/libelogind/sd-id128 -Isrc/sleep -I../elogind-239.9999/src/sleep -Isrc/update-utmp -I../elogind-239.9999/src/update-utmp -I. -I../elogind-239.9999/ -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -O3 -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 -march=native -mtune=native -O2 -fomit-frame-pointer -fno-stack-protector -ftree-vectorize -s -fPIC -pthread -fvisibility=default  -MD -MQ 'src/libelogind/src@libelogind@@elogind_static@sta/sd-bus_bus-error.c.o' -MF 'src/libelogind/src@libelogind@@elogind_static@sta/sd-bus_bus-error.c.o.d' -o 'src/libelogind/src@libelogind@@elogind_static@sta/sd-bus_bus-error.c.o' -c ../elogind-239.9999/src/libelogind/sd-bus/bus-error.c
In file included from ../elogind-239.9999/src/basic/util.h:28,
                 from ../elogind-239.9999/src/libelogind/sd-bus/bus-error.c:18:
../elogind-239.9999/src/basic/missing.h:1375:8: error: redefinition of ‘struct statx_timestamp’
 struct statx_timestamp {
        ^~~~~~~~~~~~~~~
In file included from /usr/include/sys/stat.h:446,
                 from ../elogind-239.9999/src/basic/util.h:19,
                 from ../elogind-239.9999/src/libelogind/sd-bus/bus-error.c:18:
/usr/include/bits/statx.h:25:8: note: originally defined here
 struct statx_timestamp
        ^~~~~~~~~~~~~~~
In file included from ../elogind-239.9999/src/basic/util.h:28,
                 from ../elogind-239.9999/src/libelogind/sd-bus/bus-error.c:18:
../elogind-239.9999/src/basic/missing.h:1380:8: error: redefinition of ‘struct statx’
 struct statx {
        ^~~~~
In file included from /usr/include/sys/stat.h:446,
                 from ../elogind-239.9999/src/basic/util.h:19,
                 from ../elogind-239.9999/src/libelogind/sd-bus/bus-error.c:18:
/usr/include/bits/statx.h:36:8: note: originally defined here
 struct statx
        ^~~~~
[2/343] x86_64-pc-linux-gnu-gcc -Isrc/libelogind/src@libelogind@@elogind_static@sta -Isrc/libelogind -I../elogind-239.9999/src/libelogind -Isrc/basic -I../elogind-239.9999/src/basic -Isrc/shared -I../elogind-239.9999/src/shared -Isrc/systemd -I../elogind-239.9999/src/systemd -Isrc/login -I../elogind-239.9999/src/login -Isrc/core -I../elogind-239.9999/src/core -I../elogind-239.9999/src/libelogind/sd-bus -I../elogind-239.9999/src/libelogind/sd-id128 -Isrc/sleep -I../elogind-239.9999/src/sleep -Isrc/update-utmp -I../elogind-239.9999/src/update-utmp -I. -I../elogind-239.9999/ -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -O3 -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 -march=native -mtune=native -O2 -fomit-frame-pointer -fno-stack-protector -ftree-vectorize -s -fPIC -pthread -fvisibility=default  -MD -MQ 'src/libelogind/src@libelogind@@elogind_static@sta/sd-bus_bus-container.c.o' -MF 'src/libelogind/src@libelogind@@elogind_static@sta/sd-bus_bus-container.c.o.d' -o 'src/libelogind/src@libelogind@@elogind_static@sta/sd-bus_bus-container.c.o' -c ../elogind-239.9999/src/libelogind/sd-bus/bus-container.c
FAILED: src/libelogind/src@libelogind@@elogind_static@sta/sd-bus_bus-container.c.o 
x86_64-pc-linux-gnu-gcc -Isrc/libelogind/src@libelogind@@elogind_static@sta -Isrc/libelogind -I../elogind-239.9999/src/libelogind -Isrc/basic -I../elogind-239.9999/src/basic -Isrc/shared -I../elogind-239.9999/src/shared -Isrc/systemd -I../elogind-239.9999/src/systemd -Isrc/login -I../elogind-239.9999/src/login -Isrc/core -I../elogind-239.9999/src/core -I../elogind-239.9999/src/libelogind/sd-bus -I../elogind-239.9999/src/libelogind/sd-id128 -Isrc/sleep -I../elogind-239.9999/src/sleep -Isrc/update-utmp -I../elogind-239.9999/src/update-utmp -I. -I../elogind-239.9999/ -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -O3 -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 -march=native -mtune=native -O2 -fomit-frame-pointer -fno-stack-protector -ftree-vectorize -s -fPIC -pthread -fvisibility=default  -MD -MQ 'src/libelogind/src@libelogind@@elogind_static@sta/sd-bus_bus-container.c.o' -MF 'src/libelogind/src@libelogind@@elogind_static@sta/sd-bus_bus-container.c.o.d' -o 'src/libelogind/src@libelogind@@elogind_static@sta/sd-bus_bus-container.c.o' -c ../elogind-239.9999/src/libelogind/sd-bus/bus-container.c
In file included from ../elogind-239.9999/src/basic/util.h:28,
                 from ../elogind-239.9999/src/basic/hashmap.h:11,
                 from ../elogind-239.9999/src/libelogind/sd-bus/bus-match.h:9,
                 from ../elogind-239.9999/src/libelogind/sd-bus/bus-internal.h:14,
                 from ../elogind-239.9999/src/libelogind/sd-bus/bus-container.c:9:
../elogind-239.9999/src/basic/missing.h:1375:8: error: redefinition of ‘struct statx_timestamp’
 struct statx_timestamp {
        ^~~~~~~~~~~~~~~
In file included from /usr/include/sys/stat.h:446,
                 from ../elogind-239.9999/src/basic/util.h:19,
                 from ../elogind-239.9999/src/basic/hashmap.h:11,
                 from ../elogind-239.9999/src/libelogind/sd-bus/bus-match.h:9,
                 from ../elogind-239.9999/src/libelogind/sd-bus/bus-internal.h:14,
                 from ../elogind-239.9999/src/libelogind/sd-bus/bus-container.c:9:
/usr/include/bits/statx.h:25:8: note: originally defined here
 struct statx_timestamp
        ^~~~~~~~~~~~~~~
In file included from ../elogind-239.9999/src/basic/util.h:28,
                 from ../elogind-239.9999/src/basic/hashmap.h:11,
                 from ../elogind-239.9999/src/libelogind/sd-bus/bus-match.h:9,
                 from ../elogind-239.9999/src/libelogind/sd-bus/bus-internal.h:14,
                 from ../elogind-239.9999/src/libelogind/sd-bus/bus-container.c:9:
../elogind-239.9999/src/basic/missing.h:1380:8: error: redefinition of ‘struct statx’
 struct statx {
        ^~~~~
In file included from /usr/include/sys/stat.h:446,
                 from ../elogind-239.9999/src/basic/util.h:19,
                 from ../elogind-239.9999/src/basic/hashmap.h:11,
                 from ../elogind-239.9999/src/libelogind/sd-bus/bus-match.h:9,
                 from ../elogind-239.9999/src/libelogind/sd-bus/bus-internal.h:14,
                 from ../elogind-239.9999/src/libelogind/sd-bus/bus-container.c:9:
/usr/include/bits/statx.h:36:8: note: originally defined here
 struct statx
        ^~~~~
[3/343] x86_64-pc-linux-gnu-gcc -Isrc/libelogind/src@libelogind@@elogind_static@sta -Isrc/libelogind -I../elogind-239.9999/src/libelogind -Isrc/basic -I../elogind-239.9999/src/basic -Isrc/shared -I../elogind-239.9999/src/shared -Isrc/systemd -I../elogind-239.9999/src/systemd -Isrc/login -I../elogind-239.9999/src/login -Isrc/core -I../elogind-239.9999/src/core -I../elogind-239.9999/src/libelogind/sd-bus -I../elogind-239.9999/src/libelogind/sd-id128 -Isrc/sleep -I../elogind-239.9999/src/sleep -Isrc/update-utmp -I../elogind-239.9999/src/update-utmp -I. -I../elogind-239.9999/ -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -O3 -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 -march=native -mtune=native -O2 -fomit-frame-pointer -fno-stack-protector -ftree-vectorize -s -fPIC -pthread -fvisibility=default  -MD -MQ 'src/libelogind/src@libelogind@@elogind_static@sta/sd-bus_bus-convenience.c.o' -MF 'src/libelogind/src@libelogind@@elogind_static@sta/sd-bus_bus-convenience.c.o.d' -o 'src/libelogind/src@libelogind@@elogind_static@sta/sd-bus_bus-convenience.c.o' -c ../elogind-239.9999/src/libelogind/sd-bus/bus-convenience.c
FAILED: src/libelogind/src@libelogind@@elogind_static@sta/sd-bus_bus-convenience.c.o 
x86_64-pc-linux-gnu-gcc -Isrc/libelogind/src@libelogind@@elogind_static@sta -Isrc/libelogind -I../elogind-239.9999/src/libelogind -Isrc/basic -I../elogind-239.9999/src/basic -Isrc/shared -I../elogind-239.9999/src/shared -Isrc/systemd -I../elogind-239.9999/src/systemd -Isrc/login -I../elogind-239.9999/src/login -Isrc/core -I../elogind-239.9999/src/core -I../elogind-239.9999/src/libelogind/sd-bus -I../elogind-239.9999/src/libelogind/sd-id128 -Isrc/sleep -I../elogind-239.9999/src/sleep -Isrc/update-utmp -I../elogind-239.9999/src/update-utmp -I. -I../elogind-239.9999/ -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -O3 -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 -march=native -mtune=native -O2 -fomit-frame-pointer -fno-stack-protector -ftree-vectorize -s -fPIC -pthread -fvisibility=default  -MD -MQ 'src/libelogind/src@libelogind@@elogind_static@sta/sd-bus_bus-convenience.c.o' -MF 'src/libelogind/src@libelogind@@elogind_static@sta/sd-bus_bus-convenience.c.o.d' -o 'src/libelogind/src@libelogind@@elogind_static@sta/sd-bus_bus-convenience.c.o' -c ../elogind-239.9999/src/libelogind/sd-bus/bus-convenience.c
In file included from ../elogind-239.9999/src/basic/util.h:28,
                 from ../elogind-239.9999/src/basic/hashmap.h:11,
                 from ../elogind-239.9999/src/libelogind/sd-bus/bus-match.h:9,
                 from ../elogind-239.9999/src/libelogind/sd-bus/bus-internal.h:14,
                 from ../elogind-239.9999/src/libelogind/sd-bus/bus-convenience.c:5:
../elogind-239.9999/src/basic/missing.h:1375:8: error: redefinition of ‘struct statx_timestamp’
 struct statx_timestamp {
        ^~~~~~~~~~~~~~~
In file included from /usr/include/sys/stat.h:446,
                 from ../elogind-239.9999/src/basic/util.h:19,
                 from ../elogind-239.9999/src/basic/hashmap.h:11,
                 from ../elogind-239.9999/src/libelogind/sd-bus/bus-match.h:9,
                 from ../elogind-239.9999/src/libelogind/sd-bus/bus-internal.h:14,
                 from ../elogind-239.9999/src/libelogind/sd-bus/bus-convenience.c:5:
/usr/include/bits/statx.h:25:8: note: originally defined here
 struct statx_timestamp
        ^~~~~~~~~~~~~~~
In file included from ../elogind-239.9999/src/basic/util.h:28,
                 from ../elogind-239.9999/src/basic/hashmap.h:11,
                 from ../elogind-239.9999/src/libelogind/sd-bus/bus-match.h:9,
                 from ../elogind-239.9999/src/libelogind/sd-bus/bus-internal.h:14,
                 from ../elogind-239.9999/src/libelogind/sd-bus/bus-convenience.c:5:
../elogind-239.9999/src/basic/missing.h:1380:8: error: redefinition of ‘struct statx’
 struct statx {
        ^~~~~
In file included from /usr/include/sys/stat.h:446,
                 from ../elogind-239.9999/src/basic/util.h:19,
                 from ../elogind-239.9999/src/basic/hashmap.h:11,
                 from ../elogind-239.9999/src/libelogind/sd-bus/bus-match.h:9,
                 from ../elogind-239.9999/src/libelogind/sd-bus/bus-internal.h:14,
                 from ../elogind-239.9999/src/libelogind/sd-bus/bus-convenience.c:5:
/usr/include/bits/statx.h:36:8: note: originally defined here
 struct statx
        ^~~~~
[4/343] /usr/bin/python3.7 /usr/lib/python-exec/python3.7/meson --internal exe /tmp/portage/sys-auth/elogind-239.9999/work/elogind-239.9999-build/meson-private/meson_exe_generate-errno-list.sh_c038b8851e11e094090e05e6df8d2c73fd52624b.dat
[5/343] /usr/bin/python3.7 /usr/lib/python-exec/python3.7/meson --internal exe /tmp/portage/sys-auth/elogind-239.9999/work/elogind-239.9999-build/meson-private/meson_exe_generate-cap-list.sh_2428c1e4db08e9cf5c8d31b8baaa8744d363f024.dat
ninja: build stopped: subcommand failed.
@Yamakuzure

This comment has been minimized.

Copy link
Collaborator

Yamakuzure commented Sep 25, 2018

Wow. After we had so much "fun" getting everything ready to work with glibc-2.26 and 2.27, the next incarnation makes trouble again. Nice.

I'll look into your PR in a sec, but first I wanted to thank you for going ahead and trying out the new **2.28 version of glibc!

@Yamakuzure Yamakuzure self-assigned this Sep 25, 2018

@Yamakuzure Yamakuzure added this to the Upstream v239 migration milestone Sep 25, 2018

Yamakuzure added a commit that referenced this issue Sep 25, 2018

Deal with glibc228
Fixesd issue #74

Signed-off-by: Christoph Willing <chris.willing@linux.com>

Yamakuzure added a commit that referenced this issue Sep 25, 2018

Deal with glibc-2.28
Closes: #74
Signed-off-by: Christoph Willing <chris.willing@linux.com>
Signed-off-by: Sven Eden <sven.eden@prydeworx.com>

Yamakuzure added a commit that referenced this issue Sep 25, 2018

Deal with glibc-2.28
Closes: #74
Signed-off-by: Christoph Willing <chris.willing@linux.com>
Signed-off-by: Sven Eden <sven.eden@prydeworx.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment