[Debian-med-packaging] Bug#893526: mrs: FTBFS on 32-bit arches - error: format not a string literal and no format arguments

James Cowgill jcowgill at debian.org
Mon Mar 19 17:00:58 UTC 2018


Source: mrs
Version: 6.0.5+dfsg-4
Severity: serious
Tags: sid buster

mrs FTBFS with this error on 32-bit architectures:
>>> src/M6Parser.cpp
> src/M6Parser.cpp: In static member function 'static M6ParserImpl* M6ParserImpl::GetObject(SV*)':
> src/M6Parser.cpp:417:73: warning: null argument where non-null required (argument 2) [-Wnonnull]
>    if (tmp != 0 and strcmp(kM6ScriptType, HvNAME(SvSTASH(SvRV(inScalar)))) == 0)
>                                                                          ^
> src/M6Parser.cpp: In function 'void _M6_Script_set_attribute(PerlInterpreter*, CV*)':
> src/M6Parser.cpp:694:17: error: format not a string literal and no format arguments [-Werror=format-security]
>    croak(e.what());
>                  ^
> src/M6Parser.cpp: In function 'void _M6_Script_set_document(PerlInterpreter*, CV*)':
> src/M6Parser.cpp:724:17: error: format not a string literal and no format arguments [-Werror=format-security]
>    croak(e.what());
>                  ^
> src/M6Parser.cpp: In function 'void _M6_Script_index_text(PerlInterpreter*, CV*)':
> src/M6Parser.cpp:762:18: error: format not a string literal and no format arguments [-Werror=format-security]
>     croak(e.what());
>                   ^
> src/M6Parser.cpp: In function 'void _M6_Script_index_string(PerlInterpreter*, CV*)':
> src/M6Parser.cpp:802:18: error: format not a string literal and no format arguments [-Werror=format-security]
>     croak(e.what());
>                   ^
> src/M6Parser.cpp: In function 'void _M6_Script_index_unique_string(PerlInterpreter*, CV*)':
> src/M6Parser.cpp:840:18: error: format not a string literal and no format arguments [-Werror=format-security]
>     croak(e.what());
>                   ^
> src/M6Parser.cpp: In function 'void _M6_Script_index_number(PerlInterpreter*, CV*)':
> src/M6Parser.cpp:880:17: error: format not a string literal and no format arguments [-Werror=format-security]
>    croak(e.what());
>                  ^
> src/M6Parser.cpp: In function 'void _M6_Script_index_date(PerlInterpreter*, CV*)':
> src/M6Parser.cpp:918:17: error: format not a string literal and no format arguments [-Werror=format-security]
>    croak(e.what());
>                  ^
> src/M6Parser.cpp: In function 'void _M6_Script_add_link(PerlInterpreter*, CV*)':
> src/M6Parser.cpp:958:17: error: format not a string literal and no format arguments [-Werror=format-security]
>    croak(e.what());
>                  ^
> cc1plus: some warnings being treated as errors
> GNUmakefile:104: recipe for target 'obj/M6Parser.o' failed

I think the reason this only fails on 32-bit architectures is a quirk in
the perl Configure script which I'm looking at. I don't think it's
related to mrs (ie it _should_ have failed everywhere).

James

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20180319/5e6f672b/attachment.sig>


More information about the Debian-med-packaging mailing list