Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Unable to emerge genkernel!
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
milimdnnn
n00b
n00b


Joined: 14 Oct 2020
Posts: 6

PostPosted: Wed Oct 14, 2020 11:34 pm    Post subject: Unable to emerge genkernel! Reply with quote

Guys please help, I'm not able to emerge/install the gemkernel!

When I try to emerge sys-kernel/genkernel, 2 errors show up:
"ERROR: app-arch/cpio-2.12-r1::gentoo failed"

I'm not able to emerge wgetpaste also;
Shows "failed to emerge..."

I'm stuck at this point, please guide.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30954
Location: here

PostPosted: Thu Oct 15, 2020 5:29 am    Post subject: Reply with quote

Welcome to gentoo forum.

You should provide full build.log (portage tell you the full path of file) with wgetpaste and your emerge --info.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
milimdnnn
n00b
n00b


Joined: 14 Oct 2020
Posts: 6

PostPosted: Thu Oct 15, 2020 1:36 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Welcome to gentoo forum.

You should provide full build.log (portage tell you the full path of file) with wgetpaste and your emerge --info.


Sorry wgetpaste is also not installing on the system.

Please check the pictures here of the build.log:
https://drive.google.com/folderview?id=12EOciak-TItCL7lJpwbaj84bk7cuUjVR

Thank you.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30954
Location: here

PostPosted: Thu Oct 15, 2020 1:48 pm    Post subject: Reply with quote

Probably something wrong in your CFLAGS but you should post your emerge --info.
A typically error is confusing -O2 (with letter O correct case) with -02 (number zero) .
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
milimdnnn
n00b
n00b


Joined: 14 Oct 2020
Posts: 6

PostPosted: Thu Oct 15, 2020 1:55 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Probably something wrong in your CFLAGS but you should post your emerge --info.
A typically error is confusing -O2 (with letter O correct case) with -02 (number zero) .


Here it is: (addition)
https://drive.google.com/folderview?id=12EOciak-TItCL7lJpwbaj84bk7cuUjVR
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30954
Location: here

PostPosted: Thu Oct 15, 2020 2:03 pm    Post subject: Reply with quote

In CFLAGS you have -MARCH=native -O2 =pipe, this is completely wrong and must be -march=native -O2 -pipe.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
milimdnnn
n00b
n00b


Joined: 14 Oct 2020
Posts: 6

PostPosted: Thu Oct 15, 2020 2:42 pm    Post subject: Reply with quote

fedeliallalinea wrote:
In CFLAGS you have -MARCH=native -O2 =pipe, this is completely wrong and must be -march=native -O2 -pipe.


Thank you so much! It works now!

However, there is one problem. I exited chroot and chrooted back, and now my /mnt directory is showing empty. However when I exit the chroot environment, all my files are there.
How do I fix this?
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30954
Location: here

PostPosted: Thu Oct 15, 2020 2:45 pm    Post subject: Reply with quote

You should remount partition and make chroot
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
milimdnnn
n00b
n00b


Joined: 14 Oct 2020
Posts: 6

PostPosted: Thu Oct 15, 2020 3:28 pm    Post subject: Reply with quote

fedeliallalinea wrote:
You should remount partition and make chroot

I did, now my files are showing, but when I use emerge command, it says:
emerge: command not found

What have I done wrong now?
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30954
Location: here

PostPosted: Thu Oct 15, 2020 5:13 pm    Post subject: Reply with quote

Hard to say, what handbook step you have done? You are sure you mounted all partition before chroot?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
milimdnnn
n00b
n00b


Joined: 14 Oct 2020
Posts: 6

PostPosted: Thu Oct 15, 2020 5:59 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Hard to say, what handbook step you have done? You are sure you mounted all partition before chroot?

I remounted everything and env-update worked this time and emerge is working now!

Thank you for your support. :)
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