unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo Famulari <leo@famulari.name>
To: 42006@debbugs.gnu.org
Subject: bug#42006: Installing font-dejavu breaks other fonts
Date: Mon, 22 Jun 2020 10:44:14 -0400	[thread overview]
Message-ID: <20200622144414.GA14151@jasmine.lan> (raw)

[-- Attachment #1: Type: text/plain, Size: 1345 bytes --]

Since my last full upgrade on June 9 2020, I found that if I have
font-dejavu installed in my profile, my terminal (rxvt-unicode) no
longer finds the font selected in my ~/.Xresources file.

I'm using Guix on Debian, and all the packages involved are installed by
Guix. They are rxvt-unicode, font-anonymous-pro, and font-dejavu.

I strace-d the terminal startup.

In the good case, it reads and loads a bunch font-related things before
it finally loads my specified font from its symlink in
'~/.guix-profile/share/fonts'.

In the bad case, this work is cut short before it loads the DejaVu font
directly from the store.

I've attached excerpts of these traces as 'good.log' and 'bad.log'.

Here is a manifest to test the effect:

------
(specifications->manifest
 '(glibc-utf8-locales"
   "rxvt-unicode"
   "font-anonymous-pro"
   "font-gnu-unifont:pcf"
   "font-gnu-unifont:psf"
   "font-gnu-unifont:bin"
   "font-gnu-unifont"
   "font-dejavu" ; comment this package to toggle the bug on and off
))
------

And the ~/.Xresources file:

------
Urxvt*scrollBar: false
URxvt*font:	xft:Anonymous Pro:pixelsize=13:antialiasing=true \
		xft:unifont:style=Medium:antialias=false:size=16
Xft.hinting:	1
Xft.hintstyle:	hintfull
!
! this is a comment
!urxvt*foreground:White
!urxvt*background:Black

urxvt*foreground:Black
urxvt*background:White
------

[-- Attachment #2: good.log --]
[-- Type: text/plain, Size: 6521 bytes --]

access("/run/current-system/profile/share/fonts/.uuid", F_OK) = -1 ENOENT (No such file or directory)
stat("/run/current-system/profile/share/fonts", 0x7fff3b99a1f0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/run/current-system/profile/share/fonts/.uuid", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/run/current-system/profile/share/fonts", 0x7fff3b99a140) = -1 ENOENT (No such file or directory)
stat("/run/current-system/profile/share/fonts", 0x7fff3b99a1f0) = -1 ENOENT (No such file or directory)
access("/home/leo/.local/share/fonts/.uuid", F_OK) = -1 ENOENT (No such file or directory)
stat("/home/leo/.local/share/fonts", 0x7fff3b99a1f0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/leo/.local/share/fonts/.uuid", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/leo/.local/share/fonts", 0x7fff3b99a140) = -1 ENOENT (No such file or directory)
stat("/home/leo/.local/share/fonts", 0x7fff3b99a1f0) = -1 ENOENT (No such file or directory)
access("/home/leo/.fonts/.uuid", F_OK)  = -1 ENOENT (No such file or directory)
stat("/home/leo/.fonts", 0x7fff3b99a1f0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/leo/.fonts/.uuid", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/leo/.fonts", 0x7fff3b99a140) = -1 ENOENT (No such file or directory)
stat("/home/leo/.fonts", 0x7fff3b99a1f0) = -1 ENOENT (No such file or directory)
access("/gnu/store/7y3lvk3xf4im8n44337mc6y0ccysvfia-font-dejavu-2.37/share/fonts/truetype/.uuid", F_OK) = 0
openat(AT_FDCWD, "/gnu/store/7y3lvk3xf4im8n44337mc6y0ccysvfia-font-dejavu-2.37/share/fonts/truetype/.uuid", O_RDONLY|O_CLOEXEC) = 7
read(7, "25a0e546-f6b7-4bf9-96fd-8daeea9d"..., 36) = 36
close(7)                                = 0
stat("/gnu/store/7y3lvk3xf4im8n44337mc6y0ccysvfia-font-dejavu-2.37/share/fonts/truetype", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
openat(AT_FDCWD, "/gnu/store/7y3lvk3xf4im8n44337mc6y0ccysvfia-font-dejavu-2.37/share/fonts/truetype", O_RDONLY|O_CLOEXEC) = 7
fstatfs(7, {f_type=EXT2_SUPER_MAGIC, f_bsize=4096, f_blocks=11046477, f_bfree=1574489, f_bavail=1047584, f_files=2812544, f_ffree=1687844, f_fsid={val=[2007808024, 1053604465]}, f_namelen=255, f_frsize=4096, f_flags=ST_VALID|ST_RELATIME}) = 0
close(7)                                = 0
openat(AT_FDCWD, "/var/cache/fontconfig/25a0e546-f6b7-4bf9-96fd-8daeea9d7547-le64.cache-7", O_RDONLY|O_CLOEXEC) = 7
fstat(7, {st_mode=S_IFREG|0644, st_size=48472, ...}) = 0
fstatfs(7, {f_type=EXT2_SUPER_MAGIC, f_bsize=4096, f_blocks=11046477, f_bfree=1574489, f_bavail=1047584, f_files=2812544, f_ffree=1687844, f_fsid={val=[2007808024, 1053604465]}, f_namelen=255, f_frsize=4096, f_flags=ST_VALID|ST_RELATIME}) = 0
mmap(NULL, 48472, PROT_READ, MAP_SHARED, 7, 0) = 0x7f8cb23b6000
fadvise64(7, 0, 48472, POSIX_FADV_WILLNEED) = 0
close(7)                                = 0
access("/home/leo/.guix-profile/share/fonts/misc/.uuid", F_OK) = -1 ENOENT (No such file or directory)
stat("/home/leo/.guix-profile/share/fonts/misc", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
getpid()                                = 5160
openat(AT_FDCWD, "/home/leo/.guix-profile/share/fonts/misc/.uuid.TMP-x20Dcn", O_RDWR|O_CREAT|O_EXCL|O_CLOEXEC, 0600) = -1 EACCES (Permission denied)
openat(AT_FDCWD, "/home/leo/.guix-profile/share/fonts/misc/.uuid", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/leo/.guix-profile/share/fonts/misc", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
openat(AT_FDCWD, "/home/leo/.guix-profile/share/fonts/misc", O_RDONLY|O_CLOEXEC) = 7
fstatfs(7, {f_type=EXT2_SUPER_MAGIC, f_bsize=4096, f_blocks=11046477, f_bfree=1574489, f_bavail=1047584, f_files=2812544, f_ffree=1687844, f_fsid={val=[2007808024, 1053604465]}, f_namelen=255, f_frsize=4096, f_flags=ST_VALID|ST_RELATIME}) = 0
close(7)                                = 0
openat(AT_FDCWD, "/var/cache/fontconfig//794541dc071aaa9b256a78333c9c6123-le64.cache-7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/leo/.cache/fontconfig//794541dc071aaa9b256a78333c9c6123-le64.cache-7", O_RDONLY|O_CLOEXEC) = 7
fstat(7, {st_mode=S_IFREG|0644, st_size=11800, ...}) = 0
fstatfs(7, {f_type=BTRFS_SUPER_MAGIC, f_bsize=4096, f_blocks=236712960, f_bfree=35008178, f_bavail=34632914, f_files=0, f_ffree=0, f_fsid={val=[1779200204, 927454696]}, f_namelen=255, f_frsize=4096, f_flags=ST_VALID|ST_RELATIME}) = 0
mmap(NULL, 11800, PROT_READ, MAP_SHARED, 7, 0) = 0x7f8cb23b3000
fadvise64(7, 0, 11800, POSIX_FADV_WILLNEED) = 0
close(7)                                = 0
access("/home/leo/.guix-profile/share/fonts/truetype/.uuid", F_OK) = -1 ENOENT (No such file or directory)
stat("/home/leo/.guix-profile/share/fonts/truetype", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
getpid()                                = 5160
openat(AT_FDCWD, "/home/leo/.guix-profile/share/fonts/truetype/.uuid.TMP-pciR3k", O_RDWR|O_CREAT|O_EXCL|O_CLOEXEC, 0600) = -1 EACCES (Permission denied)
openat(AT_FDCWD, "/home/leo/.guix-profile/share/fonts/truetype/.uuid", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/leo/.guix-profile/share/fonts/truetype", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
openat(AT_FDCWD, "/home/leo/.guix-profile/share/fonts/truetype", O_RDONLY|O_CLOEXEC) = 7
fstatfs(7, {f_type=EXT2_SUPER_MAGIC, f_bsize=4096, f_blocks=11046477, f_bfree=1574489, f_bavail=1047584, f_files=2812544, f_ffree=1687844, f_fsid={val=[2007808024, 1053604465]}, f_namelen=255, f_frsize=4096, f_flags=ST_VALID|ST_RELATIME}) = 0
close(7)                                = 0
openat(AT_FDCWD, "/var/cache/fontconfig//826684661afe0f794d1b8b2530936ff8-le64.cache-7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/leo/.cache/fontconfig//826684661afe0f794d1b8b2530936ff8-le64.cache-7", O_RDONLY|O_CLOEXEC) = 7
fstat(7, {st_mode=S_IFREG|0644, st_size=92728, ...}) = 0
fstatfs(7, {f_type=BTRFS_SUPER_MAGIC, f_bsize=4096, f_blocks=236712960, f_bfree=35008178, f_bavail=34632914, f_files=0, f_ffree=0, f_fsid={val=[1779200204, 927454696]}, f_namelen=255, f_frsize=4096, f_flags=ST_VALID|ST_RELATIME}) = 0
mmap(NULL, 92728, PROT_READ, MAP_SHARED, 7, 0) = 0x7f8cb239c000
fadvise64(7, 0, 92728, POSIX_FADV_WILLNEED) = 0
close(7)                                = 0
readlink("/proc/self/exe", "/gnu/store/g1pj95635r3n2ww1j6rx1"..., 4095) = 71
openat(AT_FDCWD, "/home/leo/.guix-profile/share/fonts/truetype/Anonymous Pro.ttf", O_RDONLY) = 7

[-- Attachment #3: bad.log --]
[-- Type: text/plain, Size: 4080 bytes --]

access("/run/current-system/profile/share/fonts/.uuid", F_OK) = -1 ENOENT (No such file or directory)
stat("/run/current-system/profile/share/fonts", 0x7ffdf3865e30) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/run/current-system/profile/share/fonts/.uuid", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/run/current-system/profile/share/fonts", 0x7ffdf3865d80) = -1 ENOENT (No such file or directory)
stat("/run/current-system/profile/share/fonts", 0x7ffdf3865e30) = -1 ENOENT (No such file or directory)
access("/home/leo/.local/share/fonts/.uuid", F_OK) = -1 ENOENT (No such file or directory)
stat("/home/leo/.local/share/fonts", 0x7ffdf3865e30) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/leo/.local/share/fonts/.uuid", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/leo/.local/share/fonts", 0x7ffdf3865d80) = -1 ENOENT (No such file or directory)
stat("/home/leo/.local/share/fonts", 0x7ffdf3865e30) = -1 ENOENT (No such file or directory)
access("/home/leo/.fonts/.uuid", F_OK)  = -1 ENOENT (No such file or directory)
stat("/home/leo/.fonts", 0x7ffdf3865e30) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/leo/.fonts/.uuid", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/leo/.fonts", 0x7ffdf3865d80) = -1 ENOENT (No such file or directory)
stat("/home/leo/.fonts", 0x7ffdf3865e30) = -1 ENOENT (No such file or directory)
access("/gnu/store/7y3lvk3xf4im8n44337mc6y0ccysvfia-font-dejavu-2.37/share/fonts/truetype/.uuid", F_OK) = 0
openat(AT_FDCWD, "/gnu/store/7y3lvk3xf4im8n44337mc6y0ccysvfia-font-dejavu-2.37/share/fonts/truetype/.uuid", O_RDONLY|O_CLOEXEC) = 7
read(7, "25a0e546-f6b7-4bf9-96fd-8daeea9d"..., 36) = 36
close(7)                                = 0
stat("/gnu/store/7y3lvk3xf4im8n44337mc6y0ccysvfia-font-dejavu-2.37/share/fonts/truetype", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
openat(AT_FDCWD, "/gnu/store/7y3lvk3xf4im8n44337mc6y0ccysvfia-font-dejavu-2.37/share/fonts/truetype", O_RDONLY|O_CLOEXEC) = 7
fstatfs(7, {f_type=EXT2_SUPER_MAGIC, f_bsize=4096, f_blocks=11046477, f_bfree=1532598, f_bavail=1005693, f_files=2812544, f_ffree=1645405, f_fsid={val=[2007808024, 1053604465]}, f_namelen=255, f_frsize=4096, f_flags=ST_VALID|ST_RELATIME}) = 0
close(7)                                = 0
openat(AT_FDCWD, "/var/cache/fontconfig/25a0e546-f6b7-4bf9-96fd-8daeea9d7547-le64.cache-7", O_RDONLY|O_CLOEXEC) = 7
fstat(7, {st_mode=S_IFREG|0644, st_size=48472, ...}) = 0
fstatfs(7, {f_type=EXT2_SUPER_MAGIC, f_bsize=4096, f_blocks=11046477, f_bfree=1532598, f_bavail=1005693, f_files=2812544, f_ffree=1645405, f_fsid={val=[2007808024, 1053604465]}, f_namelen=255, f_frsize=4096, f_flags=ST_VALID|ST_RELATIME}) = 0
mmap(NULL, 48472, PROT_READ, MAP_SHARED, 7, 0) = 0x7fc27926e000
fadvise64(7, 0, 48472, POSIX_FADV_WILLNEED) = 0
close(7)                                = 0
access("/home/leo/.guix-profile/share/fonts/truetype/.uuid", F_OK) = 0
openat(AT_FDCWD, "/home/leo/.guix-profile/share/fonts/truetype/.uuid", O_RDONLY|O_CLOEXEC) = 7
read(7, "25a0e546-f6b7-4bf9-96fd-8daeea9d"..., 36) = 36
close(7)                                = 0
stat("/home/leo/.guix-profile/share/fonts/truetype", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
openat(AT_FDCWD, "/home/leo/.guix-profile/share/fonts/truetype", O_RDONLY|O_CLOEXEC) = 7
fstatfs(7, {f_type=EXT2_SUPER_MAGIC, f_bsize=4096, f_blocks=11046477, f_bfree=1532598, f_bavail=1005693, f_files=2812544, f_ffree=1645405, f_fsid={val=[2007808024, 1053604465]}, f_namelen=255, f_frsize=4096, f_flags=ST_VALID|ST_RELATIME}) = 0
close(7)                                = 0
openat(AT_FDCWD, "/var/cache/fontconfig/25a0e546-f6b7-4bf9-96fd-8daeea9d7547-le64.cache-7", O_RDONLY|O_CLOEXEC) = 7
fstat(7, {st_mode=S_IFREG|0644, st_size=48472, ...}) = 0
close(7)                                = 0
readlink("/proc/self/exe", "/gnu/store/g1pj95635r3n2ww1j6rx1"..., 4095) = 71
openat(AT_FDCWD, "/gnu/store/7y3lvk3xf4im8n44337mc6y0ccysvfia-font-dejavu-2.37/share/fonts/truetype/DejaVuSans.ttf", O_RDONLY) = 7

             reply	other threads:[~2020-06-22 14:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-22 14:44 Leo Famulari [this message]
2022-07-14  3:11 ` bug#42006: Installing font-dejavu breaks other fonts Maxim Cournoyer
2022-07-19 13:54   ` Leo Famulari

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200622144414.GA14151@jasmine.lan \
    --to=leo@famulari.name \
    --cc=42006@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).