Bug#866791: libdata-messagepack-perl: FTBFS against msgpack-c 2.x

James McCoy jamessan at debian.org
Sun Sep 17 21:17:35 UTC 2017


Control: severity -1 serious
Control: tag -1 patch

On Sat, Jul 01, 2017 at 02:11:20PM -0400, James McCoy wrote:
> While performing rebuilds of packages which Build-Depend on libmsgpack-dev with
> the 2.x version in experimental, I found that libdata-messagepack-perl FTBFS:
> 
>     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 -O
>     2 -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_LARGEF
>     ILE_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/unpack.o -fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.24/CORE"  -DUSE_PPPORT xs-src/unpack.c
>     In file included from xs-src/unpack.c:286:0:
>     /usr/include/msgpack/unpack_template.h: In function 'template_execute':
>     /usr/include/msgpack/unpack_template.h:220:31: error: 'MSGPACK_UNPACK_PARSE_ERROR' undeclared (first use in this function)
>                              ret = MSGPACK_UNPACK_PARSE_ERROR;
>                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
>     /usr/include/msgpack/unpack_template.h:220:31: note: each undeclared identifier is reported only once for each function it appears in
>     /usr/include/msgpack/unpack_template.h:226:21: error: 'MSGPACK_UNPACK_NOMEM_ERROR' undeclared (first use in this function)
>                          start_container(_array, ((unsigned int)*p) & 0x0f, MSGPACK_CT_ARRAY_ITEM);
>                          ^
>     Makefile:366: recipe for target 'xs-src/unpack.o' failed

I've now uploaded msgpack-c to unstable, thus raising the severity of
the bug since your package FTBFS.

Attached is the patch I sent upstream.

Cheers,
-- 
James
GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7  2D23 DFE6 91AE 331B A3DB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: msgpack-c-2.x-compat.dif
Type: video/dv
Size: 719 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20170917/4702ec83/attachment.dif>


More information about the pkg-perl-maintainers mailing list