> Hello,
> 
> anyone getting this build error for elogind-246.9.1 from the svn book?
> 
> ../src/login/pam_elogind.c: In function ‘export_legacy_dbus_address’:
> ../src/login/pam_elogind.c:314:13: error: ‘%s’ directive argument is null
> [-Werror=format-overflow=]
>  314 |         if (asprintf(&t, DEFAULT_USER_BUS_ADDRESS_FMT, runtime) < 0)
>      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> This is with gcc-10 (I'm using a recent snapshot), builds fine with gcc-9.
> Wonder if I should report it upstream...
> 
> 

Nevermind, it was due to a gcc flag I have in my environment (-ftracer).
I've reported the issue anyway as it may hide a latent bug 
(https://github.com/elogind/elogind/issues/189).


Merry Xmas!


Cheers,
Leandro
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to