Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 566574 - sys-apps/systemd-228 ABI=x32 - src/basic/macro.h:245:9: error: static assertion failed: "sizeof(statfs_f_type_t) >= sizeof(s->f_type)"
Summary: sys-apps/systemd-228 ABI=x32 - src/basic/macro.h:245:9: error: static asserti...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo systemd Team
URL: https://github.com/systemd/systemd/co...
Whiteboard:
Keywords:
Depends on:
Blocks: x32
  Show dependency tree
 
Reported: 2015-11-23 04:45 UTC by iGentoo
Modified: 2016-05-30 14:39 UTC (History)
2 users (show)

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


Attachments
systemd-228-build.log (systemd-228-build.log,781.52 KB, text/plain)
2015-11-23 04:45 UTC, iGentoo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description iGentoo 2015-11-23 04:45:38 UTC
Created attachment 417616 [details]
systemd-228-build.log

libtool: compile:  x86_64-pc-linux-gnu-gcc -mx32 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-apps/systemd-228/work/systemd-228 -include ./config.h -DPKGSYSCONFDIR=\"/etc/systemd\" -DSYSTEM_CONFIG_UNIT_PATH=\"/etc/systemd/system\" -DSYSTEM_DATA_UNIT_PATH=\"/usr/lib/systemd/system\" -DSYSTEM_SYSVINIT_PATH=\"\" -DSYSTEM_SYSVRCND_PATH=\"\" -DUSER_CONFIG_UNIT_PATH=\"/etc/systemd/user\" -DUSER_DATA_UNIT_PATH=\"/usr/lib/systemd/user\" -DCERTIFICATE_ROOT=\"/etc/ssl\" -DCATALOG_DATABASE=\"/var/lib/systemd/catalog/database\" -DSYSTEMD_CGROUP_AGENT_PATH=\"/usr/lib/systemd/systemd-cgroups-agent\" -DSYSTEMD_BINARY_PATH=\"/usr/lib/systemd/systemd\" -DSYSTEMD_FSCK_PATH=\"/usr/lib/systemd/systemd-fsck\" -DSYSTEMD_SHUTDOWN_BINARY_PATH=\"/usr/lib/systemd/systemd-shutdown\" -DSYSTEMD_SLEEP_BINARY_PATH=\"/usr/lib/systemd/systemd-sleep\" -DSYSTEMCTL_BINARY_PATH=\"/usr/bin/systemctl\" -DSYSTEMD_TTY_ASK_PASSWORD_AGENT_BINARY_PATH=\"/usr/bin/systemd-tty-ask-password-agent\" -DSYSTEMD_STDIO_BRIDGE_BINARY_PATH=\"/usr/bin/systemd-stdio-bridge\" -DROOTPREFIX=\"/usr\" -DRANDOM_SEED_DIR=\"/var/lib/systemd/\" -DRANDOM_SEED=\"/var/lib/systemd/random-seed\" -DSYSTEMD_CRYPTSETUP_PATH=\"/usr/lib/systemd/systemd-cryptsetup\" -DSYSTEM_GENERATOR_PATH=\"/usr/lib/systemd/system-generators\" -DUSER_GENERATOR_PATH=\"/usr/lib/systemd/user-generators\" -DSYSTEM_SHUTDOWN_PATH=\"/usr/lib/systemd/system-shutdown\" -DSYSTEM_SLEEP_PATH=\"/usr/lib/systemd/system-sleep\" -DSYSTEMD_KBD_MODEL_MAP=\"/usr/share/systemd/kbd-model-map\" -DSYSTEMD_LANGUAGE_FALLBACK_MAP=\"/usr/share/systemd/language-fallback-map\" -DUDEVLIBEXECDIR=\"/lib/udev\" -DPOLKIT_AGENT_BINARY_PATH=\"/usr/bin/pkttyagent\" -DQUOTACHECK=\"/usr/sbin/quotacheck\" -DKEXEC=\"/usr/sbin/kexec\" -DMOUNT_PATH=\"/bin/mount\" -DUMOUNT_PATH=\"/bin/umount\" -DLIBDIR=\"/usr/libx32\" -DROOTLIBDIR=\"/usr/libx32\" -DROOTLIBEXECDIR=\"/usr/lib/systemd\" -DTEST_DIR=\"/var/tmp/portage/sys-apps/systemd-228/work/systemd-228/test\" -I /var/tmp/portage/sys-apps/systemd-228/work/systemd-228/src -I ./src/basic -I /var/tmp/portage/sys-apps/systemd-228/work/systemd-228/src/basic -I /var/tmp/portage/sys-apps/systemd-228/work/systemd-228/src/shared -I ./src/shared -I /var/tmp/portage/sys-apps/systemd-228/work/systemd-228/src/network -I /var/tmp/portage/sys-apps/systemd-228/work/systemd-228/src/login -I /var/tmp/portage/sys-apps/systemd-228/work/systemd-228/src/journal -I ./src/journal -I /var/tmp/portage/sys-apps/systemd-228/work/systemd-228/src/timedate -I /var/tmp/portage/sys-apps/systemd-228/work/systemd-228/src/timesync -I /var/tmp/portage/sys-apps/systemd-228/work/systemd-228/src/nspawn -I /var/tmp/portage/sys-apps/systemd-228/work/systemd-228/src/resolve -I ./src/resolve -I /var/tmp/portage/sys-apps/systemd-228/work/systemd-228/src/systemd -I ./src/core -I /var/tmp/portage/sys-apps/systemd-228/work/systemd-228/src/core -I /var/tmp/portage/sys-apps/systemd-228/work/systemd-228/src/libudev -I /var/tmp/portage/sys-apps/systemd-228/work/systemd-228/src/udev -I /var/tmp/portage/sys-apps/systemd-228/work/systemd-228/src/udev/net -I ./src/udev -I /var/tmp/portage/sys-apps/systemd-228/work/systemd-228/src/libsystemd/sd-bus -I /var/tmp/portage/sys-apps/systemd-228/work/systemd-228/src/libsystemd/sd-event -I /var/tmp/portage/sys-apps/systemd-228/work/systemd-228/src/libsystemd/sd-login -I /var/tmp/portage/sys-apps/systemd-228/work/systemd-228/src/libsystemd/sd-netlink -I /var/tmp/portage/sys-apps/systemd-228/work/systemd-228/src/libsystemd/sd-network -I /var/tmp/portage/sys-apps/systemd-228/work/systemd-228/src/libsystemd/sd-hwdb -I /var/tmp/portage/sys-apps/systemd-228/work/systemd-228/src/libsystemd/sd-device -I /var/tmp/portage/sys-apps/systemd-228/work/systemd-228/src/libsystemd-network -pipe -Wall -Wextra -Wundef -Wformat=2 -Wformat-security -Wformat-nonliteral -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wsuggest-attribute=noreturn -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=missing-declarations -Werror=return-type -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wstrict-aliasing=2 -Wwrite-strings -Wno-unused-parameter -Wno-missing-field-initializers -Wno-unused-result -Wno-format-signedness -Werror=overflow -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 -ffunction-sections -fdata-sections -pthread -Wall -march=native -O2 -pipe -frecord-gcc-switches -MT src/basic/libbasic_la-stat-util.lo -MD -MP -MF src/basic/.deps/libbasic_la-stat-util.Tpo -c /var/tmp/portage/sys-apps/systemd-228/work/systemd-228/src/basic/stat-util.c  -fPIC -DPIC -o src/basic/.libs/libbasic_la-stat-util.o
In file included from /var/tmp/portage/sys-apps/systemd-228/work/systemd-228/src/basic/macro.h:24:0,
                 from /var/tmp/portage/sys-apps/systemd-228/work/systemd-228/src/basic/path-util.h:26,
                 from /var/tmp/portage/sys-apps/systemd-228/work/systemd-228/src/basic/dirent-util.h:26,
                 from /var/tmp/portage/sys-apps/systemd-228/work/systemd-228/src/basic/stat-util.c:27:
/var/tmp/portage/sys-apps/systemd-228/work/systemd-228/src/basic/stat-util.c: In function ‘is_fs_type’:
/var/tmp/portage/sys-apps/systemd-228/work/systemd-228/src/basic/macro.h:245:9: error: static assertion failed: "sizeof(statfs_f_type_t) >= sizeof(s->f_type)"
         static_assert(expr, #expr);                                     \
         ^
/var/tmp/portage/sys-apps/systemd-228/work/systemd-228/src/basic/stat-util.c:180:9: note: in expansion of macro ‘assert_cc’
         assert_cc(sizeof(statfs_f_type_t) >= sizeof(s->f_type));
         ^
Makefile:13764: recipe for target 'src/basic/libbasic_la-stat-util.lo' failed
make: *** [src/basic/libbasic_la-stat-util.lo] Error 1




# emerge --info
Portage 2.2.25 (python 3.5.0-final-0, default/linux/amd64/13.0, gcc-5.2.0, glibc-2.22-r1, 4.2.6-hardened-r5.x86_64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.2.6-hardened-r5.x86_64-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9300_@_2.50GHz-with-gentoo-2.2
KiB Mem:     6116276 total,    768144 free
KiB Swap:   18873332 total,  18626408 free
sh dash 0.5.8.2
ld GNU gold (Gentoo 2.25.1 p1.1 2.25.1) 1.11
ccache version 3.2.4 [disabled]
app-shells/bash:          4.4_beta::gentoo
dev-lang/perl:            5.22.0::gentoo
dev-lang/python:          2.7.10-r4::gentoo, 3.5.0-r3::local-repo
dev-util/ccache:          3.2.4::gentoo
dev-util/cmake:           3.4.0-r1::gentoo
dev-util/pkgconfig:       0.29::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/sandbox:         2.9::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            5.2.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: git://anongit.gentoo.org/repo/gentoo.git
    priority: -1000
    eclass-overrides: local-repo

local-repo
    location: /usr/local/portage
    masters: gentoo

Installed sets: @local
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-Wall -march=native -O2 -pipe -frecord-gcc-switches"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-Wall -march=native -O2 -pipe -frecord-gcc-switches"
DISTDIR="/var/portage/distfiles"
EMERGE_DEFAULT_OPTS="--color=n --oneshot"
FCFLAGS="-Wall -march=native -O2 -pipe -frecord-gcc-switches"
FEATURES="assume-digests binpkg-logs buildpkg collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync metadata-transfer multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms split-log strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg xattr"
FFLAGS="-Wall -march=native -O2 -pipe -frecord-gcc-switches"
GENTOO_MIRRORS="http://mirrors.xmu.edu.cn/gentoo http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="V=1 -j9"
PKGDIR="/var/portage/packages"
PORTAGE_BZIP2_COMMAND="lbzip2"
PORTAGE_COMPRESS="xz"
PORTAGE_COMPRESS_FLAGS="-9eT0"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X acl amd64 audit berkdb bzip2 cli cracklib crypt cxx dbus dri egl fortran gdbm iconv icu ipv6 jpeg mmx mmxext modules multilib ncurses nls nptl opengl openmp pam pax_kernel pcre pic png policykit pulseaudio readline seccomp session sse sse2 ssl systemd tcpd unicode vdpau vim-syntax wayland xattr zlib" ABI_X86="64 32 x32" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 sse4_1 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US zh zh_CN" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

sys-apps/systemd-226-r1::gentoo was built with the following:
USE="acl audit kdbus kmod lz4 pam policykit seccomp ssl sysv-utils -apparmor -cryptsetup -curl -elfutils -gcrypt -gnuefi -http -idn -importd -lzma -nat -qrcode (-selinux) -test -vanilla -xkb" ABI_X86="32 64 x32"
Comment 1 Dainius Masiliūnas 2016-02-26 17:12:52 UTC
This looks like a duplicate of bug #570790 (or the other way round).
Comment 2 Mike Gilbert gentoo-dev 2016-02-26 18:22:43 UTC
Same root issue, yes. However, systemd and udev are maintained by teams, so let's keep this open.
Comment 3 Mike Gilbert gentoo-dev 2016-02-26 18:29:52 UTC
Fixed upstream.
Comment 4 Mike Gilbert gentoo-dev 2016-05-30 14:39:41 UTC
Fixed in systemd-229.