[Bug 1121563] GCC 9: systemd build fails
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.suse.com/show_bug.cgi?id=1121563
http://bugzilla.suse.com/show_bug.cgi?id=1121563#c3
Martin Liška
(In reply to Martin Liška from comment #0)
https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging: Gcc7/systemd/standard/x86_64
fails with:
[ 88s] In file included from ../src/basic/macro.h:426, [ 88s] from ../src/basic/string-util.h:9, [ 88s] from ../src/basic/af-list.h:6, [ 88s] from ../src/core/load-fragment.c:18: [ 88s] ../src/core/load-fragment.c: In function ‘load_from_path’: [ 88s] ../src/basic/log.h:205:27: error: ‘%s’ directive argument is null [-Werror=format-overflow=]
That seems to be a bug in GCC, see https://github.com/systemd/systemd/issues/11369 so this won't be fixed on systemd side.
It's already fixed, as mentioned here: https://github.com/systemd/systemd/issues/11369#issuecomment-460544306
If you disagree please feel free to discuss with upstream directly.
and there's problematic warning:
[ 92s] In file included from ../src/shared/install.h:19, [ 92s] from ../src/shared/path-lookup.h:8, [ 92s] from ../src/core/manager.h:76, [ 92s] from ../src/core/emergency-action.h:21, [ 92s] from ../src/core/unit.h:10, [ 92s] from ../src/core/all-units.h:3, [ 92s] from ../src/core/unit.c:14: [ 92s] ../src/core/unit.c: In function ‘unit_add_exec_dependencies’: [ 92s] ../src/basic/strv.h:145:15: warning: ‘<U2510>’ may be used uninitialized in this function [-Wmaybe-uninitialized] [ 92s] 145 | _l && *_l; \ [ 92s] | ^
Regarding this one it seems that you already reported a similar issue for casync through boo#1121387 and upstream bug#11394 which led to the following fix: https://github.com/systemd/systemd/commit/ 66a64081f82dfad90f2f9394a477820a2e3e6510
Is that correct ?
Yes. Will we backport these 2 patches? Or when do we expect another systemd release? -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com