GNOME Bugzilla – Bug 662490
Fails to build with -Werror=format-security
Last modified: 2011-10-23 11:30:22 UTC
Bug report forwarded from Debian BTS: http://bugs.debian.org/646265 Gnote currently fails to build from source in Ubuntu when compiled with -Werror=format-security (see https://launchpadlibrarian.net/83182557/buildlog_ubuntu-precise-i386.gnote_0.8.0-1_FAILEDTOBUILD.txt.gz for the full build log): CC remotecontrolproxy.o remotecontrolproxy.cpp: In static member function 'static void gnote::RemoteControlProxy::load_introspection_xml()': remotecontrolproxy.cpp:129:5: error: format not a string literal and no format arguments [-Werror=format-security] cc1plus: some warnings being treated as errors
I added -Wformat-security to compilation flags to prevent such issues in the future. This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.