Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#53563 - [xorg-mkfontdir] Missing files after fresh installation.

Attached to Project: Arch Linux
Opened by leo poopkin (poop5757) - Tuesday, 04 April 2017, 22:47 GMT
Last edited by Jan Alexander Steffens (heftig) - Tuesday, 17 July 2018, 16:36 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Andreas Radke (AndyRTR)
Jan Alexander Steffens (heftig)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No


Missing files after fresh installation.

In install script of package xorg-mkfontdir, command:
find /usr/share/fonts -mindepth 1 -type d -printf '%p/\n'
make such output
then in /usr/share/libalpm/scripts/xorg-mkfontdir, command
mkfontscale "$d"
evaluates like
mkfontscale /usr/share/fonts/encodings/
That command delete /usr/share/fonts/encodings/encodings.dir. Why, i didn't know, but that's the fact.
As result, package files are missing.

Please, add something like ... | grep -v /usr/share/fonts/encodings* | ... into install script.

Additional info:
* package version(s)
xorg-mkfontdir 1.0.7-8
* config and/or log files etc.
#pacman -Qkq
xorg-fonts-encodings /usr/share/fonts/encodings/encodings.dir
xorg-fonts-encodings /usr/share/fonts/encodings/large/encodings.dir

Steps to reproduce:
* Make fresh install of archlinux
* type: pacman -Qkq

Sorry for my english.
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Tuesday, 17 July 2018, 16:36 GMT
Reason for closing:  Fixed
Additional comments about closing:  xorg-mkfontdir 1.0.7-9
Comment by leo poopkin (poop5757) - Thursday, 06 April 2017, 10:21 GMT
  • Field changed: Percent Complete (100% → 0%)
This bug is the same story like  FS#53280  but it's not duplicate. Bug is in v1.0.7-8! Not in v1.0.7-7. It related to install script. In previous fix, filter was added to hook, not to install script. Install script starts only on install, not update. When i make archiso-image this start exactly "post_install()". There is no "post_upgrade()" so, if update system it is all ok.
Comment by kts (kts) - Tuesday, 17 July 2018, 14:59 GMT
Is this fixed now? I install Arch a few days ago and files in question were missing.