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

Bug 897852

Summary: net-im/cawbird-1.5-r2 fails to compile (MUSL-CLANG-SYSTEM): MainWidget.c:388:27: error: incompatible function pointer types passing void (gconstpointer, gpointer) (aka void (const void , void )) to parameter of type GFunc (aka void ()(void , void )) [-Wi
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
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 2023-02-26 08:17:16 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-im/cawbird-1.5-r2 fails to compile (MUSL-CLANG-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-CLANG-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc + clang16 but this bug MAY or MAY NOT BE related to musl/clang16.
Comment 1 Agostino Sarubbo gentoo-dev 2023-02-26 08:17:18 UTC
Created attachment 854754 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-02-26 08:17:20 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAILED: libcawbird.a.p/meson-generated_src_DMPage.c.o 
FAILED: libcawbird.a.p/meson-generated_src_DMThreadsPage.c.o 
FAILED: libcawbird.a.p/meson-generated_src_MainWidget.c.o 
libcawbird.a.p/src/MainWidget.c:388:27: error: incompatible function pointer types passing 'void (gconstpointer, gpointer)' (aka 'void (const void *, void *)') to parameter of type 'GFunc' (aka 'void (*)(void *, void *)') [-Wincompatible-function-pointer-types]
Comment 3 Larry the Git Cow gentoo-dev 2023-04-14 04:00:55 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb9bf55310eecc895ebc41ec544c4d84acbf7d48

commit fb9bf55310eecc895ebc41ec544c4d84acbf7d48
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-04-14 03:58:46 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-04-14 03:59:58 +0000

    net-im/cawbird: fix compile w/ clang 16
    
    Closes: https://bugs.gentoo.org/897852
    Signed-off-by: Sam James <sam@gentoo.org>

 ...cawbird-1.5-r2.ebuild => cawbird-1.5-r3.ebuild} |  6 ++++-
 net-im/cawbird/files/cawbird-1.5-clang16.patch     | 28 ++++++++++++++++++++++
 2 files changed, 33 insertions(+), 1 deletion(-)