View previous topic :: View next topic |
Author |
Message |
52midnight Apprentice
Joined: 20 Mar 2012 Posts: 176 Location: Brisbane AU
|
Posted: Mon Jun 24, 2013 4:19 am Post subject: Failed emerge of Lilypond - access violation. [WORKAROUND] |
|
|
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 |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9677 Location: almost Mile High in the USA
|
Posted: Mon Jun 24, 2013 11:19 pm Post subject: |
|
|
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 |
|
|
52midnight Apprentice
Joined: 20 Mar 2012 Posts: 176 Location: Brisbane AU
|
Posted: Mon Jun 24, 2013 11:47 pm Post subject: |
|
|
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 |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
52midnight Apprentice
Joined: 20 Mar 2012 Posts: 176 Location: Brisbane AU
|
Posted: Tue Jun 25, 2013 1:15 am Post subject: |
|
|
> 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 |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
52midnight Apprentice
Joined: 20 Mar 2012 Posts: 176 Location: Brisbane AU
|
Posted: Tue Jun 25, 2013 10:30 am Post subject: |
|
|
Jaglover wrote: | Code: | FEATURES="-sandbox" emerge foo |
|
Ah, thanks! Will give it a try. |
|
Back to top |
|
|
52midnight Apprentice
Joined: 20 Mar 2012 Posts: 176 Location: Brisbane AU
|
Posted: Tue Jun 25, 2013 6:39 pm Post subject: |
|
|
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 |
|
|
Krellan n00b
Joined: 27 Aug 2010 Posts: 31
|
Posted: Wed Sep 18, 2013 9:33 pm Post subject: |
|
|
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 |
|
|
|