After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 760968 - build failure with -Werror=format-security
build failure with -Werror=format-security
Status: RESOLVED FIXED
Product: NetworkManager
Classification: Platform
Component: VPN: openvpn
git master
Other Linux
: Normal normal
: ---
Assigned To: NetworkManager maintainer(s)
NetworkManager maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2016-01-22 03:38 UTC by Michael Biebl
Modified: 2016-03-11 18:14 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Biebl 2016-01-22 03:38:16 UTC
Version: 1.1.90

The 1.1.90 version fails to build on various architectures when using -Werror=format-security [1] with the following error:


import-export.c: In function 'do_export':
import-export.c:1535:15: error: format '%ld' expects argument of type 'long int', but argument 6 has type 'gint64 {aka long long int}' [-Werror=format=]
   fprintf (f, "route %s %s %s %ld\n",
               ^
cc1: all warnings being treated as errors


[1] https://buildd.debian.org/status/package.php?p=network-manager-openvpn&suite=experimental