Bug#1142958: libxs-parse-sublike-perl: autopkgtest failure on 32-bit architectures: compiler warnings

Niko Tyni <[email protected]>
Newsgroups gmane.linux.debian.devel.bugs.rc
Message-ID <amjvGW3ZWKEKR7w5__30515.6562173337$1785262278$gmane$org@app-dd>
Package: libxs-parse-sublike-perl
Version: 0.41-1
Severity: serious
User: [email protected]
Usertags: autopkgtest

This package fails its autopkgtest checks with Perl 5.42 on 32-bit
architectures (armhf and i386 at least.)

  https://ci.debian.net/packages/libx/libxs-parse-sublike-perl/testing/armhf/73816092/

  117s autopkgtest [07:12:30]: test autodep8-perl-build-deps: /usr/share/pkg-perl-autopkgtest/runner build-deps
  117s autopkgtest [07:12:30]: test autodep8-perl-build-deps: [-----------------------
  118s Created MYMETA.yml and MYMETA.json
  118s Creating new 'Build' script for 'XS-Parse-Sublike' version '0.41'
  118s Building XS-Parse-Sublike
  118s arm-linux-gnueabihf-gcc -Isrc/ -I/usr/lib/arm-linux-gnueabihf/perl/5.42/CORE -fPIC -Ishare/include -Iinclude -Ihax -Wall -Wno-unused-function -Wno-unused-value -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN '-D_TIME_BITS=64' -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE '-D_FILE_OFFSET_BITS=64' -O2 -g -o src/parse_subsignature_ex.o src/parse_subsignature_ex.c
  119s In file included from /usr/lib/arm-linux-gnueabihf/perl/5.42/CORE/perl.h:6199,
  119s                  from src/parse_subsignature_ex.c:4:
  119s src/parse_subsignature_ex.c: In function ‘opdump_argelems_named’:
  119s src/parse_subsignature_ex.c:473:22: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=]
  119s   473 |   opdump_printf(ctx, "PARAMS = (%" UVuf ")\n", aux->n_params);
  119s       |                      ^~~~~~~~~~~~~             ~~~~~~~~~~~~~
  119s       |                                                   |
  119s       |                                                   size_t {aka unsigned int}
  119s /usr/lib/arm-linux-gnueabihf/perl/5.42/CORE/embed.h:483:76: note: in definition of macro ‘opdump_printf’
  119s   483 | # define opdump_printf(a,...)                   Perl_opdump_printf(aTHX_ a,__VA_ARGS__)
[...]
  239s autopkgtest [07:14:32]: @@@@@@@@@@@@@@@@@@@@ summary
  239s autodep8-perl-build-deps FAIL stderr: In file included from /usr/lib/arm-linux-gnueabihf/perl/5.42/CORE/perl.h:6199,
  239s autodep8-perl        PASS (superficial)
  239s autodep8-perl-recommends PASS (superficial)

This is currently considered a src:perl regression.  I assume it regressed with 

  https://github.com/Perl/perl5/commit/1eab73a91a97030ed9ce247321dea85de835f830

but I doubt there's anything to fix on that side.  I didn't investigate
much though. Feel free to reassign of course.

Possibly just redirecting stderr also in the './Build' phase of
debian/tests/pkg-perl/smoke-setup is enough to fix this.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.