Bug#1075185: libmemcached-libmemcached-perl: ftbfs with GCC-14
Étienne Mollier
emollier at debian.org
Sun Jul 21 19:31:48 BST 2024
Control: tags -1 + confirmed
From my current analysis, the relevant error is below:
> libmemcached.c:4613:23: error: assignment to ‘I32’ {aka ‘int’} from ‘char *’
> makes integer from pointer without a cast [-Wint-conversion]
> 4613 | XSANY.any_i32 = MEMCACHED_DEFAULT_PORT_STRING ;
> | ^
It looks to stem from the fact that Perl XS expects the
MEMCACHED_DEFAULT_PORT_STRING to be an int. I'm not sure what
triggers that code path. For what it's worth the variable seems
to be defined as a string in the embedded copy at the location
debian/libmemcached/lib/Memcached/libmemcached/const_hash.pl:
'MEMCACHED_DEFAULT_PORT_STRING' => 'defines'
But there is a high probability that I'm looking nowhere near
the right place to resolve the issue. If I'm looking at the
right place, then there's a non-zero chance the build failure is
specific to the packaging. I'm not sure how to move this issue
forward. I'll pick lower hanging fruits in the meantime.
In hope this helps,
--
.''`. Étienne Mollier <emollier at debian.org>
: :' : pgp: 8f91 b227 c7d6 f2b1 948c 8236 793c f67e 8f0d 11da
`. `' sent from /dev/pts/4, please excuse my verbosity
`- on air: D'virgilio, Morse & Jennings - If I Could
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20240721/b71ade33/attachment.sig>
More information about the pkg-perl-maintainers
mailing list