Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: postinstall fails "fontconfig" check on systems w/o native Xorg



On Thu, 7 Aug 2014, Martin Husemann wrote:

> On Thu, Aug 07, 2014 at 10:41:53AM -0500, John D. Baker wrote:
> > Running:
> > 
> >   postinstall -s etc.tgz -d / check
> > 
> > on a -current system complains that it can't find the source directory
> > for the "fontconfig" check and says that the check is being skipped.

Specifically, it says:

[...]
fontconfig check:
        /tmp/_postinstall.3488.0/etc.tgz/etc/fonts/conf.avail is not a 
directory; skipping check
[...]
postinstall checks failed: fontconfig
To fix, run:
    sh /usr/sbin/postinstall -s 'etc.tgz' -d / fix fontconfig


> Try postinstall -s etc.tgz -s xetc.tgz -d / check

This, naturally, results in:

[...]
fontconfig check:
        /etc/fonts/conf.avail is not a directory
[...]
rc check:
        /etc/rc.d/xdm does not exist
        /etc/rc.d/xfs does not exist
[...]
postinstall checks failed: fontconfig rc
To fix, run:
    sh /usr/sbin/postinstall -s 'etc.tgz' -s 'xetc.tgz' -d / fix fontconfig rc


The "xetc.tgz" set was never installed in the first place, so of course
the target directory doesn't exist.  Neither do the "xdm" and "xfs" rc.d
scripts.

Note that in the "etc.tgz"-only case, the "rc" check didn't complain
about missing the "xdm" and "xfs" scripts in its source.  The "fontconfig"
check should do likewise should its source be missing.

-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645



Home | Main Index | Thread Index | Old Index