Fontconfig error: Cannot scan config file infinality/conf.d
bagas 17 мая, 2020 - 13:40
Добрый день.
При пересборке некоторых шрифтов выпадает информативная ошибка странная.
Как эту ошибку исправить и из-за чего она происходит?
Система с последними обновлениями ядра и мира, и софта.
* Updating global fontcache ... Fontconfig error: failed reading config file Fontconfig error: Cannot scan config file "infinality/conf.d"
Пересборка порта media-fonts/font-adobe-100dpi
cf.gz timB24-ISO8859-15.pcf.gz timBI08-ISO8859-15.pcf.gz timBI10-ISO8859-15.pcf.gz timBI12-ISO8859-15.pcf.gz timBI14-ISO8859-15.pcf.gz timBI18-ISO8859-15.pcf.gz timBI24-ISO8859-15.pcf.gz timI08-ISO8859-15.pcf.gz timI10-ISO8859-15.pcf.gz timI12-ISO8859-15.pcf.gz timI14-ISO8859-15.pcf.gz timI18-ISO8859-15.pcf.gz timI24-ISO8859-15.pcf.gz '/mnt/tmp/portage/media-fonts/font-adobe-100dpi-1.0.3-r1/image//usr/share/fonts/100dpi' /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c -m 644 timR08-ISO8859-15.pcf.gz timR10-ISO8859-15.pcf.gz timR12-ISO8859-15.pcf.gz timR14-ISO8859-15.pcf.gz timR18-ISO8859-15.pcf.gz timR24-ISO8859-15.pcf.gz '/mnt/tmp/portage/media-fonts/font-adobe-100dpi-1.0.3-r1/image//usr/share/fonts/100dpi' make install-data-hook make[2]: Entering directory '/mnt/tmp/portage/media-fonts/font-adobe-100dpi-1.0.3-r1/work/font-adobe-100dpi-1.0.3_build' /usr/bin/mkfontdir /mnt/tmp/portage/media-fonts/font-adobe-100dpi-1.0.3-r1/image/"/usr/share/fonts/100dpi" ** Warning: fonts.cache not built ** Generate this file manually on host system using fc-cache make[2]: Leaving directory '/mnt/tmp/portage/media-fonts/font-adobe-100dpi-1.0.3-r1/work/font-adobe-100dpi-1.0.3_build' make[1]: Leaving directory '/mnt/tmp/portage/media-fonts/font-adobe-100dpi-1.0.3-r1/work/font-adobe-100dpi-1.0.3_build' * Removing font metadata >>> Completed installing media-fonts/font-adobe-100dpi-1.0.3-r1 into /mnt/tmp/portage/media-fonts/font-adobe-100dpi-1.0.3-r1/image/ * Final size of build directory: 48256 KiB (47.1 MiB) * Final size of installed tree: 8708 KiB ( 8.5 MiB) >>> Installing (1 of 1) media-fonts/font-adobe-100dpi-1.0.3-r1::gentoo * Generating fonts.scale ... [ ok ] * Generating fonts.dir ... [ ok ] * Updating global fontcache ... Fontconfig error: failed reading config file Fontconfig error: Cannot scan config file "infinality/conf.d" [ ok ] * Installed fonts changed. Run 'xset fp rehash' if you are using non-fontconfig applications. >>> Recording media-fonts/font-adobe-100dpi in "world" favorites file... * Messages for package media-fonts/font-adobe-100dpi-1.0.3-r1: * Installed fonts changed. Run 'xset fp rehash' if you are using non-fontconfig applications. >>> Auto-cleaning packages... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date.
# ls -l /etc/fonts/infinality/conf.d lrwxrwxrwx 1 root root 28 июл 9 2015 /etc/fonts/infinality/conf.d -> styles.conf.avail/infinality
# ls -al /etc/fonts/infinality/conf.d/ итого 8 drwxr-xr-x 2 root root 4096 сен 25 2018 . drwxr-xr-x 11 root root 4096 ноя 3 2013 .. lrwxrwxrwx 1 root root 42 сен 25 2018 20-aliases-default-inf.conf -> ../../conf.src/20-aliases-default-inf.conf lrwxrwxrwx 1 root root 36 сен 25 2018 20-fix-cantarell.conf -> ../../conf.src/20-fix-cantarell.conf lrwxrwxrwx 1 root root 44 сен 25 2018 21-aliases-wine-win7-inf.conf -> ../../conf.src/21-aliases-wine-win7-inf.conf lrwxrwxrwx 1 root root 40 сен 25 2018 30-non-latin-inf-win.conf -> ../../conf.src/30-non-latin-inf-win.conf lrwxrwxrwx 1 root root 34 сен 25 2018 41-repl-os-inf.conf -> ../../conf.src/41-repl-os-inf.conf lrwxrwxrwx 1 root root 34 сен 25 2018 42-repl-global.conf -> ../../conf.src/42-repl-global.conf lrwxrwxrwx 1 root root 44 сен 25 2018 43-repl-tt-traced-bitmap.conf -> ../../conf.src/43-repl-tt-traced-bitmap.conf lrwxrwxrwx 1 root root 38 сен 25 2018 44-repl-corrective.conf -> ../../conf.src/44-repl-corrective.conf lrwxrwxrwx 1 root root 49 сен 25 2018 50-base-rendering-inf-osx-lin.conf -> ../../conf.src/50-base-rendering-inf-osx-lin.conf lrwxrwxrwx 1 root root 41 сен 25 2018 60-group-non-tt-fonts.conf -> ../../conf.src/60-group-non-tt-fonts.conf lrwxrwxrwx 1 root root 37 сен 25 2018 60-group-tt-fonts.conf -> ../../conf.src/60-group-tt-fonts.conf lrwxrwxrwx 1 root root 58 сен 25 2018 61-group-non-tt-rendering-inf-7-xp-lin.conf -> ../../conf.src/61-group-non-tt-rendering-inf-7-xp-lin.conf lrwxrwxrwx 1 root root 50 сен 25 2018 61-group-tt-rendering-inf-7-xp.conf -> ../../conf.src/61-group-tt-rendering-inf-7-xp.conf lrwxrwxrwx 1 root root 45 сен 25 2018 62-tt-monospace-rendering.conf -> ../../conf.src/62-tt-monospace-rendering.conf lrwxrwxrwx 1 root root 49 сен 25 2018 62-tt-traced-bitmap-rendering.conf -> ../../conf.src/62-tt-traced-bitmap-rendering.conf lrwxrwxrwx 1 root root 35 сен 25 2018 64-override-inf.conf -> ../../conf.src/64-override-inf.conf lrwxrwxrwx 1 root root 31 сен 25 2018 65-override.conf -> ../../conf.src/65-override.conf lrwxrwxrwx 1 root root 39 сен 25 2018 70-forced-synthetic.conf -> ../../conf.src/70-forced-synthetic.conf lrwxrwxrwx 1 root root 51 сен 25 2018 80-selective-rendering-inf-7-xp.conf -> ../../conf.src/80-selective-rendering-inf-7-xp.conf lrwxrwxrwx 1 root root 54 сен 25 2018 80-selective-rendering-inf-win-lin.conf -> ../../conf.src/80-selective-rendering-inf-win-lin.conf lrwxrwxrwx 1 root root 47 сен 25 2018 81-final-rendering-inf-7-xp.conf -> ../../conf.src/81-final-rendering-inf-7-xp.conf lrwxrwxrwx 1 root root 35 сен 25 2018 90-no-synthetic.conf -> ../../conf.src/90-no-synthetic.conf lrwxrwxrwx 1 root root 29 сен 25 2018 90-reject.conf -> ../../conf.src/90-reject.conf
eselect fontconfig list Available fontconfig .conf files (* is enabled): [1] 10-autohint.conf [2] 10-hinting-full.conf [3] 10-hinting-medium.conf [4] 10-hinting-none.conf [5] 10-hinting-slight.conf * [6] 10-no-sub-pixel.conf [7] 10-scale-bitmap-fonts.conf * [8] 10-sub-pixel-bgr.conf [9] 10-sub-pixel-rgb.conf [10] 10-sub-pixel-vbgr.conf [11] 10-sub-pixel-vrgb.conf [12] 10-unhinted.conf [13] 11-lcdfilter-default.conf [14] 11-lcdfilter-legacy.conf [15] 11-lcdfilter-light.conf [16] 20-unhint-small-dejavu-sans.conf [17] 20-unhint-small-dejavu-sans-mono.conf [18] 20-unhint-small-dejavu-serif.conf [19] 20-unhint-small-vera.conf * [20] 25-unhint-nonlatin.conf [21] 30-metric-aliases.conf * [22] 40-nonlatin.conf * [23] 42-luxi-mono.conf * [24] 45-generic.conf * [25] 45-latin.conf * [26] 49-sansserif.conf * [27] 50-user.conf * [28] 51-local.conf * [29] 52-infinality.conf [30] 57-dejavu-sans.conf [31] 57-dejavu-sans-mono.conf [32] 57-dejavu-serif.conf [33] 60-generic.conf * [34] 60-latin.conf * [35] 60-liberation.conf [36] 62-croscore-arimo.conf [37] 62-croscore-cousine.conf [38] 62-croscore-symbolneu.conf [39] 62-croscore-tinos.conf [40] 65-fonts-persian.conf * [41] 65-khmer.conf [42] 65-nonlatin.conf * [43] 69-unifont.conf * [44] 70-no-bitmaps.conf [45] 70-yes-bitmaps.conf [46] 80-delicious.conf * [47] 90-synthetic.conf *
»
- Для комментирования войдите или зарегистрируйтесь
Пробовали?
https://forums.gentoo.org/viewtopic-t-1079210-start-0.html
У меня ничего про "/etc/fonts/infinality" вообще нет. Откуда это?
P.S. Нашел. infinality-ultimate-meta. Пакет замаскирован, у fontconfig-infinality неверный URL в описании и, судя по всему, последняя версия аж 2013 года. Слишком много признаков некроза.
media-fonts/infinality-ultima
media-fonts/infinality-ultimate-meta
У меня стоит. Проблем с этим комплектом не нашел. Подтягивать пришлось, уже название даже не вспомню, под какую-то прогу.
discord: hwline#1904
constantly use: funtoo-linux, ubuntu
hwline
Грех жаловаться на замаскированный пакет.
RY_G написал(а): hwline
Ну в принципе да. Другое дело, пользователи постоянно забывают, что установка замаскированных пакетов
"лишает гарантии"осуществляется на свой собственный страх и риск и влечет за собой отсутствие поддержки со стороны сообщества.discord: hwline#1904
constantly use: funtoo-linux, ubuntu
bagas написал(а):Run 'xset
Выполнил?
Выше было сообщение,
** Warning: fonts.cache not built
** Generate this file manually on host system using fc-cache
о невозможности создать кэш шрифтов.
discord: hwline#1904
constantly use: funtoo-linux, ubuntu
hwline написал(а): bagas
Не помню уже, по моему делал xset fp rehash .
сейчас просто удалил часть шрифтов неиспользуемых.
Пока что не заметил ошибок.
Что бы ты не делал , жизнь слишком коротка!
Блог о BSD системах.