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.
After installing cppunit the only thing that checkpkg finds is this for me:
Code:
bash-4.4$ sh checkpkg -l /home/endo/build.log
++ Checking logfile 'build.log' (no news is good news):
45629 :Error: a unit test failed, please do one of:
45638 :make[1]: *** [/tmp/build/tmp-libreoffice/libreoffice-5.2.1.2/workdir/CppunitTest/cppcanvas_emfplus.test] Error 1
45641 :make: *** [build] Error 2
48421 :ERROR: File not found: libsclo.so
48422 :ERROR: File not found: libscfiltlo.so
48423 :ERROR: File not found: libscuilo.so
48424 :ERROR: File not found: libvbaobjlo.so
48425 :ERROR: File not found: libmswordlo.so
48426 :ERROR: File not found: libswuilo.so
48427 :ERROR: File not found: libvbaswobjlo.so
48428 :ERROR: File not found: Gallery/arrows.filelist
48429 :ERROR: File not found: Gallery/computers.filelist
48430 :ERROR: File not found: Gallery/diagrams.filelist
48431 :ERROR: File not found: Gallery/education.filelist
48432 :ERROR: File not found: Gallery/environment.filelist
48433 :ERROR: File not found: Gallery/finance.filelist
48434 :ERROR: File not found: Gallery/people.filelist
48435 :ERROR: File not found: Gallery/sounds.filelist
48436 :ERROR: File not found: Gallery/symbols.filelist
48437 :ERROR: File not found: Gallery/transportation.filelist
48438 :ERROR: File not found: Gallery/txtshapes.filelist
48439 :ERROR: File not found: services.rdb
49131 :: ERROR: Source for libsclo.so not found!
49133 :: ERROR: Source for libscfiltlo.so not found!
49134 :: ERROR: Source for libscuilo.so not found!
49136 :: ERROR: Source for libvbaobjlo.so not found!
49489 :: ERROR: Source for libmswordlo.so not found!
49491 :: ERROR: Source for libswuilo.so not found!
49493 :: ERROR: Source for libvbaswobjlo.so not found!
49686 :: ERROR: Source for Gallery/arrows.filelist not found!
49688 :: ERROR: Source for Gallery/computers.filelist not found!
49689 :: ERROR: Source for Gallery/diagrams.filelist not found!
49690 :: ERROR: Source for Gallery/education.filelist not found!
49691 :: ERROR: Source for Gallery/environment.filelist not found!
49692 :: ERROR: Source for Gallery/finance.filelist not found!
49695 :: ERROR: Source for Gallery/people.filelist not found!
49697 :: ERROR: Source for Gallery/sounds.filelist not found!
49698 :: ERROR: Source for Gallery/symbols.filelist not found!
49700 :: ERROR: Source for Gallery/transportation.filelist not found!
49701 :: ERROR: Source for Gallery/txtshapes.filelist not found!
55813 :: ERROR: Source for services.rdb not found!
56059 :make: *** [install] Error 2
56062 :/home/endo/libreoffice.SlackBuild FAILED at line 1204
bash-4.4$
Here is the complete log if anyone wants to look at it: (4.1 MiB)
*Link/File deleted*
I may have found a couple of clues to what is going on while searching around. Might be nothing, but I'll give it a go tom.
I'de like to see what /var/log/packages looks like on AB's build machine.
that would tell me something. Identical package loads on supported machines
running the same version of slackware should compile the identical sources
identically, no? cppunit is not an official package either. My intuition was
telling me cppunit wasn't related to these errors.
Rather than chase
obscure cryptic error meesages, how about we approach it from the other direction- try & make the
machines/software as close to identical as possible. Of course I am AMD here and
others may be intel but that should not matter where basic OS package load is concerned.
If it was just a case of one or two packages missing that would have been apparent
from the error messages by now. The way this is going the error messages themselves have
shed no more light on the situation and only left me scratching my head even more because
the same sources that won't compile here, compile just fine on AB's computer.
While I am not running a full install (no KDE, KDE libs, E, Xgames, FAQ, helpfiles, and only twm & flux as wm's)
I do always install everything in L as well as all source & header files, and compilers
The only non official pkgs I'm running (that matter here) are:
ant-1.9.7
openjdk 8x
both from AB.
If I could see a /var/log/packages dump, then I could see how truly different your build environment is from mine.
Or if you would rather see mine..
If I got my machine's pkg profile to match yours, and the thing still won't compile then I guess this was just
not meant to be.
The only non official pkgs I'm running (that matter here) are:
ant-1.9.7
openjdk 8x
I'm running a clean full install (minus kdei), with;
apache-ant-1.9.7, jdk-7u45 and perl-archive-zip-1.39 from SBo.
That last compile I installed cppunit, and seemed to make a difference. Maybe not.
The only other errors I found in my log:
Code:
[build BIN] sd
[build CUT] sd_import_tests
[build CUT] sd_filters_test
[build CUT] sd_misc_tests
No protocol specified
No protocol specified
/tmp/build/tmp-libreoffice/libreoffice-5.2.1.2/cppcanvas/qa/extras/emfplus/emfplus.cxx:89:Test::testFdo77229
equality assertion failed
- Expected: 65024
- Actual : 16777215
emfplus.cxx:89:Assertion
Test name: Test::testFdo77229
equality assertion failed
- Expected: 65024
- Actual : 16777215
Failures !!!
Run: 1 Failure total: 1 Failures: 1 Errors: 0
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/build/tmp-libreoffice/libreoffice-5.2.1.2/solenv/gbuild/CppunitTest.mk:99: recipe for target '/tmp/build/tmp-libreoffice/libreoffice-5.2.1.2/workdir/CppunitTest/cppcanvas_emfplus.test' failed
make[1]: *** [/tmp/build/tmp-libreoffice/libreoffice-5.2.1.2/workdir/CppunitTest/cppcanvas_emfplus.test] Error 1
make[1]: *** Waiting for unfinished jobs....
Makefile:256: recipe for target 'build' failed
make: *** [build] Error 2
make: Entering directory '/tmp/build/tmp-libreoffice/libreoffice-5.2.1.2/dictionaries'
Except of course for the final fail;
Code:
: *****************************************************************
: ERROR: ERROR: Missing files at /tmp/build/tmp-libreoffice/libreoffice-5.2.1.2/solenv/bin/modules/installer/scriptitems.pm line 1197.
: *****************************************************************
Wed Sep 21 23:45:01 2016 (00:12 min.)
Failed to install: No such file or directory at /tmp/build/tmp-libreoffice/libreoffice-5.2.1.2/solenv/bin/ooinstall line 92.
Makefile:303: recipe for target 'install' failed
make: *** [install] Error 2
Installing XML files because 'make distro-pack-install' fails to do so...
install: target '/tmp/build/package-libreoffice/usr/share/appdata/' is not a directory: No such file or directory
/home/endo/libreoffice.SlackBuild FAILED at line 1204
I'de like to see what /var/log/packages looks like on AB's build machine.
We are talking about a compilation on Slackware-current here, right?
My build machine is a full Slackware (minus the KDEI series) and for the purpose of building LibreOffice, I add Oracle's JDK 7, Apache Ant and perl-archive-zip packages.
For slackware current, the actual list of installed packages varies of course. When I built LO 5.2.1 for slackware current, this was on a full installation of slackware-current dated "Thu Sep 8 21:35:02 UTC 2016"
The other packages added on top of that are: jdk-7u45, apache-ant-1.9.7 and perl-archive-zip-1.31_04.
When I compiled for Slackware 14.2 that too, was on a full installation of Slackware (minus KDEI) and with the same package names and version numbers added on top.
++ Checking logfile 'build-log.txt' (no news is good news):
45869 ^H:Error: a unit test failed, please do one of:
45878 ^H:make[1]: *** [/tmp/build/tmp-libreoffice/libreoffice-5.2.1.2/workdir/CppunitTest/starmath_import.test] Error 1
45881 ^H:make: *** [build] Error 2
48661 ^H:ERROR: File not found: libdbulo.so
48662 ^H:ERROR: File not found: libsclo.so
48663 ^H:ERROR: File not found: libscfiltlo.so
48664 ^H:ERROR: File not found: libscuilo.so
48665 ^H:ERROR: File not found: libvbaobjlo.so
48666 ^H:ERROR: File not found: libcuilo.so
48667 ^H:ERROR: File not found: libsdlo.so
48668 ^H:ERROR: File not found: libsdfiltlo.so
48669 ^H:ERROR: File not found: libsduilo.so
48670 ^H:ERROR: File not found: libswlo.so
48671 ^H:ERROR: File not found: librptlo.so
48672 ^H:ERROR: File not found: librptuilo.so
48673 ^H:ERROR: File not found: librptxmllo.so
48674 ^H:ERROR: File not found: libmswordlo.so
48675 ^H:ERROR: File not found: libswuilo.so
48676 ^H:ERROR: File not found: libvbaswobjlo.so
48677 ^H:ERROR: File not found: libwriterfilterlo.so
48678 ^H:ERROR: File not found: Gallery/arrows.filelist
48679 ^H:ERROR: File not found: Gallery/computers.filelist
48680 ^H:ERROR: File not found: Gallery/diagrams.filelist
48681 ^H:ERROR: File not found: Gallery/education.filelist
48682 ^H:ERROR: File not found: Gallery/environment.filelist
48683 ^H:ERROR: File not found: Gallery/finance.filelist
48684 ^H:ERROR: File not found: Gallery/people.filelist
48685 ^H:ERROR: File not found: Gallery/sounds.filelist
48686 ^H:ERROR: File not found: Gallery/symbols.filelist
48687 ^H:ERROR: File not found: Gallery/transportation.filelist
48688 ^H:ERROR: File not found: Gallery/txtshapes.filelist
48689 ^H:ERROR: File not found: services.rdb
49372 ^H:: ERROR: Source for libdbulo.so not found!
49381 ^H:: ERROR: Source for libsclo.so not found!
49383 ^H:: ERROR: Source for libscfiltlo.so not found!
49384 ^H:: ERROR: Source for libscuilo.so not found!
49386 ^H:: ERROR: Source for libvbaobjlo.so not found!
49454 ^H:: ERROR: Source for libcuilo.so not found!
49538 ^H:: ERROR: Source for libsdlo.so not found!
49542 ^H:: ERROR: Source for libsdfiltlo.so not found!
49543 ^H:: ERROR: Source for libsduilo.so not found!
49559 ^H:: ERROR: Source for libswlo.so not found!
49683 ^H:: ERROR: Source for librptlo.so not found!
49684 ^H:: ERROR: Source for librptuilo.so not found!
49685 ^H:: ERROR: Source for librptxmllo.so not found!
49737 ^H:: ERROR: Source for libmswordlo.so not found!
49739 ^H:: ERROR: Source for libswuilo.so not found!
49741 ^H:: ERROR: Source for libvbaswobjlo.so not found!
49743 ^H:: ERROR: Source for libwriterfilterlo.so not found!
49934 ^H:: ERROR: Source for Gallery/arrows.filelist not found!
49936 ^H:: ERROR: Source for Gallery/computers.filelist not found!
49937 ^H:: ERROR: Source for Gallery/diagrams.filelist not found!
49938 ^H:: ERROR: Source for Gallery/education.filelist not found!
49939 ^H:: ERROR: Source for Gallery/environment.filelist not found!
49940 ^H:: ERROR: Source for Gallery/finance.filelist not found!
49943 ^H:: ERROR: Source for Gallery/people.filelist not found!
49945 ^H:: ERROR: Source for Gallery/sounds.filelist not found!
49946 ^H:: ERROR: Source for Gallery/symbols.filelist not found!
49948 ^H:: ERROR: Source for Gallery/transportation.filelist not found!
49949 ^H:: ERROR: Source for Gallery/txtshapes.filelist not found!
56061 ^H:: ERROR: Source for services.rdb not found!
56317 ^H:make: *** [install] Error 2
56320 ^H:libreoffice.SlackBuild FAILED at line 1204
**************
tail of stdout logfile (missed somehow by checkpkg.sh)
: UREPACKAGEVERSION=5.2.1.2
: BUNDLEIDENTIFIER=
:
:
:
: Setting Root Module: gid_Module_Root
: Using spellchecker file: /tmp/build/tmp-libreoffice/libreoffice-5.2.1.2/setup_native/source/packinfo/spellchecker_selection.txt
: Collected spellchecker languages for spellchecker: EMPTY,af,an,ar,be,bg,bn,br,bs,ca,cs,da,de,el,en,es,et,fr,gl,he,hi,hr,hu,is,it,lt,lv,nl,no,oc,pl,pt-BR,pt-PT,ro,ru,si,sk,sl,sr,sv,te,th,uk,vi,zu
:
: *****************************************************************
: ERROR: ERROR: Missing files at /tmp/build/tmp-libreoffice/libreoffice-5.2.1.2/solenv/bin/modules/installer/scriptitems.pm line 1197.
: *****************************************************************
Thu Sep 22 10:54:42 2016 (00:12 min.)
Failed to install: No such file or directory at /tmp/build/tmp-libreoffice/libreoffice-5.2.1.2/solenv/bin/ooinstall line 92.
Makefile:303: recipe for target 'install' failed
make: *** [install] Error 2
Installing XML files because 'make distro-pack-install' fails to do so...
install: target '/tmp/build/package-libreoffice/usr/share/appdata/' is not a directory: No such file or directory
libreoffice.SlackBuild FAILED at line 1204
I'm a dogged kind of person. We're going round & round with this.
By all rights the package should build according to the instructions you post with it, yet it does not (not here, at least).
The reasons for this are unclear. It should work.
Eric, I don't know if chasing this thing around has started to become tiresome for you.
I assume you have other important things on your plate besides this.
So long as there are viable directions to pursue here, I'm willing to pursue it as I have thus far.
Partly out of stubbornness, partly because I know I am not the only person having this problem with
these packages, and partly out of sheer curiosity to ultimately find out what the missing piece of
the puzzle is here.
Do chime in clearly, when you have lost interest in this thread. It's looking like this is going to be a log
hard slog.
I only invoked your name in the first place because they are your materials and I figured you would be the
most knowledgeable about them.
If it gets solved here, this thread can make for a good reference for future builders of LO on slackware. If
this thread had already been written by someone else having this problem at some point in the past I would be
reading that thread rather than being co-authour of this one.
In my mind it's also partly for the people who come after. I know upstream requirements change over time, so this will
probably be a chronic thread that recurrs every 4-5 years as upstream toolchains shift and change.
The same thing will most likely be true of all large, complicated packages or pieces of software, but we can
just slay the LO hydra here, if it's possible and the fires of interest in the thread don't dwindle.
installed perl-archive-zip-1.31_04-x86_64-1alien before compile last night.
the compile did seem to go faster this time- real 545m23
previous real times were in the 800's
I "time" the builds just to get an idea how long they run
.
I'm hitting the wall at ~400 minutes (6h 40m) on a Phenom X4, and it has all 4 pegged @ 100% most of the time.
I would never even think about trying to do this on one of my my Core 2's.
I did drop my perl-archive-zip back down to 1.31_04. No cppunit this time, same results as last time.
I don't think that it'll make any difference, but I'm going to partition for /tmp and compile in runlevel 3.
I'd say that this is most likely a factor in your troubles.
Quote:
Originally Posted by trollog
By all rights the package should build according to the instructions you post with it, yet it does not (not here, at least).
Eric has said that he builds on a full install (minus KDEI), plus 3 packages. Have you replicated this setup?
Failing that, how old/robust is your hardware? Are you overclocking your CPU? What is the quality of your RAM? Does your hard drive have any bad sectors?
For a build as big as this one, everything must be running 100% perfectly. There are a lot of variables, and moreso when you're running an unstable base system.
I don't know exactly what made it happen, but I did change a few things from my last build.
Using Eric's packages, creating a seperate /tmp partition and compiling in runlevel 3.
I think that /tmp and runlevel 3 had the most effect.
Here are the details;
Full clean -current install with 100 GiB /tmp partition
(after it was built, only a little under 49 GiB was free.)
Eric's perl-archive-zip-1.31_04 and apache-ant-1.9.7
SBo's jdk-7u45 (Slackware 14.0)
Thanks to:
Alien Bob - for everything, especially patience with us
trollog - you made me do it!
kjhambrick - for mentioning runlevel 3
rkelsen - for mentioning /tmp space
although in a perfect world it would be nice to know precisely what the dependencies are to build LO,
other than saying: "a full install, minus KDE"
I'm sure tux-racer and xbiff (part of a full install!) play little role in LO compiling successfully,
but clearly there are some other unknown components that make or break a build.
Precise dependencies DO exist, for all software, whether they are commonly known or not.
upstream Devs are partly to blame for using huge toolchains, odd compilers, feature-itis,
weird versioning,and (mainly) poor documentation. All of these seem to be creeping cancers
in FOSS these days.
Try finding a README or INSTALL file in a tarball these days with any worthwhile info in it
besides a link to the same useless README on the github site, or a list of authors dead emails.
Not like the old days anymore, when documentation was detailed almost to a fault.
OTOH, I downloaded & compiled ice cat yesterday and it all "just worked" and had well documented build
instructions in the tarball. Kudos to the FSF. A reasonably complex piece of software at that.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.