View previous topic :: View next topic |
Author |
Message |
GrandMasterG n00b

Joined: 28 Jan 2003 Posts: 63
|
Posted: Fri Jan 31, 2003 4:27 pm Post subject: Can't emerge -u world, Access Violation |
|
|
Somebody please..............
When I emerge -u world
it downloads and tried to compile gcc-3.2.1, about 39min later
I get Access Violation Summary
chown: /var/cache/edb
chown: /var/cache/edb/dep
Most of the errors are in the /var/cache dir.
I thought it was my CFLAGS causing the problem so i tried again with the default CFLAGS and same problem.
What do I do? I can't even install Xfree!
Thanks for your help,
G |
|
Back to top |
|
 |
Malakin Veteran


Joined: 14 Apr 2002 Posts: 1692 Location: Victoria BC Canada
|
Posted: Fri Jan 31, 2003 5:52 pm Post subject: |
|
|
Try "emerge regen" |
|
Back to top |
|
 |
GrandMasterG n00b

Joined: 28 Jan 2003 Posts: 63
|
Posted: Fri Jan 31, 2003 6:52 pm Post subject: |
|
|
What does that do? I search this site and the user docs and I don't see a definition of regen?
I recreates the tree? How is that different from
emerge rsync
I'm compiling now so I have to wait an hour until the error comes back to see if it worked or not
Out of curiousity what made you think I needed emerge regen because I was having access violation errors? I'm just trying to figure out how you debug something like this.
Thanks for your time,
G |
|
Back to top |
|
 |
GrandMasterG n00b

Joined: 28 Jan 2003 Posts: 63
|
Posted: Fri Jan 31, 2003 7:13 pm Post subject: |
|
|
Hi,
It didn't work I just got the same error.
I remembered something that might be helpful.
These errors started when I compiled my kernel. So I'm assuming that I'm missing something in my kernel? Any thoughts on what I could be missing that would generate access violation errors in the kernel?
Thanks
G |
|
Back to top |
|
 |
Malakin Veteran


Joined: 14 Apr 2002 Posts: 1692 Location: Victoria BC Canada
|
Posted: Fri Jan 31, 2003 7:16 pm Post subject: |
|
|
I read that emerge regen recreates the cache, it's more a guess then anything but it's simple enough to try.
"emerge rsync" only updates the cache.
You can see all the commands (documented or not) by loading /usr/lib/portage/bin/emerge into a text editor.
You could try posting the first 20 lines or so centered on where it first generates an error. |
|
Back to top |
|
 |
rac Bodhisattva


Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Fri Jan 31, 2003 7:34 pm Post subject: |
|
|
What does "emerge -V" say? _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
 |
GrandMasterG n00b

Joined: 28 Jan 2003 Posts: 63
|
Posted: Fri Jan 31, 2003 8:25 pm Post subject: |
|
|
I just tried emerge -e -v world
I'll post back withing 45-60 min as that's when the damn errors like to come up.
Thanks!
G |
|
Back to top |
|
 |
GrandMasterG n00b

Joined: 28 Jan 2003 Posts: 63
|
Posted: Fri Jan 31, 2003 8:42 pm Post subject: |
|
|
To add to my notes and hopefully this might help you in helping me.
I did a stage 3 tarball install.
According to the documents...it says to
nano -w /etc/make.conf and ajust my USE and CFLAGS
emerge -u world
download kernel source.
Well the thing is....in my USE I have gnome, kde, qt, xmms, etc......
so when it got to emerge -u world it was downloading XFREE and then the same Access Violations happend when i tried to compile it. So I thought maybe this is a problem since i haven't done my kernel yet so I commented out my USE and CFLAGS and again emerge -u world. All i downloaded was gcc which complied fine at the time. After I compiled my kernel (6 times now), every single emerge I do generates an Access Violation with the same path /var/cache. ????wtf?
So my notes in an earlier post are incorrect, I had this problem before I installed the kernel.
If you would like me to post my USE and CFLAGS let me know.
Thanks again for your time.
G |
|
Back to top |
|
 |
GrandMasterG n00b

Joined: 28 Jan 2003 Posts: 63
|
Posted: Fri Jan 31, 2003 9:13 pm Post subject: |
|
|
just finished compiling and same errors as before posted above in my first post. I didn't see nothing new with verbose on?
Anyone? I have started over about 3 times so I don't know what's going on, there's gotta be somewhere where it tells me why access is denied.
I checked the /var/log/emerge.log and everything is kosher in there, doesn't list any errors?
Thanks,
G |
|
Back to top |
|
 |
rac Bodhisattva


Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Fri Jan 31, 2003 9:50 pm Post subject: |
|
|
rac wrote: | What does "emerge -V" say? |
_________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
 |
GrandMasterG n00b

Joined: 28 Jan 2003 Posts: 63
|
Posted: Fri Jan 31, 2003 9:52 pm Post subject: |
|
|
My bad, I was typing in lower case
When I type
emerge -V
I get:
Portage 2.0.44 (default-x86-1.4, gcc-sh: /usr/bin/gcc: No such file or directory, glibc-2.3.1-rc2)
So what does this mean? Was I supposed to create the above directory before I did my first emerge?
Thanks,
G
Last edited by GrandMasterG on Fri Jan 31, 2003 10:03 pm; edited 1 time in total |
|
Back to top |
|
 |
rac Bodhisattva


Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Fri Jan 31, 2003 9:57 pm Post subject: |
|
|
GrandMasterG wrote: | When I type emerge -V It lists all of the options available for emerge with their definitions? | Really? Maybe your shift key is broken
I'm trying to find out what version of Portage you have installed. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
 |
GrandMasterG n00b

Joined: 28 Jan 2003 Posts: 63
|
Posted: Fri Jan 31, 2003 10:04 pm Post subject: |
|
|
I just fixed my shift key and corrected my post  |
|
Back to top |
|
 |
rac Bodhisattva


Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Fri Jan 31, 2003 10:12 pm Post subject: |
|
|
OK, two things are going on here. First, somehow your PATH is messed up. The short answer is "source /etc/profile". That will solve "gcc not found". Now, does "emerge -u portage" complete successfully? _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
 |
GrandMasterG n00b

Joined: 28 Jan 2003 Posts: 63
|
Posted: Fri Jan 31, 2003 10:25 pm Post subject: |
|
|
Here's what I did
source /etc/profile
emerge -V
Still the same deal as before gcc not found
I tried env-update and the above same problem gcc not found
I tired emerge -u portage and it downloads 3 of 18 files and dies
Access Denied chown: /var/cache/edb
?? |
|
Back to top |
|
 |
rac Bodhisattva


Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Fri Jan 31, 2003 10:32 pm Post subject: |
|
|
Yuck. What does "gcc-config --get-bin-path" say? _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
 |
GrandMasterG n00b

Joined: 28 Jan 2003 Posts: 63
|
Posted: Fri Jan 31, 2003 10:35 pm Post subject: |
|
|
/usr/i686-pc-linux-gnu/gcc-bin/3.2 |
|
Back to top |
|
 |
rac Bodhisattva


Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Fri Jan 31, 2003 10:46 pm Post subject: |
|
|
OK, well, that's good - now I'm assuming that directory is in your path. If so, then "which gcc" will not fail. If gcc is findable, try "emerge --nodeps -u portage". _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
 |
GrandMasterG n00b

Joined: 28 Jan 2003 Posts: 63
|
Posted: Fri Jan 31, 2003 11:10 pm Post subject: |
|
|
WORKED! YES!
Thank you! I tried emerge -V and it found gcc!!!!
now I will
emerge -u world and then take a nap and then
emerge -u system and eat dinner and then
emerge kde and go on vacation.
Thank you for your help and your time,
G |
|
Back to top |
|
 |
in4mation n00b


Joined: 01 Feb 2003 Posts: 15
|
Posted: Sat Feb 01, 2003 1:07 am Post subject: same problem here |
|
|
Hi,
I'm having the same problem here. Everytime I try to emerge a package I get:
---------------------------------------
ACCESS VIOLATION
LOG FILE = "/tmp/sandbox-knetfilter-3.0.2-19411.log"
chown: /var/cache/edb
chown: /var/cache/edb/dep
open_wr: /var/cache/edb/mtimedb
----------------------------------------
I tried emerge regen and still nothing. How did you get rid of the access violation?
Thanks |
|
Back to top |
|
 |
GrandMasterG n00b

Joined: 28 Jan 2003 Posts: 63
|
Posted: Sat Feb 01, 2003 4:32 am Post subject: |
|
|
Hello,
I just did what rac suggested.
emerge --nodeps -u portage
after it was done I:
env-update
source /etc/profile
everything works now! Looks like my portage was out of date which was causing problems.
I hope this works for you.
G |
|
Back to top |
|
 |
in4mation n00b


Joined: 01 Feb 2003 Posts: 15
|
Posted: Sat Feb 01, 2003 9:45 pm Post subject: thanks |
|
|
works like a charm thanks. |
|
Back to top |
|
 |
boyo n00b


Joined: 02 Nov 2002 Posts: 53 Location: MI
|
Posted: Wed Feb 05, 2003 1:09 am Post subject: |
|
|
That's great information rac. It worked for me as well. Thanks. One question though, why the --nodeps the -u also seems redundant if your portage tree is current. All it took for me was emerge portage. It automatically took care of the upgrade and cleaned my cache up as well. Fill me in if there's a reason that I'm missing for the --nodeps. |
|
Back to top |
|
 |
rac Bodhisattva


Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Wed Feb 05, 2003 1:37 am Post subject: |
|
|
boyo wrote: | Fill me in if there's a reason that I'm missing for the --nodeps. | If Portage is broken, but it would attempt to merge dependencies first, they will fail. --nodeps ensures that it doesn't try to do that. If you omitted the --nodeps and it worked, that's great - just means there weren't any dependencies waiting to trip you up. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
 |
H-Dragon Guru


Joined: 22 Oct 2002 Posts: 547
|
Posted: Tue Dec 12, 2006 5:13 pm Post subject: |
|
|
well... for me it is the new 2.6.19 kernel! it creates those sandbox violations all the time....
i did a FEATURES="-sandbox" module-rebuild rebuild to get it working again _________________ WEBSITE
Do not meddle with the affairs of Dragons, for you are crunchy and tasty with ketchup! |
|
Back to top |
|
 |
|