SBo scripts not building on current (read 1st post, pls)
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.
ok, this is very frustrating. After long, long hours of building, webkit2gtk fails. This is the compilation output:
Code:
[ 76%] Building CXX object Source/WebCore/CMakeFiles/WebCore.dir/platform/graphics/cairo/BackingStoreBackendCairoImpl.cpp.o
In file included from /tmp/SBo/webkitgtk-2.18.0/Source/WebCore/platform/graphics/cairo/BackingStoreBackendCairoImpl.cpp:21:0:
/tmp/SBo/webkitgtk-2.18.0/Source/WebCore/platform/graphics/cairo/BackingStoreBackendCairoImpl.h:23:10: fatal error: WebCore/HysteresisActivity.h: No such file or directory
#include <WebCore/HysteresisActivity.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Source/WebCore/CMakeFiles/WebCore.dir/build.make:51126: Source/WebCore/CMakeFiles/WebCore.dir/platform/graphics/cairo/BackingStoreBackendCairoImpl.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1031: Source/WebCore/CMakeFiles/WebCore.dir/all] Error 2
make: *** [Makefile:152: all] Error 2
webkit2gtk:
It seems that the buildsystem complains about a missing file. But this is strange. I am compiling from sbopkg and there is no complaint that any checksum or the like is wrong as it would be in a tarball with a missing file.
What makes it most frustrating is the fact that compilation fails at 76%, after hours and hours of frying my CPU...
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564
Rep:
Concerning FreeCAD, the result is the same with the -current SBo tree: same error (libspnav):
----------------------------
[ 31%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/Selection.cpp.o
[ 31%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/SelectionFilter.cpp.o
[ 31%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/PreCompiled.cpp.o
make[2]: *** Aucune r�gle pour fabriquer la cible ��/usr/lib/libspnav.so��, n�cessaire pour ��lib/libFreeCADGui.so��. Arr�t.
make[1]: *** [CMakeFiles/Makefile2:4493: src/Gui/CMakeFiles/FreeCADGui.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
FreeCAD:
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?:
I don't think so. I had gst-plugins-bad 1.12.0 and gstreamer-1.12.2 and I had this strange build error.
Hi sombragis!
First: Happy Birthday!
Second: I just tried building webkit2gtk and dependencies on an up2date fresh and full install of slackware64-current using this repository and everything went fine (so it shouldn't be gst-plugins-bad).
Quote:
Originally Posted by nobodino
Concerning FreeCAD, the result is the same with the -current SBo tree: same error (libspnav):
----------------------------
[ 31%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/Selection.cpp.o
[ 31%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/SelectionFilter.cpp.o
[ 31%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/PreCompiled.cpp.o
make[2]: *** Aucune r�gle pour fabriquer la cible ��/usr/lib/libspnav.so��, n�cessaire pour ��lib/libFreeCADGui.so��. Arr�t.
make[1]: *** [CMakeFiles/Makefile2:4493: src/Gui/CMakeFiles/FreeCADGui.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
FreeCAD:
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?:
Quote:
Originally Posted by ponce
FYI, I've just tested building FreeCAD and all of its dependencies using the unofficial repository linked in the first post on two clean full installs, one of slackware-current and the other of slackware64-current, and it went fine in both cases: are you using a different setup from the one I just tested building the stuff onto?
sorry, which is the answer to the question I asked here?
Second: I just tried building webkit2gtk and dependencies on an up2date fresh and full install of slackware64-current using this repository and everything went fine (so it shouldn't be gst-plugins-bad).
Thanks ponce!
It's weird that I have such error. Especially when the build complains of a missing file which should be within the very own source tarball. Thanks again ponce!
It's weird that I have such error. Especially when the build complains of a missing file which should be within the very own source tarball. Thanks again ponce!
I am testing the build also on stable and I noticed it needs *a lot* of RAM, and it increases as you use parallel jobs: here I'm using 23 parallel jobs and I need more than 10 Gb of ram and 8 Gb of swap (!!!).
if you haven't RAM available anymore try setting up an huge additional swap file, maybe it could help during the build: here I do like this
I am testing the build also on stable and I noticed it needs *a lot* of RAM, at it increase as you use parallel jobs: here I'm using 23 parallel jobs and I need more that 10 Gb of ram and 8 Gb of swap (!!!).
if you haven't anymore RAM available try setting an huge additional swap file, maybe it could help during the build: here I do like this
obviously this takes an additional 10 Gb on your disk, but after the build you can "swapoff /temp-swap" and delete it.
I decided against using parallell jobs because this is a lowly ultrabook and the build generates serious heat. But I have 12 GB RAM so RAM shouldn't be a problem. My swapfile is also 12 GB. So I think system resources are OK for building the package.
Another element which leads me to discard resource constraints as the cause is that in both attempted builds, the very same file was reported as missing. I think that if resource constraints were the cause, the build would fail at approximately the same stage, but not necessarily on the same file.
The problem is that one cannot test this too much because it is a long, cumbersome build.
Last edited by sombragris; 09-18-2017 at 09:20 AM.
There's a problem with compiling current wine-2.17 with current version of freetype-2.8.1-i586-1 from SW current.
The previous freetype-2.8-i586-1 and earlier versions worked fine.
There's a problem with compiling current wine-2.17 with current version of freetype-2.8.1-i586-1 from SW current.
The previous freetype-2.8-i586-1 and earlier versions worked fine.
yes, I just tested building wine with freetype reverted to 2.8 and it built fine.
I think you should try to build webkit2gtk with at least 2 jobs instead: the issue you have seem related to using a single make job, I replicated it.
launch the webkit2gtk.SlackBuild passing it a MAKEFLAGS variable, like
Code:
MAKEFLAGS=-j2 ./webkit2gtk.SlackBuild
Thank you ponce! I will try to do so. I'm relieved to learn that it was possible to replicate the issue. I would suggest to update this specific SlackBuild in order to ensure that at least two parallell jobs are running.
<rant>How much I hate this crap library! Hours on no end frying my CPU for almost nothing. And now I even have to increase make jobs. Great. </rant>
But at least I am not alone, I have the help of fellow Slackers which are more knowledgeable and helpful. I'm really grateful for the opportunity to learn something here every day.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.