SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Alright, my slackbuild now works again without python3 installed, but it will no longer try to build against Slackware's python2 which doesn't work anymore. By default if python3 is installed it will use "--enable-python=system" and if its not it will use "--enable-python=internal" which apparently is a lot faster... (Edit: Probably was just the ccache.) Of course its still possible to disable python or to force using an internal or fully internal python3 (I'm not sure the exact difference).
Slackware package /tmp/libreoffice-5.1.0.3-i486-2_SBo.tgz created.
real 73m53.145s
user 36m25.703s
sys 8m54.947s
Additionally, if anyone is trying to build libreoffice in a chroot or ssh environment, make sure $DISPLAY is not set. "echo $DISPLAY" should print nothing and if it does use "unset DISPLAY" before running the script, or you will likely end up with something like this...
Code:
[CUT] cppcanvas_emfplus
S=/tmp/SBo/libreoffice-5.1.0.3 && I=$S/instdir && W=$S/workdir && mkdir -p $W/CppunitTest/ && rm -fr $W/CppunitTest/cppcanvas_emfplus.test.user && mkdir $W/CppunitTest/cppcanvas_emfplus.test.user && rm -fr $W/CppunitTest/cppcanvas_emfplus.test.core && mkdir $W/CppunitTest/cppcanvas_emfplus.test.core && cd $W/CppunitTest/cppcanvas_emfplus.test.core && (LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"$I/program:$I/program":$W/UnpackedTarball/cppunit/src/cppunit/.libs VCL_HIDE_WINDOWS=1 MALLOC_CHECK_=2 MALLOC_PERTURB_=153 $W/LinkTarget/Executable/cppunittester $W/LinkTarget/CppunitTest/libtest_cppcanvas_emfplus.so "-env:BRAND_BASE_DIR=file://$S/instdir" "-env:BRAND_SHARE_SUBDIR=share" "-env:UserInstallation=file://$W/CppunitTest/cppcanvas_emfplus.test.user" "-env:CONFIGURATION_LAYERS=xcsxcu:file://$I/share/registry xcsxcu:file://$W/unittest/registry" "-env:UNO_TYPES=file://$I/program/types/offapi.rdb file://$I/program/types.rdb" "-env:UNO_SERVICES=file://$W/Rdb/ure/services.rdb file://$W/ComponentTarget/canvas/source/cairo/cairocanvas.component file://$W/ComponentTarget/canvas/source/factory/canvasfactory.component file://$W/ComponentTarget/cppcanvas/source/uno/mtfrenderer.component file://$W/ComponentTarget/configmgr/source/configmgr.component file://$W/ComponentTarget/extensions/source/scanner/scn.component file://$W/ComponentTarget/filter/source/config/cache/filterconfig1.component file://$W/ComponentTarget/framework/util/fwk.component file://$W/ComponentTarget/i18npool/util/i18npool.component file://$W/ComponentTarget/package/util/package2.component file://$W/ComponentTarget/sax/source/expatwrap/expwrap.component file://$W/ComponentTarget/sfx2/util/sfx.component file://$W/ComponentTarget/sd/util/sd.component file://$W/ComponentTarget/sd/util/sdd.component file://$W/ComponentTarget/svl/source/fsstor/fsstorage.component file://$W/ComponentTarget/toolkit/util/tk.component file://$W/ComponentTarget/ucb/source/core/ucb1.component file://$W/ComponentTarget/ucb/source/ucp/file/ucpfile1.component file://$W/ComponentTarget/unoxml/source/service/unoxml.component file://$W/ComponentTarget/svtools/util/svt.component" -env:URE_INTERNAL_LIB_DIR=file://$I/program -env:LO_LIB_DIR=file://$I/program -env:LO_JAVA_DIR=file://$I/program/classes --protector $W/LinkTarget/Library/unoexceptionprotector.so unoexceptionprotector --protector $W/LinkTarget/Library/unobootstrapprotector.so unobootstrapprotector --protector $W/LinkTarget/Library/libvclbootstrapprotector.so vclbootstrapprotector "-env:CPPUNITTESTTARGET=$W/CppunitTest/cppcanvas_emfplus.test" > $W/CppunitTest/cppcanvas_emfplus.test.log 2>&1 || ( RET=$?; $S/solenv/bin/gdb-core-bt.sh $W/LinkTarget/Executable/cppunittester $W/CppunitTest/cppcanvas_emfplus.test.core $RET >> $W/CppunitTest/cppcanvas_emfplus.test.log 2>&1; cat $W/CppunitTest/cppcanvas_emfplus.test.log; $S/solenv/gbuild/platform/unittest-failed-default.sh Cppunit cppcanvas_emfplus))
No protocol specified
No protocol specified
unknown:0:Test::testFdo77229
An uncaught exception of type com.sun.star.uno.RuntimeException
- PresenterCanvas: invalid number of arguments
##Failure Location unknown## : Error
Test name: Test::testFdo77229
An uncaught exception of type com.sun.star.uno.RuntimeException
- PresenterCanvas: invalid number of arguments
Failures !!!
Run: 1 Failure total: 1 Failures: 0 Errors: 1
Error: a unit test failed, please do one of:
make CppunitTest_cppcanvas_emfplus CPPUNITTRACE="gdb --args"
# for interactive debugging on Linux
make CppunitTest_cppcanvas_emfplus VALGRIND=memcheck
# for memory checking
make CppunitTest_cppcanvas_emfplus DEBUGCPPUNIT=TRUE
# for exception catching
/tmp/SBo/libreoffice-5.1.0.3/solenv/gbuild/CppunitTest.mk:90: recipe for target '/tmp/SBo/libreoffice-5.1.0.3/workdir/CppunitTest/cppcanvas_emfplus.test' failed
make[1]: *** [/tmp/SBo/libreoffice-5.1.0.3/workdir/CppunitTest/cppcanvas_emfplus.test] Error 1
rm /tmp/SBo/libreoffice-5.1.0.3/workdir/CustomTarget/i18npool/breakiterator/dict_word_he.txt /tmp/SBo/libreoffice-5.1.0.3/workdir/CustomTarget/i18npool/breakiterator/dict_word_nodash.brk /tmp/SBo/libreoffice-5.1.0.3/workdir/CustomTarget/i18npool/breakiterator/sent.txt /tmp/SBo/libreoffice-5.1.0.3/workdir/CustomTarget/i18npool/breakiterator/dict_word_hu.brk /tmp/SBo/libreoffice-5.1.0.3/workdir/CustomTarget/i18npool/breakiterator/line.brk /tmp/SBo/libreoffice-5.1.0.3/workdir/CustomTarget/i18npool/breakiterator/dict_word.brk /tmp/SBo/libreoffice-5.1.0.3/workdir/CustomTarget/i18npool/breakiterator/edit_word.brk /tmp/SBo/libreoffice-5.1.0.3/workdir/CustomTarget/i18npool/breakiterator/dict_word_he.brk /tmp/SBo/libreoffice-5.1.0.3/workdir/CustomTarget/i18npool/breakiterator/dict_word.txt /tmp/SBo/libreoffice-5.1.0.3/workdir/CustomTarget/i18npool/breakiterator/edit_word.txt /tmp/SBo/libreoffice-5.1.0.3/workdir/CustomTarget/i18npool/breakiterator/edit_word_he.brk /tmp/SBo/libreoffice-5.1.0.3/workdir/CustomTarget/i18npool/breakiterator/dict_word_prepostdash.txt /tmp/SBo/libreoffice-5.1.0.3/workdir/CustomTarget/i18npool/breakiterator/char.txt /tmp/SBo/libreoffice-5.1.0.3/workdir/CustomTarget/i18npool/breakiterator/count_word.txt /tmp/SBo/libreoffice-5.1.0.3/workdir/CustomTarget/i18npool/breakiterator/line.txt /tmp/SBo/libreoffice-5.1.0.3/workdir/CustomTarget/i18npool/breakiterator/dict_word_hu.txt /tmp/SBo/libreoffice-5.1.0.3/workdir/CustomTarget/i18npool/breakiterator/edit_word_he.txt /tmp/SBo/libreoffice-5.1.0.3/workdir/CustomTarget/i18npool/breakiterator/sent.brk /tmp/SBo/libreoffice-5.1.0.3/workdir/CustomTarget/i18npool/breakiterator/edit_word_hu.txt /tmp/SBo/libreoffice-5.1.0.3/workdir/CustomTarget/i18npool/breakiterator/edit_word_hu.brk /tmp/SBo/libreoffice-5.1.0.3/workdir/CustomTarget/i18npool/breakiterator/count_word.brk /tmp/SBo/libreoffice-5.1.0.3/workdir/CustomTarget/i18npool/breakiterator/dict_word_nodash.txt /tmp/SBo/libreoffice-5.1.0.3/workdir/CustomTarget/i18npool/breakiterator/char_in.brk /tmp/SBo/libreoffice-5.1.0.3/workdir/CustomTarget/i18npool/breakiterator/char_in.txt /tmp/SBo/libreoffice-5.1.0.3/workdir/CustomTarget/i18npool/breakiterator/char.brk /tmp/SBo/libreoffice-5.1.0.3/workdir/CustomTarget/i18npool/breakiterator/dict_word_prepostdash.brk
make[1]: Leaving directory '/tmp/SBo/libreoffice-5.1.0.3'
Makefile:244: recipe for target 'build' failed
make: *** [build] Error 2
real 79m40.793s
user 41m21.669s
sys 10m24.672s
Fresh install of 32 bit -current, added Perl Zip module. Ran the new libreoffice.Slackbuild with newly downloaded supporting files. I got the error below part way through. I was running the compilation on tty2 outside of the GUI and echo $DISPLAY was returning empty.
Did you try to build it the same way both times? I think the important line is:
Code:
gcc: error: yes: No such file or directory
Was this a full install? Is your coreutils package installed correctly? What does the command "which yes" return? You should have both /bin/yes and a symlink to it, /usr/bin/yes. Can you compile the python3 from SBo without any issues?
Also I don't use kde or even install it so I haven't tested that functionality personally.
Did you try to build it the same way both times? I think the important line is:
Code:
gcc: error: yes: No such file or directory
Was this a full install?
Yes, fresh install from the -current DVD including everything (even kdei) dated 8th Feb with updates applied today. I beleive it was same system both times. Only change was installation of python3 from slackonly and reboot.
Quote:
Originally Posted by orbea
Is your coreutils package installed correctly? What does the command "which yes" return? You should have both /bin/yes and a symlink to it, /usr/bin/yes.
See below - 'which yes' only shows /usr/bin/yes.
Code:
root@illy:~# ls /bin/y*
/bin/yes* /bin/ypdomainname@
Code:
root@illy:~# which yes
/usr/bin/yes
Quote:
Originally Posted by orbea
Can you compile the python3 from SBo without any issues?
I just downloaded the binary from slackonly/current. I'll do a fresh install and post 'which yes' command output and try actually compiling python3 on Wednesday (UK timezone, busy tomorrow Tuesday). The error message reported above was seen before installing python3 though and I took it that the earlier compile aborted because of an issue with the *internal* python3. When compiling *after* installing python3 from slackbuild, the compilation completed fine.
Quote:
Originally Posted by orbea
Also I don't use kde or even install it so I haven't tested that functionality personally.
Oddly enough, I usually use xfce4 and don't install the kde or kdei package sets but I decided to keep to a full install on this occasion so that we had a common reference point. The KDE="yes" option allows correct behaviour in some of the Tools | Options dialogs which I did not see on previous compiles: specifically being able to pick options from lists with the mouse instead of using up/down arrows.
Last edited by keithpeter; 02-15-2016 at 02:06 PM.
Reason: clarification of earlier errors
My understanding is that its failing to find yes during the compilation of the internal python3 provided by libreoffice, which I didn't run into here. This makes me curious if compiling python3 itself works or if its only the one provided by libreoffice. I can try to sabotage 'yes' in a chroot and see if that reproduces the issue...
As I am using a minimal tiling wm I don't really need any of that desktop integration and I am seeing no issues with my build using the mouse in Tools | Options, though perhaps that is different in a desktop environment? As libreoffice doesn't enable kde4 by default I decided to not either. Also, in case anyone is curious this is the version of libreoffice that finally removed the kde3 support.
bash-4.3$ which yes
/usr/bin/yes
bash-4.3$ ls /bin/y*
/bin/yes* /bin/ypdomainname
Above is what I get on a fresh default (i.e. full) install from -current DVD and updated to today. I get that from the command line after logging in before issuing a startx command.
I shall try compiling with the default internal python3 and *without* the KDE="yes" option with only the perl ZIP module installed when I next get some time to have this chugging away.
Last edited by keithpeter; 02-15-2016 at 02:51 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.