Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 897852 - 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
Summary: net-im/cawbird-1.5-r2 fails to compile (MUSL-CLANG-SYSTEM): MainWidget.c:388:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-02-26 08:17 UTC by Agostino Sarubbo
Modified: 2023-04-14 04:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,88.51 KB, text/plain)
2023-02-26 08:17 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
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(-)