Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] can't upgrade libreoffice 7.1.5.2 to 7.1.7.2
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
ryne
n00b
n00b


Joined: 07 Jan 2022
Posts: 8

PostPosted: Fri Jan 07, 2022 10:01 pm    Post subject: [SOLVED] can't upgrade libreoffice 7.1.5.2 to 7.1.7.2 Reply with quote

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
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5215
Location: Bavaria

PostPosted: Fri Jan 07, 2022 10:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31339
Location: here

PostPosted: Sat Jan 08, 2022 7:45 am    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sat Jan 08, 2022 9:22 am    Post subject: Reply with quote

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
View user's profile Send private message
ryne
n00b
n00b


Joined: 07 Jan 2022
Posts: 8

PostPosted: Sat Jan 08, 2022 4:24 pm    Post subject: Reply with quote

Thanks to all of you for your help!! It was an OOM as using -j1 solved my problem :oops:

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sat Jan 08, 2022 5:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
ryne
n00b
n00b


Joined: 07 Jan 2022
Posts: 8

PostPosted: Sun Jan 09, 2022 12:31 am    Post subject: Reply with quote

I see, I'll look into that then and try to manage that better.

Thanks!
Back to top
View user's profile Send private message
ryne
n00b
n00b


Joined: 07 Jan 2022
Posts: 8

PostPosted: Sun Jan 09, 2022 12:56 am    Post subject: Reply with quote

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
View user's profile Send private message
digifuzzy
Tux's lil' helper
Tux's lil' helper


Joined: 31 Oct 2014
Posts: 86

PostPosted: Sun Jan 09, 2022 2:54 am    Post subject: Reply with quote

For per-package-emerge, might I suggest the following pages:
Gentoo Wiki - Knowledge Base:Overriding environment variables per package
-- and --
Gentoo Wiki - /etc/portage/package.env

YMMV. Good Luck.


Last edited by digifuzzy on Sun Jan 09, 2022 3:57 am; edited 1 time in total
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Sun Jan 09, 2022 3:56 am    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun Jan 09, 2022 9:03 am    Post subject: Reply with quote

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
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