Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Should I Worry About Emerge Failures?
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
Jojobinha_2009
Tux's lil' helper
Tux's lil' helper


Joined: 27 Mar 2021
Posts: 77
Location: Brazil

PostPosted: Wed Apr 07, 2021 12:59 am    Post subject: Should I Worry About Emerge Failures? Reply with quote

I know this comes with the territory, some packages will eventually break.
For example today, 2 Plasma 5.21.4 packages temporarily failed to compile, that was solved afterwards by re-emerging them.

Do these build failures represent any risk to my Gentoo install's integrity?

This is all very new to me.
_________________
Intel Core i5-9400F / 24GB DDR4 2666MHz / GeForce GTX 1060 3GB

Powered by Gentoo for x86_64

======================================================

Seize the day, and remember to have fun!
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9678
Location: almost Mile High in the USA

PostPosted: Wed Apr 07, 2021 1:07 am    Post subject: Reply with quote

Merges should be deterministic. If it fails and passes the next time around, there is a problem that needs to be fixed.

Usually nondeterministic behavior points to bad hardware somewhere in the chain, like distcc.

Other possibility is if a dependency chain was not completely specified in the ebuild - this is actually a bug that should be fixed. Posting details about the failure could help people find what the problem is.

Usually errors:
- Segmentation fault, bus fault, error 11, etc. - Usually hardware issue
- Link errors. usually bad dependency chain issues - need to fix in ebuild
- File not found errors. Usually dependency or distcc issues.
- Bad file format errors. Usually distcc issues.

If you're emerging one package over and over again (i.e. without dependencies or other packages in between) and sometimes it fails - this is usually a hardware issue. If you're using --keep-going and restarting the emerge usually finishes the next go-around after it changes the order of packages merged, this is usually a bug.
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?


Last edited by eccerr0r on Wed Apr 07, 2021 1:16 am; edited 3 times in total
Back to top
View user's profile Send private message
Jojobinha_2009
Tux's lil' helper
Tux's lil' helper


Joined: 27 Mar 2021
Posts: 77
Location: Brazil

PostPosted: Wed Apr 07, 2021 1:12 am    Post subject: Reply with quote

Ok. Thank you.

When I ran the emerge again, both ebuilds compiled just fine.
_________________
Intel Core i5-9400F / 24GB DDR4 2666MHz / GeForce GTX 1060 3GB

Powered by Gentoo for x86_64

======================================================

Seize the day, and remember to have fun!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54232
Location: 56N 3W

PostPosted: Wed Apr 07, 2021 7:59 am    Post subject: Reply with quote

Jojobinha_2009,

That sounds like a missing dependency bug, so you eventually compiled everything you need but in the wrong order.
It may well happen again.

Keep the build log if it does as the build long will be required to work out what the problem is.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
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