Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 953864 - x11-terms/xterm-397 - [meson] ld: fontutils.o: undefined reference to symbol FT_Load_Char
Summary: x11-terms/xterm-397 - [meson] ld: fontutils.o: undefined reference to symbol ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 953975
  Show dependency tree
 
Reported: 2025-04-14 17:38 UTC by Toralf Förster
Modified: 2025-04-28 00:04 UTC (History)
4 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.52 KB, text/plain)
2025-04-14 17:38 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,84.85 KB, text/plain)
2025-04-14 17:38 UTC, Toralf Förster
Details
environment (environment,78.83 KB, text/plain)
2025-04-14 17:38 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.57 KB, application/x-xz)
2025-04-14 17:38 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,29.21 KB, application/x-xz)
2025-04-14 17:38 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,50.56 KB, application/x-xz)
2025-04-14 17:38 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,204.78 KB, text/plain)
2025-04-14 17:38 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,18.04 KB, application/x-xz)
2025-04-14 17:38 UTC, Toralf Förster
Details
x11-terms:xterm-397:20250414-172233.log (x11-terms:xterm-397:20250414-172233.log,41.97 KB, text/plain)
2025-04-14 17:38 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2025-04-14 17:38:12 UTC
testing if -lutempter is needed
...yes
testing if -lncurses is needed
...yes
testing if -ltinfo is needed
...yes
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: fontutils.o: undefined reference to symbol 'FT_Load_Char'
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libfreetype.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status

  -------------------------------------------------------------------
  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_systemd-20250413-003002

  KEYWORDED/UNMASKED

  [meson] Please re-assign to ztrawhcse@ if it works with regular meson.
  <dev-build/meson-9999

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang version 20.1.2
llvm-config: 20.1.2
Python 3.12.10
go version go1.24.2 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems)
  [2]   ruby33 (with Rubygems)
  [3]   ruby34 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.86.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 21.0.6_p7 [openjdk-bin-21]
2)	Eclipse Temurin JDK 8.442_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-21  system-vm

  HEAD of ::gentoo
commit 388330b61ebab4a5e6cdf9bec8a7f621f2d432cc
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Apr 14 16:50:36 2025 +0000

    Merge updates from master

The tinderbox task was: x11-apps/xinit

emerge -qpvO =x11-terms/xterm-397
[ebuild  N    ] x11-terms/xterm-397  USE="openpty truetype unicode -Xaw3d -sixel -toolbar -verify-sig -xinerama"
Comment 1 Toralf Förster gentoo-dev 2025-04-14 17:38:13 UTC
Created attachment 924886 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-04-14 17:38:14 UTC
Created attachment 924887 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2025-04-14 17:38:15 UTC
Created attachment 924888 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2025-04-14 17:38:16 UTC
Created attachment 924889 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2025-04-14 17:38:17 UTC
Created attachment 924890 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-04-14 17:38:18 UTC
Created attachment 924891 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2025-04-14 17:38:20 UTC
Created attachment 924892 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2025-04-14 17:38:20 UTC
Created attachment 924893 [details]
temp.tar.xz
Comment 9 Toralf Förster gentoo-dev 2025-04-14 17:38:22 UTC
Created attachment 924894 [details]
x11-terms:xterm-397:20250414-172233.log
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-04-18 03:49:21 UTC
Thomas, I think this is caused by new freetype which contains https://gitlab.freedesktop.org/fontconfig/fontconfig/-/commit/208584bd006bd586e442307ca4a3e2888f08d4df (so xterm would build before "accidentally" via picking up -lfreetype via fontconfig).
Comment 11 Thomas Dickey 2025-04-18 07:41:54 UTC
I see: a change made one week ago.

(I suppose I'd notice this with Fedora or Arch -- in a few weeks).
I'll make a fix when I'm able to verify the fix.
Comment 12 Thomas Dickey 2025-04-18 08:19:59 UTC
I see it in Fedora (rawhide) now - will address this evening.
Comment 14 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-04-27 23:56:30 UTC
(In reply to Thomas Dickey from comment #13)
> See this:
> 
> https://github.com/ThomasDickey/xterm-snapshots/commit/
> 3636d95b5e44ae54325cb79bc62bfb0e2ba71c78
> 
> (xterm-398a)

Thank you!
Comment 15 Larry the Git Cow gentoo-dev 2025-04-28 00:04:20 UTC
The bug has been closed via the following commit(s):

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

commit 1fb97fb6152744e31d8c1bf9359d9be18a921847
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-04-28 00:03:09 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-04-28 00:03:09 +0000

    x11-terms/xterm: add 398
    
    Add workaround for fontconfig-2.16.2 which can be dropped on the next
    release (398a already has a fix thanks to upstream on the bug -- not
    pulled that in here as the patch is too large for files/).
    
    Closes: https://bugs.gentoo.org/953864
    Signed-off-by: Sam James <sam@gentoo.org>

 x11-terms/xterm/Manifest         |   2 +
 x11-terms/xterm/xterm-398.ebuild | 111 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 113 insertions(+)