07-30-2020, 04:37 PM
(07-30-2020, 12:55 PM)xmixahlx Wrote: @spikerguyNo I can't move it to manjaro yet as we have to support many devices and this might not work for all so we might have to maintain multiple packages and I am not yet ready to do that.
I'll check it out. I've been rebuilding kodi with major changes to kwiboo's linux kernel patch, which hasn't occurred for a while.
the eventual solution for me will be to create a custom signed debian repository. hopeful for august. real life has moved way back all of these projects for me, unfortunately.
have you been able to adapt any of these scripts for manjaro?
I tried to build kodi again and it failed with pvr not building correctly which might be some library upgrade issue.
Code:
Scanning dependencies of target pvr_addons
[ 36%] Building CXX object build/pvr/addons/CMakeFiles/pvr_addons.dir/PVRClients.cpp.o
/home/spikerguy/Desktop/pkg-buuild/kodi/src/xbmc-18.6-Leia/xbmc/network/WebServer.cpp: In member function ‘void CWebServer::SetupPostDataProcessing(const HTTPRequest&, CWebServer::ConnectionHandler*, std::shared_ptr<IHTTPRequestHandler>, void**) const’:
/home/spikerguy/Desktop/pkg-buuild/kodi/src/xbmc-18.6-Leia/xbmc/network/WebServer.cpp:503:106: error: invalid conversion from ‘int (*)(void*, MHD_ValueKind, const char*, const char*, const char*, const char*, const char*, uint64_t, size_t)’ {aka ‘int (*)(void*, MHD_ValueKind, const char*, const char*, const char*, const char*, const char*, long unsigned int, long unsigned int)’} to ‘MHD_PostDataIterator’ {aka ‘MHD_Result (*)(void*, MHD_ValueKind, const char*, const char*, const char*, const char*, const char*, long unsigned int, long unsigned int)’} [-fpermissive]
503 | connectionHandler->postprocessor = MHD_create_post_processor(request.connection, MAX_POST_BUFFER_SIZE, &CWebServer::HandlePostField, static_cast<void*>(connectionHandler));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int (*)(void*, MHD_ValueKind, const char*, const char*, const char*, const char*, const char*, uint64_t, size_t) {aka int (*)(void*, MHD_ValueKind, const char*, const char*, const char*, const char*, const char*, long unsigned int, long unsigned int)}
In file included from /home/spikerguy/Desktop/pkg-buuild/kodi/src/xbmc-18.6-Leia/xbmc/network/httprequesthandler/IHTTPRequestHandler.h:21,
from /home/spikerguy/Desktop/pkg-buuild/kodi/src/xbmc-18.6-Leia/xbmc/network/WebServer.h:14,
from /home/spikerguy/Desktop/pkg-buuild/kodi/src/xbmc-18.6-Leia/xbmc/network/WebServer.cpp:9:
/usr/include/microhttpd.h:3465:49: note: initializing argument 3 of ‘MHD_PostProcessor* MHD_create_post_processor(MHD_Connection*, size_t, MHD_PostDataIterator, void*)’
3465 | MHD_PostDataIterator iter, void *iter_cls);
| ~~~~~~~~~~~~~~~~~~~~~^~~~
/home/spikerguy/Desktop/pkg-buuild/kodi/src/xbmc-18.6-Leia/xbmc/network/WebServer.cpp: In member function ‘MHD_Daemon* CWebServer::StartMHD(unsigned int, int)’:
/home/spikerguy/Desktop/pkg-buuild/kodi/src/xbmc-18.6-Leia/xbmc/network/WebServer.cpp:1127:27: error: invalid conversion from ‘int (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, size_t*, void**)’ {aka ‘int (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, long unsigned int*, void**)’} to ‘MHD_AccessHandlerCallback’ {aka ‘MHD_Result (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, long unsigned int*, void**)’} [-fpermissive]
1127 | &CWebServer::AnswerToConnection,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, size_t*, void**) {aka int (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, long unsigned int*, void**)}
In file included from /home/spikerguy/Desktop/pkg-buuild/kodi/src/xbmc-18.6-Leia/xbmc/network/httprequesthandler/IHTTPRequestHandler.h:21,
from /home/spikerguy/Desktop/pkg-buuild/kodi/src/xbmc-18.6-Leia/xbmc/network/WebServer.h:14,
from /home/spikerguy/Desktop/pkg-buuild/kodi/src/xbmc-18.6-Leia/xbmc/network/WebServer.cpp:9:
/usr/include/microhttpd.h:2428:45: note: initializing argument 5 of ‘MHD_Daemon* MHD_start_daemon(unsigned int, uint16_t, MHD_AcceptPolicyCallback, void*, MHD_AccessHandlerCallback, void*, ...)’
2428 | MHD_AccessHandlerCallback dh, void *dh_cls,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/home/spikerguy/Desktop/pkg-buuild/kodi/src/xbmc-18.6-Leia/xbmc/network/WebServer.cpp:1154:27: error: invalid conversion from ‘int (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, size_t*, void**)’ {aka ‘int (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, long unsigned int*, void**)’} to ‘MHD_AccessHandlerCallback’ {aka ‘MHD_Result (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, long unsigned int*, void**)’} [-fpermissive]
1154 | &CWebServer::AnswerToConnection,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, size_t*, void**) {aka int (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, long unsigned int*, void**)}
In file included from /home/spikerguy/Desktop/pkg-buuild/kodi/src/xbmc-18.6-Leia/xbmc/network/httprequesthandler/IHTTPRequestHandler.h:21,
from /home/spikerguy/Desktop/pkg-buuild/kodi/src/xbmc-18.6-Leia/xbmc/network/WebServer.h:14,
from /home/spikerguy/Desktop/pkg-buuild/kodi/src/xbmc-18.6-Leia/xbmc/network/WebServer.cpp:9:
/usr/include/microhttpd.h:2428:45: note: initializing argument 5 of ‘MHD_Daemon* MHD_start_daemon(unsigned int, uint16_t, MHD_AcceptPolicyCallback, void*, MHD_AccessHandlerCallback, void*, ...)’
2428 | MHD_AccessHandlerCallback dh, void *dh_cls,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~
[ 36%] Building CXX object build/peripherals/devices/CMakeFiles/peripherals_devices.dir/PeripheralTuner.cpp.o
[ 36%] Building CXX object build/peripherals/devices/CMakeFiles/peripherals_devices.dir/PeripheralCecAdapter.cpp.o
Scanning dependencies of target pvr_channels
[ 36%] Building CXX object build/pvr/channels/CMakeFiles/pvr_channels.dir/PVRChannel.cpp.o
make[2]: *** [build/network/CMakeFiles/network.dir/build.make:290: build/network/CMakeFiles/network.dir/WebServer.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 36%] Building CXX object build/pvr/channels/CMakeFiles/pvr_channels.dir/PVRChannelGroup.cpp.o
[ 36%] Linking CXX static library profiles.a
[ 36%] Built target profiles
Scanning dependencies of target pvr_dialogs
[ 36%] Building CXX object build/pvr/dialogs/CMakeFiles/pvr_dialogs.dir/GUIDialogPVRChannelManager.cpp.o
Scanning dependencies of target pvr_epg
[ 36%] Building CXX object build/pvr/epg/CMakeFiles/pvr_epg.dir/EpgContainer.cpp.o
[ 36%] Building CXX object build/pvr/CMakeFiles/pvr.dir/PVRGUIInfo.cpp.o
Kodi team replied to the issue I raised.
Will be back with some update regarding rkvdec once I try it again.
Thanks.
Manjaro ARM Team.
Devices: Pinebook Pro & PinePhone.
Devices: Pinebook Pro & PinePhone.