Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 539536 - sys-apps/systemd-9999 - raise dependency on linux-headers to >=3.17
Summary: sys-apps/systemd-9999 - raise dependency on linux-headers to >=3.17
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo systemd Team
URL: http://cgit.freedesktop.org/systemd/s...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-09 22:52 UTC by Elias Probst
Modified: 2015-02-11 03:18 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elias Probst 2015-02-09 22:52:23 UTC
Since c149ae0c (see URL), sys-apps/systemd-9999 fails to build with <sys-kernel/linux-headers-3.17 (see below).

With 3.17 the build succeeds again.

libtool: compile:  x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-apps/systemd-9999/work/systemd-9999 -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_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\" -DX_SERVER=\"/usr/bin/X\" -DUDEVLIBEXECDIR=\"/lib/udev\" -DPOLKIT_AGENT_BINARY_PATH=\"/usr/bin/pkttyagent\" -DQUOTACHECK=\"/usr/sbin/quotacheck\" -DKEXEC=\"/usr/sbin/kexec\" -DLIBDIR=\"/usr/lib64\" -DROOTLIBDIR=\"/usr/lib64\" -DTEST_DIR=\"/var/tmp/portage/sys-apps/systemd-9999/work/systemd-9999/test\" -I /var/tmp/portage/sys-apps/systemd-9999/work/systemd-9999/src -I ./src/shared -I /var/tmp/portage/sys-apps/systemd-9999/work/systemd-9999/src/shared -I /var/tmp/portage/sys-apps/systemd-9999/work/systemd-9999/src/network -I /var/tmp/portage/sys-apps/systemd-9999/work/systemd-9999/src/login -I /var/tmp/portage/sys-apps/systemd-9999/work/systemd-9999/src/journal -I /var/tmp/portage/sys-apps/systemd-9999/work/systemd-9999/src/timedate -I /var/tmp/portage/sys-apps/systemd-9999/work/systemd-9999/src/timesync -I /var/tmp/portage/sys-apps/systemd-9999/work/systemd-9999/src/resolve -I ./src/resolve -I /var/tmp/portage/sys-apps/systemd-9999/work/systemd-9999/src/systemd -I ./src/core -I /var/tmp/portage/sys-apps/systemd-9999/work/systemd-9999/src/core -I /var/tmp/portage/sys-apps/systemd-9999/work/systemd-9999/src/libudev -I /var/tmp/portage/sys-apps/systemd-9999/work/systemd-9999/src/udev -I /var/tmp/portage/sys-apps/systemd-9999/work/systemd-9999/src/udev/net -I ./src/udev -I /var/tmp/portage/sys-apps/systemd-9999/work/systemd-9999/src/libsystemd/sd-bus -I /var/tmp/portage/sys-apps/systemd-9999/work/systemd-9999/src/libsystemd/sd-event -I /var/tmp/portage/sys-apps/systemd-9999/work/systemd-9999/src/libsystemd/sd-rtnl -I /var/tmp/portage/sys-apps/systemd-9999/work/systemd-9999/src/libsystemd/sd-network -I /var/tmp/portage/sys-apps/systemd-9999/work/systemd-9999/src/libsystemd/sd-hwdb -I /var/tmp/portage/sys-apps/systemd-9999/work/systemd-9999/src/libsystemd-network -I /var/tmp/portage/sys-apps/systemd-9999/work/systemd-9999/src/libsystemd-terminal -pipe -Wall -Wextra -Wno-inline -Wundef -Wformat=2 -Wformat-security -Wformat-nonliteral -Wlogical-op -Wsign-compare -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wsuggest-attribute=noreturn -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wstrict-aliasing=2 -Wwrite-strings -Wno-long-long -Wno-overlength-strings -Wno-unused-parameter -Wno-missing-field-initializers -Wno-unused-result -Werror=overflow -Wnested-externs -ffast-math -fno-common -fdiagnostics-show-option -fno-strict-aliasing -fvisibility=hidden -ffunction-sections -fdata-sections -fstack-protector --param=ssp-buffer-size=4 -ffat-lto-objects -pthread -pipe -Wall -Wextra -Wno-inline -Wundef -Wformat=2 -Wformat-security -Wformat-nonliteral -Wlogical-op -Wsign-compare -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wsuggest-attribute=noreturn -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wstrict-aliasing=2 -Wwrite-strings -Wno-long-long -Wno-overlength-strings -Wno-unused-parameter -Wno-missing-field-initializers -Wno-unused-result -Werror=overflow -Wnested-externs -ffast-math -fno-common -fdiagnostics-show-option -fno-strict-aliasing -fvisibility=hidden -ffunction-sections -fdata-sections -fstack-protector --param=ssp-buffer-size=4 -ffat-lto-objects -pthread -pipe -Wall -Wextra -Wno-inline -Wundef -Wformat=2 -Wformat-security -Wformat-nonliteral -Wlogical-op -Wsign-compare -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wsuggest-attribute=noreturn -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wstrict-aliasing=2 -Wwrite-strings -Wno-long-long -Wno-overlength-strings -Wno-unused-parameter -Wno-missing-field-initializers -Wno-unused-result -Werror=overflow -Wnested-externs -ffast-math -fno-common -fdiagnostics-show-option -fno-strict-aliasing -fvisibility=hidden -ffunction-sections -fdata-sections -fstack-protector --param=ssp-buffer-size=4 -ffat-lto-objects -Wno-pointer-arith -march=core2 -O2 -pipe -ggdb -MT src/libsystemd/sd-rtnl/libsystemd_la-rtnl-types.lo -MD -MP -MF src/libsystemd/sd-rtnl/.deps/libsystemd_la-rtnl-types.Tpo -c /var/tmp/portage/sys-apps/systemd-9999/work/systemd-9999/src/libsystemd/sd-rtnl/rtnl-types.c  -fPIC -DPIC -o src/libsystemd/sd-rtnl/.libs/libsystemd_la-rtnl-types.o
/var/tmp/portage/sys-apps/systemd-9999/work/systemd-9999/src/libsystemd/sd-rtnl/rtnl-types.c:278:10: error: ‘IFLA_INET6_ADDR_GEN_MODE’ undeclared here (not in a function)
         [IFLA_INET6_ADDR_GEN_MODE]      = { .type = NLA_U8 },
          ^
/var/tmp/portage/sys-apps/systemd-9999/work/systemd-9999/src/libsystemd/sd-rtnl/rtnl-types.c:278:9: error: array index in initializer not of integer type
         [IFLA_INET6_ADDR_GEN_MODE]      = { .type = NLA_U8 },
         ^
/var/tmp/portage/sys-apps/systemd-9999/work/systemd-9999/src/libsystemd/sd-rtnl/rtnl-types.c:278:9: error: (near initialization for ‘rtnl_af_spec_inet6_types’)
/var/tmp/portage/sys-apps/systemd-9999/work/systemd-9999/src/libsystemd/sd-rtnl/rtnl-types.c:278:9: warning: excess elements in array initializer [enabled by default]
/var/tmp/portage/sys-apps/systemd-9999/work/systemd-9999/src/libsystemd/sd-rtnl/rtnl-types.c:278:9: warning: (near initialization for ‘rtnl_af_spec_inet6_types’) [enabled by default]
Makefile:16512: recipe for target 'src/libsystemd/sd-rtnl/libsystemd_la-rtnl-types.lo' failed
make[2]: *** [src/libsystemd/sd-rtnl/libsystemd_la-rtnl-types.lo] Error 1
Comment 1 Mike Gilbert gentoo-dev 2015-02-09 22:59:37 UTC
Could you please report this upstream?
Comment 2 Elias Probst 2015-02-09 23:22:58 UTC
(In reply to Mike Gilbert from comment #1)
> Could you please report this upstream?

<dreisner> eliasp: as i mentioned, it's probably worth adding the constant to missing.h rather than bump the min kernel version

So everything will stay as it is - needs to be fixed upstream.

Sorry for the noise.
Comment 3 Mike Gilbert gentoo-dev 2015-02-11 03:18:48 UTC
(In reply to Elias Probst from comment #2)
> So everything will stay as it is - needs to be fixed upstream.
> 
> Sorry for the noise.

No worries.

Did you happen to report this on the systemd mailing list or in their bugzilla? Pointing it out in #systemd will probably not have any effect.