[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#24703: fontconfig keeps obfuscated reference to itself, not grafted
From: |
Mark H Weaver |
Subject: |
bug#24703: fontconfig keeps obfuscated reference to itself, not grafted |
Date: |
Sat, 15 Oct 2016 23:49:29 -0400 |
After running "guix gc", I've found that my fonts are broken.
Gnome-terminal, Xfce4-terminal, and xterm are no longer able to find my
preferred "Dejavu Sans Mono" font. IceCat also uses a different
selection of fonts. Of the programs I've tried, only Emacs is able to
find them.
The failing programs output the following message to stderr:
Fontconfig error: Cannot load default config file
Strace reveals:
access("/gnu/store/b484nvn9nnr3ddclpz2fma9yxmimg2jj-fontconfig-2.11.94/etc/fonts/fonts.conf",
R_OK) = -1 ENOENT (No such file or directory)
write(2, "Fontconfig error: ", 18Fontconfig error: ) = 18
write(2, "Cannot load default config file", 31Cannot load default config
file) = 31
On my system, which includes a graft for 'bash' (not yet pushed to
Savannah), 'fontconfig' is grafted. After running 'guix gc', the
original ungrafted 'fontconfig' was removed, but libfontconfig is trying
to access it above.
It turns out there's an obfuscated self-reference to fontconfig's store
directory. Here's an excerpt of the output of "hexdump -C
libfontconfig.so.1.9.0":
0000cca0 00 48 b9 2f 67 6e 75 2f 73 74 6f c6 40 48 00 45
|.H./gnu/address@hidden|
0000ccb0 31 e4 48 89 08 48 b9 72 65 2f 62 34 38 34 6e 48 |1.H..H.re/b484nH|
0000ccc0 89 48 08 48 b9 76 6e 39 6e 6e 72 33 64 48 89 48 |.H.H.vn9nnr3dH.H|
0000ccd0 10 48 b9 64 63 6c 70 7a 32 66 6d 48 89 48 18 48 |.H.dclpz2fmH.H.H|
0000cce0 b9 61 39 79 78 6d 69 6d 67 48 89 48 20 48 b9 32 |.a9yxmimgH.H H.2|
0000ccf0 6a 6a 2d 66 6f 6e 74 48 89 48 28 48 b9 63 6f 6e |jj-fontH.H(H.con|
0000cd00 66 69 67 2d 32 48 89 48 30 48 b9 2e 31 31 2e 39 |fig-2H.H0H..11.9|
0000cd10 34 2f 65 48 89 48 38 48 b9 74 63 2f 66 6f 6e 74 |4/eH.H8H.tc/font|
0000cd20 73 48 89 48 40 48 8b 04 24 48 8b 18 48 89 c5 48 |address@hidden|
To be continued...
Mark
- bug#24703: fontconfig keeps obfuscated reference to itself, not grafted,
Mark H Weaver <=
- bug#24703: fontconfig keeps obfuscated reference to itself, not grafted, Mark H Weaver, 2016/10/16
- bug#24703: fontconfig keeps obfuscated reference to itself, not grafted, Mark H Weaver, 2016/10/16
- bug#24703: Store references in 8-byte chunks in compiled code, Mark H Weaver, 2016/10/16
- bug#24703: Store references in 8-byte chunks in compiled code, Mark H Weaver, 2016/10/16
- bug#24703: Store references in 8-byte chunks in compiled code, Mark H Weaver, 2016/10/16
- bug#24703: Store references in 8-byte chunks in compiled code, Mark H Weaver, 2016/10/16
- bug#24703: Store references in 8-byte chunks in compiled code, Ludovic Courtès, 2016/10/16
- bug#24703: Re: bug#24703: Store references in 8-byte chunks in compiled code, Török Edwin, 2016/10/17
- bug#24703: Re: bug#24703: Store references in 8-byte chunks in compiled code, Mark H Weaver, 2016/10/17
- bug#24703: Store references in 8-byte chunks in compiled code, Ludovic Courtès, 2016/10/17