View previous topic :: View next topic |
Author |
Message |
equiraptor n00b
Joined: 09 Jul 2002 Posts: 9
|
Posted: Mon Jul 29, 2002 3:16 pm Post subject: gnome-games compile error |
|
|
My attempts at compiling gnome-games 2.0.1.1 fail. The emerge is not given write permissions on /usr/share/applications/gnect.desktop.
Sorry for the short message, but I have to leave for work. Please, help. _________________ I have gone out to find myself. Should I return before I get back, hold me until I get here. |
|
Back to top |
|
|
BonezTheGoon Bodhisattva
Joined: 14 Jun 2002 Posts: 1408 Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo
|
Posted: Mon Jul 29, 2002 3:35 pm Post subject: |
|
|
From what I have seen most permissions issues during an ebuild are a direct result of a bug in the ebuild, but can usually be worked-around by temorarily disabling the sandbox. You can give that a go and see how it does. You should post more information about what the error indicates though, this is just my first guess.
Regards,
BonezTheGoon |
|
Back to top |
|
|
projekt n00b
Joined: 29 Jul 2002 Posts: 1
|
Posted: Mon Jul 29, 2002 6:58 pm Post subject: |
|
|
I am also having the same problem. Though, I did install gnome-base/gnome lastnight on my dual p3-1ghz at home without any problems. I am having this currently problem on my work puter, here is the output snipped towards the end:
/bin/sh ../../mkinstalldirs /usr/share/applications
/bin/install -c -m 644 gnect.desktop /usr/share/applications/gnect.desktop
ACCESS DENIED open_wr: /usr/share/applications/gnect.desktop
/bin/install: cannot create regular file `/usr/share/applications/gnect.desktop': Permission denied
make[3]: *** [install-GamesDATA] Error 1
make[3]: Leaving directory `/var/tmp/portage/gnome-games-2.0.1.1/work/gnome-games-2.0.1.1/gnect/data'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/var/tmp/portage/gnome-games-2.0.1.1/work/gnome-games-2.0.1.1/gnect/data'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-games-2.0.1.1/work/gnome-games-2.0.1.1/gnect'
make: *** [install-recursive] Error 1
!!! ERROR: The ebuild did not complete successfully.
!!! Function src_install, Line 7, Exitcode 2
!!! install failure
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-gnome-games-2.0.1.1-3877.log"
open_wr: /usr/share/applications/gnect.desktop
--------------------------------------------------------------------------------
!!! emerge aborting on /usr/portage/gnome-extra/gnome-games/gnome-games-2.0.1.1.ebuild . |
|
Back to top |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Mon Jul 29, 2002 7:00 pm Post subject: |
|
|
This is an ebuild problem; please file a bug at bugs.gentoo.org stating the full ebuild name (including version) and the observed sandbox violation.
...hmm... that sounded really cold. _________________ I don't believe in witty sigs. |
|
Back to top |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Mon Jul 29, 2002 7:01 pm Post subject: |
|
|
Oh yeah, the workaround it to take "sandbox" out of the FEATURES variable in /etc/make.conf for this one package. Be sure to put it back in, though. _________________ I don't believe in witty sigs. |
|
Back to top |
|
|
kevinoneill n00b
Joined: 30 Jul 2002 Posts: 5
|
Posted: Tue Jul 30, 2002 2:16 am Post subject: |
|
|
Newbie question:
Quote: | Oh yeah, the workaround it to take "sandbox" out of the FEATURES variable in /etc/make.conf for this one package. Be sure to put it back in, though. |
how do I do that?
-k. |
|
Back to top |
|
|
JohnY Guru
Joined: 26 Jul 2002 Posts: 305
|
Posted: Tue Jul 30, 2002 4:53 am Post subject: sandbox violation in gnome-games |
|
|
Actually in my make.conf sandbox is already commented out, and I still get the sandbox violation. I needed to take it out of make.globals and gnome-games is compiling now. |
|
Back to top |
|
|
BonezTheGoon Bodhisattva
Joined: 14 Jun 2002 Posts: 1408 Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo
|
Posted: Tue Jul 30, 2002 1:18 pm Post subject: |
|
|
The sandbox is enabled by default. Just like USE variables, the correct way to disable them are by ADDING the line "-[variable]" -- The LACK of the item does not disable it. So one way of handling the situation of disabling the sandbox is to go into the make.conf and UNcomment the line at the bottom about features, remove all items except sandbox (since they are all fine the way they currently are) and then add the negation to the sandbox item (-sandbox). Another way you can accomplish the temporary fix is to simply call emerge once with the sandbox disabled for compiling this defective ebuild (there are no files that need to be changed).
Simply run:
Code: | export SANDBOX_DISABLED=1
emerge gnome-games |
But you should NEVER edit the make.globals, because it is over-written often and this is not how Gentoo was intended to work (things just click when you use them as they are designed)
Hope that helps!
Regards,
BonezTheGoon |
|
Back to top |
|
|
|