Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 882607 - app-i18n/libskk-1.0.5_p20210830 fails to compile (CLANG-STRICTER-SYSTEM): file-dict.c:330:2: error: incompatible pointer to integer conversion returning void from a function with result type gboolean (aka int) [-Wint-conversion]
Summary: app-i18n/libskk-1.0.5_p20210830 fails to compile (CLANG-STRICTER-SYSTEM): fil...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-11-23 11:49 UTC by Agostino Sarubbo
Modified: 2024-07-06 10:45 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,158.26 KB, text/plain)
2022-11-23 11:49 UTC, Agostino Sarubbo
Details
1-config.log (1-config.log,44.34 KB, text/plain)
2022-11-23 11:50 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-11-23 11:49:56 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-i18n/libskk-1.0.5_p20210830 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-11-23 11:49:59 UTC
Created attachment 836025 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-11-23 11:50:00 UTC
Created attachment 836027 [details]
1-config.log

1-config.log
Comment 3 YOSHIOKA Takuma 2024-05-20 17:11:58 UTC
I've sent the patch https://github.com/ueno/libskk/pull/85 to address this with system-wide gcc-14 and it is merged, so now the upstream has the fix for this issue.
Comment 4 Larry the Git Cow gentoo-dev 2024-07-06 10:45:22 UTC
The bug has been closed via the following commit(s):

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

commit 4c8fd97d3f7abed5729177581252c1cadaaa4bc0
Author:     Miroslav Šulc <fordfrog@gentoo.org>
AuthorDate: 2024-07-06 10:45:09 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2024-07-06 10:45:18 +0000

    app-i18n/libskk: fixed incompatible pointer
    
    Closes: https://bugs.gentoo.org/882607
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 .../libskk-1.0.5_p20210830-incompatible-pointer.patch    | 16 ++++++++++++++++
 app-i18n/libskk/libskk-1.0.5_p20210830.ebuild            |  6 +++++-
 2 files changed, 21 insertions(+), 1 deletion(-)