Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 899050 - x11-terms/wezterm-20221119.145034 fails to compile (MUSL-CLANG-SYSTEM): [harfbuzz 0.1.0] hb-ft.cc:790:5: error: cast from int ()(const FT_Vector , hb_draw_session_t ) (aka int ()(const FT_Vector_ , hb_draw_session_t )) to FT_Outline_MoveToFunc (aka int (
Summary: x11-terms/wezterm-20221119.145034 fails to compile (MUSL-CLANG-SYSTEM): [harf...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Mark Wright
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-03 09:12 UTC by Agostino Sarubbo
Modified: 2023-03-25 12:41 UTC (History)
0 users

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


Attachments
build.log.xz (build.log.xz,125.11 KB, application/x-xz)
2023-03-03 09:12 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-03-03 09:12:55 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: x11-terms/wezterm-20221119.145034 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-03-03 09:12:58 UTC
Created attachment 855958 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Mark Wright gentoo-dev 2023-03-25 12:37:03 UTC
I reproduced the problem building wezterm-20221119.145034 with
clang 16.0.0.
I confirmed the problem is fixed building wezterm-20230320.124340 with
clang 16.0.0. As the harfbuzz git submodule commit is updated to a
version of harfbuzz with the fix to:

https://github.com/harfbuzz/harfbuzz/issues/3867

% git status
HEAD detached at 20230320-124340-559cb7b0
nothing to commit, working tree clean
% git submodule
-3f83daeecb1a78d851b660eed025eeba362c0e4a deps/freetype/freetype2
-8439534daa1d3a5705ba92e653eda9251246dd61 deps/freetype/libpng
-cacf7f1d4e3d44d871b605da3b647f07d718623f deps/freetype/zlib
-afcae83a064843d71d47624bc162e121cc56c08b deps/harfbuzz/harfbuzz
%
Comment 3 Larry the Git Cow gentoo-dev 2023-03-25 12:41:54 UTC
The bug has been closed via the following commit(s):

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

commit 820127d42b6196d96ff7e413a11b4e6893ed2db6
Author:     Mark Wright <gienah@gentoo.org>
AuthorDate: 2023-03-25 12:41:31 +0000
Commit:     Mark Wright <gienah@gentoo.org>
CommitDate: 2023-03-25 12:41:31 +0000

    x11-terms/wezterm: Bump to 20230320.124340
    
    Fixes clang 16.0.0 build, thanks to Agostino Sarubbo for reporting.
    
    Closes: https://bugs.gentoo.org/899050
    Signed-off-by: Mark Wright <gienah@gentoo.org>

 x11-terms/wezterm/Manifest                         | 255 +++++++
 .../files/wezterm-20230320-124340-image.patch      |  44 ++
 .../wezterm-20230320-124340-vendored-sources.patch |  13 +
 .../files/wezterm-20230320-124340-xcb-imdkit.patch |  11 +
 x11-terms/wezterm/wezterm-20230320.124340.ebuild   | 761 +++++++++++++++++++++
 5 files changed, 1084 insertions(+)