[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#954602: modglue: FTBFS: socket.h:285:33: error: flexible array member ‘cmsghdr::__cmsg_data’ not at end of ‘struct modglue::pipe::send_blocking_(const char*, int)::<unnamed>’



Source: modglue
Version: 1.17-3
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200321 ftbfs-bullseye

Hi,

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

Relevant part (hopefully):
> make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
> libtool --tag=CXX --mode=compile g++ -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -I../include `pkg-config sigc++-2.0 --cflags` process.cc
> libtool: compile:  g++ -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include process.cc  -fPIC -DPIC -o .libs/process.o
> libtool: compile:  g++ -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include process.cc -o process.o >/dev/null 2>&1
> libtool --tag=CXX --mode=compile g++ -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -I../include `pkg-config sigc++-2.0 --cflags` pipe.cc
> libtool: compile:  g++ -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include pipe.cc  -fPIC -DPIC -o .libs/pipe.o
> In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:33,
>                  from pipe.cc:27:
> /usr/include/x86_64-linux-gnu/bits/socket.h: In member function ‘int modglue::pipe::send_blocking_(const char*, int)’:
> /usr/include/x86_64-linux-gnu/bits/socket.h:285:33: error: flexible array member ‘cmsghdr::__cmsg_data’ not at end of ‘struct modglue::pipe::send_blocking_(const char*, int)::<unnamed>’
>   285 |     __extension__ unsigned char __cmsg_data __flexarr; /* Ancillary data.  */
>       |                                 ^~~~~~~~~~~
> pipe.cc:241:10: note: next member ‘int modglue::pipe::send_blocking_(const char*, int)::<unnamed struct>::fd’ declared here
>   241 |     int  fd;
>       |          ^~
> pipe.cc:239:10: note: in the definition of ‘struct modglue::pipe::send_blocking_(const char*, int)::<unnamed>’
>   239 |   struct {
>       |          ^
> make[2]: *** [Makefile:38: pipe.lo] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/03/21/modglue_1.17-3_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.


Reply to: