Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 323603 - media-sound/lilypond-2.12.3 is broken
Summary: media-sound/lilypond-2.12.3 is broken
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Marijn Schouten (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-11 20:58 UTC by Benjamin Peterson
Modified: 2011-08-22 21:16 UTC (History)
2 users (show)

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


Attachments
Build log (build.log,1.63 MB, text/plain)
2010-06-11 23:22 UTC, Benjamin Peterson
Details
lilypond-2.13.23.ebuild.diff (lilypond-2.13.23.ebuild.diff,669 bytes, text/plain)
2010-06-11 23:43 UTC, David Abbott (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Peterson 2010-06-11 20:58:35 UTC
I think it's missing the New Century Schoolbook fonts. Are they not in new ghostscript versions?


Reproducible: Always

Steps to Reproduce:
Try to emerge lilypond.
Actual Results:  
/usr/bin/python /var/tmp/portage/media-sound/lilypond-2.12.3/work/lilypond-2.12.3/stepmake/bin/install.py -c -m 644 ./feta-accordion.mf ./feta-alphabet.mf ./feta-alphabet11.mf ./feta-alphabet13.mf ./feta-alphabet14.mf ./feta-alphabet16.mf ./feta-alphabet18.mf ./feta-alphabet20.mf ./feta-alphabet23.mf ./feta-alphabet26.mf ./feta-arrow.mf ./feta-autometric.mf ./feta-banier.mf ./feta-beugel.mf ./feta-bolletjes.mf ./feta-braces-a.mf ./feta-braces-b.mf ./feta-braces-c.mf ./feta-braces-d.mf ./feta-braces-e.mf ./feta-braces-f.mf ./feta-braces-g.mf ./feta-braces-h.mf ./feta-braces-i.mf ./feta-din-code.mf ./feta-eindelijk.mf ./feta-generic.mf ./feta-haak.mf ./feta-klef.mf ./feta-macros.mf ./feta-nummer-code.mf ./feta-params.mf ./feta-pendaal.mf ./feta-puntje.mf ./feta-schrift.mf ./feta-slag.mf ./feta-test-generic.mf ./feta-test11.mf ./feta-test13.mf ./feta-test16.mf ./feta-test20.mf ./feta-test23.mf ./feta-test26.mf ./feta-timesig.mf ./feta-toevallig.mf ./feta11.mf ./feta13.mf ./feta14.mf ./feta16.mf ./feta18.mf ./feta20.mf ./feta23.mf ./feta26.mf ./parmesan-accidentals.mf ./parmesan-clefs.mf ./parmesan-custodes.mf ./parmesan-dots.mf ./parmesan-flags.mf ./parmesan-generic.mf ./parmesan-heads.mf ./parmesan-macros.mf ./parmesan-rests.mf ./parmesan-scripts.mf ./parmesan-timesig.mf ./parmesan11.mf ./parmesan13.mf ./parmesan14.mf ./parmesan16.mf ./parmesan18.mf ./parmesan20.mf ./parmesan23.mf ./parmesan26.mf /var/tmp/portage/media-sound/lilypond-2.12.3/image//usr/share/lilypond/2.12.3/fonts/source/
Traceback (most recent call last):
  File "/var/tmp/portage/media-sound/lilypond-2.12.3/work/lilypond-2.12.3/stepmake/bin/install.py", line 78, in <module>
    shutil.copy2 (f, dest)
  File "/usr/lib64/python2.6/shutil.py", line 103, in copy2
    copyfile(src, dst)
  File "/usr/lib64/python2.6/shutil.py", line 53, in copyfile
    fsrc = open(src, 'rb')
IOError: [Errno 2] No such file or directory: './out/CenturySchL-Ital.otf'
make[1]: *** [local-install-outfiles] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/media-sound/lilypond-2.12.3/work/lilypond-2.12.3/mf'
make: *** [install] Error 2
 * ERROR: media-sound/lilypond-2.12.3 failed:
 *   emake install failed
 *
 * Call stack:
 *     ebuild.sh, line  54:  Called src_install
 *   environment, line 5196:  Called die
 * The specific snippet of code:
 *       emake DESTDIR="${D}" vimdir=/usr/share/vim/vimfiles install || die "emake install failed";
 *
 * If you need support, post the output of 'emerge --info =media-sound/lilypond-2.12.3',
 * the complete build log and the output of 'emerge -pqv =media-sound/lilypond-2.12.3'.
 * The complete build log is located at '/var/tmp/portage/media-sound/lilypond-2.12.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-sound/lilypond-2.12.3/temp/environment'.
 * S: '/var/tmp/portage/media-sound/lilypond-2.12.3/work/lilypond-2.12.3'


Expected Results:  
It should build.

Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.3, glibc-2.10.1-r1, 2.6.31-gentoo-r10 x86_64)                                                                                    
=================================================================                                                                                                                   
System uname: Linux-2.6.31-gentoo-r10-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T5670_@_1.80GHz-with-gentoo-1.12.13
Timestamp of tree: Fri, 11 Jun 2010 03:00:01 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.arcticnetwork.ca/ http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://www.gtlib.gatech.edu/pub/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://mirrors.cs.wmich.edu/gentoo http://gentoo.chem.wisc.edu/gentoo/ http://mirror.its.uidaho.edu/pub/gentoo/ "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en_US en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 berkdb bzip2 cairo cjk cli cracklib crypt cups curl cxx dbus dell dri emacs firefox3 fortran freetype gdbm glut gpm gstreamer hal iconv immqt-bc ipv6 jpeg kde laptop libffi mmx modules mp3 mudflap multilib mysql ncurses networkmanager nls nptl nptlonly offensive ogg opengl openmp pam pcre perl phonon png pppd python qt3support qt4 readline reflection sasl sdl session spl sql sqlite sse sse2 ssl svg symlink sysfs tcpd threads tiff truetype unicode vorbis webkit xcomposite xft xorg xulrunner zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vga intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Michael Weber (RETIRED) gentoo-dev 2010-06-11 22:51:48 UTC
Can you please attach the full build.log and environment files mentioned at the end of the ebuild? thanks
Comment 2 David Abbott (RETIRED) gentoo-dev 2010-06-11 22:54:22 UTC
Looks like a dup of Bug 315471 that was marked fixed;
from the changelog
28 Apr 2010; Tomas Touceda <chiiph@gentoo.org> lilypond-2.12.3.ebuild:
  Fix dependency problem wrt bug 315471

Another dup Bug 228823
Comment 3 Benjamin Peterson 2010-06-11 23:22:12 UTC
Created attachment 235021 [details]
Build log
Comment 4 Benjamin Peterson 2010-06-11 23:43:04 UTC
I've attached build.log. Which environmental variables are you referring to?
Comment 5 David Abbott (RETIRED) gentoo-dev 2010-06-11 23:43:49 UTC
Created attachment 235023 [details]
lilypond-2.13.23.ebuild.diff

The latest development version with some bug fixes is 2.13.23. Installed fine here, did not test it.
Comment 6 Benjamin Peterson 2010-06-12 03:06:07 UTC
Why is --with-ncsb-dir=/usr/share/fonts/default/ghostscript passed to configure? My fonts are in /usr/share/fonts/urw-fonts/.
Comment 7 Tomás Touceda (RETIRED) gentoo-dev 2010-06-12 03:42:01 UTC
(In reply to comment #6)
> Why is --with-ncsb-dir=/usr/share/fonts/default/ghostscript passed to
> configure? My fonts are in /usr/share/fonts/urw-fonts/.
> 

The dependency specification is || ( media-fonts/gnu-gs-fonts-std media-fonts/urw-fonts ), /usr/share/fonts/default/ghostscript is the default directory where the fonts needed are installed if you have gnu-gs-fonts-std. 

It seems urw-fonts has newer versions of these fonts, I'm testing this against urw-fonts only so we can drop the gnu-gs-fonts-std and set the proper ncsb-dir.
Comment 8 Tomás Touceda (RETIRED) gentoo-dev 2010-06-12 04:24:34 UTC
Ok, I've just updated the ebuild for version 2.12.3 to use urw-fonts.

Benjamin, can you sync and give it a try?
Comment 9 Benjamin Peterson 2010-06-12 18:10:43 UTC
Thank you! That works. It would be nice not to hardcode nscb-dir, of course, since fc-list for me finds it correctly.
Comment 10 Tomás Touceda (RETIRED) gentoo-dev 2010-06-12 23:02:34 UTC
(In reply to comment #9)
> Thank you! That works. It would be nice not to hardcode nscb-dir, of course,
> since fc-list for me finds it correctly.
> 

It seems the hardcoded path comes from a bug in freetype from 2008. I've removed that part, and it seems to build/install perfectly.

Thanks Benjamin :)

I'm considering this solved.