Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 950274 - media-libs/harfbuzz-10.3.0: USE="-truetype" non functional and its automagic
Summary: media-libs/harfbuzz-10.3.0: USE="-truetype" non functional and its automagic
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 953435
  Show dependency tree
 
Reported: 2025-02-25 14:44 UTC by Alfred Wingate
Modified: 2025-04-08 17:47 UTC (History)
0 users

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


Attachments
media-libs/harfbuzz-10.3.0 build.log (xz compressed) (harfbuzz-10.3.0:20250225-143546.log.xz,8.31 KB, application/x-xz)
2025-02-25 14:44 UTC, Alfred Wingate
Details
emerge --info (emerge--info.txt,5.98 KB, text/plain)
2025-02-25 14:44 UTC, Alfred Wingate
Details
The users build.log where they hit the header mismatch. (harfbuzz-10.1.0.txt,178.24 KB, text/plain)
2025-02-25 14:46 UTC, Alfred Wingate
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alfred Wingate 2025-02-25 14:44:06 UTC
Created attachment 919893 [details]
media-libs/harfbuzz-10.3.0 build.log (xz compressed)

A user on #gentoo was negatively impacted by this when they had freetype available for abi_x86_64 but not abi_x86_32, leading to a multilib header mismatch.

Potential culprit: https://github.com/harfbuzz/harfbuzz/commit/1ad48fddd08654052da4f8a93609e7f4380d5c42

lddtree /usr/lib64/libharfbuzz.so
libharfbuzz.so => /usr/lib64/libharfbuzz.so (interpreter => none)
    libm.so.6 => /lib64/libm.so.6
        ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2
    libfreetype.so.6 => /usr/lib64/libfreetype.so.6
        libz.so.1 => /usr/lib64/libz.so.1
        libbz2.so.1 => /usr/lib64/libbz2.so.1
        libpng16.so.16 => /usr/lib64/libpng16.so.16
    libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0
        libpcre2-8.so.0 => /usr/lib64/libpcre2-8.so.0
    libgraphite2.so.3 => /usr/lib64/libgraphite2.so.3
    libc.so.6 => /lib64/libc.so.6
Comment 1 Alfred Wingate 2025-02-25 14:44:20 UTC
Created attachment 919894 [details]
emerge --info
Comment 2 Alfred Wingate 2025-02-25 14:46:55 UTC
Created attachment 919895 [details]
The users build.log where they hit the header mismatch.
Comment 3 Larry the Git Cow gentoo-dev 2025-03-24 03:48:48 UTC
The bug has been referenced in the following commit(s):

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

commit 476630153267e5967ea87125314f68febc830f36
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-03-24 03:47:21 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-03-24 03:47:21 +0000

    media-libs/harfbuzz: add 11.0.0
    
    Bug: https://bugs.gentoo.org/950274
    Signed-off-by: Sam James <sam@gentoo.org>

 media-libs/harfbuzz/Manifest               |  1 +
 media-libs/harfbuzz/harfbuzz-11.0.0.ebuild | 90 ++++++++++++++++++++++++++++++
 media-libs/harfbuzz/harfbuzz-9999.ebuild   |  3 +-
 3 files changed, 93 insertions(+), 1 deletion(-)
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-03-24 04:03:26 UTC
Thanks for fixing that upstream.
Comment 5 Larry the Git Cow gentoo-dev 2025-04-08 17:47:05 UTC
The bug has been closed via the following commit(s):

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

commit 5a5248cde63dd7a115c2ae9598d8081da18562d1
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2025-04-08 17:37:38 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2025-04-08 17:41:27 +0000

    media-libs/harfbuzz: Fix freetype dependency logic
    
    Bug: https://bugs.gentoo.org/953435
    Closes: https://bugs.gentoo.org/950274
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../files/harfbuzz-10.4.0-meson-freetype.patch     | 87 +++++++++++++++++++++
 media-libs/harfbuzz/harfbuzz-10.4.0-r1.ebuild      | 91 ++++++++++++++++++++++
 2 files changed, 178 insertions(+)