[Bug 655925] New: Broken ttmkfdir test?

bugzilla at redhat.com bugzilla at redhat.com
Mon Nov 22 17:46:21 UTC 2010


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.

Summary: Broken ttmkfdir test?

https://bugzilla.redhat.com/show_bug.cgi?id=655925

           Summary: Broken ttmkfdir test?
           Product: Fedora
           Version: rawhide
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: medium
          Priority: low
         Component: xorg-x11-font-utils
        AssignedTo: xgl-maint at redhat.com
        ReportedBy: loganjerry at gmail.com
         QAContact: extras-qa at fedoraproject.org
                CC: xgl-maint at redhat.com,
                    fonts-bugs at lists.fedoraproject.org
    Classification: Fedora


Description of problem:
Doing updates on my Rawhide machine this morning, I got this in the output:

  Updating       : xorg-x11-fonts-misc-7.5-3.fc15.noarch                 49/100
/usr/bin/xorg-x11-fonts-update-dirs: line 46: ttmkfdir: command not found
/usr/share/X11/fonts/encodings /
/

First, this wouldn't happen if the package had a Requires on ttmkfdir, which
the xorg-x11-fonts-update-dirs script can invoke.  Second, it looks like the
test for whether to run ttmkfdir is backwards:

if [ "$need_ttmkfdir" != "yes" ]; then
    ttmkfdir $fontdir
fi

So if "need_ttmkfdir" is "no", then we run ttmkfdir.  Note that the
"skip_fontscale" test just above this one is similarly backwards.

Version-Release number of selected component (if applicable):
xorg-x11-font-utils-7.5-3.fc15.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Make sure ttmkfdir is not installed.
2. Run /usr/bin/xorg-x11/fonts-update-dirs

Actual results:
The error message reported above.

Expected results:
ttmkfdir should not have been run.

Additional info:

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the fonts-bugs mailing list