View previous topic :: View next topic |
Author |
Message |
ryne n00b
Joined: 07 Jan 2022 Posts: 8
|
Posted: Fri Jan 07, 2022 10:01 pm Post subject: [SOLVED] can't upgrade libreoffice 7.1.5.2 to 7.1.7.2 |
|
|
Hey all,
I can't seem to upgrade my libreoffice 7.1.5.2 to 7.1.7.2.
emerge --info = https://dpaste.com/3V99GND4E
I'd like to upload my build log as well, any suggestions as to how to upload that to here? I can't upload a file to dpaste nor do I want to go through the grueling process of highlighting and pasting each couple thousand lines into dpaste. I'm pretty new here and any pointers would be super appreciated.
I'm trying to upgrade my world set and have been able to upgrade nearly everything else. Also ran an emerge --sync a couple hours ago as well.
Thanks!
Last edited by ryne on Sat Jan 08, 2022 4:27 pm; edited 1 time in total |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5212 Location: Bavaria
|
Posted: Fri Jan 07, 2022 10:26 pm Post subject: |
|
|
Hello Ryan,
welcome to Gentoo Forums !
Maybe you had an OOM because of your setting of -j19 with (only) 32 GB RAM. What you can do when avoiding pasting your build log is:
Code: | MAKEOPTS="-j1" emerge -1uD libreoffice |
This will compile it with only 1 Thread, so you will have the error messages almost at the end of emerge output (for safety copy some lines above with) and then paste it here. |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31337 Location: here
|
Posted: Sat Jan 08, 2022 7:45 am Post subject: |
|
|
pietinger wrote: | Maybe you had an OOM because of your setting of -j19 with (only) 32 GB RAM. What you can do when avoiding pasting your build log is |
You can check that in dmesg. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54619 Location: 56N 3W
|
Posted: Sat Jan 08, 2022 9:22 am Post subject: |
|
|
ryne,
Welcome to Gentoo.
wgetpaste is your friend. It will upload your log and return the URL to it.
Post the URL.
32G RAM, no swap. Allow 2G real RAM for each make thread.
Keep some for your GUI and things you want to do. Your system will struggle with big builds at -j14, maybe a bit less. That is if you do not compile in tmpfs too.
Code: | grep -i killed </path/to/build/log> | will show if the OOM killed the build.
Not having swap does not prevent the kernel swapping. It only prevents dynamically allocated RAM, that does not have a permanent home on disk, from being swapped.
The kernel has other ways to swap too and will use them as needed when pressure on RAM grows. It slows things down as much as the swap partition. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
ryne n00b
Joined: 07 Jan 2022 Posts: 8
|
Posted: Sat Jan 08, 2022 4:24 pm Post subject: |
|
|
Thanks to all of you for your help!! It was an OOM as using -j1 solved my problem
I will keep wgetpaste and checking dmesg in mind for the future as well as probably change my MAKEOPTS to -j12. Learned a lot from this and thank you for the warm welcome!! |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54619 Location: 56N 3W
|
Posted: Sat Jan 08, 2022 5:07 pm Post subject: |
|
|
ryne,
Its possible to set MAKEOPTS and almost anything, or a per package basis and have portage manage it for you.
There is no need to set -j12 for everything. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
ryne n00b
Joined: 07 Jan 2022 Posts: 8
|
Posted: Sun Jan 09, 2022 12:31 am Post subject: |
|
|
I see, I'll look into that then and try to manage that better.
Thanks! |
|
Back to top |
|
|
ryne n00b
Joined: 07 Jan 2022 Posts: 8
|
Posted: Sun Jan 09, 2022 12:56 am Post subject: |
|
|
Actually, quick question, NeddySeagoon, you mentioned compiling it elsewhere besides tmpfs. Would then a good decision be to not only manage the MAKEOPTS on a per-package basis (for the large ones like libreoffice, firefox: -j2?) but also compile them in a different directory? I am wondering if with both of these changes to the larger packages, should it be okay then to have my MAKEOPTS in the make.conf file -j14? |
|
Back to top |
|
|
digifuzzy Tux's lil' helper
Joined: 31 Oct 2014 Posts: 86
|
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
Posted: Sun Jan 09, 2022 3:56 am Post subject: |
|
|
Another question is - do you have to go for max? I have 8 cores, and my default is -j5. I start emerge in a screen session and let it build in background. Meanwhile I have responsive computer and I can do my routine stuff without noticing something is putting load on my CPU. _________________ My Gentoo installation notes.
Please learn how to denote units correctly! |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54619 Location: 56N 3W
|
Posted: Sun Jan 09, 2022 9:03 am Post subject: |
|
|
ryne,
tmpfs becomes full when it uses half your available RAM. It can be written to swap but you have turned swap off.
If you set PORTAGE_TMPDIR on a per package basis for big packages, then you will have more free RAM for building and linking.
tmpfs only occupies the space it needs, up to the maximum value you set or 50% RAM by default. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|