Bug#1082893: libxs-parse-sublike-perl: Compiler warnings on 32bit architecures cause autopkgtest failures
gregor herrmann
gregoa at debian.org
Fri Sep 27 20:42:33 BST 2024
Source: libxs-parse-sublike-perl
Version: 0.27-1
Severity: serious
Tags: upstream
Justification: autopkgtest failure prevent migration to testing
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
The update to 0.27 causes compiler warnings on 32bit architectures,
as seen on
https://ci.debian.net/packages/libx/libxs-parse-sublike-perl/testing/armel/52370765/
https://ci.debian.net/packages/libx/libxs-parse-sublike-perl/testing/armel/52370765/
https://ci.debian.net/packages/libx/libxs-parse-sublike-perl/testing/armel/52370765/
The warnings look like this (from i386):
55s i686-linux-gnu-gcc -I/usr/lib/i386-linux-gnu/perl/5.38/CORE '-DVERSION="0.27"' '-DXS_VERSION="0.27"' -fPIC -Ishare/include -Iinclude -Ihax -Wall -Wno-unused-function -Wno-unused-value -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE '-D_FILE_OFFSET_BITS=64' -O2 -g -o t/func.o t/func.c
55s In file included from /usr/lib/i386-linux-gnu/perl/5.38/CORE/perl.h:6227,
55s from t/func.xs:8:
55s t/func.xs: In function ‘post_defop_Attribute’:
55s t/func.xs:61:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
55s 61 | hv_stores(n, "op", newSVuv((UV)ctx->op));
55s | ^
55s /usr/lib/i386-linux-gnu/perl/5.38/CORE/embed.h:293:86: note: in definition of macro ‘hv_common_key_len’
55s 293 | # define hv_common_key_len(a,b,c,d,e,f) Perl_hv_common_key_len(aTHX_ a,b,c,d,e,f)
55s | ^
55s /usr/lib/i386-linux-gnu/perl/5.38/CORE/hv.h:565:5: note: in expansion of macro ‘hv_store’
55s 565 | hv_store((hv), ASSERT_IS_LITERAL(key), (sizeof(key)-1), (val), 0)
55s | ^~~~~~~~
55s t/func.xs:61:3: note: in expansion of macro ‘hv_stores’
55s 61 | hv_stores(n, "op", newSVuv((UV)ctx->op));
55s | ^~~~~~~~~
55s t/func.xs:61:25: note: in expansion of macro ‘newSVuv’
55s 61 | hv_stores(n, "op", newSVuv((UV)ctx->op));
55s | ^~~~~~~
55s t/func.xs:62:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
55s 62 | hv_stores(n, "varop", newSVuv((UV)ctx->varop));
55s | ^
55s /usr/lib/i386-linux-gnu/perl/5.38/CORE/embed.h:293:86: note: in definition of macro ‘hv_common_key_len’
55s 293 | # define hv_common_key_len(a,b,c,d,e,f) Perl_hv_common_key_len(aTHX_ a,b,c,d,e,f)
55s | ^
55s /usr/lib/i386-linux-gnu/perl/5.38/CORE/hv.h:565:5: note: in expansion of macro ‘hv_store’
55s 565 | hv_store((hv), ASSERT_IS_LITERAL(key), (sizeof(key)-1), (val), 0)
55s | ^~~~~~~~
55s t/func.xs:62:3: note: in expansion of macro ‘hv_stores’
55s 62 | hv_stores(n, "varop", newSVuv((UV)ctx->varop));
55s | ^~~~~~~~~
55s t/func.xs:62:25: note: in expansion of macro ‘newSVuv’
55s 62 | hv_stores(n, "varop", newSVuv((UV)ctx->varop));
55s | ^~~~~~~
55s t/func.xs:63:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
55s 63 | hv_stores(n, "defop", newSVuv((UV)ctx->defop));
55s | ^
55s /usr/lib/i386-linux-gnu/perl/5.38/CORE/embed.h:293:86: note: in definition of macro ‘hv_common_key_len’
55s 293 | # define hv_common_key_len(a,b,c,d,e,f) Perl_hv_common_key_len(aTHX_ a,b,c,d,e,f)
55s | ^
55s /usr/lib/i386-linux-gnu/perl/5.38/CORE/hv.h:565:5: note: in expansion of macro ‘hv_store’
55s 565 | hv_store((hv), ASSERT_IS_LITERAL(key), (sizeof(key)-1), (val), 0)
55s | ^~~~~~~~
55s t/func.xs:63:3: note: in expansion of macro ‘hv_stores’
55s 63 | hv_stores(n, "defop", newSVuv((UV)ctx->defop));
55s | ^~~~~~~~~
55s t/func.xs:63:25: note: in expansion of macro ‘newSVuv’
55s 63 | hv_stores(n, "defop", newSVuv((UV)ctx->defop));
55s | ^~~~~~~
55s ExtUtils::Mkbootstrap::Mkbootstrap('t/blib/arch/auto/t/func/func.bs')
Unfortunately these warnings cause autopkgtest's smoke test to fail …
Cheers,
gregor
-----BEGIN PGP SIGNATURE-----
iQKTBAEBCgB9FiEE0eExbpOnYKgQTYX6uzpoAYZJqgYFAmb3CqlfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQx
RTEzMTZFOTNBNzYwQTgxMDREODVGQUJCM0E2ODAxODY0OUFBMDYACgkQuzpoAYZJ
qgYNARAAhBcjGUGWh9v1PvgdhfTTdtNXwyiNipGhswXWHrjqxxjLYrDnjAch3t9f
1zrfmEHcmW7f6xM5WtZS1d9tYv3+AxJgLqsFxAvtKwnhbEGpOSd9n7HMzVAsf0r6
sWBajwxBMdzrLVxwT6VFbopEutXK228HNNAmkZybHVD/f3R5MonggL68hFlHnNg1
rsESJVBLQAZNuROevRtONqS0fUwtfOXJmoeBjZGSxdi9rmEiesqElMepq46pf2uM
HWwtkntVB/XOdON1otYOcoFHi8fjAojBa85gjgV8SQx6z3K2IoJVJMru875N68T8
IbGJQet6TNxV7QIDadnaOphcecNyv6g36g5h34VsM/zpMwRCg7QyJKUw7KxG8i3Z
O4PGmrDVUrQOk756NeJJ69VYEJ5yCiSswc+QTbo2BY69GFzQMv0g0h9FuT2FwWzm
K4xtSlwLlm2eyvRXru02CaQMjtej3uTkak5u9u9OdRqFNymXY4s3IiLH7qfrdS7N
y2g7c4bcABkHSE/Q2nxkdLxOc5yjimUohiVnF5Rv4g0z6w/bgULAPhhGHYoA6CMn
hsfkN5VNK+SCcvFddWHfZ2rr9vaCX2ZtJ6PwXD6sYgh1Pq2RbZYlXvcWkZKbq2Z9
j6s+JX4xyKGIshvdeo7OAX/y6Gl6OAAcUS0F+mkCEv41NEU6S9A=
=/30q
-----END PGP SIGNATURE-----
More information about the pkg-perl-maintainers
mailing list