Opened 9 years ago

Closed 8 years ago

#49338 closed defect (fixed)

lilypond 2.18.2 config doesn't identify fontforge version correctly

Reported by: rlhamil Owned by: nerdling (Jeremy Lavergne)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: ryandesign (Ryan Carsten Schmidt), mojca (Mojca Miklavec), LenoreHorner
Port: lilypond

Description (last modified by ryandesign (Ryan Carsten Schmidt))

build OS / compiler / MacPorts version:
Mac OS X 10.11 15A284 (El Capitan)
Xcode 7.0.1 7A1001
MacPorts Version: 2.3.4

:info:configure ERROR: Please install required programs:  /opt/local/bin/fontforge >= 20110222 (installed: 2015-10-17 02:29:06.158 osascript[83576:14837586)
:info:configure 
:info:configure See INSTALL.txt for more information on how to build LilyPond
:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_lilypond/lilypond/work/lilypond-2.18.2" && ./configure --prefix=/opt/local --with-ncsb-dir=/opt/local/share/fonts/urw-fonts --enable-documentation 
lapple root# port installed and fontforge
The following ports are currently installed:
  fontforge @20120731_3 (active)
03:10:57[325]lapple:/Users/rlhamil> fontforge --version
Copyright (c) 2000-2012 by George Williams.
 Executable based on sources from 14:57 GMT 31-Jul-2012-ML-NoPython.
 Library based on sources from 14:57 GMT 31-Jul-2012.
fontforge 20120731
libfontforge 20120731-ML

Attachments (2)

config.log (104.8 KB) - added by rlhamil 9 years ago.
config.log
main.log (264.4 KB) - added by rlhamil 9 years ago.
main.log

Download all attachments as: .zip

Change History (8)

Changed 9 years ago by rlhamil

Attachment: config.log added

config.log

Changed 9 years ago by rlhamil

Attachment: main.log added

main.log

comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added; rlhamil@… removed
Description: modified (diff)
Owner: changed from macports-tickets@… to snc@…
Port: lilypond added

I can try to compare your log with mine to see why yours is getting an applescript (osascript) error determining the fontforge version, when mine is not.

comment:2 Changed 9 years ago by rlhamil

I got this to build after noticing that fontforge --version spits out extra lines of garbage if run with "su -" in effect, but not as a regular user, nor with just plain "su"; i.e., some difference in the environment causes problems.

However, if one does

fontforge --version 2>/dev/null the output is the same regardless:

begin output

fontforge 20120731 libfontforge 20120731-ML

end output

(not including the delimiter lines, obviously)

If the config test were modified accordingly, perhaps it would become immune to this.

comment:3 Changed 8 years ago by mojca (Mojca Miklavec)

Cc: mojca@… added

Cc Me!

comment:4 Changed 8 years ago by mojca (Mojca Miklavec)

lilypond-devel uses

# help fontforge date calculation
reinplace s|20110222|2011-02-22|g ${worksrcpath}/configure

and its installation succeeds. I guess that lilypond could do the same.

comment:5 Changed 8 years ago by LenoreHorner

Cc: LenoreHorner@… added

Cc Me!

comment:6 Changed 8 years ago by nerdling (Jeremy Lavergne)

Resolution: fixed
Status: newclosed

Patched in r151453.

Note: See TracTickets for help on using tickets.