Bug ID 1050882
Summary systemd does not build on s390x port of tumbleweed since version 233
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware S/390-64
OS SUSE Other
Status NEW
Severity Normal
Priority P5 - None
Component Basesystem
Assignee bnc-team-screening@forge.provo.novell.com
Reporter gunreben@t-online.de
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

Starting with version 233, the functions to check for commandline parameters
have changed:

osc rbl openSUSE:Factory:zSystems systemd standard s390x
...
[  121s] src/basic/terminal-util.c: In function 'default_term_for_tty':
[  121s] src/basic/terminal-util.c:799:17: error: implicit declaration of
function 'get_proc_cmdline_key'; did you mean 'get_process_cmdline'?
[-Werror=implicit-functio
n-declaration]
[  121s]                  get_proc_cmdline_key("conmode=", &mode);
[  121s]                  ^~~~~~~~~~~~~~~~~~~~
[  121s]                  get_process_cmdline
[  121s] src/basic/terminal-util.c:799:17: warning: nested extern declaration
of 'get_proc_cmdline_key' [-Wnested-externs]
[  121s] cc1: some warnings being treated as errors
[  121s] make[2]: *** [Makefile:16566: src/basic/libbasic_la-terminal-util.lo]
Error 1

I would think that the function call now should be changed as seen in
src/core/main.c:

r = proc_cmdline_get_key("TERM", 0, &term);


You are receiving this mail because: