Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 879631 - app-i18n/xvnkb: possible configure breakage with Clang 16
Summary: app-i18n/xvnkb: possible configure breakage with Clang 16
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal
Assignee: CJK Team
URL:
Whiteboard:
Keywords: PullRequest
: 880801 (view as bug list)
Depends on:
Blocks: implicit-in-configure gcc-14-stable
  Show dependency tree
 
Reported: 2022-11-04 22:06 UTC by Matt Jolly
Modified: 2025-04-10 10:19 UTC (History)
1 user (show)

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


Attachments
clang-14.log (clang-14.log,960 bytes, text/plain)
2022-11-04 22:06 UTC, Matt Jolly
Details
clang-15.log (clang-15.log,1016 bytes, text/plain)
2022-11-04 22:06 UTC, Matt Jolly
Details
clang.diff (clang.diff,1.93 KB, text/plain)
2022-11-04 22:06 UTC, Matt Jolly
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Jolly gentoo-dev 2022-11-04 22:06:34 UTC
This package has been identified via automation as potentially impacted by upcoming Clang 16 changes.
The following have been identified as potential issues:

[-Werror,-Wimplicit-int]

[-Werror,-Wimplicit-int]
error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int]
Comment 1 Matt Jolly gentoo-dev 2022-11-04 22:06:35 UTC
Created attachment 827155 [details]
clang-14.log

build log
Comment 2 Matt Jolly gentoo-dev 2022-11-04 22:06:37 UTC
Created attachment 827157 [details]
clang-15.log

build log
Comment 3 Matt Jolly gentoo-dev 2022-11-04 22:06:39 UTC
Created attachment 827159 [details]
clang.diff

build log
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-16 19:53:12 UTC
*** Bug 880801 has been marked as a duplicate of this bug. ***
Comment 5 Larry the Git Cow gentoo-dev 2025-02-10 09:43:06 UTC
The bug has been referenced in the following commit(s):

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

commit f1c74fe44f995f117b055389b06999e353d1eeea
Author:     NHOrus <jy6x2b32pie9@yahoo.com>
AuthorDate: 2025-02-01 07:12:28 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-02-10 09:41:10 +0000

    app-i18n/xvnkb: Add meson build manifest instead of bash
    
    Package has two problems: It's doesn't compile with c23 and it's
    build system is badly handwritten, and fails to configure due to
    changes to bash and build environment.
    It also makes Eli Schwartz scream (# 900398#c5 ).
    Fix build by limiting C version to gnu17.
    Fix configure by rewriting build in Meson.
    New build artifacts are running, can't test if they are working
    correctly - original build fails to configure on my system at all.
    
    Bug: https://bugs.gentoo.org/879631
    Bug: https://bugs.gentoo.org/926090
    Bug: https://bugs.gentoo.org/900398
    Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
    Closes: https://github.com/gentoo/gentoo/pull/40404
    Signed-off-by: Sam James <sam@gentoo.org>

 app-i18n/xvnkb/files/config.h.in      |  5 +++
 app-i18n/xvnkb/files/meson.build      | 72 +++++++++++++++++++++++++++++++++++
 app-i18n/xvnkb/files/meson.options    | 20 ++++++++++
 app-i18n/xvnkb/xvnkb-0.2.11-r1.ebuild | 59 ++++++++++++++++++++++++++++
 4 files changed, 156 insertions(+)
Comment 6 Larry the Git Cow gentoo-dev 2025-04-10 10:19:11 UTC
The bug has been closed via the following commit(s):

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

commit 9a8968959d392ec5ce10242052cd48f7ae0977d0
Author:     Z. Liu <zhixu.liu@gmail.com>
AuthorDate: 2025-01-09 09:11:37 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-04-10 10:18:23 +0000

    app-i18n/xvnkb: fix -Wimplicit-int error
    
    Closes: https://bugs.gentoo.org/879631
    Signed-off-by: Z. Liu <zhixu.liu@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/40065
    Signed-off-by: Sam James <sam@gentoo.org>

 .../xvnkb/files/xvnkb-0.2.11-implicit-int.patch    | 64 ++++++++++++++++++++++
 app-i18n/xvnkb/xvnkb-0.2.11.ebuild                 |  1 +
 2 files changed, 65 insertions(+)