Opened 16 years ago

Closed 15 years ago

#19277 closed defect (fixed)

Lilypond 2.12.1 fails to build with -docs variant

Reported by: greg.novak@… Owned by: nerdling (Jeremy Lavergne)
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc:
Port: lilypond

Description

The most recent portfile for Lilypond fails to build with the -docs variant.

Ticket 18612 (http://trac.macports.org/ticket/18612) reports a problem building the lilypond documentation. To get around that failure, I used the -docs variant. However, that results in an undefined symbol.

Incidentally, it's surprising that lilypond indirectly depends on the OpenGL framework.

[novak@gregory-novaks-macbook ~]$ sudo port install lilypond -docs -gui 
--->  Fetching lilypond
--->  Verifying checksum(s) for lilypond
--->  Extracting lilypond
--->  Configuring lilypond
--->  Building lilypond
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_lilypond/work/lilypond-2.12.1" && make all " returned error 2
Command output: @{puorg@:dots@}
)
@{tnof@}) )
(some charht values had to be adjusted by as much as 0.7875pt)
(some chardp values had to be adjusted by as much as 0.7875pt)
Font metrics written on parmesan26.tfm.
189 output files written: parmesan26.33 .. parmesan26.221
Transcript written on parmesan26.log.

Converting PostScript graphics to Type 1 font programs...

Invoking "t1asm parmesan26.pt1 parmesan26.pfb"...

Invoking "fontforge -script parmesan26.pe parmesan26.pfb"...
dyld: Symbol not found: _gll_noop
  Referenced from: /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
  Expected in: /opt/local/lib/libGL.dylib

mf2pt1: You'll need to install FontForge if you want parmesan26.pfb autohinted (not required, but strongly recommended)

*** Successfully generated parmesan26.pfb! ***
/opt/local/bin/python /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_lilypond/work/lilypond-2.12.1/buildscripts/./out/gen-emmentaler-scripts --dir=./out
cd ./out && /opt/local/bin/fontforge -script emmentaler-11.pe
dyld: Symbol not found: _gll_noop
  Referenced from: /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
  Expected in: /opt/local/lib/libGL.dylib

/bin/sh: line 1: 19388 Trace/BPT trap          /opt/local/bin/fontforge -script emmentaler-11.pe
make[1]: *** [out/emmentaler-11.otf] Error 133
make: *** [all] Error 2

Error: Status 1 encountered during processing.

Change History (5)

comment:1 Changed 16 years ago by raimue (Rainer Müller)

Owner: changed from macports-tickets@… to snc@…
Port: lilypond added

Looks like your fontforge is broken. Rebuild it with sudo port -fn upgrade fontforge and then try again.

comment:2 Changed 16 years ago by nerdling (Jeremy Lavergne)

Status: newassigned
Version: 1.7.11.7.0

Did rebuilding fontforge fix this?

comment:3 Changed 16 years ago by greg.novak@…

No, rebuilding fontforge did not help. I get the same error, _gll_noop undefined.

% port info fontforge 
fontforge @20080927, Revision 1 (graphics, fonts)
Variants:    with_freetype_bytecode

comment:4 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:5 Changed 15 years ago by nerdling (Jeremy Lavergne)

Resolution: fixed
Status: assignedclosed

Lilypond's portfile was updated tonight. The new version successfully builds -docs for me.

If you still cannot after upgrading, please reopen.

Note: See TracTickets for help on using tickets.