Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Failed emerge of Lilypond - access violation. [WORKAROUND]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
52midnight
Apprentice
Apprentice


Joined: 20 Mar 2012
Posts: 176
Location: Brisbane AU

PostPosted: Mon Jun 24, 2013 4:19 am    Post subject: Failed emerge of Lilypond - access violation. [WORKAROUND] Reply with quote

I'm trying to emerge Lilypond on a large but orthodox Gentoo installation. After getting an ACCESS VIOLATION SUMMARY a couple of times, I invoked:

># emerge --sync
># emerge --depclean
># revdep-rebuild

... and got a clean report. I then invoked: # emerge lilypond with this termination:

Code:
>
>>> Source configured.
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE "/var/log/sandbox/sandbox-15510.log"

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/unknown
A: /var/cache/fonts/tfm/unknown
R: /var/cache/fonts/tfm/unknown
C: mkdir ././var/cache/fonts/tfm/unknown
--------------------------------------------------------------------------------

>>> Failed to emerge media-sound/lilypond-2.16.2, Log file:

>>>  '/var/tmp/portage/media-sound/lilypond-2.16.2/temp/build.log'


I can post the logfile if its useful, but this seems rather strange, since it appears to result from access perms to a /var/ dir, and I chmod'ed them to 777 just to clear the way.

Any suggestions?


Last edited by 52midnight on Tue Jun 25, 2013 6:40 pm; edited 1 time in total
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9645
Location: almost Mile High in the USA

PostPosted: Mon Jun 24, 2013 11:19 pm    Post subject: Reply with quote

Sandbox violations mean the build process tried to write a file outside of the area that is "OK" to write (even as root!)

So this means that the ebuild needs to be updated (probably a patch) to either prevent it from writing a font there, or that it's OK for it to write a font there...

What USE flags are you using? Though this is probably an ebuild issue, you may be able to work around the problem by not wanting it to install fonts.
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
52midnight
Apprentice
Apprentice


Joined: 20 Mar 2012
Posts: 176
Location: Brisbane AU

PostPosted: Mon Jun 24, 2013 11:47 pm    Post subject: Reply with quote

Thanks indeed for your advice and suggestions. make.conf contains the following line:

Code:
USE="bindist -kde -qt4 gtk"


> you may be able to work around the problem by not wanting it to install fonts.

Yes, if that gets it going; I want to use it with Rosegarden, and can install fonts later.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Mon Jun 24, 2013 11:49 pm    Post subject: Reply with quote

You can disable sandbox as workaround.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
52midnight
Apprentice
Apprentice


Joined: 20 Mar 2012
Posts: 176
Location: Brisbane AU

PostPosted: Tue Jun 25, 2013 1:15 am    Post subject: Reply with quote

> You can disable sandbox as workaround.

Thanks again for the suggestion, but I don't know how to do this. Is it a compile-time utility that's standard in an installation? If there's docn I'm happy to read it, but if instructions are quick I'd be grateful for them.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Tue Jun 25, 2013 9:35 am    Post subject: Reply with quote

Code:
FEATURES="-sandbox" emerge foo

_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
52midnight
Apprentice
Apprentice


Joined: 20 Mar 2012
Posts: 176
Location: Brisbane AU

PostPosted: Tue Jun 25, 2013 10:30 am    Post subject: Reply with quote

Jaglover wrote:
Code:
FEATURES="-sandbox" emerge foo


Ah, thanks! Will give it a try.
Back to top
View user's profile Send private message
52midnight
Apprentice
Apprentice


Joined: 20 Mar 2012
Posts: 176
Location: Brisbane AU

PostPosted: Tue Jun 25, 2013 6:39 pm    Post subject: Reply with quote

For the benefit of others reading this, I'll report that Lilypond is now installed and working.

Thanks to Jaglover for a terse but invaluable one-liner.
Back to top
View user's profile Send private message
Krellan
n00b
n00b


Joined: 27 Aug 2010
Posts: 31

PostPosted: Wed Sep 18, 2013 9:33 pm    Post subject: Reply with quote

52midnight wrote:
For the benefit of others reading this, I'll report that Lilypond is now installed and working.

Thanks to Jaglover for a terse but invaluable one-liner.


I tried it (as root!), and unfortunately, it doesn't seem to work.

Code:
FEATURES="-sandbox" emerge lilypond


Despite this, I couldn't disable the sandbox.

The same error happens.

This is for Lilypond 2.16.2, so the bug has *not* been fixed in newer versions.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum