Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge of vim fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
RainerB
n00b
n00b


Joined: 29 Jul 2002
Posts: 15
Location: Germany

PostPosted: Wed Jul 31, 2002 7:51 pm    Post subject: emerge of vim fails Reply with quote

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
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Wed Jul 31, 2002 10:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
RainerB
n00b
n00b


Joined: 29 Jul 2002
Posts: 15
Location: Germany

PostPosted: Wed Jul 31, 2002 11:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Wed Jul 31, 2002 11:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
RainerB
n00b
n00b


Joined: 29 Jul 2002
Posts: 15
Location: Germany

PostPosted: Wed Jul 31, 2002 11:39 pm    Post subject: Reply with quote

Yes I used "export".
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Wed Jul 31, 2002 11:58 pm    Post subject: Reply with quote

Hmmm... worked fine on my machine. When I check the logs, I cannot see any chmod'ing of /dev/pty/... either.
Back to top
View user's profile Send private message
RainerB
n00b
n00b


Joined: 29 Jul 2002
Posts: 15
Location: Germany

PostPosted: Thu Aug 01, 2002 1:04 am    Post subject: Reply with quote

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
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Thu Aug 01, 2002 2:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
dreamwolf
n00b
n00b


Joined: 22 May 2002
Posts: 17
Location: Mount Laurel, NJ, USA

PostPosted: Sun Aug 04, 2002 5:30 pm    Post subject: Re: emerge of vim fails Reply with quote

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
View user's profile Send private message
RainerB
n00b
n00b


Joined: 29 Jul 2002
Posts: 15
Location: Germany

PostPosted: Sun Aug 04, 2002 5:52 pm    Post subject: Reply with quote

Funny :), thanks !
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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