Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
failure to emerge gentoo-sources (SOLVED)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
shisbosd
n00b
n00b


Joined: 16 Jun 2014
Posts: 27

PostPosted: Sun Jun 29, 2014 1:50 am    Post subject: failure to emerge gentoo-sources (SOLVED) Reply with quote

II am at that step in the installation. I can emerge other things but not gentoo-sources. I'm installing gentoo on a laptop and all of my partitions but home are on an msata ssd. Home is on my hard drive. I've found threads where var and tmp needed permissions adjusted, is it the same for home? I've emerged wgetpaste but have never used it before.

Last edited by shisbosd on Tue Jul 01, 2014 1:37 am; edited 1 time in total
Back to top
View user's profile Send private message
Sven Vermeulen
Retired Dev
Retired Dev


Joined: 29 Aug 2002
Posts: 1345
Location: Mechelen, Belgium

PostPosted: Sun Jun 29, 2014 5:50 pm    Post subject: Reply with quote

Can you give more details? The error messages and logging for instance?
_________________
Please add "[solved]" to the initial topic title when it is solved.
Back to top
View user's profile Send private message
cwr
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1969

PostPosted: Sun Jun 29, 2014 6:30 pm    Post subject: Reply with quote

If you can emerge other stuff, but not gentoo-sources, check the space and inodes you have available:
df
and
df -i

The kernel sources take a lot of space, and a lot of inodes.

Will
Back to top
View user's profile Send private message
shisbosd
n00b
n00b


Joined: 16 Jun 2014
Posts: 27

PostPosted: Sun Jun 29, 2014 7:10 pm    Post subject: Reply with quote

The specific error I receive is this:

Code:

ERROR: sys-devel/bc-1.06.95::gentoo failed (compile phase)
    econf failed

Call stack: ebuild.sh, line 93: Called scr_compile
                 environment, line 2/90: called econf `--with-readline` `--without-libedit`
                 phase-helpers.sh, line 584: called die
The specific snippet of code:
    die "econf failed"


Unfortunately df only returns this message:
Code:

df: cannot read table of mounted filesystems: no such file or directory
Back to top
View user's profile Send private message
szatox
Advocate
Advocate


Joined: 27 Aug 2013
Posts: 3129

PostPosted: Sun Jun 29, 2014 8:14 pm    Post subject: Reply with quote

Uhm... What filesystem you use there? That message from df is rather scary. Gentoo-sources might turn a minor issue...
Back to top
View user's profile Send private message
shisbosd
n00b
n00b


Joined: 16 Jun 2014
Posts: 27

PostPosted: Sun Jun 29, 2014 8:23 pm    Post subject: Reply with quote

szatox wrote:
Uhm... What filesystem you use there? That message from df is rather scary. Gentoo-sources might turn a minor issue...


Just ext4.

On an unrelated note, In the Gentoo handbook an example is given using ext2 for boot. Is this because doing away with the journaling feature does any good for the boot partition, or just meant to show that not all partitions need to have the same filesystem?
Back to top
View user's profile Send private message
cwr
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1969

PostPosted: Sun Jun 29, 2014 8:45 pm    Post subject: Reply with quote

There's not much point in a journalled boot partition, and long ago, in a galaxy far away, grub couldn't
handle anything other than ext2: I'd use what you want. (FWIW I've always used ext2.)

I'd sort out the df message next - there's something off about your partition / mounts setup. If econf
fails compiling something like bc either python is roached (unlikely) or your filesystem setup is not what
it should be.

Will
Back to top
View user's profile Send private message
darkphader
Veteran
Veteran


Joined: 09 May 2002
Posts: 1217
Location: Motown

PostPosted: Sun Jun 29, 2014 9:04 pm    Post subject: Reply with quote

cwr wrote:
There's not much point in a journalled boot partition...

What I do when I don't need journaling is to use ext4 and disable the journal, I still get the benefit of extents (and anything else ext4 brings to the table). Haven't used ext2 or ext3 in ages.
_________________
WYSIWYG - What You See Is What You Grep
Back to top
View user's profile Send private message
shisbosd
n00b
n00b


Joined: 16 Jun 2014
Posts: 27

PostPosted: Sun Jun 29, 2014 9:14 pm    Post subject: Reply with quote

darkphader wrote:
cwr wrote:
There's not much point in a journalled boot partition...

What I do when I don't need journaling is to use ext4 and disable the journal, I still get the benefit of extents (and anything else ext4 brings to the table). Haven't used ext2 or ext3 in ages.


That's good to know, I'll do that I think..
Back to top
View user's profile Send private message
shisbosd
n00b
n00b


Joined: 16 Jun 2014
Posts: 27

PostPosted: Mon Jun 30, 2014 11:27 pm    Post subject: Reply with quote

PS: I was told at the time of the error that if I need support to post the content of http://bpaste.net/show/423290 , along with the full output of emerge --info and another command. Those outputs are rather large, can I cheat and have somebody ask for the specific info needed from those?

thanks!
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21586

PostPosted: Tue Jul 01, 2014 12:03 am    Post subject: Reply with quote

We only need to see the parts that are relevant to the specific error, which you also have not posted yet. So far all you have shown us is that the configure step for bc failed. I can think of many ways for that to happen, some of which are quite improbable. If you post relevant information, we can give you individualized help. If you already have the ability to post large content to pastebins like bpaste.net, why do you need to trim the output from what is provided? Post the output you were asked to post and we will look at it.
Back to top
View user's profile Send private message
shisbosd
n00b
n00b


Joined: 16 Jun 2014
Posts: 27

PostPosted: Tue Jul 01, 2014 12:24 am    Post subject: Reply with quote

Ah, I wasn't sure of whether the output of emerge actions could be uploaded to bpaste, but I suppose as long as the output can be handled wherever I'm piping it...

I posted only my environment log before, here is my build.log:
http://bpaste.net/show/423383/

config.log:
http://bpaste.net/show/423384/

emerge --info:
http://bpaste.net/show/423388/

emerge -pqv:
http://bpaste.net/show/423389/
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21586

PostPosted: Tue Jul 01, 2014 1:26 am    Post subject: Reply with quote

shisbosd wrote:
Ah, I wasn't sure of whether the output of emerge actions could be uploaded to bpaste, but I suppose as long as the output can be handled wherever I'm piping it...
As far as I know, all the popular pastebin sites allow any text you are likely to generate in a build log.
http://bpaste.net/show/423388/:
CFLAGS="march=native -O2 -pipe"

Options to gcc always require a dash. You tried to pass march=native without a dash, so the compiler interprets it as a filename and is unable to find a file with that name. Anything which involves running a compiler with your CFLAGS or CXXFLAGS will fail to compile. Fix: use -march=native, not march=native.
Back to top
View user's profile Send private message
shisbosd
n00b
n00b


Joined: 16 Jun 2014
Posts: 27

PostPosted: Tue Jul 01, 2014 1:32 am    Post subject: Reply with quote

Code:
CFLAGS="march=native -O2 -pipe"

GOD that was a stupidly simple mistake!

I should've been able to figure that one out on my own, really.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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