[Debian-ha-maintainers] Bug#713662: heartbeat: FTBFS: ucast.c:468:6: error: conflicting types for 'i'

David Suárez david.sephirot at gmail.com
Sat Jun 22 13:30:47 UTC 2013


Source: heartbeat
Version: 1:3.0.5-3.1
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20130620 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> /bin/bash ../../../libtool --tag=CC   --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../../include -I../../../include -I../../../include -I../../../linux-ha -I../../../linux-ha -I../../../libltdl -I../../../libltdl -I../../../lib/upmls -I../../../lib/upmls   -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include   -g -O2 -I/usr/include/heartbeat  -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing   -ggdb3 -funsigned-char -g -O2 -I/usr/include/heartbeat  -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing   -ggdb3 -funsigned-char -MT ucast.lo -MD -MP -MF .deps/ucast.Tpo -c -o ucast.lo ucast.c
> libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../../include -I../../../include -I../../../include -I../../../linux-ha -I../../../linux-ha -I../../../libltdl -I../../../libltdl -I../../../lib/upmls -I../../../lib/upmls -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -I/usr/include/heartbeat -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -ggdb3 -funsigned-char -g -O2 -I/usr/include/heartbeat -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -ggdb3 -funsigned-char -MT ucast.lo -MD -MP -MF .deps/ucast.Tpo -c ucast.c  -fPIC -DPIC -o .libs/ucast.o
> ucast.c: In function 'HB_make_send_sock':
> ucast.c:468:6: error: conflicting types for 'i'
>   int i = 1;
>       ^
> ucast.c:465:15: note: previous declaration of 'i' was here
>   struct ifreq i;
>                ^
> ucast.c:502:11: error: request for member 'ifr_ifrn' in something not a structure or union
>    strcpy(i.ifr_name,  ei->interface);
>            ^
> ucast.c:508:7: error: request for member 'ifr_ifrn' in something not a structure or union
>       i.ifr_name, strerror(errno));
>        ^
> ucast.c:513:5: error: request for member 'ifr_ifrn' in something not a structure or union
>     i.ifr_name);
>      ^
> make[5]: *** [ucast.lo] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2013/06/20/heartbeat_3.0.5-3.1_unstable.log

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Debian-ha-maintainers mailing list