Bug#689702: undbx: fails to build in ubuntu due to Werror

Julian Taylor jtaylor.debian at googlemail.com
Fri Oct 5 10:05:29 UTC 2012


Package: undbx
Version: 0.20-1
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu quantal ubuntu-patch

In ubuntu undbx causes triggers a warn_unused_result error causing a build
failure.
See https://launchpadlibrarian.net/118129198/buildlog_ubuntu-
quantal-i386.undbx_0.20-1ubuntu1_FAILEDTOBUILD.txt.gz

gcc -DHAVE_CONFIG_H -I.    -Wall -Werror -g -O2 -c dbxsys.c
dbxsys.c: In function 'sys_fread_short':
dbxsys.c:341:8: error: ignoring return value of 'fread', declared with
attribute warn_unused_result [-Werror=unused-result]
dbxsys.c: In function 'sys_fread_int':
dbxsys.c:326:8: error: ignoring return value of 'fread', declared with
attribute warn_unused_result [-Werror=unused-result]
dbxsys.c: In function 'sys_fread_long_long':
dbxsys.c:307:8: error: ignoring return value of 'fread', declared with
attribute warn_unused_result [-Werror=unused-result]
cc1: all warnings being treated as errors

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/forensics-devel/attachments/20121005/3e04e66e/attachment.pgp>


More information about the forensics-devel mailing list