This forum has been archived. All content is frozen. Please use KDE Discuss instead.

[Solved] Git build failure with Vc

Tags: None
(comma "," separated)
User avatar
Gbear7
Registered Member
Posts
77
Karma
0
OS

[Solved] Git build failure with Vc

Sun Apr 16, 2017 10:58 pm
Hello to the devs and forum.

Every time to try to build krita from git I get this message
[ 26%] Linking CXX shared module krita_shape_text.so
In file included from /usr/include/Vc/simdize:3:0,
from /usr/include/Vc/Vc:37,
from /home/rbear/krita/src/libs/pigment/compositeops/KoVcMultiArchBuildSupport.h:39,
from /home/rbear/krita/src/libs/image/kis_brush_mask_applicator_factories.h:22,
from /home/rbear/krita/build/libs/image/kis_brush_mask_applicator_factories_Scalar.cpp:19:
/usr/include/Vc/common/simdize.h:758:1: error: static assertion failed: is_constructible_with_double_brace<int> does not work as expected
static_assert(
^
/usr/include/Vc/common/simdize.h:762:1: error: static assertion failed: is_constructible_with_double_brace<tuple> does not work as expected
static_assert(
^
/usr/include/Vc/common/simdize.h:765:1: error: static assertion failed: is_constructible_with_double_brace<array> does not work as expected
static_assert(is_constructible_with_double_brace<std::array<int, 3>, int, int, int>::value,
^
[ 26%] Building CXX object libs/image/CMakeFiles/kritaimage.dir/kis_name_server.cpp.o
[ 26%] Building CXX object libs/image/CMakeFiles/kritaimage.dir/kis_node.cpp.o
[ 30%] Built target krita_shape_text
[ 30%] Building CXX object libs/image/CMakeFiles/kritaimage.dir/kis_node_facade.cpp.o
[ 30%] Building CXX object libs/image/CMakeFiles/kritaimage.dir/kis_node_progress_proxy.cpp.o
make[2]: *** [libs/image/CMakeFiles/kritaimage.dir/build.make:4143: libs/image/CMakeFiles/kritaimage.dir/kis_brush_mask_applicator_factories_Scalar.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:7480: libs/image/CMakeFiles/kritaimage.dir/all] Error 2
make: *** [Makefile:139: all] Error 2

I rebuilt the vc package and tried it again and I still get the same error in the build.
Thanks

Edit: Regressing the version of vc fixed the issue. For some reason the newer version was broken, I had it installed for the last krita build and I had no issues with it, and after a recent update I guess something was changed and I guess breaking the build.

Thanks again.
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS
Which version broke the build? Vc, unfortunately, is seldom source-compatible from version to version...
User avatar
Gbear7
Registered Member
Posts
77
Karma
0
OS
Well it is the gentoo build, it was version 1.3.1 I had installed and I reverted to 1.3.0. I am wondering if the build got messed up. But I just tried to start it up and it will not even open now. So I am going to try to rebuild it again.
This is the out put of gdb:
Code: Select all
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
The versions of libVc.a (1.3.0) and Vc/version.h (1.3.1) are incompatible. Aborting.

Program received signal SIGABRT, Aborted.
0x00007fffee113107 in raise () from /lib64/libc.so.6
So it looks like it is the Vc that is still an issue still.

Well I reverted further cause I guess those both where not supported. Which I don't know why it worked before and now it is failing the builds. So I am building it all over again to see if it will work.
User avatar
Gbear7
Registered Member
Posts
77
Karma
0
OS
Well I rebuild it all again and it works now.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot], Yahoo [Bot]