Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Trouble with emerge @world; gentoo-sources-3.12.20
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
0xvoidvoid
n00b
n00b


Joined: 04 Jun 2014
Posts: 3
Location: Chicago

PostPosted: Wed Jun 04, 2014 4:40 pm    Post subject: Trouble with emerge @world; gentoo-sources-3.12.20 Reply with quote

Hi everyone,

So a friend has been guiding me thusfar and he has been helpful but I would like to get some additional feedback on this problem. I am running a VPS through Gridlane and they've been fantastic so far. I had a pretty stable install that I completely screwed somehow and became unable to login, so I wiped it for a fresh install of Gentoo Hardened version "130627" (that is the only Gentoo install they offer).

The last time I did a fresh install, emerge --sync and the full emerge @world worked just fine. For some reason, this time around I have been stopped a few times. I circumvented the problem packages using --skipfirst and it would resume. Some of the problem packages included intltool (if i remember this name correctly), help2man, and currently the main hangup is with gentoo-sources-3.12.20.

Here's the final section of error I am receiving:

Code:

OSError: [Errno 12] Cannot allocate memory

>>> Failed to install sys-kernel/gentoo-sources-3.12.20, Log file:

>>>  '/var/tmp/portage/sys-kernel/gentoo-sources-3.12.20/temp/build.log'

 * GNU info directory index is up-to-date.


I can attach the log file if necessary, but I am wondering why this would be happening now and what I can do about it? I haven't really done any thing with the system and the configuration is what ever the default that Gridlane provides, but I will give whatever information necessary to solve this problem. Thanks in advance for you help!

Edit: I should add that this is the only package left in the emerge world that will not install.
Back to top
View user's profile Send private message
0xvoidvoid
n00b
n00b


Joined: 04 Jun 2014
Posts: 3
Location: Chicago

PostPosted: Wed Jun 04, 2014 4:56 pm    Post subject: Reply with quote

So, I just tried to run yet another update, not using --resume and here's what happened:

Code:

# emerge --update --deep --with-bdeps=y --newuse @world
Calculating dependencies... done!
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.


What exactly does this mean with regards to my original issue? I'm not sure I understand how an install can fail but still pass the emerge world update? Is it something easy like it can't update a package that isn't even installed?
Back to top
View user's profile Send private message
russK
Apprentice
Apprentice


Joined: 27 Jun 2006
Posts: 272

PostPosted: Wed Jun 04, 2014 9:54 pm    Post subject: Reply with quote

Just a couple questions that might help:

Do you have any swap?

Code:
# free -t


Did gentoo-sources successfully install?

Code:
# equery list gentoo-sources
# eselect kernel list
Back to top
View user's profile Send private message
0xvoidvoid
n00b
n00b


Joined: 04 Jun 2014
Posts: 3
Location: Chicago

PostPosted: Thu Jun 05, 2014 3:01 pm    Post subject: Reply with quote

Yeah I have tons of free space

Code:

             total       used       free     shared    buffers     cached
Mem:        249244     126872     122372        252      27088      74988
-/+ buffers/cache:      24796     224448
Swap:       499708       4420     495288
Total:      748952     131292     617660


And it looks like it didn't install? I'm not sure how to interpret this.

Code:

# equery list gentoo-sources
 * Searching for gentoo-sources ...
  [I--] [??] sys-kernel/gentoo-sources-3.8.13:3.8.13
# eselect kernel list
Available kernel symlink targets:
  [1]   linux-3.8.13-gentoo *


Additionally, I did some manual installs of some of the failed packages in an emerge -pvDN @system and managed to get it to where there are no errors, but then when I did the emerge -uavD @system, it failed on help2man AGAIN. This package has been giving me a lot of problems but I don't understand why.
Back to top
View user's profile Send private message
russK
Apprentice
Apprentice


Joined: 27 Jun 2006
Posts: 272

PostPosted: Thu Jun 05, 2014 10:06 pm    Post subject: Reply with quote

Code:
And it looks like it didn't install? I'm not sure how to interpret this.

# equery list gentoo-sources
 * Searching for gentoo-sources ...
  [I--] [??] sys-kernel/gentoo-sources-3.8.13:3.8.13
# eselect kernel list
Available kernel symlink targets:
  [1]   linux-3.8.13-gentoo *

It did not install.


gentoo-sources-3.8.13 is not in portage anymore, that explains the ??, the masking info is not available.

gentoo-sources-3.12.20 is not installed, that's why it's not in the list. You can double-check by re-doing the query with the 3.12.20 slot like this:
Code:
# equery list sys-kernel/gentoo-sources:3.12.20


If it had installed, you would then see it in the eselect list for choosing.

Try emerging it again with 'emerge --ask sys-kernel/gentoo-sources:3.12.20'

I've never used hardened however, so I'm not sure if the profile might want hardened-sources, and if possibly that might be related to the error.

HTH
Back to top
View user's profile Send private message
monkinsane
n00b
n00b


Joined: 11 Jun 2014
Posts: 1

PostPosted: Wed Jun 11, 2014 7:30 am    Post subject: Reply with quote

0xvoidvoid wrote:
Yeah I have tons of free space

Code:

             total       used       free     shared    buffers     cached
Mem:        249244     126872     122372        252      27088      74988
-/+ buffers/cache:      24796     224448
Swap:       499708       4420     495288
Total:      748952     131292     617660


And it looks like it didn't install? I'm not sure how to interpret this.

Code:

# equery list gentoo-sources
 * Searching for gentoo-sources ...
  [I--] [??] sys-kernel/gentoo-sources-3.8.13:3.8.13
# eselect kernel list
Available kernel symlink targets:
  [1]   linux-3.8.13-gentoo *


Additionally, I did some manual installs of some of the failed packages in an emerge -pvDN @system and managed to get it to where there are no errors, but then when I did the emerge -uavD @system, it failed on help2man AGAIN. This package has been giving me a lot of problems but I don't understand why.


Help2man requires the perl module Locale::gettext - Install it and it will run through fine. Had the same issue, if you read the errors carefully you would have noticed this :p
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