LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 08-02-2017, 03:47 PM   #16
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,308

Original Poster
Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368

See attached.

I didn't do anything special except specify a different TMP location when needed.
Code:
TMP=/your/temporary/dir ./openjdk.SlackBuild
Attached Thumbnails
Click image for larger version

Name:	LO-SBo-installed-Just_Another_Slacker.jpg
Views:	23
Size:	99.7 KB
ID:	25633  
 
Old 08-02-2017, 03:59 PM   #17
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,096

Rep: Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173
Quote:
Originally Posted by Bindestreck View Post
I tried to compile it on current 64-bit:

[build GAL] sounds
make[1]: *** [/tmp/SBo/libreoffice-5.4.0.3/solenv/gbuild/Gallery.mk:58: /tmp/SBo/libreoffice-5.4.0.3/workdir/Gallery/diagrams.done] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [/tmp/SBo/libreoffice-5.4.0.3/solenv/gbuild/Gallery.mk:58: /tmp/SBo/libreoffice-5.4.0.3/workdir/Gallery/finance.done] Error 1
make[1]: *** [/tmp/SBo/libreoffice-5.4.0.3/solenv/gbuild/Gallery.mk:58: /tmp/SBo/libreoffice-5.4.0.3/workdir/Gallery/computers.done] Error 1
make[1]: *** [/tmp/SBo/libreoffice-5.4.0.3/solenv/gbuild/Gallery.mk:58: /tmp/SBo/libreoffice-5.4.0.3/workdir/Gallery/people.done] Error 1
make[1]: *** [/tmp/SBo/libreoffice-5.4.0.3/solenv/gbuild/Gallery.mk:58: /tmp/SBo/libreoffice-5.4.0.3/workdir/Gallery/symbols.done] Error 1
make[1]: *** [/tmp/SBo/libreoffice-5.4.0.3/solenv/gbuild/Gallery.mk:58: /tmp/SBo/libreoffice-5.4.0.3/workdir/Gallery/arrows.done] Error 1
make[1]: *** [/tmp/SBo/libreoffice-5.4.0.3/solenv/gbuild/Gallery.mk:58: /tmp/SBo/libreoffice-5.4.0.3/workdir/Gallery/environment.done] Error 1
make[1]: *** [/tmp/SBo/libreoffice-5.4.0.3/solenv/gbuild/Gallery.mk:58: /tmp/SBo/libreoffice-5.4.0.3/workdir/Gallery/education.done] Error 1
make: *** [Makefile:266: build] Error 2


But I get this error, any ideas?
I've just tested the build on slackware64-current and everything went fine: don't know if related but I used JAVA=jdk (and apache-ant) to build it.
I've built it on a virtual machine with plenty of ram (10 Gb), swap (12 Gb) and disk space (30 Gb free) using 24 make jobs.

Last edited by ponce; 08-02-2017 at 04:13 PM.
 
1 members found this post helpful.
Old 08-02-2017, 10:36 PM   #18
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 914

Rep: Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619
Quote:
Originally Posted by Bindestreck View Post
I tried to compile it on current 64-bit:

[build GAL] sounds
make[1]: *** [/tmp/SBo/libreoffice-5.4.0.3/solenv/gbuild/Gallery.mk:58: /tmp/SBo/libreoffice-5.4.0.3/workdir/Gallery/diagrams.done] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [/tmp/SBo/libreoffice-5.4.0.3/solenv/gbuild/Gallery.mk:58: /tmp/SBo/libreoffice-5.4.0.3/workdir/Gallery/finance.done] Error 1
make[1]: *** [/tmp/SBo/libreoffice-5.4.0.3/solenv/gbuild/Gallery.mk:58: /tmp/SBo/libreoffice-5.4.0.3/workdir/Gallery/computers.done] Error 1
make[1]: *** [/tmp/SBo/libreoffice-5.4.0.3/solenv/gbuild/Gallery.mk:58: /tmp/SBo/libreoffice-5.4.0.3/workdir/Gallery/people.done] Error 1
make[1]: *** [/tmp/SBo/libreoffice-5.4.0.3/solenv/gbuild/Gallery.mk:58: /tmp/SBo/libreoffice-5.4.0.3/workdir/Gallery/symbols.done] Error 1
make[1]: *** [/tmp/SBo/libreoffice-5.4.0.3/solenv/gbuild/Gallery.mk:58: /tmp/SBo/libreoffice-5.4.0.3/workdir/Gallery/arrows.done] Error 1
make[1]: *** [/tmp/SBo/libreoffice-5.4.0.3/solenv/gbuild/Gallery.mk:58: /tmp/SBo/libreoffice-5.4.0.3/workdir/Gallery/environment.done] Error 1
make[1]: *** [/tmp/SBo/libreoffice-5.4.0.3/solenv/gbuild/Gallery.mk:58: /tmp/SBo/libreoffice-5.4.0.3/workdir/Gallery/education.done] Error 1
make: *** [Makefile:266: build] Error 2


But I get this error, any ideas?
The LibreOffice build system sets up the most parallel builds that it can manage so the last bit of output that you see there doesn't necessarily reflect the real failure point. Could I suggest that you try the build again from the beginning with PARALLEL=1 set? i.e. run:
Code:
PARALLEL=1 sh LibreOffice.SlackBuild
(also JAVA=jdk unless you worked out how to build openjdk on -current). It takes a lot longer to build this way but will hopefully give a better idea of what might be going wrong. Although others are building it OK as it is on 14.2 & -current, you may be catching/triggering some peculiarity that the others are not - I'd like to fix that if we can track it down.

Thanks,
chris
 
Old 08-02-2017, 10:44 PM   #19
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 914

Rep: Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619
Quote:
Originally Posted by mid-kid View Post
I'm actually experiencing the same error as Bindestreck:
Quote:
[build GAL] arrows
/var/tmp/SBo/libreoffice-5.4.0.3/solenv/gbuild/Gallery.mk:58: recipe for target '/var/tmp/SBo/libreoffice-5.4.0.3/workdir/Gallery/arrows.done' failed
make[1]: *** [/var/tmp/SBo/libreoffice-5.4.0.3/workdir/Gallery/arrows.done] Error 1
Makefile:264: recipe for target 'build' failed
make: *** [build] Error 2
I'm on Slackware64-14.2, and besides this there's no more detailed error. I was able to build 5.3 properly, and still have that installed, it's just 5.4 that doesn't want to build.
As per my reply to Bindestreck, could you try a build using: "PARALLEL=1 sh LibreOffice.SlackBuild" and report the result here please? It will take longer to run but should give a better indication of what's going wrong.

Thanks,
chris
 
Old 08-03-2017, 10:21 AM   #20
mid-kid
LQ Newbie
 
Registered: Oct 2016
Distribution: Gentoo
Posts: 25

Rep: Reputation: Disabled
@chris.willing
I'm sorry I didn't specify it before, but that is the end of the log with PARALLEL=1. I could send you the entire log, but you wouldn't see much of anything. It's just "[build X]" until the arrows thing, where it fails. I'm building it with IcedTea 3.5.0/OpenJDK 8u141b15. The previous build of LibreOffice 5.3 was built with IcedTea 3.4.0. I will try building it with JAVA=no, to see where that takes me.
 
Old 08-03-2017, 11:02 AM   #21
Bindestreck
Member
 
Registered: Jul 2011
Location: Sweden
Distribution: Slackware
Posts: 820

Rep: Reputation: 440Reputation: 440Reputation: 440Reputation: 440Reputation: 440
Hi,

It seems that it fails with OpenJDK 8u141b15. I upgraded to OpenJDK 8u144_b01 and now it compiles without error.
 
Old 08-03-2017, 12:14 PM   #22
mid-kid
LQ Newbie
 
Registered: Oct 2016
Distribution: Gentoo
Posts: 25

Rep: Reputation: Disabled
@Bindestreck: Huh, yeah, apparently Icedtea 3.5.1 got released. I've stopped the build, and am building the new Icedtea now, to try again. Will edit this post with results when done.

EDIT: Done. It results in the same error for me. Will investigate further.
EDIT2: Stracing the program that fails (gengal.bin), it seems that it tries to open a bunch of files from the previous installation of LibreOffice, instead of simply ignoring it. Will try removing the previous version and rebuilding.
EDIT3: That seemed to fix it. It seems that LibreOffice cannot properly rebuild itself while it's still installed, probably due to version differences in the libraries it attempts to link with.

Last edited by mid-kid; 08-04-2017 at 09:51 AM.
 
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
[SOLVED] SBo and LibreOffice 5.2.2.3 xcom Slackware 5 11-08-2016 03:00 AM
[SOLVED] LibreOffice SlackBuild (from SBO) Missing Files? tronayne Slackware 4 03-29-2013 12:50 PM
SBo libreoffice 3.6.4 errors tuubaaku Slackware 12 01-28-2013 09:30 PM
[SOLVED] problem installing ffmpeg from sbo -- libxvid not found ahzthecat Slackware 7 12-01-2012 07:18 PM

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

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