Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61108 - media-sound/lilypond-2.2.4 fails to compile
Summary: media-sound/lilypond-2.2.4 fails to compile
Status: RESOLVED DUPLICATE of bug 53261
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Fonts Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-20 22:16 UTC by Matthew Schulkind
Modified: 2005-07-17 13:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
better mftrace fix (mftrace.patch,367 bytes, patch)
2004-08-20 22:28 UTC, Matthew Schulkind
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Schulkind 2004-08-20 22:16:19 UTC
It seems for whatever reason t1asm no longer likes to accept long options using the -- format, so during the lilypond build, it fails when mftrace tries to call t1asm with --pfa.

I'm not really sure where this fix should go or what happened to t1asm from the t1utils package, but this could either be fixed by having mftrace call t1asm -a instead of --pfa or by fixing t1asm to accept long options again.

I editted mftrace to print the command it is trying to execute and it is:
t1asm --pfa mftrace.t1asm feta11.pfa

The fail from the build is as follows:
Assembling font to `feta11.pfa'... This is t1asm 1.2.
t1asm: invalid option -- -
usage: t1asm [-b] [-l block-length] [input [output]]

-b means output in PFB format, otherwise PFA format.
The block length applies to the length of blocks in the
PFB output file; the default is to use the largest possible.
error: t1asm: command exited with value 256
Traceback (most recent call last):
  File "/usr/bin/mftrace", line 1182, in ?
    trace_font (basename, gf_fontname, metric, glyph_range, encoding, magnification)
  File "/usr/bin/mftrace", line 661, in trace_font
    to_type1 (t1os, font_bbox, fontname, encoding, magnification, 1)
  File "/usr/bin/mftrace", line 775, in to_type1
    system ('t1asm %s mftrace.t1asm %s' % (opt, outname))
  File "/usr/bin/mftrace", line 246, in system
    error (msg)
  File "/usr/bin/mftrace", line 137, in error
    raise _ ("Exiting ... ")
Exiting ... 

Reproducible: Always
Steps to Reproduce:
Comment 1 Matthew Schulkind 2004-08-20 22:19:49 UTC
Slight correction, to fix this, the --pfa or -a option should just be left off altogether as it is the default, and t1asm will complain if you specify it explicitly.
Comment 2 Matthew Schulkind 2004-08-20 22:28:53 UTC
Created attachment 37843 [details, diff]
better mftrace fix
Comment 3 Matthew Schulkind 2004-08-20 22:34:23 UTC
Comment on attachment 37843 [details, diff]
better mftrace fix

This should be a more correct fix for this problem. I'm not sure what the old
behaviour of t1asm used to be, but now it seems -b must now be expicitly
specified instead of -a needing to be specified.

This is with app-text/t1utils-1.28 and app-text/mftrace-1.0.33
Comment 4 Jeremy Huddleston (RETIRED) gentoo-dev 2004-08-29 09:57:27 UTC
this is an mftrace problem...
Comment 5 foser (RETIRED) gentoo-dev 2004-08-29 10:08:22 UTC

*** This bug has been marked as a duplicate of 53261 ***