Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 727712 - media-sound/lilypond-2.21.1: build failure - gen-emmentaler.fontforge.py line: 2 Undefined variable: import
Summary: media-sound/lilypond-2.21.1: build failure - gen-emmentaler.fontforge.py line...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major
Assignee: Scheme Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-09 18:27 UTC by matthias.grobarek
Modified: 2020-06-10 13:42 UTC (History)
3 users (show)

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


Attachments
build log (build.log.gz,17.28 KB, application/octet-stream)
2020-06-09 18:28 UTC, matthias.grobarek
Details
emerge --info '=media-sound/lilypond-2.21.1::gentoo' (emerge-info.log,18.55 KB, text/plain)
2020-06-09 18:30 UTC, matthias.grobarek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matthias.grobarek 2020-06-09 18:27:12 UTC
lilypond fails to build on my system. It seems that a Python script is the problem, but I don’t know for sure. Maybe Lilypond isn’t compatible with Python 3? The website only says: “Use version 2.4 or newer.” (https://lilypond.org/doc/v2.21/Documentation/contributor/requirements-for-running-lilypond)

MAKEOPTS="-j1" didn’t change anything.

Reproducible: Always

Steps to Reproduce:
emerge -a =media-sound/lilypond-2.21.1
Actual Results:  
See build.log.gz.

Expected Results:  
The build should work.
Comment 1 matthias.grobarek 2020-06-09 18:28:04 UTC
Created attachment 644176 [details]
build log
Comment 2 matthias.grobarek 2020-06-09 18:30:09 UTC
Created attachment 644178 [details]
emerge --info '=media-sound/lilypond-2.21.1::gentoo'
Comment 3 m1027 2020-06-10 13:09:29 UTC
lilypond-2.19.x has been removed recently.  The remaining lilypond-2.21.1 does
not build in case fontforge lacks +python.

Solution: Compile fontforge with USE flag +python.

@maintainer: So, please add fontforge +python USE flag dependency to the
ebuild.

You may find the failing build.log and the solution here:
https://gitlab.com/lilypond/lilypond/-/issues/6000
Comment 4 Larry the Git Cow gentoo-dev 2020-06-10 13:42:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d253e061f9490bbc628804b6f47d91bf8b479bee

commit d253e061f9490bbc628804b6f47d91bf8b479bee
Author:     Miroslav Šulc <fordfrog@gentoo.org>
AuthorDate: 2020-06-10 13:41:44 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2020-06-10 13:41:44 +0000

    media-sound/lilypond: fixed fontforge dependency use flag
    
    Closes: https://bugs.gentoo.org/727712
    Package-Manager: Portage-2.3.100, Repoman-2.3.22
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 media-sound/lilypond/lilypond-2.21.1.ebuild | 2 +-
 media-sound/lilypond/lilypond-9999.ebuild   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)