LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-14-2016, 12:00 AM   #31
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,445

Rep: Reputation: Disabled
Wink


Quote:
Originally Posted by rkelsen View Post
The big lesson here is don't run -current if you expect things to work properly.

It's not like Debian's -testing branch. The -current branch should be considered pre-alpha. It is unstable, which means that things will break. And Murphy's law dictates that they'll break whenever it's least convenient for you.
Breakage wasn't the issue here. Hardware incapable of fixing it was.

And I used Debian & Debian testing for many years, from '99-'13. I have found that Slackware-current is FAR more stable than Debian testing.
 
Old 09-14-2016, 03:11 AM   #32
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by trollog View Post
would you consider 4GB RAM too little?
I am talking about compiling LibreOffice, not about your computer.
 
Old 09-14-2016, 04:36 AM   #33
trollog
Member
 
Registered: Oct 2014
Posts: 151

Original Poster
Rep: Reputation: Disabled
>> I am talking about compiling LibreOffice, not about your computer.

I understood your meaning. It surprises me that compiling LO could gobble up that much RAM.

I started the compile over again, this time using my current_64 laptop (also 4GB RAM). Been going for about 10 hours
now and memory use swings from 26-50% usage, mostly staying in the high-mid 30% range. Both processors pegged,
both speed scaling & time usage. Swap 9% full. I was not expecting failure the last time I started this, so I didn't pay attention
to resource usage on my desktop computer. This compile is the laptop's sole userland task at the moment, as with the previous
attempt using my desktop. If I have to lose the laptop or the desktop computer for 48 hours for a compile, I'de rather have my
desktop keyboard to type on.

We'll see what happens. If LO really can consume that much RAM during compile, then that is a real eye opener for me.
Wouldn't have expected that. Possibly also a side effect of relying on other people's work for too long in compiling pkgs for me
instead of doing it myself. Perhaps some things about resource use have changed over the years and I am acquainting myself
them anew.

If true, it would explain LO's odd failure to compile. Not something I would have suspected right away.


.
 
2 members found this post helpful.
Old 09-14-2016, 07:49 AM   #34
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
I did not keep an eye to the build (because it runs here without issues) but the massive RAM usage is likely to occur at the final linking stage, not during the actual compilation. Chromium has a similar issue, requiring stellar amounts of RAM in the final link.
 
1 members found this post helpful.
Old 09-14-2016, 08:24 AM   #35
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512
trollog --

Silly Q because I don't imagine you could be without your machine for 30+ hours ... but, here goes ...

If you are booted to run level 4, I wonder if the build would succeed if you booted to run level 3 ?

Anyhow one of those silly Q's I tend to ask from time-to-time ...

-- kjh
 
1 members found this post helpful.
Old 09-14-2016, 08:54 AM   #36
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Adding more swap would also help in many cases of a RAM-hungry process... my VM where I compile LibreOffice only has 2 GB RAM configured but uses a 16 GB swap partition. Seems to be sufficient.
Also, do not forget disk usage! LibreOffice eats a lot of temporary disk space too.
 
1 members found this post helpful.
Old 09-14-2016, 11:34 AM   #37
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,445

Rep: Reputation: Disabled
All this very good info here in this thread. I, like trollog, am not going to let it go to waste. I have a desktop just sitting around doing nothing and I'm going to set it up to try this again. Even if it is just for fun, it is a great learning experience.

Even though it's a HP, it has a 2.4GHz AMD Phenom X4 and 8GB RAM. The sad part is, most of the time my Core 2 Duo @ 2GHz & 4GB RAM can run circles around it. And my Core 2 Extreme @ 2.8GHz & 4GB RAM just leaves it in the dust, but that is my daily driver and I don't do much on it besides the everyday stuff.
 
Old 09-14-2016, 03:26 PM   #38
trollog
Member
 
Registered: Oct 2014
Posts: 151

Original Poster
Rep: Reputation: Disabled
latest build, current sources

x64_current updated yesterday before starting compile.

another puzzle piece.

Intermittent bursty use of astronomical amounts of RAM during certain phases
of compile is something I will keep in mind. Small programs certainly do some
of this.

Little compile little trouble. Big compile, big trouble. (Same thing they say
about raising children..)

On another note, from a design standpoint-

I don't think this bodes well for the upstream developers. What's the point of a piece of sorftware so
large, with such large requirements that ordinary people can't compile it in a reasonable amount
of time using ordinary hardware?

LO may be technically exquisite, but at the same time quite stupid from a design standpoint.

I'm not exactly trying to do this using a raspberry pi here. Maybe they need to get their priorities straight.
.
Attached Thumbnails
Click image for larger version

Name:	fail1.png
Views:	25
Size:	23.5 KB
ID:	23016  

Last edited by trollog; 09-14-2016 at 04:34 PM.
 
Old 09-14-2016, 04:17 PM   #39
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,445

Rep: Reputation: Disabled
Quote:
Originally Posted by trollog View Post
doesn't seem to indicate lack of memory

64_current updated yesterday before strating compile.
That's the same error I was getting.
Code:
install: target '/tmp/build/package-libreoffice/usr/share/appdata/' is not a directory: No such file or directory
I haven't tried building it again yet. I have to set that PC up.

Last edited by Skaendo; 09-14-2016 at 04:22 PM.
 
Old 09-14-2016, 04:46 PM   #40
trollog
Member
 
Registered: Oct 2014
Posts: 151

Original Poster
Rep: Reputation: Disabled
swap space/runlevel

I thought about the runlevel issue for a moment before I started. I kept it in 4. I run fluxbox, conky, and 1 xterm for the purposes of executing
the compile. No other user processes.

I'm going to add some swap space (a lot of swap space..), and try again from runlevel 4. I'm not running a fat desktop here. I'll see what happens. If needed I will
shift gears on my thinking.

I'll have to throw swap at it since memory is not an option.

Since AB already put up "fixed" packages, for me it's no longer about obtaining a working LO package.

At this point it's pure orneriness on my part. I can be a stubborn ornery SOB at times, and this is one of those times.

I'm Ahab chasing the white whale now.

I'de like to figure this out. This thread may become a useful reference at exactly the era when AB has limited time to deal with these issues
because of other things he's got going on in his life.

As you can see in the thread I am not the only one having LO compile problems, at the moment I am just the most vocal one.

And with /current this is always going to be a recurring issue anyways.

Some of the quieter people out there having the same issue may be dodging this bullet by just opting for the slackbuild version as an alternative.

But when the slackbuild breaks, where are we then with this?



.

Last edited by trollog; 09-14-2016 at 05:01 PM.
 
2 members found this post helpful.
Old 09-14-2016, 06:38 PM   #41
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,462
Blog Entries: 7

Rep: Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561
Quote:
Originally Posted by trollog View Post
I don't think this bodes well for the upstream developers. What's the point of a piece of sorftware so
large, with such large requirements that ordinary people can't compile it in a reasonable amount
of time using ordinary hardware?
I wonder what Microsoft would say if you asked them that very same question?
Quote:
Originally Posted by trollog View Post
LO may be technically exquisite, but at the same time quite stupid from a design standpoint.
They do not expect you to compile it.

There are pre-compiled binaries on their website.

The rpm packages they provide are easily re-packaged into a Slackware-friendly format, and will work 100% with no other tinkering required. You'll even get the little icons in your KDE/Gnome/XFCE menu.

The rest of your OS was pre-compiled by someone else. Why does this matter so much? The "problem" has been fixed. Move on.
Quote:
Originally Posted by trollog View Post
Maybe they need to get their priorities straight.
Right. They do.
Quote:
Originally Posted by trollog View Post
I'm Ahab chasing the white whale now.
Indeed.
 
1 members found this post helpful.
Old 09-14-2016, 06:55 PM   #42
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,445

Rep: Reputation: Disabled
I think that half the build time is downloading the sources. My d/l speed is 60MB/s, as soon as boost started to download it started to crawl at some kb/s. Not due to my connection either.
 
Old 09-14-2016, 08:35 PM   #43
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,445

Rep: Reputation: Disabled
I set up my desktop, 8G RAM, 24G swap, 645G /, and the slackbuild will download all the sources and still fails in the same place:
Code:
install: target '/tmp/build/package-libreoffice/usr/share/appdata/' is not a directory: No such file or directory
Complete log:
http://pastebin.com/DAgygdTi

I guess that I am missing some dependencies.
Code:
# Needs:      
# Build-time: apache-ant,jdk,perl-archive-zip
#             removepkg glew first.
#             (and for Slackware 13.37, you need to install mozilla-nss and
#              also upgrade to the seamonkey and seamonkey-solibs in /patches !)

Last edited by Skaendo; 09-14-2016 at 08:47 PM.
 
Old 09-14-2016, 08:58 PM   #44
trollog
Member
 
Registered: Oct 2014
Posts: 151

Original Poster
Rep: Reputation: Disabled
Skaendo:"All this very good info here in this thread. I, like trollog, am not going to let it go to waste. I have a desktop just sitting around doing nothing and I'm going to set it up to try this again. Even if it is just for fun, it is a great learning experience."

Bingo.

****
rkelsen- you are welcome to STFU and cease posting on this thead, as is anyone else who sees no value in what I'm doing. Move along.

I know the score here- yes, you don't have to compile LO from source. You can settle for pre-compiled, either from upstream, or third parties.
Maybe that is even what upstream intends users to do.

But that is not MY point in this thread. My aim in this thread is to understand the build process from AB's source and to understand why
at the moment, it isn't working on my machines.

If you don't have build advice that leads to the desired aim, then you have nothing to add to this thread.

AB has thrown some productive advice out there that may serve to help. You have thrown nothing useful out there.
FOSS will destroy itself from within due to cunts like you.

Just move along.

Side Note- Regardless of what upstream's intentions are or are not, if AB didn't intend for people to built LO if they so desired, why did AB bother to provide the buildscripts on his site as he has done?



.

Last edited by trollog; 09-14-2016 at 09:15 PM.
 
1 members found this post helpful.
Old 09-14-2016, 10:22 PM   #45
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by trollog View Post
rkelsen- you are welcome to STFU and cease posting on this thead, as is anyone else who sees no value in what I'm doing. Move along.
Whoa! Let's calm down a bit and try to keep things a bit friendlier. I don't think he was intending for his post to be an insult to you or Skaendo. Rather, I think he is trying to explain why the LO developers may not care to try to make the linking process less memory intensive. For probably 99%+ of LO's users, they are using pre-compiled binaries, whether compiled by the distro maintainers or LO themselves.

The majority of those people who package it for others have beefy machines (or even build farms) that have plenty of RAM to deal with a memory-intensive linking process. While the source is obviously available, I don't think the LO developers expect many end-users will want to take the time to compile it themselves (I sure don't, but I have slower hardware). Because of that, they would probably rather devote more time towards features than the linking process.

I don't think there is anything wrong with your efforts, and it is nice to know that people are willing to step up and work on these time-consuming builds if Eric ends up not being able to devote enough time to keep them properly updated. But let's just keep things friendly
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Libre office vs Open office Arcane Linux - Software 25 11-26-2019 05:57 PM
Libre Office and Open Office both fail to open MS Office documents correctly. Observed Linux - Newbie 8 07-18-2014 10:48 AM
[SOLVED] Libre Office or Open Office QueenZ Linux - Newbie 12 02-22-2013 03:58 AM
Unoconv Convertor for RHEL 6 : Libre office & open office utility vishwajeet jagtap Linux - Software 0 02-15-2013 09:44 AM
LXer: Libre Office Initial plans for the free office suite [German] LXer Syndicated Linux News 2 11-14-2010 05:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration