View previous topic :: View next topic |
Author |
Message |
frank1980 Tux's lil' helper
Joined: 19 Feb 2006 Posts: 103
|
Posted: Sat Jan 23, 2010 12:43 pm Post subject: failed to compile xmms2 [solved] |
|
|
Hi all.
I want to emerge xmms2-0.6 from my overlay, but at the end of compile, it says:
Code: | Compilation and installation finished successfully (00:00:00)
ACCESS DENIED open_wr: /etc/ld.so.cache~
>>> Completed installing xmms2-0.6 into /var/tmp/portage/media-sound/xmms2-0.6/image/
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE "/var/log/sandbox/sandbox-26466.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: open_wr
S: deny
P: /etc/ld.so.cache~
A: /etc/ld.so.cache~
R: /etc/ld.so.cache~
C: /sbin/ldconfig /usr/lib
--------------------------------------------------------------------------------
>>> Failed to emerge media-sound/xmms2-0.6, Log file:
>>> '/var/tmp/portage/media-sound/xmms2-0.6/temp/build.log'
|
any solution? thank you.
Last edited by frank1980 on Sat Jan 23, 2010 2:43 pm; edited 1 time in total |
|
Back to top |
|
|
Veldrin Veteran
Joined: 27 Jul 2004 Posts: 1945 Location: Zurich, Switzerland
|
Posted: Sat Jan 23, 2010 1:59 pm Post subject: |
|
|
It tries to access a file, where it has no access (or sandbox is preventing from doing it).
quick an ugly solution - rebuild with FEATURES=-sandbox
Code: | # FEATURES=-sandbox emerge -a xmms2 |
but on the long run, you should find out why xmms2 wants to access ld.so while building....
just my .02$
V. |
|
Back to top |
|
|
frank1980 Tux's lil' helper
Joined: 19 Feb 2006 Posts: 103
|
Posted: Sat Jan 23, 2010 2:43 pm Post subject: |
|
|
Veldrin wrote: | It tries to access a file, where it has no access (or sandbox is preventing from doing it).
quick an ugly solution - rebuild with FEATURES=-sandbox
Code: | # FEATURES=-sandbox emerge -a xmms2 |
but on the long run, you should find out why xmms2 wants to access ld.so while building....
just my .02$
V. |
thank you, it works
i don't know why it want to read that file, but install xmms2 just for develop |
|
Back to top |
|
|
Veldrin Veteran
Joined: 27 Jul 2004 Posts: 1945 Location: Zurich, Switzerland
|
Posted: Sat Jan 23, 2010 3:17 pm Post subject: |
|
|
Quote: | i don't know why it want to read that file, but install xmms2 just for develop | not only read, but - and especially - write.
(I am not exactly sure, but ld.conf is used to tell the system where to look for libraries. and the cache file normally get update by env-update at boot time, or if requested by root.
so there is a valid point in accessing it, but not in how xmms2 does it.)
cheers
V. |
|
Back to top |
|
|
|