Bug#963292: libdata-messagepack-perl: FTBFS: pack_template.h:897:65: error: unknown type name ‘msgpack_timestamp’

Lucas Nussbaum lucas at debian.org
Sun Jun 21 20:53:31 BST 2020


Source: libdata-messagepack-perl
Version: 1.00-2
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200620 ftbfs-bullseye

Hi,

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

Relevant part (hopefully):
> x86_64-linux-gnu-gcc -c  "-I." "-I." -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -Wno-comment -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include   -DVERSION=\"1.00\" -DXS_VERSION=\"1.00\" -o xs-src/pack.o -fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.30/CORE"  -DUSE_PPPORT xs-src/pack.c
> In file included from xs-src/pack.c:45:
> /usr/include/msgpack/pack_template.h:897:65: error: unknown type name ‘msgpack_timestamp’
>   897 | msgpack_pack_inline_func(_timestamp)(msgpack_pack_user x, const msgpack_timestamp* d)
>       |                                                                 ^~~~~~~~~~~~~~~~~
> /usr/include/msgpack/pack_template.h: In function ‘msgpack_pack_timestamp’:
> /usr/include/msgpack/pack_template.h:899:21: error: request for member ‘tv_sec’ in something not a structure or union
>   899 |     if ((((int64_t)d->tv_sec) >> 34) == 0) {
>       |                     ^~
> /usr/include/msgpack/pack_template.h:900:40: error: request for member ‘tv_nsec’ in something not a structure or union
>   900 |         uint64_t data64 = ((uint64_t) d->tv_nsec << 34) | (uint64_t)d->tv_sec;
>       |                                        ^~
> /usr/include/msgpack/pack_template.h:900:70: error: request for member ‘tv_sec’ in something not a structure or union
>   900 |         uint64_t data64 = ((uint64_t) d->tv_nsec << 34) | (uint64_t)d->tv_sec;
>       |                                                                      ^~
> In file included from /usr/lib/x86_64-linux-gnu/perl/5.30/CORE/perl.h:1159,
>                  from ./xshelper.h:36,
>                  from xs-src/pack.c:5:
> /usr/include/msgpack/pack_template.h:918:9: error: request for member ‘tv_nsec’ in something not a structure or union
>   918 |         _msgpack_store32(&buf[0], d->tv_nsec);
>       |         ^~~~~~~~~~~~~~~~
> In file included from /usr/include/msgpack/sysdep.h:91,
>                  from /usr/include/msgpack/pack_define.h:13,
>                  from xs-src/pack.c:7:
> /usr/include/msgpack/pack_template.h:919:9: error: request for member ‘tv_sec’ in something not a structure or union
>   919 |         _msgpack_store64(&buf[4], d->tv_sec);
>       |         ^~~~~~~~~~~~~~~~
> make[1]: *** [Makefile:357: xs-src/pack.o] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/06/20/libdata-messagepack-perl_1.00-2_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 pkg-perl-maintainers mailing list