Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 669204 - media-tv/kodi-17.6-r7: Couldn't load font name: Mono30(notomono-regular.ttf)
Summary: media-tv/kodi-17.6-r7: Couldn't load font name: Mono30(notomono-regular.ttf)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords:
Depends on: 670164
Blocks:
  Show dependency tree
 
Reported: 2018-10-21 14:26 UTC by Tiziano Müller (RETIRED)
Modified: 2019-02-18 03:01 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 Tiziano Müller (RETIRED) gentoo-dev 2018-10-21 14:26:44 UTC
On a fresh installation of media-tv/kodi-17.6-r7 (with ~amd64) I get the following in temp/kodi.log:

  14:12:46.557 T:140686231103616   ERROR: Couldn't load font name: Mono30(notomono-regular.ttf), trying to substitute arial.ttf

Indeed, the following symlink is a deadlink now:

  $ ls -lisa /usr/share/kodi/addons/skin.estuary/fonts/NotoMono-Regular.ttf 
  352797 4 lrwxrwxrwx 1 root root 43 Oct 20 21:15 
  /usr/share/kodi/addons/skin.estuary/fonts/NotoMono-Regular.ttf -> 
  ../../../../fonts/noto/NotoMono-Regular.ttf

Comparing with my previous installation, it seems that referenced font file got renamed somewhere between

  media-fonts/noto-20170403

which still had the referenced file, and

  media-fonts/noto-20180905

which only knows /usr/share/fonts/noto/NotoSansMono-Regular.ttf

Though, not sure whether that is the same font since the hashes differ.
Comment 1 Larry the Git Cow gentoo-dev 2018-11-04 20:41:35 UTC
The bug has been closed via the following commit(s):

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

commit f4ae45a30bc5949be58665510b74513c2d97e999
Author:     Craig Andrews <candrews@gentoo.org>
AuthorDate: 2018-11-04 20:41:10 +0000
Commit:     Craig Andrews <candrews@gentoo.org>
CommitDate: 2018-11-04 20:41:27 +0000

    media-tv/kodi: Compatibility with media-fonts/noto-20180905
    
    Closes: https://bugs.gentoo.org/669204
    Package-Manager: Portage-2.3.51, Repoman-2.3.12
    Signed-off-by: Craig Andrews <candrews@gentoo.org>

 media-tv/kodi/kodi-17.6-r8.ebuild | 298 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 298 insertions(+)
Comment 2 Tiziano Müller (RETIRED) gentoo-dev 2018-11-11 13:28:05 UTC
Nothing changed unfortunately:

/usr/share/kodi/addons/skin.estuary/fonts # symlinks .
dangling: /usr/share/kodi/addons/skin.estuary/fonts/NotoMono-Regular.ttf -> ../../../../fonts/noto/NotoMono-Regular.ttf

with

# emerge --info kodi noto
Portage 2.3.51 (python 3.6.6-final-0, default/linux/amd64/17.0/systemd, gcc-8.2.0, glibc-2.27-r6, 4.19.1-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.19.1-gentoo-x86_64-Intel-R-_Core-TM-_i5-7500_CPU_@_3.40GHz-with-gentoo-2.6
KiB Mem:    16383032 total,  13499076 free
KiB Swap:   19530748 total,  19530748 free
Timestamp of repository gentoo: Sun, 11 Nov 2018 13:00:01 +0000
Head commit of repository gentoo: cc3e562c9c4519d755aa30da3e895dbdc7742dfa
sh bash 4.4_p23
ld GNU gold (Gentoo 2.31.1 p3 2.31.1) 1.16
app-shells/bash:          4.4_p23::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.6::gentoo
dev-util/cmake:           3.12.3::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.31.1-r1::gentoo
sys-devel/gcc:            8.2.0-r4::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.27-r6::gentoo
Repositories:

gentoo
    location: /var/db/repositories/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 

local
    location: /var/db/repositories/local
    masters: gentoo

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/var/cache/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X acl amd64 bzip2 caps cli crypt cxx dri fortran gdbm iconv ipv6 libtirpc lzma multilib ncurses nls nptl openmp pam pcre readline seccomp ssl systemd tcpd udev unicode xattr zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

media-tv/kodi-17.6-r8::gentoo was built with the following:
USE="airplay alsa bluetooth bluray caps cec css dbus dvd gles lirc mariadb nfs nonfree opengl sftp (system-ffmpeg) systemd udev udisks upnp upower vaapi webserver xslt zeroconf -debug -java -lcms -libressl -libusb -mysql -pulseaudio -samba -test -vdpau" ABI_X86="(64)" PYTHON_TARGETS="python2_7"


media-fonts/noto-20181024::gentoo was built with the following:
USE="X -cjk" ABI_X86="(64)"
Comment 3 Craig Andrews gentoo-dev 2018-11-13 02:51:08 UTC
I missed the symlink in estuary (I only got the one in estouchy)
Comment 4 Larry the Git Cow gentoo-dev 2018-11-13 02:55:28 UTC
The bug has been closed via the following commit(s):

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

commit 165be96144ceb34e25c63a869a6c959a009c341f
Author:     Craig Andrews <candrews@gentoo.org>
AuthorDate: 2018-11-13 02:54:48 +0000
Commit:     Craig Andrews <candrews@gentoo.org>
CommitDate: 2018-11-13 02:54:48 +0000

    media-tv/kodi: Fix noto symlink in estuary
    
    Closes: https://bugs.gentoo.org/669204
    Package-Manager: Portage-2.3.51, Repoman-2.3.12
    Signed-off-by: Craig Andrews <candrews@gentoo.org>

 media-tv/kodi/kodi-17.6-r9.ebuild | 301 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 301 insertions(+)
Comment 5 Tiziano Müller (RETIRED) gentoo-dev 2018-11-15 22:53:13 UTC
Now the NotoMono-Regular.ttf is a dead link while the NotoSans-Regular.ttf points to the NotoSansMono, which makes the interface look pretty old-school:

$ ls -lisa /usr/share/kodi/addons/skin.estuary/fonts/*.ttf
781554 4 lrwxrwxrwx 1 root root 43 Nov 14 10:06 /usr/share/kodi/addons/skin.estuary/fonts/NotoMono-Regular.ttf -> ../../../../fonts/noto/NotoMono-Regular.ttf
780824 4 lrwxrwxrwx 1 root root 40 Nov 14 10:06 /usr/share/kodi/addons/skin.estuary/fonts/NotoSans-Bold.ttf -> ../../../../fonts/noto/NotoSans-Bold.ttf
780823 4 lrwxrwxrwx 1 root root 47 Nov 14 10:06 /usr/share/kodi/addons/skin.estuary/fonts/NotoSans-Regular.ttf -> ../../../../fonts/noto/NotoSansMono-Regular.ttf
780822 4 lrwxrwxrwx 1 root root 40 Nov 14 10:06 /usr/share/kodi/addons/skin.estuary/fonts/Roboto-Thin.ttf -> ../../../../fonts/roboto/Roboto-Thin.ttf
Comment 6 Larry the Git Cow gentoo-dev 2019-02-18 03:01:41 UTC
The bug has been closed via the following commit(s):

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

commit b9b28fe5e5935dccc94539383cba437071a4254c
Author:     Craig Andrews <candrews@gentoo.org>
AuthorDate: 2019-02-18 02:59:41 +0000
Commit:     Craig Andrews <candrews@gentoo.org>
CommitDate: 2019-02-18 02:59:41 +0000

    media-tv/kodi: ffmpeg 3.4.5 fixes, don't unbundle fonts
    
    Bug: https://bugs.gentoo.org/678222
    Closes: https://bugs.gentoo.org/669204
    Package-Manager: Portage-2.3.60, Repoman-2.3.12
    Signed-off-by: Craig Andrews <candrews@gentoo.org>

 ...adapt-to-deprecated-symbols-and-functions.patch | 401 +++++++++++++++++++++
 .../kodi-17-fix-audio-with-latest-ffmpeg.patch     |  15 +
 media-tv/kodi/kodi-17.6-r10.ebuild                 | 278 ++++++++++++++
 3 files changed, 694 insertions(+)