LinuxQuestions.org
Review your favorite Linux distribution.
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 04-21-2017, 09:42 PM   #16
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784

Maintainer decide what should be included in the script, while users decide what to install on their system. I guess the same philosophy happened in Slackware as well. Pat decide what's included and how it's built in Slackware, while users may decide to add third party packages into their own machines or modify some scripts to adjust their needs (take ffmpeg in -current as an example).
 
3 members found this post helpful.
Old 04-22-2017, 12:50 AM   #17
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 915

Rep: Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619
Quote:
Originally Posted by orbea View Post
I've told you this before, but apparently you haven't listened. The only required dependency for libreoffice is perl-archive-zip.
I guess you mean LibreOffice (building from source) rather than libreoffice (repackaging binaries) do you? I doubt perl-archive-zip is needed for libreoffice.

Whatever, you should distinguish between people who 'haven't listened' and those who haven't agreed with you. If you look at the SlackBuild for LibreOffice, you will see that it has switches for AVAHI and VLC which both default to off. I included those some time ago after listening to you about these features being on needlessly by default. In those cases, I listened and agreed with you.

Quote:
Everything else should be left up to the user's discretion, especially proprietary software like jdk.
For LibreOffice, the requirement was recently changed from jdk to openjdk, so nothing proprietary to see there. In fact the SlackBuild has options (via a JAVA switch) to use jdk, openjdk, openjdk8, or no java at all! I'd call that user discretion wouldn't you?

Quote:
So since you will not correctly inform users I guess I can do it for you...
If you look at my opening statement more carefully, you'll see I was talking about openjdk(8) being better for use with wget - nothing about requirements (which seem to be your beef) for LibreOffice/libreoffice. I'm not sure how that was incorrect information that you could now be correcting for us. Are you able to wget jdk? Are you unable to wget openjdk(8)?

chris
 
1 members found this post helpful.
Old 04-23-2017, 02:15 PM   #18
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,555

Original Poster
Rep: Reputation: 177Reputation: 177
Sorry to hijack this interesting discussion back to the original issue, but still having problems with the LibreOffice build. I'm getting the following error:
Code:
/tmp/SBo/libreoffice-5.3.2.2/solenv/gbuild/Gallery.mk:58: recipe for target '/tmp/SBo/libreoffice-5.3.2.2/workdir/Gallery/diagrams.done' failed
make[1]: *** [/tmp/SBo/libreoffice-5.3.2.2/workdir/Gallery/diagrams.done] Error 1
make[1]: *** Waiting for unfinished jobs....
/tmp/SBo/libreoffice-5.3.2.2/solenv/gbuild/Gallery.mk:58: recipe for target '/tmp/SBo/libreoffice-5.3.2.2/workdir/Gallery/arrows.done' failed
make[1]: *** [/tmp/SBo/libreoffice-5.3.2.2/workdir/Gallery/arrows.done] Error 1
/tmp/SBo/libreoffice-5.3.2.2/solenv/gbuild/Gallery.mk:58: recipe for target '/tmp/SBo/libreoffice-5.3.2.2/workdir/Gallery/computers.done' failed
make[1]: *** [/tmp/SBo/libreoffice-5.3.2.2/workdir/Gallery/computers.done] Error 1
Makefile:263: recipe for target 'build' failed
make: *** [build] Error 2

LibreOffice:
Would you like to continue processing the rest of the
queue or would you like to abort?  If this failed
package is a dependency of another package in the queue
then it may not make sense to continue.

(Y)es to continue, (N)o to abort, (R)etry the build?:
sbopkg: process_package: Unknown response: "".
(Y)es to continue, (N)o to abort, (R)etry the build?:
If I answer 'Y' the build for 5.3.2.2 fails. I've done this twice now. Note that the referenced path is /tmp/SBo/libreoffice, not /tmp/SBo/LibreOffice, yet I did run `sbopkg -i LibreOffice` (verified by looking at the history).

Is the LibreOffice package not quite ready or is the presence of both /tmp/SBo/LibreOffice and /tmp/SBo/libreoffice confusing things? I'm going to completely clean out /tmp/SBo, kill all queuefile and start again so there is no libreoffice subdirectory. Unfortunately, getting to that error point takes 26 hours on my computer.

Through this thread I've learned that the libreoffice package is the binary and the LibreOffice package is built from source -- a distinction mentioned on the SlackBuilds pages, but one that I missed. My previous installation must have been libreoffice since I know it didn't take that long to build.

To get "closure", I'm first going to try removing both libreoffice and LibreOffice, cleaning out /tmp/SBo, and rebuilding LibreOffice from source -- just to see if that error goes away. If not, I'll install libreoffice.

I'll be back in 26 hours!
 
Old 04-23-2017, 02:40 PM   #19
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
Just to be clear, did you test this on -stable or -current?
 
Old 04-23-2017, 05:55 PM   #20
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
There is no specific error message in your output, only reports that it failed further up, so it makes it hard to diagnose. There should be a more detailed error message further up that may shed some light on why this failed.
 
Old 04-24-2017, 04:18 PM   #21
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,555

Original Poster
Rep: Reputation: 177Reputation: 177
Well, it failed again, there are 2 days of messages -- perhaps I should have tee'd the output, but I think the failure is at the point the messages are display. I'm going to clear out LibreOffice and build libreoffice and see if that works better:
Code:
[build GAL] computers
[build GAL] diagrams
[build GAL] education
[build GAL] environment
Bootstrap exception 'component context fails to supply service com.sun.star.ucb.UniversalContentBroker of type com.sun.star.ucb.XUniversalContentBroker'
Bootstrap exception 'component context fails to supply service com.sun.star.ucb.UniversalContentBroker of type com.sun.star.ucb.XUniversalContentBroker'
Bootstrap exception 'component context fails to supply service com.sun.star.ucb.UniversalContentBroker of type com.sun.star.ucb.XUniversalContentBroker'
Bootstrap exception 'component context fails to supply service com.sun.star.ucb.UniversalContentBroker of type com.sun.star.ucb.XUniversalContentBroker'
/tmp/sbopkg.PvWzj4/libreoffice-5.3.2.2/solenv/gbuild/Gallery.mk:58: recipe for target '/tmp/sbopkg.PvWzj4/libreoffice-5.3.2.2/workdir/Gallery/diagrams.done' failed
make[1]: *** [/tmp/sbopkg.PvWzj4/libreoffice-5.3.2.2/workdir/Gallery/diagrams.done] Error 1
make[1]: *** Waiting for unfinished jobs....
/tmp/sbopkg.PvWzj4/libreoffice-5.3.2.2/solenv/gbuild/Gallery.mk:58: recipe for target '/tmp/sbopkg.PvWzj4/libreoffice-5.3.2.2/workdir/Gallery/arrows.done' failed
make[1]: *** [/tmp/sbopkg.PvWzj4/libreoffice-5.3.2.2/workdir/Gallery/arrows.done] Error 1
/tmp/sbopkg.PvWzj4/libreoffice-5.3.2.2/solenv/gbuild/Gallery.mk:58: recipe for target '/tmp/sbopkg.PvWzj4/libreoffice-5.3.2.2/workdir/Gallery/computers.done' failed
make[1]: *** [/tmp/sbopkg.PvWzj4/libreoffice-5.3.2.2/workdir/Gallery/computers.done] Error 1
/tmp/sbopkg.PvWzj4/libreoffice-5.3.2.2/solenv/gbuild/Gallery.mk:58: recipe for target '/tmp/sbopkg.PvWzj4/libreoffice-5.3.2.2/workdir/Gallery/education.done' failed
make[1]: *** [/tmp/sbopkg.PvWzj4/libreoffice-5.3.2.2/workdir/Gallery/education.done] Error 1
Makefile:263: recipe for target 'build' failed
make: *** [build] Error 2
Cleaning up...

LibreOffice:
Would you like to continue processing the rest of the
queue or would you like to abort?  If this failed
package is a dependency of another package in the queue
then it may not make sense to continue.

(Y)es to continue, (N)o to abort, (R)etry the build?:
willysr: I am testing this on 14.2

Last edited by mfoley; 04-24-2017 at 04:53 PM.
 
Old 04-24-2017, 05:35 PM   #22
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,555

Original Poster
Rep: Reputation: 177Reputation: 177
I was able to install libreoffice (binaries) which took 13 minutes versus 26 hours (yes, I understand the difference with a from-source build). libreoffice did require the Oracle jdk, so I had to download that as a manual step to /var/cache/sbopkg. But, it works.
 
Old 04-24-2017, 10:55 PM   #23
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 915

Rep: Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619
I'm sorry you had some much trouble with building it from source (and glad the repackaging version works for you).

I tried to replicate the problem in order to troubleshoot it; yesterday & overnight I've done 9 builds of it, each in a fresh VM (and, luckily, a lot less than 26hrs each). Results were all OK except one which showed the same output as yours. In the build that failed, I did the equivalent for your "(R)etry the build" and the retry then succeeded. I guess it's some sort of race condition in the build where some component is not built in time for some other component, maybe dependent on cpu load, number of available cpus/threads - something like that. Maybe setting the number of parallel makes to 1 would help in those cases but I don't fancy making that the default (maybe a SlackBuild option though) and, with a 26hr build time, I can't expect you to volunteer to test it anyway.

If anyone has other bright ideas about it, please let me know.

chris
 
Old 04-25-2017, 01:23 AM   #24
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,555

Original Poster
Rep: Reputation: 177Reputation: 177
My processor isn't a slacker: i3-2350M CPU @ 2.30GHz, 4 cores, 4GB memory. It's possible I had a WIN7 VM running at the same time. I don't recall whether I did the Retry option. I think I did do that on the 1st attempt. I'll give this a try on another system in the near future. How do you set the number of parallel makes?
 
Old 04-25-2017, 02:15 AM   #25
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 915

Rep: Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619
I've added an update to the SlackBuild which enables setting number of make jobs like:
Code:
    PARALLEL=1 sh LibreOffice.SlackBuild
That update is at https://slackbuilds.org/cgit/slackbu.../?id=b7b07334a if you want it before the next public update.

As a quick hack, you could alternatively add:
Code:
    --with-parallelism=1 \
somewhere before the last of the configure options in your existing LibreOffice.SlackBuild file.

chris

Last edited by chris.willing; 04-25-2017 at 08:27 AM. Reason: Updated URL.
 
Old 12-08-2019, 09:44 AM   #26
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 900

Rep: Reputation: 153Reputation: 153
Apologies for digging this problem back up from 2017!

Since starting to use this SlackBuild about a month or so ago I too get this problem. Every time.

Quote:
[build RDB] services
[build BIN] sc
[build MOD] sc
[build BIN] postprocess
[build GAL] arrows
[build GAL] backgrounds
[build GAL] computers
[build GAL] diagrams
[build GAL] education
Bootstrap exception 'component context fails to supply service com.sun.star.ucb.UniversalContentBroker of type com.sun.star.ucb.XUniversalContentBroker'
Bootstrap exception 'component context fails to supply service com.sun.star.ucb.UniversalContentBroker of type com.sun.star.ucb.XUniversalContentBroker'
Bootstrap exception 'component context fails to supply service com.sun.star.ucb.UniversalContentBroker of type com.sun.star.ucb.XUniversalContentBroker'
Bootstrap exception 'component context fails to supply service com.sun.star.ucb.UniversalContentBroker of type com.sun.star.ucb.XUniversalContentBroker'
make[1]: *** [/home/packages/tmp/SBo/libreoffice-6.3.3.2/solenv/gbuild/Gallery.mk:55: /home/packages/tmp/SBo/libreoffice-6.3.3.2/workdir/Gallery/computers.done] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [/home/packages/tmp/SBo/libreoffice-6.3.3.2/solenv/gbuild/Gallery.mk:55: /home/packages/tmp/SBo/libreoffice-6.3.3.2/workdir/Gallery/diagrams.done] Error 1
make[1]: *** [/home/packages/tmp/SBo/libreoffice-6.3.3.2/solenv/gbuild/Gallery.mk:55: /home/packages/tmp/SBo/libreoffice-6.3.3.2/workdir/Gallery/backgrounds.done] Error 1
make[1]: *** [/home/packages/tmp/SBo/libreoffice-6.3.3.2/solenv/gbuild/Gallery.mk:55: /home/packages/tmp/SBo/libreoffice-6.3.3.2/workdir/Gallery/arrows.done] Error 1
make: *** [Makefile:282: build] Error 2
LibreOffice.SlackBuild.20191208125628.log lines 128609-128663/128663 (END)


Before starting the SlackBuild I do a

Code:
removepkg LibreOffice
sh LibreOffice.SlackBuild
After about 2 hours it fails with the above messages.

I then reboot the machine and the SlackBuild works.

If I don't reboot the machine every time I attempt to compile LibreOffice I always get the above failure.

I'm wondering if on starting a machine with LibreOffice installed that LibreOffice grabs hold of something that interferes with the compile and whatever is grabbed isn't being cleared completely by removing the package, but is by restarting the machine.

I've noted the discussion above about parallelism I'm using --with-parallelism=4 and would be loathe to drop to --with-parallelism=1 as that would considerably lengthen the time taken to compile LibreOffice. The easy solution, for me, is to compile during a quiet period (on a Sunday) when I can do removepkg, reboot machine, compile LibreOffice without interfering with the day jobs.

Any thoughts.
 
Old 12-08-2019, 10:01 AM   #27
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
This almost 2 years old thread on the SBO mailing list show pretty much the same error: https://lists.slackbuilds.org/piperm...ry/020873.html
 
Old 12-09-2019, 04:56 AM   #28
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 900

Rep: Reputation: 153Reputation: 153
Might be getting somewhere.

This time I did the following -
  1. removepkg LibreOffice
  2. removed /usr/lib64/libreoffice/program from my path
  3. unset UNO_PATH
  4. unset URE_BOOTSTRAP


The variables PATH, UNO_PATH and URE_BOOTSTRAP are exported by /etc/profile.d/libreoffice.sh which is installed by the package LibreOffice

Quote:
export UNO_PATH=/usr/lib64/libreoffice/program
export URE_BOOTSTRAP=vnd.sun.star.pathname:/usr/lib64/libreoffice/program/fundamentalrc
export PATH=${PATH}:/usr/lib64/libreoffice/program

Though removepkg LibreOffice removes /etc/profile.d/libreoffice.sh it leaves the environment variables in place.

Need to go through the removepkg / build cycle a few more times to make sure that it isn't something else.

Alex
 
Old 12-09-2019, 10:20 AM   #29
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 900

Rep: Reputation: 153Reputation: 153
Tried it in another VirtualBox guest.

This time all I did was
  1. removepkg LibreOffice
  2. unset UNO_PATH
  3. unset URE_BOOTSTRAP
  4. LibreOffice.SlackBuild


It compiled successfully.
 
4 members found this post helpful.
Old 08-30-2020, 09:44 AM   #30
Bindestreck
Member
 
Registered: Jul 2011
Location: Sweden
Distribution: Slackware
Posts: 820

Rep: Reputation: 440Reputation: 440Reputation: 440Reputation: 440Reputation: 440
Quote:
Originally Posted by aikempshall View Post
Tried it in another VirtualBox guest.

This time all I did was
  1. removepkg LibreOffice
  2. unset UNO_PATH
  3. unset URE_BOOTSTRAP
  4. LibreOffice.SlackBuild


It compiled successfully.
Thank you for this, I have been struggling with this error everytime time I re-compile. So, this is the solution and should be stated in the SlackBuild README file.
 
  


Reply

Tags
fail, sbopkg, slackbuilds



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
Can't get GT5 to build from SlackBuilds or with sbopkg TarFile Slackware 16 04-20-2016 11:47 AM
[SOLVED] SBo + sbopkg, qt5 build parallel a4z Slackware 3 10-12-2014 11:54 AM
SBOPKG(8) not list/show/build dependencies of SlackBuild scripts to build Slackware p xavi_slacky Slackware 3 06-13-2013 07:53 PM
[SOLVED] Cannot build wxPython from sbopkg arubin Slackware 12 10-08-2012 06:22 PM
LXer: Build Your Business Around LibreOffice, LibreOffice Certification Program Announced LXer Syndicated Linux News 0 05-07-2012 12:10 PM

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

All times are GMT -5. The time now is 10:45 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