Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 449273 - mftrace aborts fatally on unsupported metafont output
Summary: mftrace aborts fatally on unsupported metafont output
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: mftrace
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Quentin Spencer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 434394
TreeView+ depends on / blocked
 
Reported: 2008-06-01 14:53 UTC by Hans Ulrich Niedermann
Modified: 2008-07-08 04:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-07-08 04:37:58 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Hans Ulrich Niedermann 2008-06-01 14:53:20 UTC
Description of problem:

  /usr/bin/mftrace around line 927:

  m = re.search ("\n!", log)
  start = m.start (0)

  No match found in log, m is None, None.start gives exception.
  Root cause is unknown, but this prevents lilypond rebuilds in rawhide.

Version-Release number of selected component (if applicable):

  1.2.14-4.fc9

How reproducible:

  100%

Steps to Reproduce:
  1. cvs checkout lilypond
  2. cd lilypond/devel
  3. make mockbuild
  
Actual results:

MFINPUTS=. mftrace --encoding ./out/feta11.enc --no-afm -I . -I ./out/
--formats=pfa,pfb,svg feta11
mftrace 1.2.14
Font `feta11'...
Warning: no extra font information for this font.
Consider writing a XX_guess_font_info() routine.
Using encoding file: `/builddir/build/BUILD/lilypond-2.10.33/mf/out/feta11.enc'
Running Metafont...
warning: mf: command exited with value 32512 (ignored) 
Metafont failed.  Excerpt from the log file: 
*****
Traceback (most recent call last):
  File "/usr/bin/mftrace", line 1412, in <module>
    
main()
  File "/usr/bin/mftrace", line 1408, in main
    
do_file (filename)
  File "/usr/bin/mftrace", line 1382, in do_file
    
base = gen_pixel_font (basename, metric, options.magnification)
  File "/usr/bin/mftrace", line 928, in gen_pixel_font
    
start = m.start (0)
AttributeError
: 
'NoneType' object has no attribute 'start'

Expected results:

  No error.

Additional info:

  See also the lilypond FTBFS bug at
https://bugzilla.redhat.com/show_bug.cgi?id=434394#c3

Comment 1 Matt Domsch 2008-07-08 04:37:56 UTC
builds as of 2008-07-03, version 1.2.14-4.fc10.


Note You need to log in before you can comment on or make changes to this bug.