[Debian-med-packaging] Bug#1011722: fis-gtm: FTBFS: lke_getcli.c:29:6: error: conflicting types for ‘lke_getcli’; have ‘int4?=( Bool *, Bool *, Bool *, int4 *, mstr *, mstr *, mstr *, Bool *, Bool *, boolean t *, int *, boolean t *)=?UTF-8?Q?’ {aka ‘int?=( Bool *, Bool *, Bool *, int *, mstr *, mstr *, mstr *, Bool *, Bool *, int *, int *, int *)=?UTF-8?Q?’}

Lucas Nussbaum lucas at debian.org
Thu May 26 07:37:58 BST 2022


Source: fis-gtm
Version: 6.3-014-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220525 ftbfs-bookworm

Hi,

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


Relevant part (hopefully):
> /usr/bin/cc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_XOPEN_SOURCE=600 -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/gen -I/<<PKGBUILDDIR>>/sr_linux -I/<<PKGBUILDDIR>>/sr_x86_64 -I/<<PKGBUILDDIR>>/sr_x86_regs -I/<<PKGBUILDDIR>>/sr_unix_gnp -I/<<PKGBUILDDIR>>/sr_unix_cm -I/<<PKGBUILDDIR>>/sr_unix -I/<<PKGBUILDDIR>>/sr_port_cm -I/<<PKGBUILDDIR>>/sr_port -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/usr/local/ssl/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-unused-result -Wno-parentheses -Wno-unused-value -Wno-unused-variable -Wno-maybe-uninitialized -Wno-char-subscripts -Wno-unused-but-set-variable -Wno-unused-function -std=c99 -fPIC  -fsigned-char -Wmissing-prototypes -Wreturn-type -Wpointer-sign -fno-omit-frame-pointer -Wimplicit -Wall -Wno-parentheses -Wno-unused-value -Wno-unused-function -Wno-unused-variable -Wno-char-subscripts -Wno-unused-but-set-variable -fno-builtin -Wno-unused-result -Wno-maybe-uninitialized -O2 -DNDEBUG -MD -MT CMakeFiles/libcmisockettcp.dir/sr_unix_gnp/cmj_read.c.o -MF CMakeFiles/libcmisockettcp.dir/sr_unix_gnp/cmj_read.c.o.d -o CMakeFiles/libcmisockettcp.dir/sr_unix_gnp/cmj_read.c.o -c /<<PKGBUILDDIR>>/sr_unix_gnp/cmj_read.c
> /usr/include/x86_64-linux-gnu/bits/string_fortified.h:95:10: warning: ‘__builtin_strncpy’ output may be truncated copying 254 bytes from a string of length 255 [-Wstringop-truncation]
>    95 |   return __builtin___strncpy_chk (__dest, __src, __len,
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    96 |                                   __glibc_objsize (__dest));
>       |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/sr_port/lke_getcli.c:29:6: error: conflicting types for ‘lke_getcli’; have ‘int4(_Bool *, _Bool *, _Bool *, int4 *, mstr *, mstr *, mstr *, _Bool *, _Bool *, boolean_t *, int *, boolean_t *)’ {aka ‘int(_Bool *, _Bool *, _Bool *, int *, mstr *, mstr *, mstr *, _Bool *, _Bool *, int *, int *, int *)’}
>    29 | int4 lke_getcli(bool *all,
>       |      ^~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/sr_port/lke_getcli.c:21:
> /<<PKGBUILDDIR>>/sr_port/lke_getcli.h:16:6: note: previous declaration of ‘lke_getcli’ with type ‘int4(bool *, bool *, bool *, int4 *, mstr *, mstr *, mstr *, bool *, bool *, boolean_t *, int *, boolean_t *)’ {aka ‘int(char *, char *, char *, int *, mstr *, mstr *, mstr *, char *, char *, int *, int *, int *)’}
>    16 | int4 lke_getcli(bool *all, bool *wait, bool *inta, int4 *pid, mstr *region, mstr *node,
>       |      ^~~~~~~~~~
> make[3]: *** [CMakeFiles/liblke.dir/build.make:191: CMakeFiles/liblke.dir/sr_port/lke_getcli.c.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/05/25/fis-gtm_6.3-014-3_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220525;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220525&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

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!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Debian-med-packaging mailing list