Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 887195

Summary: www-apache/mod_qos-11.72 fails to compile (CLANG-STRICTER-SYSTEM): qsfilter2.c:1815:38: error: incompatible function pointer types passing int (const char const , const char const ) to parameter of type OPENSSL_sk_compfunc (aka int ()(const void , const
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Craig Andrews <candrews>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2022-12-19 12:54:37 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: www-apache/mod_qos-11.72 fails to compile (CLANG-STRICTER-SYSTEM).
Discovered on: amd64 (internal ref: clang-stricter_tinderbox)

NOTE:
(CLANG-STRICTER-SYSTEM) in the summary means that the bug was found on a machine that runs clang with stricter mode

This machine uses clang with CFLAGS/CXXFLAGS=-Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-function-pointer-types

See also:
https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240
https://wiki.gentoo.org/wiki/Modern_C_porting
Comment 1 Agostino Sarubbo gentoo-dev 2022-12-19 12:54:39 UTC
Created attachment 843797 [details]
build.log

build log and emerge --info
Comment 2 listout 2023-07-12 15:45:18 UTC
There seems to be a more updated version of the package that builds with clang-16 (mod_qos-11.74-r1)
Comment 3 listout 2023-07-13 18:27:16 UTC
I think is a duplicate of bug #898860 and is already fixed with f074eba281133487bad523cc1b460a42ac3fd225
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-09-12 05:42:58 UTC

*** This bug has been marked as a duplicate of bug 898860 ***