Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 887865 - [guru] net-libs/telepathy-haze-0.8.1 fails to compile (CLANG-STRICTER-SYSTEM): media-backend.c:612:3: error: incompatible function pointer types passing void (TpSvcMediaSessionHandler , guint (()()), const gchar , DBusGMethodInvocation ) (aka void (struc
Summary: [guru] net-libs/telepathy-haze-0.8.1 fails to compile (CLANG-STRICTER-SYSTEM)...
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Randall
URL:
Whiteboard: guru only
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-12-22 08:14 UTC by Agostino Sarubbo
Modified: 2024-12-10 11:32 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,107.06 KB, text/plain)
2022-12-22 08:14 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 2022-12-22 08:14:32 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-libs/telepathy-haze-0.8.1 fails to compile (CLANG-STRICTER-SYSTEM).
Discovered on: amd64 (internal ref: guru_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-22 08:14:34 UTC
Created attachment 844639 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2024-12-10 11:32:14 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6a3f3bd68b843b2cc66e4c23e0564df26f7824ac

commit 6a3f3bd68b843b2cc66e4c23e0564df26f7824ac
Author:     Takuya Wakazono <pastalian46@gmail.com>
AuthorDate: 2024-12-08 12:31:31 +0000
Commit:     Takuya Wakazono <pastalian46@gmail.com>
CommitDate: 2024-12-08 12:31:31 +0000

    net-libs/telepathy-haze: fix fix-Wincompatible-pointer-types
    
    Closes: https://bugs.gentoo.org/887865
    Closes: https://bugs.gentoo.org/862984
    Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>

 ...aze-0.8.1-fix-Wincompatible-pointer-types.patch | 50 ++++++++++++++++++++++
 .../telepathy-haze-0.8.1-remove-broken-test.patch  | 11 +++++
 .../telepathy-haze/telepathy-haze-0.8.1.ebuild     | 12 +++++-
 3 files changed, 71 insertions(+), 2 deletions(-)