Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

problems with perl-5.8.2-r1 ebuild (ACCESS DENIED open_wr:)

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
10 posts • Page 1 of 1
Author
Message
thedd
n00b
n00b
User avatar
Posts: 20
Joined: Tue Jul 01, 2003 11:03 am
Location: sweden
Contact:
Contact thedd
Website

problems with perl-5.8.2-r1 ebuild (ACCESS DENIED open_wr:)

  • Quote

Post by thedd » Sat Jul 10, 2004 4:20 pm

when merging system I get "ACCESS VIOLATION" on the perl package.
first I get a random bunch of

Code: Select all

ACCESS DENIED  open_wr:
then after a while the whole thing breaks down and I get a list of all the violations.
then emerge halts.

I have been merging alot of other packages without any problems, it's just perl that do this.

I could mention that the root is nfs, but everything else has worked fine (the bootstrap, merging several other packages etc.).

I guess it could be solved with "-sandbox" but i dont think that is a nice solution.
maybe it is a bug, then it would be better if it was fixed.

HELP! :(
ted.
Top
Elanthius
n00b
n00b
Posts: 9
Joined: Thu Mar 25, 2004 3:34 am

  • Quote

Post by Elanthius » Sat Jul 10, 2004 5:00 pm

I just wanted to say I'm having a similar sort of problem described here http://forums.gentoo.org/viewtopic.php?t=195219. I'm also using nfs but not for root, just users.
Top
pestes
n00b
n00b
Posts: 7
Joined: Sat Jul 03, 2004 7:51 pm

Same problem here

  • Quote

Post by pestes » Thu Jul 15, 2004 9:37 pm

I have this same issue on one of my machines. That machine also happens to be running it's root filesystem on NFS. I haven't had problems emerging any thing else, just perl-5.8.2.

I don't see anything about this in bugtraq, but the NFS root seems to be the common point here.

Anyone know why NFS root would make a difference?
Top
Elanthius
n00b
n00b
Posts: 9
Joined: Thu Mar 25, 2004 3:34 am

Possible solution...

  • Quote

Post by Elanthius » Sat Jul 24, 2004 4:41 pm

After what seems like months of wrestling with this I finally found a solution to my version of the problem.

I altered a line in /etc/nsswitch.conf from

Code: Select all

services:   nis [NOTFOUND=return] files
to

Code: Select all

services:   files
Top
lupestro
n00b
n00b
User avatar
Posts: 48
Joined: Sat Mar 06, 2004 2:29 pm

Differing results

  • Quote

Post by lupestro » Mon Jul 26, 2004 11:11 am

I am also experiencing the same problem to a lesser degree - here is the end of my emerge:
All tests successful.
u=11.03 s=1.88 cu=680.44 cs=53.98 scripts=813 tests=80644
make[2]: Leaving directory `/var/tmp/portage/perl-5.8.4/work/perl-5.8.4'
make[1]: Leaving directory `/var/tmp/portage/perl-5.8.4/work/perl-5.8.4'
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-dev-lang_-_perl-5.8.4-11856.log"

open_wr: /etc/default/nss
--------------------------------------------------------------------------------
However, I do _not_ have my root file system NFS exported. In fact, I am exporting only two very specific directories from within my root file system and a couple of directories from another file system and am importing no directories.

It sounds like others are getting this problem more intensely than I am. As you can see, I only get the one - but it is enough :-)

I have "nis" on the end of the chain for most lines in /etc/nsswitch.conf. I have removed it for services to see if it helps. I will report back here.
Top
lupestro
n00b
n00b
User avatar
Posts: 48
Joined: Sat Mar 06, 2004 2:29 pm

Results...

  • Quote

Post by lupestro » Mon Jul 26, 2004 12:01 pm

I should mention that this has been happening with one of my two Gentoo systems - my server, which has no X windows stuff loaded - and not the other - my workstation with significant portions of the kitchen sink. It also was happening during one of the tests.

I just tried changing the following line in nsswitch.conf:
services: db files nis
to
services: db files #nis
and it appears to have done what is needed.

How ever did you figure this out? Cut and try? An educated guess? Or was there a troubleshooting procedure I could learn from? I have so much to learn about this platform...

I suppose we should put in a bug or something? It looks like the perl test in question was counting on something it shouldn't have been. I just wish I'd written down which test it was when the problem was happening...

-Lupestro
Top
bohlke
n00b
n00b
Posts: 10
Joined: Sat Mar 29, 2003 11:23 am
Location: Porto Alegre - Brazil
Contact:
Contact bohlke
Website

perl-5.8.4

  • Quote

Post by bohlke » Mon Jul 26, 2004 5:27 pm

ok, same here... i just commented out services: nis in my /etc/nsswitch.conf and perl compiled without problems;
Top
Elanthius
n00b
n00b
Posts: 9
Joined: Thu Mar 25, 2004 3:34 am

How solved...

  • Quote

Post by Elanthius » Mon Jul 26, 2004 8:45 pm

Well, I was working on this bad boy on and off for several weeks but the way I solved it in the end was by looking at the five or six perl tests that failed and spotting that they all had a similar call to getservbyname(). It seemed that only tests with that function in failed. Then a quick google search for getservbyname popped up with info about nsswitch.conf.

I assumed serv was short for services and read around a bit and tried a few things with the services line in the file. I get the feeling that "services" are not being distributed by the nis server.

I don't think this is a problem with the ebuilds since I had quite a few things fail to build, including kde-3.2.3, php, eclipse-sdk-3.0.0 and perl. I think the problem is that the settings file was fundamentally wrong.

R
Top
JelmerBarhorst
n00b
n00b
Posts: 1
Joined: Sun Oct 10, 2004 4:32 pm

  • Quote

Post by JelmerBarhorst » Wed Oct 27, 2004 8:42 pm

I had the same problem. The problem is that when you use the gentoo-dev-sources the root is mounted with NFSv2 instead of v3. I've compiled a new kernel with the 2.6.9 vanilla source and I could finaly emerge perl :)
Top
ForestJump
n00b
n00b
User avatar
Posts: 13
Joined: Thu Apr 08, 2004 9:48 am
Location: München
Contact:
Contact ForestJump
Website

  • Quote

Post by ForestJump » Sat Nov 20, 2004 8:09 pm

I've got the same Problem.
Top
Post Reply

10 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic