Your message dated Mon, 04 Jul 2011 10:32:39 +0000
with message-id <[email protected]>
and subject line Bug#626757: fixed in libgtextutils 0.6.2-1
has caused the Debian Bug report #626757,
regarding libgtextutils: Ignored return value caused build failure when
warn_unused_result is error.
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
626757: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=626757
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libgtextutils
Severity: normal
(Report recorded on the Debian bug tracking system).
Dear Gordon,
while trying to build libgtextutils on Ubuntu, I faced another compilation
error, unrelated to the one I reported earlier.
Ubuntu treats the compiler warning “warn_unused_result” as an error. In
libgtextutils's /tests/test_pipe_fitter.c file, the return of the write()
function is ignored, triggering this error. I tried to silence it by adding
(void) in front of “write”, but this did not work. I then resorted by
inserting the command in a conditional that does nothing. This is unclean but
allowed me to compile libgtextutils on Ubuntu Natty.
diff --git a/tests/test_pipe_fitter.c b/tests/test_pipe_fitter.c
index 8076543..afc5f12 100644
--- a/tests/test_pipe_fitter.c
+++ b/tests/test_pipe_fitter.c
@@ -39,7 +39,7 @@ int main()
//Pipe output through a GZIP program
fd = pipe_output_command ( "gzip", "pipe_out.txt.gz", &pid ) ;
- write ( fd, text, strlen(text)) ;
+ if(write ( fd, text, strlen(text))) {} ;
pipe_close(fd, pid);
I am not a C programmer. You probably have a better solution ?
Have a nice sunday,
--
Charles
--- End Message ---
--- Begin Message ---
Source: libgtextutils
Source-Version: 0.6.2-1
We believe that the bug you reported is fixed in the latest version of
libgtextutils, which is due to be installed in the Debian FTP archive:
libgtextutils-dev_0.6.2-1_amd64.deb
to main/libg/libgtextutils/libgtextutils-dev_0.6.2-1_amd64.deb
libgtextutils0_0.6.2-1_amd64.deb
to main/libg/libgtextutils/libgtextutils0_0.6.2-1_amd64.deb
libgtextutils_0.6.2-1.debian.tar.gz
to main/libg/libgtextutils/libgtextutils_0.6.2-1.debian.tar.gz
libgtextutils_0.6.2-1.dsc
to main/libg/libgtextutils/libgtextutils_0.6.2-1.dsc
libgtextutils_0.6.2.orig.tar.bz2
to main/libg/libgtextutils/libgtextutils_0.6.2.orig.tar.bz2
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Charles Plessy <[email protected]> (supplier of updated libgtextutils package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Mon, 04 Jul 2011 18:55:22 +0900
Source: libgtextutils
Binary: libgtextutils-dev libgtextutils0
Architecture: source amd64
Version: 0.6.2-1
Distribution: unstable
Urgency: low
Maintainer: Debian Med Packaging Team
<[email protected]>
Changed-By: Charles Plessy <[email protected]>
Description:
libgtextutils-dev - Gordon Text_utils library (development files)
libgtextutils0 - Gordon Text_utils library
Closes: 625365 626757
Changes:
libgtextutils (0.6.2-1) unstable; urgency=low
.
* New upstream release (Closes: #625365, #626757), whith new soname 0.6.2.
* debian/libgtextutils0.symbols upgraded to new soname.
* Breaks: fastx-toolkit =< 0.0.13-1 (debian/control).
* Incremented Standards-Version to reflect conformance with Policy 3.9.2
(debian/control, no changes needed).
Checksums-Sha1:
37cb95f90dfd238aa117afa0e8340c1dc06385c4 1986 libgtextutils_0.6.2-1.dsc
653ea42a5f76714dee1572b2ff78468b0d0ccb14 276103
libgtextutils_0.6.2.orig.tar.bz2
148bc35ed7f14ceda6c2799ec2cbc9c132be159c 14681
libgtextutils_0.6.2-1.debian.tar.gz
c95489843887b9e523bfad7784ca99906d400109 25920
libgtextutils-dev_0.6.2-1_amd64.deb
2b7a69449cbfc56460ed082359a676652d671577 21098 libgtextutils0_0.6.2-1_amd64.deb
Checksums-Sha256:
5d45fb0c8842bd3c4f2b9234197dc12e895d8c6d72aad4c5c32fa8433210693a 1986
libgtextutils_0.6.2-1.dsc
14af5612ca70022ca4371ff50aff0b3f1fe287bc4536a728a9c48ba7160f9861 276103
libgtextutils_0.6.2.orig.tar.bz2
847bbc42c7a1b6d07243ce5429a3259e985036d54d721ac87bc1ba9d4ce52254 14681
libgtextutils_0.6.2-1.debian.tar.gz
87e1ae1cf7a6e706e0870700770b012b239326ed7116aea9cf6b026cd294c006 25920
libgtextutils-dev_0.6.2-1_amd64.deb
b2895f5cc70d9bf609b8110e556f6a3accb52c017346cc8cf7e2493ba7c3d4ee 21098
libgtextutils0_0.6.2-1_amd64.deb
Files:
513864f93b87a07ff64c1c0f94a31d7c 1986 science optional
libgtextutils_0.6.2-1.dsc
6b37627b342a12b6f1522ae7b77f325c 276103 science optional
libgtextutils_0.6.2.orig.tar.bz2
b79514a29a3f4b7ac41e53fbf09716fd 14681 science optional
libgtextutils_0.6.2-1.debian.tar.gz
f57d8268d809f3fcc524ca5ccd256dc1 25920 libdevel optional
libgtextutils-dev_0.6.2-1_amd64.deb
8f253c99fb4f1d1c776656cfd115a897 21098 libs optional
libgtextutils0_0.6.2-1_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iQIcBAEBCAAGBQJOEZL4AAoJEMW9bI8ildUCEp4P/3StV4A3Jbbw/2iQnp0+WwH7
wR25D52wKqIK4MiPalHOEQwX1Ia1OMxYb8mJnLJa/eZ+7TQUHJ0DplqXD52b4LoH
V6GD2yMAEtK5PgDnbO1BQ2/P+Ag177HdBn2gck+IWpift+h3pOGTQUt1/Bma4Wrd
kCawJPkWQa/oy9v6lQWmuO+tHH/6pY49cqqK3Bm7a6spZBbvOmSDxWWJMoGzDKoM
tLxnf6tFCiwiXi609QXAfK7BRAu7ncjDZyTdF/MW1KEytoRk/ClKi4FI+OtMCWup
5P9zWAD7+eiEmn0+R9T1XwyiejBdVd8x12pQ1BhMypZEdIIGJ83q7JdhTYxHX3/k
8M7yPUz4RFpCQmu/LDv/dnSd+aorALcpn2+OMIMyUHxlYO5b7xNTHesWy0UKo/OT
M1JKOBh3v63r8VVYeeUsOfN/L+KAXbeT0omg/cv8k5N6yDFdkqGCsB8m32bWh83w
nmB2fJmJmhVYOZXJX6K+4dG1ff4mh9n2NIskKNu5pVKI6JWOwLnmGN6Bu17Gzlee
Z1JEbXKOiMoVjVU+E+ZNArkGRgS5Ipx8teOYBVLt0eOyGJ1NiS9hHk5m693ybB3Z
WxP7ZwwcYOOwqr7fHlKgYVYPqxqMDESvXl/W9i9cZLRLGpOg1pGI7CJK0dPcIsoV
GSLBeh7UDr5XOLDiwNPD
=oQNs
-----END PGP SIGNATURE-----
--- End Message ---