<div dir="ltr"><div dir="ltr"><div dir="ltr">On Tue, 16 Apr 2019 15:33:04 +0200 Sven Hartge wrote:<br>> My uneducated guess is, the problem is here. See how the prefix<br>> "/var/tmp/mkinitramfs_0BRFs9/" is applied twice, somehow?<br>> <br><div><br></div><div>This was reproduced in fontconfig version 2.12.6 by running as earlier suggested:</div><div><pre class="gmail-message" style="padding-top:8px;margin-top:0px;border-top:0px;white-space:pre-wrap;color:rgb(0,0,0)">mkdir -p /var/tmp/mkinitramfs_0BRFs9/etc/fonts/conf.d
cp -a /etc/fonts/fonts.conf /var/tmp/mkinitramfs_0BRFs9/etc/fonts
cp -rL /etc/fonts/conf.d/60-latin.conf /var/tmp/mkinitramfs_0BRFs9/etc/fonts/conf.d
mkdir -p /var/tmp/mkinitramfs_0BRFs9/var/cache/fontconfig
mkdir -p /var/tmp/mkinitramfs_0BRFs9/usr/local/share/fonts
mkdir -p /var/tmp/mkinitramfs_0BRFs9/usr/share/fonts/truetype/dejavu
cp -a /usr/share/fonts/truetype/dejavu/DejaVuSerif.ttf /var/tmp/mkinitramfs_0BRFs9/usr/share/fonts/truetype/dejavu
cp -a /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf /var/tmp/mkinitramfs_0BRFs9/usr/share/fonts/truetype/dejavu
fc-cache -v -s -y /var/tmp/mkinitramfs_0BRFs9</pre><pre class="gmail-message" style="padding-top:8px;margin-top:0px;border-top:0px"><font color="#000000"><span style="white-space:pre-wrap"><font face="arial, helvetica, sans-serif">Running with strace shows the duplicated sysroot search paths:</font>
stat("/var/tmp/mkinitramfs_0BRFs9/etc/fonts/conf.d", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
openat(AT_FDCWD, "/var/tmp/mkinitramfs_0BRFs9//var/tmp/mkinitramfs_0BRFs9/etc/fonts/conf.d/.uuid", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/var/tmp/mkinitramfs_0BRFs9//var/tmp/mkinitramfs_0BRFs9/etc/fonts/conf.d", 0x7fffded11a30) = -1 ENOENT (No such file or directory)
access("/var/tmp/mkinitramfs_0BRFs9//var/tmp/mkinitramfs_0BRFs9/etc/fonts/conf.d/.uuid", F_OK) = -1 ENOENT (No such file or directory)
stat("/var/tmp/mkinitramfs_0BRFs9//var/tmp/mkinitramfs_0BRFs9/etc/fonts/conf.d", 0x7fffded11ab0) = -1 ENOENT (No such file or directory)
stat("/var/tmp/mkinitramfs_0BRFs9//var/tmp/mkinitramfs_0BRFs9/etc/fonts/conf.d", 0x7fffded11b00) = -1 ENOENT (No such file or directory)
write(2, "/var/tmp/mkinitramfs_0BRFs9/etc/"..., 61/var/tmp/mkinitramfs_0BRFs9/etc/fonts/conf.d: error scanning
) = 61
</span></font></pre><pre class="gmail-message" style="padding-top:8px;margin-top:0px;border-top:0px"><font color="#000000" face="arial, helvetica, sans-serif"><span style="white-space:pre-wrap">Tested fontconfig 2.13.1 from buster, not able to reproduce this issue:
stat("/var/tmp/mkinitramfs_0BRFs9//etc/fonts/conf.d", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
openat(AT_FDCWD, "/var/tmp/mkinitramfs_0BRFs9//etc/fonts/conf.d", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3
fstat(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
getdents64(3, /* 3 entries */, 32768) = 88
getdents64(3, /* 0 entries */, 32768) = 0
access("/var/tmp/mkinitramfs_0BRFs9//etc/fonts/conf.d/60-latin.conf", R_OK) = 0
access("/var/tmp/mkinitramfs_0BRFs9//etc/fonts/conf.d/60-latin.conf", R_OK) = 0
</span></font></pre><pre class="gmail-message" style="padding-top:8px;margin-top:0px;border-top:0px"><font color="#000000" face="arial, helvetica, sans-serif"><span style="white-space:pre-wrap">Perhaps this defect can be closed?</span></font></pre></div></div></div></div>