Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge totaly broken
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
supahs
n00b
n00b


Joined: 01 Feb 2004
Posts: 6

PostPosted: Sun Feb 01, 2004 7:12 am    Post subject: emerge totaly broken Reply with quote

After the last emerge of world, I can't seem to emerge anything anymore

Code:

# emerge bash
Calculating dependencies ...done!
>>> emerge (1 of 1) app-shells/bash-2.05b-r9 to /
Traceback (most recent call last):
  File "/usr/bin/emerge", line 2415, in ?
    mydepgraph.merge(mydepgraph.altlist())
  File "/usr/bin/emerge", line 1482, in merge
    retval=portage.doebuild(y,"clean",myroot,self.pkgsettings,edebug,cleanup=1)
  File "/usr/lib/portage/pym/portage.py", line 2085, in doebuild
    os.makedirs(mysettings["T"])
  File "/usr/lib/python2.3/os.py", line 153, in makedirs
    makedirs(head, mode)
  File "/usr/lib/python2.3/os.py", line 154, in makedirs
    mkdir(name, mode)
OSError: [Errno 17] File exists: '/var/tmp/portage/bash-2.05b-r9'


any idea?
Back to top
View user's profile Send private message
limewolf
Tux's lil' helper
Tux's lil' helper


Joined: 13 Aug 2002
Posts: 75
Location: UK

PostPosted: Sun Feb 01, 2004 10:15 am    Post subject: Reply with quote

Hmm, I seem to remember having a similar looking problem a while ago I think. Can't really remember what solved it but can I suggest you make sure you've don't an 'etc-update' to make sure your config files are all up to date.

What have you set as your CFLAGS?
_________________
Chris Egan
Back to top
View user's profile Send private message
supahs
n00b
n00b


Joined: 01 Feb 2004
Posts: 6

PostPosted: Sun Feb 01, 2004 5:03 pm    Post subject: Reply with quote

I have this,

Code:

CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -pipe"


I'm using that on a few other machines, and there seems to be no problem with that.
Back to top
View user's profile Send private message
limewolf
Tux's lil' helper
Tux's lil' helper


Joined: 13 Aug 2002
Posts: 75
Location: UK

PostPosted: Sun Feb 01, 2004 6:16 pm    Post subject: Reply with quote

supahs wrote:
I have this,

Code:

CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -pipe"



I'd suggest using somthing like '-O2 -march=i686 -fomit-frame-pointer -pipe" and emerge portage/python/etc again to see if that helps. Worth a try if you can't find any other problems I guess.
_________________
Chris Egan
Back to top
View user's profile Send private message
supahs
n00b
n00b


Joined: 01 Feb 2004
Posts: 6

PostPosted: Sun Feb 01, 2004 6:33 pm    Post subject: Reply with quote

Well, I can't even do that

Code:

# emerge portage
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/portage-2.0.49-r21 to /
Traceback (most recent call last):
  File "/usr/bin/emerge", line 2415, in ?
    mydepgraph.merge(mydepgraph.altlist())
  File "/usr/bin/emerge", line 1482, in merge
    retval=portage.doebuild(y,"clean",myroot,self.pkgsettings,edebug,cleanup=1)
  File "/usr/lib/portage/pym/portage.py", line 2085, in doebuild
    os.makedirs(mysettings["T"])
  File "/usr/lib/python2.3/os.py", line 154, in makedirs
    mkdir(name, mode)
OSError: [Errno 17] File exists: '/var/tmp/portage/portage-2.0.49-r21/temp'
Back to top
View user's profile Send private message
Halcy0n
Developer
Developer


Joined: 17 Sep 2003
Posts: 1682
Location: Freehold, NJ

PostPosted: Sun Feb 01, 2004 6:54 pm    Post subject: Reply with quote

Read the following: /usr/portage/sys-apps/portage/files/README.RESCUE Then try reemerging after you do that.
_________________
Mark Loeser
http://www.halcy0n.com
Back to top
View user's profile Send private message
supahs
n00b
n00b


Joined: 01 Feb 2004
Posts: 6

PostPosted: Sun Feb 01, 2004 7:05 pm    Post subject: Reply with quote

Ok, I tried that, now I get

Code:

# emerge portage
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/portage-2.0.49-r21 to /
!!! File system problem. (ReadOnly? Out of space?)
!!! [Errno 17] File exists: '/usr/portage/distfiles'


The filesystem is r/w
Back to top
View user's profile Send private message
Halcy0n
Developer
Developer


Joined: 17 Sep 2003
Posts: 1682
Location: Freehold, NJ

PostPosted: Sun Feb 01, 2004 7:17 pm    Post subject: Reply with quote

Okay, what is the output of:
Code:
df -h
ls -l /usr/portage | grep distfiles

I've never seen this problem before, so I'm just checking what the error message says :)
_________________
Mark Loeser
http://www.halcy0n.com
Back to top
View user's profile Send private message
supahs
n00b
n00b


Joined: 01 Feb 2004
Posts: 6

PostPosted: Sun Feb 01, 2004 7:36 pm    Post subject: Reply with quote

Code:

# df -h

Filesystem            Size  Used Avail Use% Mounted on
/dev/hda2             2.0G  1.7G  301M  85% /
none                  489M     0  489M   0% /dev/shm
/dev/main_vg/home      69G   63G  5.9G  92% /home
/dev/main_vg/tmp      508M   69M  440M  14% /tmp
/dev/main_vg/var      2.0G  664M  1.4G  33% /var

# ls -l /usr/portage | grep distfiles
drwxr-xr-x    3 root     root           20 Feb  1 14:30 distfiles
Back to top
View user's profile Send private message
mmuser
n00b
n00b


Joined: 18 Apr 2002
Posts: 39

PostPosted: Sat Feb 14, 2004 12:02 am    Post subject: getting same error Reply with quote

I am pretty sure it is a Kernel issue. Why ? because this started happening after I updated my kernel. When I go back to my old kernel everything works fine. I am using XFS and I went from linux-2.4.20-xfs-r4 to linux-2.4.24-xfs-r1. I am pretty sure i used all the same config...again though if I go back to ~.20 everything works fine. Which kernel/FS are you using?
Back to top
View user's profile Send private message
supahs
n00b
n00b


Joined: 01 Feb 2004
Posts: 6

PostPosted: Sat Feb 14, 2004 9:31 am    Post subject: Reply with quote

It was the kernel, I was using 2.4.24-xfs. I switched back to 2.4.20. I guess its broken at the moment.
Back to top
View user's profile Send private message
COMKEEN
n00b
n00b


Joined: 07 Nov 2003
Posts: 70

PostPosted: Wed Feb 18, 2004 12:13 pm    Post subject: Reply with quote

I had the same problem (upgraded from 2.4.20-r4 to 2.4.24...). After I downgraded again, everything worked fine...

Did you send a bug report? If not, I will send one today...
Back to top
View user's profile Send private message
mikelcu
n00b
n00b


Joined: 18 Feb 2004
Posts: 1

PostPosted: Wed Feb 18, 2004 11:57 pm    Post subject: Reply with quote

There is a bug report about this, search for bug # 33033, and it does appear to be a kernel issue.

I am having the same problem with a fresh install, using xfs-sources-2.4.24-r1.
Back to top
View user's profile Send private message
mmuser
n00b
n00b


Joined: 18 Apr 2002
Posts: 39

PostPosted: Thu Feb 19, 2004 3:53 pm    Post subject: Bug was closed, I added new comment Reply with quote

They seemed to be under the impression that it was fixed in xfs-sources-2.4.23-r1. Of course I think we can all testify that it is not fixed...

:)
Back to top
View user's profile Send private message
COMKEEN
n00b
n00b


Joined: 07 Nov 2003
Posts: 70

PostPosted: Thu Feb 19, 2004 10:35 pm    Post subject: Reply with quote

Aaaahhhh!

I'm an idiot. I am the one who reported #33033 in the past, but I didn't remember it. So I sent another one (#42041). Well...at least they know that #33033 wasn't fixed...

*doh*
Back to top
View user's profile Send private message
mmuser
n00b
n00b


Joined: 18 Apr 2002
Posts: 39

PostPosted: Fri Feb 20, 2004 4:10 pm    Post subject: Reply with quote

Does the main branch of the kernel now support XFS natively??

So has anyone tried...

gentoo-sources?
vanilla-sources?
gaming-sources?
etc?
Back to top
View user's profile Send private message
JuhazOne
n00b
n00b


Joined: 21 Mar 2003
Posts: 33
Location: Finland, Vantaa

PostPosted: Tue Feb 24, 2004 1:29 pm    Post subject: Reply with quote

I get this weird problem when I try to install Gentoo from stage2. The filesystem is r/w and it has 9 GB of space. My kernel is 2.4.20-gentoo-r1.

I have the harddisk of my server plugged into my own computer and I'm trying to install Gentoo on that.

Quote:
>>> emerge (1 of 82) sys-apps/gawk-3.1.3-r1 to /
!!! File system problem. (ReadOnly? Out of space?)
!!! Perhaps: rm -Rf /var/tmp/portage
!!! [Errno 13] Permission denied: '/var/tmp/portage/gawk-3.1.3-r1/temp'


The same error ("File system problem. (ReadOnly? Out of space?)") happens when I try to install from stage1, too.

More info about my problem at https://forums.gentoo.org/viewtopic.php?t=131885

Any ideas what I could do?
_________________
Hi! :) I'm a signature virus. Copy me into your signature to help me spread!
Back to top
View user's profile Send private message
mmuser
n00b
n00b


Joined: 18 Apr 2002
Posts: 39

PostPosted: Wed Mar 10, 2004 6:01 pm    Post subject: Kernel seemed to fix this Reply with quote

2.4.24-xfs-r3 seems to fix this, at least for me.

:)
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