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

Bug #374498 reported by Laurent Bigonville on 2009-05-10
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gnome-GPG
Undecided
Unassigned
gnome-gpg (Ubuntu)
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

affects: gnome-keyring (Ubuntu) → gnome-gpg (Ubuntu)
Ilya Barygin (randomaction) wrote :
Changed in gnome-gpg (Ubuntu):
status: New → Confirmed
Ilya Barygin (randomaction) wrote :

I can prepare a branch for merging if you wish.

tags: added: ftbfs
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) on 2009-10-06
Changed in gnome-gpg:
status: New → Fix Released
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  Edit
Everyone can see this information.

Other bug subscribers

Patches