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.
[...]
[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
[...]
[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
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...
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.
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.
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!
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
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.
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.