[Pkg-acpi-devel] Bug#808015: acpid: FTBFS: libnetlink.c:497:54: error: comparison between signed and unsigned integer expressions
Chris Lamb
lamby at debian.org
Tue Dec 15 11:00:14 UTC 2015
Source: acpid
Version: 1:2.0.25-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org
Dear Maintainer,
acpid fails to build from source in unstable/amd64:
[..]
gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -D_FORTIFY_SOURCE=2 -Wall -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wformat=2 -W -Wall -Werror -Wundef -Wshadow -D_GNU_SOURCE -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -c -o libnetlink.o libnetlink.c
libnetlink.c: In function 'addattr_l':
libnetlink.c:497:54: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
if ((int)NLMSG_ALIGN(n->nlmsg_len) + RTA_ALIGN(len) > maxlen) {
^
libnetlink.c: In function 'rta_addattr32':
libnetlink.c:527:36: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
if (RTA_ALIGN(rta->rta_len) + len > maxlen) {
^
libnetlink.c: In function 'rta_addattr_l':
libnetlink.c:545:47: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
if (RTA_ALIGN(rta->rta_len) + RTA_ALIGN(len) > maxlen) {
^
cc1: all warnings being treated as errors
Makefile:389: recipe for target 'libnetlink.o' failed
make[3]: *** [libnetlink.o] Error 1
make[3]: Leaving directory '/home/lamby/temp/cdt.20151215105238.YtstkitUES/acpid-2.0.25/kacpimon'
Makefile:635: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/lamby/temp/cdt.20151215105238.YtstkitUES/acpid-2.0.25'
Makefile:384: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/lamby/temp/cdt.20151215105238.YtstkitUES/acpid-2.0.25'
dh_auto_build: make -j1 returned exit code 2
debian/rules:7: recipe for target 'build' failed
make: *** [build] Error 2
[..]
The full build log is attached.
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: acpid.1:2.0.25-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 2163 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-acpi-devel/attachments/20151215/3990e104/attachment.obj>
More information about the Pkg-acpi-devel
mailing list