gnome-gpg.c:176: error: ignoring return value of 'write', declared with attribute warn_unused_result

Bug #374498 reported by Laurent Bigonville
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gnome-GPG
Fix Released
Undecided
Unassigned
gnome-gpg (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Gnome-gpg FTBFS on karmic due to:

gcc -DHAVE_CONFIG_H -I. -DG_LOG_DOMAIN=\"Gnome-GPG\" -I. -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libgnomeui-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2 -I/usr/include/gail-1.0 -D_XOPEN_SOURCE -D_BSD_SOURCE -g -O2 -g -Wall -O2 -Werror -std=c89 -Wcast-align -Wsign-compare -Wnested-externs -Wpointer-arith -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wno-strict-aliasing -Wno-sign-compare -Wdeclaration-after-statement -c gnome-gpg.c
cc1: warnings being treated as errors
gnome-gpg.c: In function 'handle_get_passphrase':
gnome-gpg.c:176: error: ignoring return value of 'write', declared with attribute warn_unused_result
gnome-gpg.c:177: error: ignoring return value of 'write', declared with attribute warn_unused_result
make[2]: *** [gnome-gpg.o] Error 1

See: http://launchpadlibrarian.net/26494855/buildlog_ubuntu-karmic-i386.gnome-gpg_0.6.0-1_FAILEDTOBUILD.txt.gz

Tags: ftbfs
affects: gnome-keyring (Ubuntu) → gnome-gpg (Ubuntu)
Revision history for this message
Ilya Barygin (randomaction) wrote :
Changed in gnome-gpg (Ubuntu):
status: New → Confirmed
Revision history for this message
Ilya Barygin (randomaction) wrote :

I can prepare a branch for merging if you wish.

tags: added: ftbfs
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-gpg - 0.6.0-1ubuntu1

---------------
gnome-gpg (0.6.0-1ubuntu1) karmic; urgency=low

  * Check return values of write() (LP: #374498)

 -- Ilya Barygin <email address hidden> Fri, 17 Jul 2009 14:37:05 +0400

Changed in gnome-gpg (Ubuntu):
status: Confirmed → Fix Released
xbird (x-bird007)
Changed in gnome-gpg:
status: New → Fix Released
Revision history for this message
Artur Rona (ari-tczew) wrote :

Is it really fixed in gnome-gpg upstream?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.