Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
failed to emerge dev-libs/libffi-3.4.2-r2 on first emerge
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
tomadojuice
n00b
n00b


Joined: 24 Aug 2022
Posts: 3

PostPosted: Wed Aug 24, 2022 7:37 pm    Post subject: failed to emerge dev-libs/libffi-3.4.2-r2 on first emerge Reply with quote

Hey everyone!
I'm on my first installation of Gentoo in a VM and when running
Code:
emerge --ask --verbose --update --deep --newuse @world
I get an error that dev-libs/libffi-3.4.2-r2 cannot be emerged. Since I'm in a VM I don't really have a way of sharing my log files .
Back to top
View user's profile Send private message
tomadojuice
n00b
n00b


Joined: 24 Aug 2022
Posts: 3

PostPosted: Wed Aug 24, 2022 7:43 pm    Post subject: Reply with quote

Found a way
Here's the output of
Code:
emerge --info '=dev-libs/libffi-3.4.2-r2::gentoo'

http://sprunge.us/N01nJg
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 21706

PostPosted: Wed Aug 24, 2022 7:57 pm    Post subject: Reply with quote

https://sprunge.us/N01nJg:
CFLAGS="--march=native -O2"
This looks wrong. -march takes one dash, not two. There could be other errors after this, but this will be fatal. In general, you should follow the instructions printed on failure, and provide the full build.log too.
Back to top
View user's profile Send private message
tomadojuice
n00b
n00b


Joined: 24 Aug 2022
Posts: 3

PostPosted: Wed Aug 24, 2022 8:05 pm    Post subject: Reply with quote

Hu wrote:
https://sprunge.us/N01nJg:
CFLAGS="--march=native -O2"
This looks wrong. -march takes one dash, not two. There could be other errors after this, but this will be fatal. In general, you should follow the instructions printed on failure, and provide the full build.log too.

This was it. Sorry but thanks anyways.
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