Discussion:
[Slackbuilds-users] Building LibreOffice.
Arnaud
2018-09-21 13:16:25 UTC
Permalink
Hello everybody,

I regularly have trouble building LibreOffice, forced to retry it
several times before, at last, getting it right.
Be it on my regular computer full of additional SBo packages (791 today,
yuk... What do I do with all that stuff ?) or on a clean up-to-date and fully
patched 14.2, with only the freshly built dependencies of LibreOffice added.
Be it with Oracle's JDK, openjdk 7 or 8, no JAVA at all, or even
AlienBob's openjdk binary package.
Or wether I'm using single jobs building or the full power of my
dual-threaded quad-core with 9 jobs !

The build fails always at the same place, involving the file
libreoffice-*/solenv/gbuild/Gallery.mk and the building of Gallery/Arrows - but
other files will fail, if there are multiple jobs, Arrows is only the first one
on a single job build, because, well, alphabet I guess.

Today I found a reproducible way of managing the build to complete.
Some people have experienced difficulties building LibreOffice while a
previoius version is still installed. It is therefore recommended that any
previous version is removed while building LibreOffice.
Well, I experience difficulties building LibreOffice while NO other
version of LibreOffice is installed.
As it turns out, the building of those Gallery/Things are using a tool
named "gengal", which is part of LibreOffice at
usr/lib64/libreoffice-*/program/gengal
It looks like some sort of bug in the build process, it seems the build
should generate this tool (which it might very well do), before trying to use
it, but fails to use it for some reason - can't find where it was built, or
fails to use it, or builds it _after_ trying to use it ?

Anyway, I can't build LibreOffice without LibreOffice installed, and I
have the presumptuousness to think I might not be alone there.
Hence I propose that we amend the README for it to state that :
"Some people have experienced difficulties building LibreOffice while a
previous version is still installed, and other people while none are installed.
It is therefore recommended that any previous version is removed, or that a
previous version of LibreOffice is installed, while building LibreOffice."

Which should sound as much funny as it might be useful...

Have a nice day :)
--
Arnaud <***@ythogtha.org>
_______________________________________________
SlackBuilds-users mailing list
SlackBuilds-***@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/
Rich Shepard
2018-09-21 14:10:53 UTC
Permalink
Post by Arnaud
Hello everybody,
Arnaud,

I'll put myself in this category to explain my presumptiveness in
responding. :-)
Post by Arnaud
I regularly have trouble building LibreOffice, forced to retry it several
times before, at last, getting it right.
To clarify, you're building the LibreOffice flavor (currently at version
6.1.1.2), correct?

Is there a reason why you don't build the libreoffice flavor (currently at
version 6.1.1?)

I ask because long ago I read somewhere SBo-related, that the lowercase
flavor was easier to build properly than is the mixedcase version. Whether
that's true, I've been building and using the lowercase version for years
without problems.

If you've not tried this, perhaps it's worth considering.

Best regards,

Rich

_______________________________________________
SlackBuilds-users mailing list
SlackBuilds-***@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/
Arnaud
2018-09-21 14:21:18 UTC
Permalink
Post by Rich Shepard
Arnaud,
I'll put myself in this category to explain my presumptiveness in
responding. :-)
Post by Arnaud
I regularly have trouble building LibreOffice, forced to retry it several
times before, at last, getting it right.
To clarify, you're building the LibreOffice flavor (currently at version
6.1.1.2), correct?
Is there a reason why you don't build the libreoffice flavor (currently at
version 6.1.1?)
I ask because long ago I read somewhere SBo-related, that the lowercase
flavor was easier to build properly than is the mixedcase version. Whether
that's true, I've been building and using the lowercase version for years
without problems.
If you've not tried this, perhaps it's worth considering.
Please, join me in presumptuousness !

Yes, there is a reason.
libreoffice is actually not a build, it is a repackaging of the official
binaries in rpm, while LibreOffice is an actual build.

As to the reason why I try to build instead of repackage, it's partly to test
the build process, because I'm convinced that being able to build a software is
pretty important, and we should not always rely on prebuilt binaries.
--
Arnaud <***@ythogtha.org>
_______________________________________________
SlackBuilds-users mailing list
SlackBuilds-***@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/
Loading...