Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 448560

Summary: =media-sound/lilypond-2.16.1 - sandbox violation in mkdir ././var/cache/fonts/tfm
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Marijn Schouten (RETIRED) <hkbst>
Status: RESOLVED FIXED    
Severity: normal CC: james, martin, n.reyrolle, radhermit, saint.snit, scheme
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 454458    
Bug Blocks: 441398    
Attachments: build.log
/var/tmp/portage/media-sound/lilypond-2.16.2/work/lilypond-2.16.2/config.log
/var/tmp/portage/media-sound/lilypond-2.16.2/work/lilypond-2.16.2/config.log

Description Agostino Sarubbo gentoo-dev 2012-12-25 16:40:51 UTC
Created attachment 333310 [details]
build.log

Portage 2.1.11.31 (default/linux/amd64/10.0, gcc-4.5.4, glibc-2.15-r3, 3.6.11-gentoo x86_64)                                                                                        
=================================================================                                                                                                                   
System uname: Linux-3.6.11-gentoo-x86_64-Intel-R-_Core-TM-_i7-2600K_CPU_@_3.40GHz-with-gentoo-2.1                                                                                   
Timestamp of tree: Tue, 25 Dec 2012 15:30:01 +0000                                                                                                                                  
ld GNU ld (GNU Binutils) 2.22                                                                                                                                                       
app-shells/bash:          4.2_p37                                                                                                                                                   
dev-lang/python:          2.7.3-r2, 3.2.3                                                                                                                                           
dev-util/cmake:           2.8.9                                                                                                                                                     
dev-util/pkgconfig:       0.27.1                                                                                                                                                    
sys-apps/baselayout:      2.1-r1                                                                                                                                                    
sys-apps/openrc:          0.11.8                                                                                                                                                    
sys-apps/sandbox:         2.5                                                                                                                                                       
sys-devel/autoconf:       2.13, 2.69                                                                                                                                                
sys-devel/automake:       1.9.6-r3, 1.11.6                                                                                                                                          
sys-devel/binutils:       2.22-r1                                                                                                                                                   
sys-devel/gcc:            4.5.4                                                                                                                                                     
sys-devel/gcc-config:     1.7.3                                                                                                                                                     
sys-devel/libtool:        2.4-r1                                                                                                                                                    
sys-devel/make:           3.82-r4                                                                                                                                                   
sys-kernel/linux-headers: 3.6 (virtual/os-headers)                                                                                                                                  
sys-libs/glibc:           2.15-r3                                                                                                                                                   
Repositories: gentoo                                                                                                                                                                
ACCEPT_KEYWORDS="amd64"                                                                                                                                                             
ACCEPT_LICENSE="*"                                                                                                                                                                  
CBUILD="x86_64-pc-linux-gnu"                                                                                                                                                        
CFLAGS="-march=native -O2 -g0 -pipe"                                                                                                                                                
CHOST="x86_64-pc-linux-gnu"                                                                                                                                                         
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"                                                                                                              
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /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="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch protect-owned sandbox sfperms split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://192.168.1.10/ http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 berkdb bzip2 cli consolekit cracklib crypt cups cxx dbus dri fortran gdbm gpm iconv kde minizip mmx modules mp3 mudflap multilib ncurses nls nptl opengl openmp pam pcre policykit pppd qt3support qt4 readline session sse sse2 ssl symlink tcpd unicode 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" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="am fil zh af ca cs da de el es et gl hu nb nl pl pt ro ru sk sl sv uk bg cy en eo fo ga he id ku lt lv mk ms nn sw tn zu ja zh_TW en_GB pt_BR ko zh_CN ar en_CA fi kk oc sr tr fa wa nds as be bn bn_BD bn_IN en_US es_AR es_CL es_ES es_MX eu fy fy_NL ga_IE gu gu_IN hi hi_IN is ka kn ml mr nn_NO or pa pa_IN pt_PT rm si sq sv_SE ta ta_LK te th vi ast dz km my om sh ug uz ca@valencia sr@ijekavian sr@ijekavianlatin sr@latin csb hne mai se es_LA fr_CA zh_HK br la no es_CR et_EE sr_CS bo hsb hy mn sr@Latn lb ne bs tg uz@cyrillic xh be_BY brx ca_XV dgo en_ZA gd kok ks ky lo mni nr ns pap ps rw sa_IN sat sd ss st sw_TZ ti ts ve mt ia az me tl ak hy_AM lg nso son ur_PK it fr nb nb_NO hr nan ur tk cs_CZ da_DK de_1901 de_CH en_AU lt_LT pl_PL sa sk_SK th_TH ta_IN tt sco ha mi ven ar_SY el_GR ro_RO ru_RU sl_SI uk_UA vi_VN ar_SY te_IN de_DE es_VE fa_IR fr_FR hu_HU id_ID it_IT ja_JP ka_GE nl_NL sr_BA sr_RS ca_ES fi_FI he_IL jv ru_gold yi eu_ES" PHP_TARGETS="php5-3 php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="x86_64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ree18 ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="virtualbox"
USE_PYTHON="2.7 3.2"
Comment 1 Tim Harder gentoo-dev 2012-12-26 01:17:45 UTC
Try the latest sandbox-2.6.
Comment 2 Agostino Sarubbo gentoo-dev 2012-12-26 15:39:15 UTC
(In reply to comment #1)
> Try the latest sandbox-2.6.

it works
Comment 3 Cyprien Nicolas (fulax) 2013-08-01 20:51:06 UTC
Closing per stabilization of sandbox-2.6-r1 occurring in bug #472624. Already stable for amd64, x86 and hppa.
Comment 4 Agostino Sarubbo gentoo-dev 2013-08-07 14:25:10 UTC
This is still reproducible right now with sandbox-2.6-r1
Comment 5 Agostino Sarubbo gentoo-dev 2013-08-31 10:23:13 UTC
(In reply to Agostino Sarubbo from comment #4)
> This is still reproducible right now with sandbox-2.6-r1

Does not fail anymore, a bit weird.
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2013-09-22 15:20:00 UTC
*** Bug 485628 has been marked as a duplicate of this bug. ***
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2013-09-22 16:45:29 UTC
(In reply to Agostino Sarubbo from comment #5)
> (In reply to Agostino Sarubbo from comment #4)
> > This is still reproducible right now with sandbox-2.6-r1
> 
> Does not fail anymore, a bit weird.

Some command run by configure is doing this, so anyone seeing this should attach their config.log to this bug report.
Comment 8 Paul Gover 2013-09-23 12:44:33 UTC
Same lilypond sandbox access violation:

VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: mkdir
S: deny
P: ././var/cache/fonts/tfm
A: /var/cache/fonts/tfm
R: /var/cache/fonts/tfm
C: mkdir ././var/cache/fonts/tfm 

using  sys-apps/sandbox-2.6-r1

-----------------------------------------------------
Command and log:
acer ~ # emerge lilypond
Calculating dependencies... done!
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) media-sound/lilypond-2.16.2
>>> Jobs: 0 of 1 complete, 1 running                Load avg: 1.05, 3.04, 3.15 (null)*(null) (null)ACCESS DENIED(null):  mkdir:        /var/cache/fonts/tfm
>>> Failed to emerge media-sound/lilypond-2.16.2, Log file:
>>>  '/var/tmp/tmpdir/portage/media-sound/lilypond-2.16.2/temp/build.log'
>>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 1.05, 3.04, 3.15
 * Package:    media-sound/lilypond-2.16.2
 * Repository: gentoo
 * Maintainer: hkBst@gentoo.org radhermit@gentoo.org,scheme@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux python_single_target_python2_7 python_targets_python2_7 userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking lilypond-2.16.2.tar.gz to /var/tmp/tmpdir/portage/media-sound/lilypond-2.16.2/work
>>> Source unpacked in /var/tmp/tmpdir/portage/media-sound/lilypond-2.16.2/work
>>> Preparing source in /var/tmp/tmpdir/portage/media-sound/lilypond-2.16.2/work/lilypond-2.16.2 ...
 * Applying lilypond-2.16.0-tex-docs.patch ...
 [ ok ]
 * Running eautoreconf in '/var/tmp/tmpdir/portage/media-sound/lilypond-2.16.2/work/lilypond-2.16.2' ...
 * Running autoconf ...
 [ ok ]
 * Running autoheader ...
 [ !! ]
>>> Source prepared.
>>> Configuring source in /var/tmp/tmpdir/portage/media-sound/lilypond-2.16.2/work/lilypond-2.16.2 ...
 * econf: updating lilypond-2.16.2/stepmake/bin/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating lilypond-2.16.2/stepmake/bin/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --with-ncsb-dir=/usr/share/fonts/urw-fonts --disable-documentation --disable-optimising --disable-pipe --disable-debugging --disable-profiling
configure: loading site script /usr/share/config.site
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking Package... LILYPOND
checking builddir... /var/tmp/tmpdir/portage/media-sound/lilypond-2.16.2/work/lilypond-2.16.2
checking for stepmake... ./stepmake  (/usr/share/stepmake not found)
checking for gmake... gmake
checking for find... find
checking for tar... tar
checking for bash... /bin/sh
checking for python... /usr/bin/python2.7
checking /usr/bin/python2.7 version... 2.7.5
checking for /usr/bin/python2.7... /usr/bin/python2.7
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for IEEE-conformance compiler flags... none
checking for fc-list... fc-list
checking New Century Schoolbook PFB files... /usr/share/fonts/urw-fonts/c059013l.pfb /usr/share/fonts/urw-fonts/c059016l.pfb /usr/share/fonts/urw-fonts/c059033l.pfb /usr/share/fonts/urw-fonts/c059036l.pfb 
checking for python... /usr/bin/python2.7
checking /usr/bin/python2.7 version... 2.7.5
checking for /usr/bin/python2.7... /usr/bin/python2.7
checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking x86_64-pc-linux-gnu-gcc version... 4.6.3
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether x86_64-pc-linux-gnu-g++ accepts -g... (cached) yes
checking x86_64-pc-linux-gnu-g++ version... 4.6.3
checking options for known g++ bugs... none
checking whether explicit instantiation is needed... no
checking for stl.data () method... yes
checking for ar... ar
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking for dlopen in -ldl... yes
checking for dlopen... yes
checking for bison... bison -y
checking for bison... bison
checking bison version... 2.4.3
checking for flex... flex
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking FlexLexer.h usability... yes
checking FlexLexer.h presence... yes
checking for FlexLexer.h... yes
checking for yyFlexLexer.yy_current_buffer... no
checking FlexLexer.h location... /usr/include/FlexLexer.h
checking language... English
checking for gettext in -lintl... no
checking for gettext... yes
checking for msgfmt... msgfmt
checking for mf-nowin... mf-nowin
checking for mpost... mpost
checking for working metafont mode... ljfour
checking for kpsewhich... kpsewhich
checking for guile-config... x86_64-pc-linux-gnu-guile-config
configure: WARNING: cannot execute x86_64-pc-linux-gnu-guile-config
checking if we are cross compiling... guile-config
checking guile-config version... 1.8.8
checking guile compile flags...  -pthread
checking guile link flags... -pthread -L/usr/lib64 -lguile -lltdl -lgmp -lcrypt -lm -lltdl
checking libguile.h usability... yes
checking libguile.h presence... yes
checking for libguile.h... yes
checking for scm_boot_guile in -lguile... yes
checking for scm_boot_guile... yes
checking for scm_t_hash_fold_fn... no
checking for scm_t_hash_handle_fn... no
checking for scm_t_subr... no
checking for usable C++ demangler... yes
checking GUILE rational bugfix... ok
checking for python-config... python-config
checking Python.h usability... yes
checking Python.h presence... yes
checking for Python.h... yes
checking for gs... gs
checking for gs... /usr/bin/gs
checking /usr/bin/gs version... 9.05
checking for fontforge... fontforge
checking for fontforge... /usr/bin/fontforge
checking /usr/bin/fontforge version... 20110222
checking for t1asm... t1asm
checking for t1asm... /usr/bin/t1asm
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking libio.h usability... yes
checking libio.h presence... yes
checking for libio.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking for sys/stat.h... (cached) yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking fpu_control.h usability... yes
checking fpu_control.h presence... yes
checking for fpu_control.h... yes
checking sstream usability... yes
checking sstream presence... yes
checking for sstream... yes
checking whether stat file-mode macros are broken... no
checking for working memcmp... yes
checking for vprintf... yes
checking for _doprnt... no
checking for chroot... yes
checking for fopencookie... yes
checking for gettext... (cached) yes
checking for isinf... yes
checking for memmem... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for pkg-config... pkg-config
checking pkg-config version... 0.28
checking whether to enable dynamic relocation... no
checking for rpath linkage... no
checking for pangoft2 >= 1.6.0... yes
checking PANGO_FT2_CFLAGS... -pthread -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 
checking PANGO_FT2_LIBS... -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfreetype -lfontconfig 
checking pango/pangoft2.h usability... yes
checking pango/pangoft2.h presence... yes
checking for pango/pangoft2.h... yes
checking for pango_ft2_font_map_create_context... yes
checking for fontconfig >= 2.4.0... yes
checking FONTCONFIG_CFLAGS... 
checking FONTCONFIG_LIBS... -lfontconfig 
checking for freetype2 >= 2.1.10... yes
checking FREETYPE2_CFLAGS... -I/usr/include/freetype2 
checking FREETYPE2_LIBS... -lfreetype 
checking for some flavor of Windows... no
checking for -windres... no
checking for windres... no
checking for guile... guile
checking for guile... /usr/bin/guile
checking for perl... perl
checking for perl... /usr/bin/perl
checking for makeinfo... makeinfo
checking makeinfo version... 4.13
checking for texi2html... no
checking for dblatex... no
checking for pdflatex... no
checking for pngtopnm... no
checking for convert... convert
checking for zip... zip
checking for rsync... rsync
configure: creating ./config.status
config.status: creating config.make
config.status: creating config.hh

WARNING: Please consider installing optional programs:  texi2html dblatex pdflatex pngtopnm

See INSTALL.txt for more information on how to build LilyPond

Type:
    make all       to build LilyPond
    make install   to install LilyPond
    make help      to see all possible targets

Edit local.make for local Makefile overrides.


>>> Source configured.
 (null)*(null) --------------------------- ACCESS VIOLATION SUMMARY ---------------------------
 (null)*(null) LOG FILE: "/var/log/sandbox/sandbox-4046.log"
 (null)*(null) 
VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: mkdir
S: deny
P: ././var/cache/fonts/tfm
A: /var/cache/fonts/tfm
R: /var/cache/fonts/tfm
C: mkdir ././var/cache/fonts/tfm 
 (null)*(null)

-----------------------------------------------------

My emerge --info

Portage 2.2.6 (default/linux/amd64/13.0/desktop/kde, gcc-4.6.3, glibc-2.15-r3, 3.10.7-gentoolxc x86_64)
=================================================================
System uname: Linux-3.10.7-gentoolxc-x86_64-AMD_Phenom-tm-_9150e_Quad-Core_Processor-with-gentoo-2.2
KiB Mem:     5846564 total,   3147888 free
KiB Swap:   12586908 total,  12264552 free
Timestamp of tree: Sun, 22 Sep 2013 17:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.5-r2, 3.2.5-r2
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo Crossdev
Installed sets: @system
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA IBM-J1.6 dlj-1.1 AdobeFlash-10 AdobeFlash-10.1 AdobeFlash-10.3 AdobeFlash-11.x Oracle-BCLA-JavaSE Nero-AAC-EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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="-march=native -O3 -pipe"
DISTDIR="/var/tmp/distfiles"
EMERGE_DEFAULT_OPTS="--jobs 4 --load-average 4"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://mirror.ovh.net/gentoo-distfiles/ http://mirror.leaseweb.com/gentoo/"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp/tmpdir"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acl acpi alsa amd64 berkdb branding bzip2 cairo cdda cdr cleartype cli cmake consolekit corefonts cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif ffmpeg firefox flac fontconfig fortran gdbm gif glibc-omitfp gpm gtk handbook iconv icu id3 id3tag ipv6 java joystick jpeg kde kipi lcms ldap libnotify mad midi mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib mysql ncurses nls nptl nsplugin ogg opengl openmp orc pam pango pcre pdf phonon plasma png policykit ppds qt3support qt4 readline reports sdl semantic-desktop session sndfile spell sql sse sse2 sse3 ssl startup-notification suid svg tcpd threads tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb xcomposite xine xml xscreensaver xv xvid zlib" ABI_X86="64" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="fuji" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="joystick evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB en en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" SANE_BACKENDS="snapscan" USERLAND="GNU" VIDEO_CARDS="radeon" XFCE_PLUGINS="menu" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 9 Dave Kemper 2013-09-24 08:57:40 UTC
Created attachment 359344 [details]
/var/tmp/portage/media-sound/lilypond-2.16.2/work/lilypond-2.16.2/config.log
Comment 10 Dave Kemper 2013-09-24 09:00:43 UTC
(In reply to Jeroen Roovers from comment #7)
> Some command run by configure is doing this, so anyone seeing this should
> attach their config.log to this bug report.

Attached as requested.
Comment 11 Dave Kemper 2013-11-22 00:35:18 UTC
Created attachment 363772 [details]
/var/tmp/portage/media-sound/lilypond-2.16.2/work/lilypond-2.16.2/config.log

Since I posted the last config.log, I've upgraded gcc from 4.6.3 to 4.7.3-r1.  This build failure is still occurring.  New config.log attached.

Because lilypond-2.16.2 is the only version that is not masked on x86, this build failure makes lilypond uninstallable on that platform.
Comment 12 Martin McClure 2013-12-19 06:40:43 UTC
Also seeing this on amd64, where meda-sound/lilypond 2.16.2 is the only available version, and it fails there.
Comment 13 aditsu 2014-02-15 17:45:06 UTC
Also happening here, lilypond-2.16.2 and 2.18.0, sandbox-2.6-r1, amd64. Let me know if you want more details.
Comment 14 Daniel Benoy 2014-03-18 16:39:35 UTC
This can be used as a workaround it seems:

mkdir -p /var/cache/fonts/tfm/unknown/unknown
Comment 15 aditsu 2014-03-18 17:05:00 UTC
(In reply to Daniel Benoy from comment #14)
> This can be used as a workaround it seems:
> 
> mkdir -p /var/cache/fonts/tfm/unknown/unknown

Awesome, that works :)
Comment 16 Dave Kemper 2014-03-19 17:04:58 UTC
The workaround in comment #14 allowed me to successfully install lilypond-2.16.2.  Thanks, Daniel!
Comment 17 Tim Harder gentoo-dev 2014-09-07 07:13:08 UTC
It appears this was caused by the bundled texinfo file. This should now be fixed in 2.16.2, 2.18.2, and >=2.19.13.