Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 953481 - dev-qt/qtbase-6.8.2-r2 should depend on freetype >= 2.13.1
Summary: dev-qt/qtbase-6.8.2-r2 should depend on freetype >= 2.13.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-09 16:21 UTC by Andrew John Hughes
Modified: 2025-04-09 22:05 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew John Hughes 2025-04-09 16:21:23 UTC
The new 6.8.2 version of qtbase uses FT_LOAD_NO_SVG which was only added in FreeType 2.13.1: https://freetype.org/index.html#news

2.13.0 is still in the repository and stable on some architectures.

/mnt/scratch/portage/dev-qt/qtbase-6.8.2-r2/work/qtbase-everywhere-src-6.8.2/src/gui/text/freetype/qfontengine_ft.cpp: In member function ‘bool QFontEngineFT::traverseColr1(FT_OpaquePaint, Colr1PaintInfo*) const’:
/mnt/scratch/portage/dev-qt/qtbase-6.8.2-r2/work/qtbase-everywhere-src-6.8.2/src/gui/text/freetype/qfontengine_ft.cpp:1646:78: error: ‘FT_LOAD_NO_SVG’ was not declared in this scope; did you mean ‘FT_LOAD_NO_SCALE’?


Reproducible: Always

Steps to Reproduce:
1. Install freetype < 2.13.1 (2.13.0 is in the repository)
2. Attempt to emerge qt-base-6.8.2-r2
3. 
Actual Results:  
Build fails as above due to missing FT_LOAD_NO_SVG

Expected Results:  
Build causes an update of FreeType to 2.13.2 or above

Portage 3.0.63 (python 3.11.9-final-0, default/linux/amd64/23.0/systemd, gcc-13, glibc-2.40-r5, 5.10.52-gentoo.hex x86_64)
=================================================================
System uname: Linux-5.10.52-gentoo.hex-x86_64-AMD_Ryzen_9_3900X_12-Core_Processor-with-glibc2.40
KiB Mem:    65824112 total,   6258044 free
KiB Swap:  124999672 total, 124999672 free
Timestamp of repository gentoo: Tue, 08 Apr 2025 23:45:00 +0000
Head commit of repository gentoo: 716921803846d5ff4bd61a85d5cccf1fad5e470e
sh bash 5.2_p37
ld GNU ld (Gentoo 2.43 p3) 2.43.1
distcc 3.4 x86_64-pc-linux-gnu [disabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.13-r7::gentoo, 2.69-r9::gentoo, 2.71-r6::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5::gentoo
dev-build/cmake:           3.28.3::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.3.2::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r3::gentoo
dev-lang/python:           3.10.14_p1-r1::gentoo, 3.11.9-r1::gentoo, 3.12.3-r1::gentoo, 3.13.0::gentoo
dev-lang/rust:             1.81.0-r100::gentoo, 1.82.0-r101::gentoo
llvm-core/clang:           15.0.7-r1::gentoo, 16.0.6::gentoo, 17.0.6::gentoo, 18.1.8::gentoo, 19.1.4::gentoo
llvm-core/lld:             15.0.7::gentoo, 17.0.6::gentoo, 18.1.8::gentoo, 19.1.4::gentoo
llvm-core/llvm:            14.0.6-r2::gentoo, 15.0.7::gentoo, 16.0.6::gentoo, 17.0.6::gentoo, 18.1.8-r4::gentoo, 19.1.4::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-apps/systemd:          255.7-r1::gentoo
sys-devel/binutils:        2.38-r2::gentoo, 2.40-r5::gentoo, 2.42-r2::gentoo, 2.43-r2::gentoo
sys-devel/binutils-config: 5.3.2::gentoo
sys-devel/gcc:             11.5.0::gentoo, 12.4.1_p20241114::gentoo, 13.3.1_p20241115::gentoo, 14.2.1_p20241116::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-kernel/linux-headers:  6.6::gentoo (virtual/os-headers)
sys-libs/glibc:            2.40-r5::gentoo
Comment 1 Larry the Git Cow gentoo-dev 2025-04-09 22:05:24 UTC
The bug has been closed via the following commit(s):

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

commit 51a236a3147dcb2014311b53fbd81cc280f33b7a
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2025-04-09 21:59:59 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2025-04-09 22:04:43 +0000

    dev-qt/qtbase: depend on >=freetype-2.13.1
    
    Skipping revbumps due to being a long rebuild and how this may
    at most only cause issues if attempt to downgrade freetype after
    a previous successful build with >=2.13.1.
    
    Closes: https://bugs.gentoo.org/953481
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 dev-qt/qtbase/qtbase-6.8.2-r2.ebuild | 2 +-
 dev-qt/qtbase/qtbase-6.8.3.ebuild    | 2 +-
 dev-qt/qtbase/qtbase-6.9.0.ebuild    | 2 +-
 dev-qt/qtbase/qtbase-6.9.9999.ebuild | 2 +-
 dev-qt/qtbase/qtbase-6.9999.ebuild   | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)