Bug#812171: pmacct: FTBFS using clang instead of gcc
close 812171 1.7.8-2
thanks
On Wed, Jan 20, 2016 at 11:26:36PM -0600, Arthur Marble wrote:
> Package: pmacct
> Severity: minor
> Tags: patch
> User: pkg-llvm-team@lists.alioth.debian.org
> Usertags: clang-ftbfs
>
> Hello,
>
> Using the rebuild infrastructure, your package fails to build with clang
> (instead of gcc).
>
> Detected this kind of error:
> http://clang.debian.net/status.php?version=3.6.0&key=FUNCTION_RETURNS_VALUE
>
> Full build log is available here:
> http://clang.debian.net/logs/2015-03-25/pmacct_1.5.0-4_unstable_clang.log
>
> I have attached a patch to fix this error.
Hello.
The proposed patch does not apply anymore to the current version,
and gcc-14, default in trixie, does not allow void functions
to return nothing, which is what this report was about.
(So, had this bug remained unfixed, the package would also
have a "ftbfs with gcc-14" bug, which is not the case).
Therefore I believe it's fair to consider this bug fixed in the
trixie version.
Cc to Sylvestre. I wonder how many old bugs like this one could be
closed as well.
Thanks.
Reply to: