Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 618040

Summary: sys-apps/systemd-233-r1 on x32: journald-console.c:75:32: error: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘__syscall_slong_t {aka long long int}’
Product: Gentoo Linux Reporter: Dainius Masiliūnas <pastas4>
Component: Current packagesAssignee: Gentoo systemd Team <systemd>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/systemd/systemd/pull/5624
https://github.com/systemd/systemd/issues/5532
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 393673    
Attachments: build.log.gz

Description Dainius Masiliūnas 2017-05-09 19:58:33 UTC
Building systemd-233 on x32 fails with the following error:

/var/tmp/portage/sys-apps/systemd-233-r1/work/systemd-233/src/journal/journald-console.c:75:32: error: format ‘%ld’ expects argument of type ‘l
ong int’, but argument 5 has type ‘__syscall_slong_t {aka long long int}’ [-Werror=format=]
                 xsprintf(tbuf, "[%5"PRI_TIME".%06ld] ",
                                ^

This is a bug known upstream already, see the see also/url field.
Comment 1 Dainius Masiliūnas 2017-05-09 20:04:36 UTC
Created attachment 472162 [details]
build.log.gz
Comment 2 Mike Gilbert gentoo-dev 2017-05-09 20:20:57 UTC
Just let me know when upstream has merged something. ;)
Comment 3 Dainius Masiliūnas 2017-05-19 17:56:13 UTC
And they just did, the pull in the see also field just got merged.