[Debian-med-packaging] Bug#1075138: libace-perl: ftbfs with GCC-14
Niko Tyni
ntyni at debian.org
Sun Aug 4 21:31:11 BST 2024
Control: tag -1 patch
On Wed, Jul 03, 2024 at 12:32:17PM +0000, Matthias Klose wrote:
> Package: src:libace-perl
> Version: 1.92-11
> Severity: important
> Tags: sid trixie
> User: debian-gcc at lists.debian.org
> Usertags: ftbfs-gcc-14
> RPC.xs: In function ‘constant’:
> RPC.xs:157:13: error: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch]
> 157 | return _ACECLIENT_;
> | ^~~~~~
> RPC.xs:24:1: note: declared here
> 24 | constant(name, arg)
> | ^~~~~~~~
> make[3]: *** [Makefile:327: RPC.o] Error 1
_ACECLIENT_ is an include guard with no value, it makes
no sense to treat it as a constant.
The attached patch from Gentoo ( https://bugs.gentoo.org/637330 )
fixes the build for me.
Hope this helps,
--
Niko Tyni ntyni at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-compile-with-newer-gcc-non-void-function-constan.patch
Type: text/x-diff
Size: 739 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20240804/ec45d91b/attachment.patch>
More information about the Debian-med-packaging
mailing list