View previous topic :: View next topic |
Author |
Message |
RainerB n00b
Joined: 29 Jul 2002 Posts: 15 Location: Germany
|
Posted: Wed Jul 31, 2002 7:51 pm Post subject: emerge of vim fails |
|
|
Hi!
When I execute "emerge --update world" and vim is emerged I get the following error message after the compilation:
>>> Completed installing into /var/tmp/portage/vim-6.1-r9/image/
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-vim-6.1-r9-17612.log"
chmod: /dev/pty/s4
chmod: /dev/pty/s4
--------------------------------------------------------------------------------
!!! emerge aborting on /usr/portage/app-editors/vim/vim-6.1-r9.ebuild .
Is that a bug in the ebuild file/ emerge? How can this be fixed? |
|
Back to top |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Wed Jul 31, 2002 10:40 pm Post subject: |
|
|
It looks like a bug in the ebuild. You can temporarily work around this by doing:
Code: |
export SANDBOX_DISABLED=1; emerge ...
|
This will make emerge ignore the sandbox violation and continue. |
|
Back to top |
|
|
RainerB n00b
Joined: 29 Jul 2002 Posts: 15 Location: Germany
|
Posted: Wed Jul 31, 2002 11:13 pm Post subject: |
|
|
Thanks for your answer, I already tried it with SANDBOX_DISABLED=1 but emerge still aborted.
I unmerged vim and will use vi until vim works again. |
|
Back to top |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Wed Jul 31, 2002 11:15 pm Post subject: |
|
|
Did you get the same error? Also, I am sure you did it, but did you remember to use "export" in front of the SANDBOX_DISABLED bit below?
RainerB wrote: | Thanks for your answer, I already tried it with SANDBOX_DISABLED=1 but emerge still aborted.
I unmerged vim and will use vi until vim works again. |
|
|
Back to top |
|
|
RainerB n00b
Joined: 29 Jul 2002 Posts: 15 Location: Germany
|
Posted: Wed Jul 31, 2002 11:39 pm Post subject: |
|
|
Yes I used "export". |
|
Back to top |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Wed Jul 31, 2002 11:58 pm Post subject: |
|
|
Hmmm... worked fine on my machine. When I check the logs, I cannot see any chmod'ing of /dev/pty/... either. |
|
Back to top |
|
|
RainerB n00b
Joined: 29 Jul 2002 Posts: 15 Location: Germany
|
Posted: Thu Aug 01, 2002 1:04 am Post subject: |
|
|
There is a line in the ebuild file which should prevent this errormessage:
# This should fix a sandbox violation.
addwrite /dev/pty/*
Well I have installed vim manually now. Thanks for your help. |
|
Back to top |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Thu Aug 01, 2002 2:24 pm Post subject: |
|
|
Looks like SANDBOX_DISABLED stopped working recently. I was trying to emerge another package that caused sandbox violations. Setting this variable did not do anything. May be a recent portage change! |
|
Back to top |
|
|
dreamwolf n00b
Joined: 22 May 2002 Posts: 17 Location: Mount Laurel, NJ, USA
|
Posted: Sun Aug 04, 2002 5:30 pm Post subject: Re: emerge of vim fails |
|
|
Exactly the same thing happened to me on exactly the same version of vim.
Basically, vim won't build on a terminal under KDE or GNOME (tried both, logged in as both a regular user with an su'ed terminal and logged in as root). However, it does build if you login to a "real" virtual terminal (Ctrl+Alt+F1 for you X newbies; Alt+F7 to get back to X) as root, it builds fine, though it doesn't compile in the GUI component.
This smells like a bug to me.
Dreamwolf |
|
Back to top |
|
|
RainerB n00b
Joined: 29 Jul 2002 Posts: 15 Location: Germany
|
Posted: Sun Aug 04, 2002 5:52 pm Post subject: |
|
|
Funny , thanks ! |
|
Back to top |
|
|
|