LinuxQuestions.org
Help answer threads with 0 replies.
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 09-17-2017, 12:40 PM   #706
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892

ok, thanks I'm trying it now.
 
Old 09-17-2017, 07:55 PM   #707
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 858

Rep: Reputation: 383Reputation: 383Reputation: 383Reputation: 383
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...

Can anyone help me to troubleshoot this?
 
Old 09-17-2017, 09:55 PM   #708
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
make sure to install gst-plugins-bad matching your GStreamer version if you are using -current machine

Quote:
GStreamerGL is enabled by default when building with GStreamer >= 1.10.
 
1 members found this post helpful.
Old 09-17-2017, 10:13 PM   #709
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 858

Rep: Reputation: 383Reputation: 383Reputation: 383Reputation: 383
Quote:
Originally Posted by willysr View Post
make sure to install gst-plugins-bad matching your GStreamer version if you are using -current machine
Well, there lies the cause then. -current uses gstreamer 1.12.2.

However, ponce's repository still uses gst-plugins-bad at version 1.12.0

Thank you Willy!

Last edited by sombragris; 09-17-2017 at 10:21 PM.
 
Old 09-17-2017, 10:40 PM   #710
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
Quote:
Originally Posted by sombragris View Post
Well, there lies the cause then. -current uses gstreamer 1.12.2.

However, ponce's repository still uses gst-plugins-bad at version 1.12.0

Thank you Willy!
Well, 1.12.0 may still work (i uses 1.12.2 here)

Last edited by willysr; 09-17-2017 at 10:45 PM.
 
Old 09-17-2017, 11:21 PM   #711
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 858

Rep: Reputation: 383Reputation: 383Reputation: 383Reputation: 383
Quote:
Originally Posted by willysr View Post
Well, 1.12.0 may still work (i uses 1.12.2 here)
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.
 
Old 09-18-2017, 12:28 AM   #712
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
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?:
 
Old 09-18-2017, 01:36 AM   #713
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Original Poster
Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
Quote:
Originally Posted by sombragris View Post
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 View Post
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 View Post
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?

Last edited by ponce; 09-18-2017 at 09:30 AM.
 
Old 09-18-2017, 07:24 AM   #714
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 858

Rep: Reputation: 383Reputation: 383Reputation: 383Reputation: 383
Quote:
Originally Posted by ponce View Post
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).
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!
 
Old 09-18-2017, 07:29 AM   #715
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Original Poster
Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
Quote:
Originally Posted by sombragris View Post
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
Code:
fallocate -l 10G /temp-swap
chmod 0600 /temp-swap
mkswap /temp-swap
swapon /temp-swap
obviously this takes an additional 10 Gb on your disk, but after the build you can "swapoff /temp-swap" and delete it.

Last edited by ponce; 09-18-2017 at 09:32 AM.
 
1 members found this post helpful.
Old 09-18-2017, 09:17 AM   #716
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 858

Rep: Reputation: 383Reputation: 383Reputation: 383Reputation: 383
Quote:
Originally Posted by ponce View Post
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
Code:
fallocate -l 10G /temp-swap
chmod 0600 /temp-swap
mkswap /temp-swap
swapon /temp-swap
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.
 
Old 09-19-2017, 11:28 AM   #717
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Original Poster
Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
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
 
1 members found this post helpful.
Old 09-19-2017, 03:32 PM   #718
brodo
Member
 
Registered: Jan 2004
Location: Poland, Poznan
Distribution: Slackware current 32 / 64
Posts: 406

Rep: Reputation: 30
Hi,

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.
 
1 members found this post helpful.
Old 09-20-2017, 04:16 AM   #719
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Original Poster
Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
Quote:
Originally Posted by brodo View Post
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.
 
Old 09-20-2017, 08:21 AM   #720
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 858

Rep: Reputation: 383Reputation: 383Reputation: 383Reputation: 383
Quote:
Originally Posted by ponce View Post
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.
 
  


Reply

Tags
current, sbo, sbopkg, slackrepo



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] Error building gst1-plugins-good 1.4.1 from SBO l0rddarkf0rce Slackware 4 10-06-2014 05:58 PM
[SOLVED] Failure building nvidia-kernel Slackbuild from SBo sysfce2 Slackware 7 07-02-2011 01:10 AM
problems building fontforge from SBo gtludwig Slackware 7 05-12-2010 01:52 PM
Pls help me take my 1st step! verysoon Fedora - Installation 2 12-12-2005 07:49 AM

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

All times are GMT -5. The time now is 10:23 AM.

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