LinuxQuestions.org
Review your favorite Linux distribution.
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 06-14-2020, 02:50 PM   #2806
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,816

Rep: Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982

Well then I have no idea but I did have to remove FFMPEG before it would build. Here is the modified Slackbuild I use for FFMPEG.
Attached Files
File Type: txt ffmpeg.SlackBuild.txt (9.9 KB, 6 views)
 
Old 06-14-2020, 11:31 PM   #2807
shelldweller
Member
 
Registered: Mar 2019
Distribution: Slackware
Posts: 300

Rep: Reputation: Disabled
libplacebo?

Something strange is happening with libplacebo:

Code:
[...]
[38/40] Compiling C object 'src/25a6634@@placebo@sha/opengl_swapchain.c.o'
[39/40] Compiling C++ object 'src/25a6634@@placebo@sha/glsl_glslang.cc.o'
FAILED: src/25a6634@@placebo@sha/glsl_glslang.cc.o 
ccache c++ -Isrc/25a6634@@placebo@sha -Isrc -I../src -I../src/include -I../src/include/dummy -I../subprojects/xtalloc/include -I../subprojects/bstr/include -I/usr/include/glslang -fdiagnostics-color=always -DNDEBUG -pipe -D_FILE_OFFSET_BITS=64 -std=c++11 -Wundef -Wshadow -Wparentheses -Wpointer-arith -fvisibility=hidden -O2 -fPIC -fPIC -pthread -MD -MQ 'src/25a6634@@placebo@sha/glsl_glslang.cc.o' -MF 'src/25a6634@@placebo@sha/glsl_glslang.cc.o.d' -o 'src/25a6634@@placebo@sha/glsl_glslang.cc.o' -c ../src/glsl/glslang.cc
../src/glsl/glslang.cc:221:1: error: cannot convert ‘<brace-enclosed initializer list>’ to ‘bool’ in initialization
  221 | };
      | ^
ninja: build stopped: subcommand failed.

libplacebo:
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.
Searching around for this error upstream leads to some gnarly bug reports that are beyond my pay grade. Just thought I would report here. Thanks much, as always.

Side note: on closer inspection, it seems like I have this installed for no reason, and both hoorex and slackbuilds.org tell me it is not a dependency of anything (any longer). I do not even see it as an optional dependency for anything. I will probably just remove it from my machines, although someone else might need it for something. Downgrading to: I no longer care, but thanks for listening.

Last edited by shelldweller; 06-15-2020 at 01:27 AM. Reason: added the fact that I will be uninstalling anyway
 
Old 06-15-2020, 01:28 AM   #2808
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,111

Original Poster
Rep: Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183
Quote:
Originally Posted by shelldweller View Post
Something strange is happening with libplacebo:

Code:
[...]
[38/40] Compiling C object 'src/25a6634@@placebo@sha/opengl_swapchain.c.o'
[39/40] Compiling C++ object 'src/25a6634@@placebo@sha/glsl_glslang.cc.o'
FAILED: src/25a6634@@placebo@sha/glsl_glslang.cc.o 
ccache c++ -Isrc/25a6634@@placebo@sha -Isrc -I../src -I../src/include -I../src/include/dummy -I../subprojects/xtalloc/include -I../subprojects/bstr/include -I/usr/include/glslang -fdiagnostics-color=always -DNDEBUG -pipe -D_FILE_OFFSET_BITS=64 -std=c++11 -Wundef -Wshadow -Wparentheses -Wpointer-arith -fvisibility=hidden -O2 -fPIC -fPIC -pthread -MD -MQ 'src/25a6634@@placebo@sha/glsl_glslang.cc.o' -MF 'src/25a6634@@placebo@sha/glsl_glslang.cc.o.d' -o 'src/25a6634@@placebo@sha/glsl_glslang.cc.o' -c ../src/glsl/glslang.cc
../src/glsl/glslang.cc:221:1: error: cannot convert ‘<brace-enclosed initializer list>’ to ‘bool’ in initialization
  221 | };
      | ^
ninja: build stopped: subcommand failed.

libplacebo:
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.
Searching around for this error upstream leads to some gnarly bug reports that are beyond my pay grade. Just thought I would report here. Thanks much, as always.
maybe your repository is not updated: libplacebo-2.43.1 built fine here against the newer vulkan-sdk.
Quote:
Originally Posted by shelldweller View Post
Side note: on closer inspection, it seems like I have this installed for no reason, and both hoorex and slackbuilds.org tell me it is not a dependency of anything (any longer). I do not even see it as an optional dependency for anything. I will probably just remove it from my machines, although someone else might need it for something. Downgrading to: I no longer care, but thanks for listening.
it's an optional dependency for mpv, I'm not sure if you use it...

Last edited by ponce; 06-15-2020 at 01:30 AM.
 
Old 06-15-2020, 02:05 AM   #2809
shelldweller
Member
 
Registered: Mar 2019
Distribution: Slackware
Posts: 300

Rep: Reputation: Disabled
Quote:
Originally Posted by ponce View Post
maybe your repository is not updated: libplacebo-2.43.1 built fine here against the newer vulkan-sdk.

it's an optional dependency for mpv, I'm not sure if you use it...
Ah, I must be using a stale mirror. I see a new vulkan-sdk in the changelog, but slackpkg upgrade-all brings nothing new down. I will switch servers.

And, uh, yeah... mpv. I overlooked that one. So, sorry for the noise on both counts, and thanks for pointing out that my mirror is rather stale.
 
Old 06-15-2020, 02:13 AM   #2810
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,111

Original Poster
Rep: Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183
Quote:
Originally Posted by shelldweller View Post
Ah, I must be using a stale mirror. I see a new vulkan-sdk in the changelog, but slackpkg upgrade-all brings nothing new down. I will switch servers.

And, uh, yeah... mpv. I overlooked that one. So, sorry for the noise on both counts, and thanks for pointing out that my mirror is rather stale.
I was meaning that you are using an old version of *this* repository as it has been updated yesterday and that brought (from the SBo repository, of which this is a fork) a new version of libplacebo.

Last edited by ponce; 06-15-2020 at 02:25 AM.
 
Old 06-15-2020, 02:25 AM   #2811
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,111

Original Poster
Rep: Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183
Quote:
Originally Posted by BrunoLafleur View Post
It is due to the upgrade of qt5.13 towards qt5.15
You should add :
#include <QPainterPath>

In the file :
owncloudclient-2.5.4.11654/src/libsync/networkjobs.cpp

You can do a patch and add it to the SBo package.

You can also suggest the fix to the author of owncloudclient but maybe they saw it and it is on the master branch ?
The fix is compatible with the 5.13 version of qt5.
Thanks, pushed!

https://github.com/Ponce/slackbuilds...wncloud-client
 
Old 06-15-2020, 03:13 PM   #2812
shelldweller
Member
 
Registered: Mar 2019
Distribution: Slackware
Posts: 300

Rep: Reputation: Disabled
Quote:
Originally Posted by ponce View Post
I was meaning that you are using an old version of *this* repository as it has been updated yesterday and that brought (from the SBo repository, of which this is a fork) a new version of libplacebo.
I was meaning the opposite. I had already done an update of my local SBo repo. That is how I knew there was an update to libplacebo.

Turns out that my Slackware mirror was stale for whatever reason. I switched mirrors, then did a slackpkg update && slackpkg upgrade-all, found the new vulkan-sdk (finally), and then the new libplacebo builds fine.

So, even if you meant something else, I misinterpreted your solution to be the correct one. Problem solved!
 
Old 06-16-2020, 06:38 PM   #2813
qunying
Member
 
Registered: Jun 2002
Distribution: Slackware
Posts: 257

Rep: Reputation: 147Reputation: 147
VTK could not compiled, with the following patch, it compiled:
Code:
sed -i '/include <QTextStream>/a #include <QPainterPath>' \
Rendering/Qt/vtkQtLabelRenderStrategy.cxx \
Rendering/Qt/vtkQtStringToImage.cxx
 
Old 06-16-2020, 10:18 PM   #2814
nullptr
Member
 
Registered: Nov 2019
Posts: 50

Rep: Reputation: Disabled
shaderc

Code:
[ 28%] Building CXX object libshaderc_util/CMakeFiles/shaderc_util.dir/src/resources.cc.o
/tmp/SBo/shaderc-2020.0/libshaderc_util/src/resources.cc:142:6: error: cannot convert ‘<brace-enclosed initializer list>’ to ‘bool’ in initialization
  142 |     }};
      |      ^
make[2]: *** [libshaderc_util/CMakeFiles/shaderc_util.dir/build.make:148: libshaderc_util/CMakeFiles/shaderc_util.dir/src/resources.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:383: libshaderc_util/CMakeFiles/shaderc_util.dir/all] Error 2
make: *** [Makefile:161: all] Error 2
 
Old 06-17-2020, 02:58 AM   #2815
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,111

Original Poster
Rep: Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183
Quote:
Originally Posted by nullptr View Post
shaderc

Code:
[ 28%] Building CXX object libshaderc_util/CMakeFiles/shaderc_util.dir/src/resources.cc.o
/tmp/SBo/shaderc-2020.0/libshaderc_util/src/resources.cc:142:6: error: cannot convert ‘<brace-enclosed initializer list>’ to ‘bool’ in initialization
  142 |     }};
      |      ^
make[2]: *** [libshaderc_util/CMakeFiles/shaderc_util.dir/build.make:148: libshaderc_util/CMakeFiles/shaderc_util.dir/src/resources.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:383: libshaderc_util/CMakeFiles/shaderc_util.dir/all] Error 2
make: *** [Makefile:161: all] Error 2
builds fine here...
which version number are you trying to build?

are you by any chance using the gcc in /testing? in this case please refer to a previous post
Quote:
Originally Posted by ponce View Post
I started to push some patches to the repository for gcc-10.x but I will stop until it will get out of /testing and into the distribution, so please don't report other building issues in this topic if you have it installed.

Last edited by ponce; 06-17-2020 at 03:03 AM.
 
Old 06-17-2020, 02:58 AM   #2816
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,111

Original Poster
Rep: Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183
Quote:
Originally Posted by qunying View Post
VTK could not compiled, with the following patch, it compiled:
Code:
sed -i '/include <QTextStream>/a #include <QPainterPath>' \
Rendering/Qt/vtkQtLabelRenderStrategy.cxx \
Rendering/Qt/vtkQtStringToImage.cxx
thanks a lot, pushed!
 
Old 06-17-2020, 08:04 AM   #2817
lioh
Member
 
Registered: Aug 2019
Location: Switzerland
Distribution: Slackware
Posts: 194

Rep: Reputation: Disabled
qt5-styleplugins fails to build since the upgrade to Qt 5.15.0. It contains the gtk2 style which allows Qt5 to adopt the GTK2 settings and it looks like that it exactly fails to build that:
Code:
qgtkstyle.cpp: In member function 'virtual QRect QGtkStyle::subControlRect(QStyle::ComplexControl, const QStyleOptionComplex*, QStyle::SubControl, const QWidget*) const':
qgtkstyle.cpp:3716:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
 3716 |             if (tb->titleBarFlags & Qt::WindowContextHelpButtonHint)
      |             ^~
qgtkstyle.cpp:3718:9: note: here
 3718 |         case SC_TitleBarMinButton:
      |         ^~~~
qgtkstyle.cpp:3719:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
 3719 |             if (!isMinimized && (tb->titleBarFlags & Qt::WindowMinimizeButtonHint))
      |             ^~
qgtkstyle.cpp:3723:9: note: here
 3723 |         case SC_TitleBarNormalButton:
      |         ^~~~
qgtkstyle.cpp:3724:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
 3724 |             if (isMinimized && (tb->titleBarFlags & Qt::WindowMinimizeButtonHint))
      |             ^~
qgtkstyle.cpp:3730:9: note: here
 3730 |         case SC_TitleBarMaxButton:
      |         ^~~~
qgtkstyle.cpp:3731:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
 3731 |             if (!isMaximized && (tb->titleBarFlags & Qt::WindowMaximizeButtonHint))
      |             ^~
qgtkstyle.cpp:3735:9: note: here
 3735 |         case SC_TitleBarShadeButton:
      |         ^~~~
qgtkstyle.cpp:3736:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
 3736 |             if (!isMinimized && (tb->titleBarFlags & Qt::WindowShadeButtonHint))
      |             ^~
qgtkstyle.cpp:3740:9: note: here
 3740 |         case SC_TitleBarUnshadeButton:
      |         ^~~~
qgtkstyle.cpp:3741:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
 3741 |             if (isMinimized && (tb->titleBarFlags & Qt::WindowShadeButtonHint))
      |             ^~
qgtkstyle.cpp:3745:9: note: here
 3745 |         case SC_TitleBarCloseButton:
      |         ^~~~
make[4]: *** [Makefile:745: .obj/qgtkstyle.o] Error 1
make[4]: Leaving directory '/tmp/SBo/qtstyleplugins-335dbece103e2cbf6c7cf819ab6672c2956b17b3/src/plugins/styles/gtk2'
make[3]: *** [Makefile:151: sub-gtk2-make_first] Error 2
make[3]: Leaving directory '/tmp/SBo/qtstyleplugins-335dbece103e2cbf6c7cf819ab6672c2956b17b3/src/plugins/styles'
make[2]: *** [Makefile:73: sub-styles-make_first] Error 2
make[2]: Leaving directory '/tmp/SBo/qtstyleplugins-335dbece103e2cbf6c7cf819ab6672c2956b17b3/src/plugins'
make[1]: *** [Makefile:47: sub-plugins-make_first] Error 2
make[1]: Leaving directory '/tmp/SBo/qtstyleplugins-335dbece103e2cbf6c7cf819ab6672c2956b17b3/src'
make: *** [Makefile:47: sub-src-make_first] Error 2
The last code commit in the upstream repository is about three years ago.
 
Old 06-17-2020, 08:19 AM   #2818
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,111

Original Poster
Rep: Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183
Quote:
Originally Posted by lioh View Post
qt5-styleplugins fails to build since the upgrade to Qt 5.15.0. It contains the gtk2 style which allows Qt5 to adopt the GTK2 settings and it looks like that it exactly fails to build that:
Code:
qgtkstyle.cpp: In member function 'virtual QRect QGtkStyle::subControlRect(QStyle::ComplexControl, const QStyleOptionComplex*, QStyle::SubControl, const QWidget*) const':
qgtkstyle.cpp:3716:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
 3716 |             if (tb->titleBarFlags & Qt::WindowContextHelpButtonHint)
      |             ^~
qgtkstyle.cpp:3718:9: note: here
 3718 |         case SC_TitleBarMinButton:
      |         ^~~~
qgtkstyle.cpp:3719:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
 3719 |             if (!isMinimized && (tb->titleBarFlags & Qt::WindowMinimizeButtonHint))
      |             ^~
qgtkstyle.cpp:3723:9: note: here
 3723 |         case SC_TitleBarNormalButton:
      |         ^~~~
qgtkstyle.cpp:3724:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
 3724 |             if (isMinimized && (tb->titleBarFlags & Qt::WindowMinimizeButtonHint))
      |             ^~
qgtkstyle.cpp:3730:9: note: here
 3730 |         case SC_TitleBarMaxButton:
      |         ^~~~
qgtkstyle.cpp:3731:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
 3731 |             if (!isMaximized && (tb->titleBarFlags & Qt::WindowMaximizeButtonHint))
      |             ^~
qgtkstyle.cpp:3735:9: note: here
 3735 |         case SC_TitleBarShadeButton:
      |         ^~~~
qgtkstyle.cpp:3736:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
 3736 |             if (!isMinimized && (tb->titleBarFlags & Qt::WindowShadeButtonHint))
      |             ^~
qgtkstyle.cpp:3740:9: note: here
 3740 |         case SC_TitleBarUnshadeButton:
      |         ^~~~
qgtkstyle.cpp:3741:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
 3741 |             if (isMinimized && (tb->titleBarFlags & Qt::WindowShadeButtonHint))
      |             ^~
qgtkstyle.cpp:3745:9: note: here
 3745 |         case SC_TitleBarCloseButton:
      |         ^~~~
make[4]: *** [Makefile:745: .obj/qgtkstyle.o] Error 1
make[4]: Leaving directory '/tmp/SBo/qtstyleplugins-335dbece103e2cbf6c7cf819ab6672c2956b17b3/src/plugins/styles/gtk2'
make[3]: *** [Makefile:151: sub-gtk2-make_first] Error 2
make[3]: Leaving directory '/tmp/SBo/qtstyleplugins-335dbece103e2cbf6c7cf819ab6672c2956b17b3/src/plugins/styles'
make[2]: *** [Makefile:73: sub-styles-make_first] Error 2
make[2]: Leaving directory '/tmp/SBo/qtstyleplugins-335dbece103e2cbf6c7cf819ab6672c2956b17b3/src/plugins'
make[1]: *** [Makefile:47: sub-plugins-make_first] Error 2
make[1]: Leaving directory '/tmp/SBo/qtstyleplugins-335dbece103e2cbf6c7cf819ab6672c2956b17b3/src'
make: *** [Makefile:47: sub-src-make_first] Error 2
The last code commit in the upstream repository is about three years ago.
I just took some patches for it from Archlinux's AUR

http://cgit.ponce.cc/slackbuilds/com...5-styleplugins
 
Old 06-17-2020, 11:07 AM   #2819
lioh
Member
 
Registered: Aug 2019
Location: Switzerland
Distribution: Slackware
Posts: 194

Rep: Reputation: Disabled
Quote:
I just took some patches for it from Archlinux's AUR
Works, thanks ponce.

Greetings
Lioh
 
Old 06-17-2020, 10:53 PM   #2820
nullptr
Member
 
Registered: Nov 2019
Posts: 50

Rep: Reputation: Disabled
Quote:
Originally Posted by ponce View Post
builds fine here...
which version number are you trying to build?

are you by any chance using the gcc in /testing? in this case please refer to a previous post
Sorry for the noise. I should have updated vulkan-sdk.
 
  


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 02:52 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