public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] /dev/port Permission denied
@ 2003-02-19  2:00 Brian Jackson
  2003-02-19 14:39 ` Alain Penders
  0 siblings, 1 reply; 5+ messages in thread
From: Brian Jackson @ 2003-02-19  2:00 UTC (permalink / raw
  To: gentoo-dev

Whenever I try to run emerge I keep getting the following errors:

$ emerge
ACCESS DENIED  open_wr:   /dev/port
Cannot open /dev/port: Permission denied
ACCESS DENIED  open_wr:   /dev/port
Cannot open /dev/port: Permission denied
--------------------------- ACCESS VIOLATION SUMMARY 
---------------------------
LOG FILE = "/tmp/sandbox-10839.log"

open_wr:   /dev/port
open_wr:   /dev/port
--------------------------------------------------------------------------------
emerge: please tell me what to do.

and then it goes on printing out the errors.

If I actually try to emerge something, it gets to just before the part where 
it shows the arrows for installing the files and quits.

Any help is appreciated.

--Brian Jackson

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] /dev/port Permission denied
  2003-02-19  2:00 [gentoo-dev] /dev/port Permission denied Brian Jackson
@ 2003-02-19 14:39 ` Alain Penders
  2003-02-19 16:26   ` Brian Jackson
  0 siblings, 1 reply; 5+ messages in thread
From: Alain Penders @ 2003-02-19 14:39 UTC (permalink / raw
  To: gentoo-dev

What are you trying to emerge?  Does this happen with all emerges, no matter
what the package is?  Also, please provide the output of "emerge info".

Alain

On Tue, Feb 18, 2003 at 08:00:54PM -0600, Brian Jackson wrote:
> Whenever I try to run emerge I keep getting the following errors:
> 
> $ emerge
> ACCESS DENIED  open_wr:   /dev/port
> Cannot open /dev/port: Permission denied
> ACCESS DENIED  open_wr:   /dev/port
> Cannot open /dev/port: Permission denied
> --------------------------- ACCESS VIOLATION SUMMARY 
> ---------------------------
> LOG FILE = "/tmp/sandbox-10839.log"
> 
> open_wr:   /dev/port
> open_wr:   /dev/port
> --------------------------------------------------------------------------------
> emerge: please tell me what to do.
> 
> and then it goes on printing out the errors.
> 
> If I actually try to emerge something, it gets to just before the part where 
> it shows the arrows for installing the files and quits.
> 
> Any help is appreciated.
> 
> --Brian Jackson
> 
> --
> gentoo-dev@gentoo.org mailing list
> 

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] /dev/port Permission denied
  2003-02-19 14:39 ` Alain Penders
@ 2003-02-19 16:26   ` Brian Jackson
  2003-02-20  5:51     ` Brian Jackson
  0 siblings, 1 reply; 5+ messages in thread
From: Brian Jackson @ 2003-02-19 16:26 UTC (permalink / raw
  To: gentoo-dev

On Wednesday 19 February 2003 08:39 am, Alain Penders wrote:
> What are you trying to emerge?  Does this happen with all emerges, no
> matter what the package is?  Also, please provide the output of "emerge
> info".

Yes every emerge does it, I even tried running a python script that I found in 
a directory somewhere, and it did the same thing. So this might be looking 
like a python problem.

$ emerge info
ACCESS DENIED  open_wr:   /dev/port
Cannot open /dev/port: Permission denied
ACCESS DENIED  open_wr:   /dev/port
Cannot open /dev/port: Permission denied
--------------------------- ACCESS VIOLATION SUMMARY 
---------------------------
LOG FILE = "/tmp/sandbox-4332.log"

open_wr:   /dev/port
open_wr:   /dev/port
--------------------------------------------------------------------------------
Portage 2.0.47-r2 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r3)
=================================================================
System uname: 2.4.20-wolk4.0s-pre9 i686 AMD Athlon(tm) XP 1800+
GENTOO_MIRRORS="http://gentoo.oregonstate.edu 
ftp://ftp.oregonstate.edu/pub/gentoo 
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://www.ibiblio.org/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config 
/usr/X11R6/lib/X11/xkb /usr/kde/cvs/share/config /usr/kde/3.1/share/config 
/usr/kde/3/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/import/portage/distfiles"
PKGDIR="/import/portage/packages/athlonxp"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow avi crypt cups gif jpeg gnome libg++ mikmod mmx mpeg 
ncurses nls qtmt quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang 
readline arts bonobo svga java guile X sdl tcpd pam libwww ssl python imlib 
oggvorbis gtk qt kde motif opengl imap xml aalib acpi apache2 cdr fbcon 
foomatic mng png dga directfb dvd innodb snmp ldap oci8 odbc pdflib slp sse 
tcltk zeo encode esd evo flash gd ggi ggz gtk2 gtkhtml maildir mozilla mysql 
nas perl pic samba sasl scanner tiff xface -gpm -apm"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -mmmx -msse -m3dnow -pipe"
CXXFLAGS="-march=athlon-xp -O3 -mmmx -msse -m3dnow -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox buildpkg ccache noclean"

--Brian

>
> Alain
>
> On Tue, Feb 18, 2003 at 08:00:54PM -0600, Brian Jackson wrote:
> > Whenever I try to run emerge I keep getting the following errors:
> >
> > $ emerge
> > ACCESS DENIED  open_wr:   /dev/port
> > Cannot open /dev/port: Permission denied
> > ACCESS DENIED  open_wr:   /dev/port
> > Cannot open /dev/port: Permission denied
> > --------------------------- ACCESS VIOLATION SUMMARY
> > ---------------------------
> > LOG FILE = "/tmp/sandbox-10839.log"
> >
> > open_wr:   /dev/port
> > open_wr:   /dev/port
> > -------------------------------------------------------------------------
> >------- emerge: please tell me what to do.
> >
> > and then it goes on printing out the errors.
> >
> > If I actually try to emerge something, it gets to just before the part
> > where it shows the arrows for installing the files and quits.
> >
> > Any help is appreciated.
> >
> > --Brian Jackson
> >
> > --
> > gentoo-dev@gentoo.org mailing list
>
> --
> gentoo-dev@gentoo.org mailing list


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] /dev/port Permission denied
  2003-02-19 16:26   ` Brian Jackson
@ 2003-02-20  5:51     ` Brian Jackson
  2003-02-23  9:49       ` Nick Jones
  0 siblings, 1 reply; 5+ messages in thread
From: Brian Jackson @ 2003-02-20  5:51 UTC (permalink / raw
  To: gentoo-dev

Well I just managed to downgrade manually to 2.0.46-r12 by untbz2'ing a 
package that I had previously made(I knew that was going to come in handy at 
some point), and now my problems have gone away. I assume it has something to 
do with the fact that portage has to have a portage user to run now, and she 
doensn't have write privileges to /dev/port. I tried changing the permissions 
to 777 and that did not fix anything. I am at a loss. If anybody else knows 
of a fix, it would be nice in case anybody else runs into this.

--Brian Jackson

On Wednesday 19 February 2003 10:26 am, Brian Jackson wrote:
> On Wednesday 19 February 2003 08:39 am, Alain Penders wrote:
> > What are you trying to emerge?  Does this happen with all emerges, no
> > matter what the package is?  Also, please provide the output of "emerge
> > info".
>
> Yes every emerge does it, I even tried running a python script that I found
> in a directory somewhere, and it did the same thing. So this might be
> looking like a python problem.
>
> $ emerge info
> ACCESS DENIED  open_wr:   /dev/port
> Cannot open /dev/port: Permission denied
> ACCESS DENIED  open_wr:   /dev/port
> Cannot open /dev/port: Permission denied
> --------------------------- ACCESS VIOLATION SUMMARY
> ---------------------------
> LOG FILE = "/tmp/sandbox-4332.log"
>
> open_wr:   /dev/port
> open_wr:   /dev/port
> ---------------------------------------------------------------------------
>----- Portage 2.0.47-r2 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r3)
> =================================================================
> System uname: 2.4.20-wolk4.0s-pre9 i686 AMD Athlon(tm) XP 1800+
> GENTOO_MIRRORS="http://gentoo.oregonstate.edu
> ftp://ftp.oregonstate.edu/pub/gentoo
> ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://www.ibiblio.org/gentoo"
> CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
> /usr/X11R6/lib/X11/xkb /usr/kde/cvs/share/config /usr/kde/3.1/share/config
> /usr/kde/3/share/config /usr/share/config"
> CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
> PORTDIR="/usr/portage"
> DISTDIR="/import/portage/distfiles"
> PKGDIR="/import/portage/packages/athlonxp"
> PORTAGE_TMPDIR="/var/tmp"
> PORTDIR_OVERLAY=""
> USE="x86 oss 3dnow avi crypt cups gif jpeg gnome libg++ mikmod mmx mpeg
> ncurses nls qtmt quicktime spell truetype xml2 xmms xv zlib gdbm berkdb
> slang readline arts bonobo svga java guile X sdl tcpd pam libwww ssl python
> imlib oggvorbis gtk qt kde motif opengl imap xml aalib acpi apache2 cdr
> fbcon foomatic mng png dga directfb dvd innodb snmp ldap oci8 odbc pdflib
> slp sse tcltk zeo encode esd evo flash gd ggi ggz gtk2 gtkhtml maildir
> mozilla mysql nas perl pic samba sasl scanner tiff xface -gpm -apm"
> COMPILER="gcc3"
> CHOST="i686-pc-linux-gnu"
> CFLAGS="-march=athlon-xp -O3 -mmmx -msse -m3dnow -pipe"
> CXXFLAGS="-march=athlon-xp -O3 -mmmx -msse -m3dnow -pipe"
> ACCEPT_KEYWORDS="x86 ~x86"
> MAKEOPTS="-j2"
> AUTOCLEAN="yes"
> SYNC="rsync://rsync.gentoo.org/gentoo-portage"
> FEATURES="sandbox buildpkg ccache noclean"
>
> --Brian
>
> > Alain
> >
> > On Tue, Feb 18, 2003 at 08:00:54PM -0600, Brian Jackson wrote:
> > > Whenever I try to run emerge I keep getting the following errors:
> > >
> > > $ emerge
> > > ACCESS DENIED  open_wr:   /dev/port
> > > Cannot open /dev/port: Permission denied
> > > ACCESS DENIED  open_wr:   /dev/port
> > > Cannot open /dev/port: Permission denied
> > > --------------------------- ACCESS VIOLATION SUMMARY
> > > ---------------------------
> > > LOG FILE = "/tmp/sandbox-10839.log"
> > >
> > > open_wr:   /dev/port
> > > open_wr:   /dev/port
> > > -----------------------------------------------------------------------
> > >-- ------- emerge: please tell me what to do.
> > >
> > > and then it goes on printing out the errors.
> > >
> > > If I actually try to emerge something, it gets to just before the part
> > > where it shows the arrows for installing the files and quits.
> > >
> > > Any help is appreciated.
> > >
> > > --Brian Jackson
> > >
> > > --
> > > gentoo-dev@gentoo.org mailing list
> >
> > --
> > gentoo-dev@gentoo.org mailing list
>
> --
> gentoo-dev@gentoo.org mailing list


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] /dev/port Permission denied
  2003-02-20  5:51     ` Brian Jackson
@ 2003-02-23  9:49       ` Nick Jones
  0 siblings, 0 replies; 5+ messages in thread
From: Nick Jones @ 2003-02-23  9:49 UTC (permalink / raw
  To: Brian Jackson; +Cc: gentoo-dev

> Well I just managed to downgrade manually to 2.0.46-r12 by untbz2'ing a 
> package that I had previously made(I knew that was going to come in handy at 
> some point), and now my problems have gone away. I assume it has something to 
> do with the fact that portage has to have a portage user to run now, and she 
> doensn't have write privileges to /dev/port. I tried changing the permissions 
> to 777 and that did not fix anything. I am at a loss. If anybody else knows 
> of a fix, it would be nice in case anybody else runs into this.

portage-2.0.47-r2 corrects some variables and paths, and as a consequnce
causes your .bashrc to be sourced... This is fixed for 2.0.47-r3.

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-02-23 10:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-19  2:00 [gentoo-dev] /dev/port Permission denied Brian Jackson
2003-02-19 14:39 ` Alain Penders
2003-02-19 16:26   ` Brian Jackson
2003-02-20  5:51     ` Brian Jackson
2003-02-23  9:49       ` Nick Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox