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.
if you wish vvdec and vvenc to be updated (the version we have ATM build fine also on current) your best option is to write to the maintainer proposing him these patches (they should probably be ok also on 15.0)...
Thank you for your advice. I'll e-mmail my request to the maintainer.
And I also appreciate you and all of SBo teams frequent effort and support.
as you can see you have spurious libprotobuf libraries in your system: you can check if you have installed them by packages with
Code:
grep libprotobuf /var/log/packages/*
...but, to be fair to the others, this is offtopic in this thread, I suggest you to open another: as explained in the first post you are supposed to build stuff from scratch in a clean and full installation of Slackware current before reporting here...
Back to wishing Kompare had inline editing or meld could be adopted to a Qt/KDE GUI.
You might try looking at Beyond Compare (https://www.scootersoftware.com); it's the only commercial software that I pay for, but it's worth it. No-BS licensing, a 30-day trial, and pretty good support from the developer.
[ 96%] Building CXX object src/helper/CMakeFiles/corectrl_helper.dir/pmon/procpidsolver.cpp.o
[ 97%] Building CXX object src/helper/CMakeFiles/corectrl_helper.dir/pmon/nlprocexecsocket.cpp.o
In file included from /tmp/SBo/corectrl-v1.3.2/src/helper/pmon/nlprocexecsocket.cpp:9:
/usr/include/linux/cn_proc.h: In function ‘proc_cn_event valid_event(proc_cn_event)’:
/usr/include/linux/cn_proc.h:72:17: error: invalid conversion from ‘unsigned int’ to ‘proc_cn_event’ [-fpermissive]
72 | ev_type &= PROC_EVENT_ALL;
| ^
| |
| unsigned int
/tmp/SBo/corectrl-v1.3.2/src/helper/pmon/nlprocexecsocket.cpp: In member function ‘ProcessEvent NLProcExecSocket::waitForEvent() const’:
/tmp/SBo/corectrl-v1.3.2/src/helper/pmon/nlprocexecsocket.cpp:67:24: error: ‘PROC_EVENT_EXEC’ is not a member of ‘proc_event’
67 | case proc_event::PROC_EVENT_EXEC:
| ^~~~~~~~~~~~~~~
/tmp/SBo/corectrl-v1.3.2/src/helper/pmon/nlprocexecsocket.cpp:71:24: error: ‘PROC_EVENT_EXIT’ is not a member of ‘proc_event’
71 | case proc_event::PROC_EVENT_EXIT:
| ^~~~~~~~~~~~~~~
In file included from /tmp/SBo/corectrl-v1.3.2/src/helper/pmon/nlprocexecsocket.cpp:11:
/tmp/SBo/corectrl-v1.3.2/src/helper/pmon/nlprocexecsocket.cpp: In member function ‘int NLProcExecSocket::installSocketFilter() const’:
/tmp/SBo/corectrl-v1.3.2/src/helper/pmon/nlprocexecsocket.cpp:141:61: error: ‘PROC_EVENT_EXEC’ is not a member of ‘proc_event’
141 | BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, htonl(proc_event::PROC_EVENT_EXEC), 0, 6),
| ^~~~~~~~~~~~~~~
/tmp/SBo/corectrl-v1.3.2/src/helper/pmon/nlprocexecsocket.cpp:159:61: error: ‘PROC_EVENT_EXIT’ is not a member of ‘proc_event’
159 | BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, htonl(proc_event::PROC_EVENT_EXIT), 0, 6),
| ^~~~~~~~~~~~~~~
make[2]: *** [src/helper/CMakeFiles/corectrl_helper.dir/build.make:208: src/helper/CMakeFiles/corectrl_helper.dir/pmon/nlprocexecsocket.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:312: src/helper/CMakeFiles/corectrl_helper.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
[ 96%] Building CXX object src/helper/CMakeFiles/corectrl_helper.dir/pmon/procpidsolver.cpp.o
[ 97%] Building CXX object src/helper/CMakeFiles/corectrl_helper.dir/pmon/nlprocexecsocket.cpp.o
In file included from /tmp/SBo/corectrl-v1.3.2/src/helper/pmon/nlprocexecsocket.cpp:9:
/usr/include/linux/cn_proc.h: In function ‘proc_cn_event valid_event(proc_cn_event)’:
/usr/include/linux/cn_proc.h:72:17: error: invalid conversion from ‘unsigned int’ to ‘proc_cn_event’ [-fpermissive]
72 | ev_type &= PROC_EVENT_ALL;
| ^
| |
| unsigned int
/tmp/SBo/corectrl-v1.3.2/src/helper/pmon/nlprocexecsocket.cpp: In member function ‘ProcessEvent NLProcExecSocket::waitForEvent() const’:
/tmp/SBo/corectrl-v1.3.2/src/helper/pmon/nlprocexecsocket.cpp:67:24: error: ‘PROC_EVENT_EXEC’ is not a member of ‘proc_event’
67 | case proc_event::PROC_EVENT_EXEC:
| ^~~~~~~~~~~~~~~
/tmp/SBo/corectrl-v1.3.2/src/helper/pmon/nlprocexecsocket.cpp:71:24: error: ‘PROC_EVENT_EXIT’ is not a member of ‘proc_event’
71 | case proc_event::PROC_EVENT_EXIT:
| ^~~~~~~~~~~~~~~
In file included from /tmp/SBo/corectrl-v1.3.2/src/helper/pmon/nlprocexecsocket.cpp:11:
/tmp/SBo/corectrl-v1.3.2/src/helper/pmon/nlprocexecsocket.cpp: In member function ‘int NLProcExecSocket::installSocketFilter() const’:
/tmp/SBo/corectrl-v1.3.2/src/helper/pmon/nlprocexecsocket.cpp:141:61: error: ‘PROC_EVENT_EXEC’ is not a member of ‘proc_event’
141 | BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, htonl(proc_event::PROC_EVENT_EXEC), 0, 6),
| ^~~~~~~~~~~~~~~
/tmp/SBo/corectrl-v1.3.2/src/helper/pmon/nlprocexecsocket.cpp:159:61: error: ‘PROC_EVENT_EXIT’ is not a member of ‘proc_event’
159 | BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, htonl(proc_event::PROC_EVENT_EXIT), 0, 6),
| ^~~~~~~~~~~~~~~
make[2]: *** [src/helper/CMakeFiles/corectrl_helper.dir/build.make:208: src/helper/CMakeFiles/corectrl_helper.dir/pmon/nlprocexecsocket.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:312: src/helper/CMakeFiles/corectrl_helper.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
I tried to install kodi 21 (recently upgraded on your repo) in Slackware Current
After
Code:
sqg -p kodi
sbopkg -i kodi
I got this errors involving libavcodec:
Code:
src/libavcodec/nvenc.c:1446:8: error: ‘NV_ENC_CONFIG_AV1’ has no member named ‘inputPixelBitDepthMinus8’
1446 | av1->inputPixelBitDepthMinus8 = IS_10BIT(ctx->data_pix_fmt) ? 2 : 0;
| ^~
src/libavcodec/nvenc.c:1447:8: error: ‘NV_ENC_CONFIG_AV1’ has no member named ‘pixelBitDepthMinus8’
1447 | av1->pixelBitDepthMinus8 = (IS_10BIT(ctx->data_pix_fmt) || ctx->highbitdepth) ? 2 : 0;
| ^~
src/libavcodec/nvenc.c: In function ‘nvenc_map_buffer_format’:
src/libavcodec/nvenc.c:1676:16: error: ‘NV_ENC_BUFFER_FORMAT_YV12_PL’ undeclared (first use in this function); did you mean ‘NV_ENC_BUFFER_FORMAT_YV12’?
1676 | return NV_ENC_BUFFER_FORMAT_YV12_PL;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| NV_ENC_BUFFER_FORMAT_YV12
src/libavcodec/nvenc.c:1676:16: note: each undeclared identifier is reported only once for each function it appears in
src/libavcodec/nvenc.c:1678:16: error: ‘NV_ENC_BUFFER_FORMAT_NV12_PL’ undeclared (first use in this function); did you mean ‘NV_ENC_BUFFER_FORMAT_NV12’?
1678 | return NV_ENC_BUFFER_FORMAT_NV12_PL;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| NV_ENC_BUFFER_FORMAT_NV12
src/libavcodec/nvenc.c:1684:16: error: ‘NV_ENC_BUFFER_FORMAT_YUV444_PL’ undeclared (first use in this function); did you mean ‘NV_ENC_BUFFER_FORMAT_YUV444’?
1684 | return NV_ENC_BUFFER_FORMAT_YUV444_PL;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| NV_ENC_BUFFER_FORMAT_YUV444
src/libavcodec/nvenc.c: In function ‘reconfig_encoder’:
src/libavcodec/nvenc.c:2537:12: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
2537 | if (dw != ctx->init_encode_params.darWidth || dh != ctx->init_encode_params.darHeight) {
| ^~
src/libavcodec/nvenc.c:2537:54: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
2537 | if (dw != ctx->init_encode_params.darWidth || dh != ctx->init_encode_params.darHeight) {
| ^~
src/libavcodec/nvenc.c:2571:84: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
2571 | if (avctx->rc_buffer_size > 0 && ctx->encode_config.rcParams.vbvBufferSize != avctx->rc_buffer_size) {
| ^~
src/libavcodec/nvenc.c: In function ‘process_output_surface’:
src/libavcodec/nvenc.c:2357:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
2357 | pkt->flags |= AV_PKT_FLAG_KEY;
src/libavcodec/nvenc.c:2358:5: note: here
2358 | case NV_ENC_PIC_TYPE_I:
| ^~~~
make[6]: *** [/tmp/SBo/kodi-build/build/ffmpeg/src/ffmpeg/ffbuild/common.mak:81: libavcodec/nvenc.o] Error 1
make[5]: *** [CMakeFiles/ffmpeg.dir/build.make:86: ffmpeg-prefix/src/ffmpeg-stamp/ffmpeg-build] Error 2
make[4]: *** [CMakeFiles/Makefile2:83: CMakeFiles/ffmpeg.dir/all] Error 2
make[3]: *** [Makefile:136: all] Error 2
make[2]: *** [CMakeFiles/ffmpeg.dir/build.make:86: build/ffmpeg/src/ffmpeg-stamp/ffmpeg-build] Error 2
make[1]: *** [CMakeFiles/Makefile2:4840: CMakeFiles/ffmpeg.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
Jeremy updated kodi to version 21.0 and now there's this note in the SlackBuild:
Code:
FINAL NOTE:
FFMPEG on 15.0 is too old to be used in kodi v21, so it is using an
internal version of 6.0.1. If you have FFMPEG v6+ installed (probably
mainly -current users), you can have kodi build against the system
version by passing FFMPEG=external when building. System versions of
FFMPEG may need to be recompiled to enable certain functionality like
AV1 after installing dav1d.
like suggested there I just passed the additional parameter FFMPEG=external and it built fine here
Jeremy updated kodi to version 21.0 and now there's this note in the SlackBuild:
Code:
FINAL NOTE:
FFMPEG on 15.0 is too old to be used in kodi v21, so it is using an
internal version of 6.0.1. If you have FFMPEG v6+ installed (probably
mainly -current users), you can have kodi build against the system
version by passing FFMPEG=external when building. System versions of
FFMPEG may need to be recompiled to enable certain functionality like
AV1 after installing dav1d.
like suggested there I just passed the additional parameter FFMPEG=external and it built fine here
Code:
sbopkg -i kodi:FFMPEG=external
Thanks Ponce! as always You are very kind. kodi compiled ok. I have to confess i did not get howto pass the FFMPEG=external parameter.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.