diablodiab / scummvm

ScummVM main repository
https://www.scummvm.org
GNU General Public License v2.0
6 stars 0 forks source link

[Build fails] error: could not convert '0' from 'int' to 'AGS3::AGS::Shared::PBitmap' #2

Closed SupervisedThinking closed 2 years ago

SupervisedThinking commented 3 years ago

I've tried to switch over my package https://github.com/SupervisedThinking/LibreELEC-RR/blob/master-rr/packages/supervisedthinking/emulation/libretro/scummvm/package.mk to your repo & updated it to latest https://github.com/diablodiab/scummvm/commit/c0d96e0922247eea692bdc0d579ecbabc2a205d9 but it fails to compile:

Compiling globals.cpp...
In file included from ../../../../engines/ags/ags.cpp:45:
../../../../engines/ags/engine/ac/game_state.h:186:40: error: could not convert '0' from 'int' to 'AGS3::AGS::Shared::PBitmap' {aka 'Common::SharedPtr<AGS3::AGS::Shared::Bitmap>'}
  186 |  Shared::PBitmap raw_drawing_surface = 0;
      |                                        ^
      |                                        |
      |                                        int
make: *** [Makefile:561: engines/ags/ags.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from ../../../../engines/ags/globals.cpp:46:
../../../../engines/ags/engine/ac/game_state.h:186:40: error: could not convert '0' from 'int' to 'AGS3::AGS::Shared::PBitmap' {aka 'Common::SharedPtr<AGS3::AGS::Shared::Bitmap>'}
  186 |  Shared::PBitmap raw_drawing_surface = 0;
      |                                        ^
      |                                        |
      |                                        int
make: *** [Makefile:559: engines/ags/globals.o] Error 1
make: Leaving directory '/build/LibreELEC-RR/build.LibreELEC-RK3399.arm-10.0-devel/build/scummvm-c0d96e0922247eea692bdc0d579ecbabc2a205d9/backends/platform/libretro/build'
DrUm78 commented 3 years ago

You need to add those lines for your target in the Makefile (https://github.com/diablodiab/scummvm/commit/c0d96e0922247eea692bdc0d579ecbabc2a205d9):

CXXFLAGS := -std=c++11
DEFINES += -DUSE_CXX11
SupervisedThinking commented 3 years ago

Shouldn't this be hanled by this? https://github.com/diablodiab/scummvm/blob/c0d96e0922247eea692bdc0d579ecbabc2a205d9/backends/platform/libretro/build/Makefile#L76-L82

DrUm78 commented 3 years ago

That's exactly what I just wrote. EDIT: Oh you mean you already build for Unix? In that case, yes that should work.

SupervisedThinking commented 3 years ago

Well I'm building the package for a RK3399 SBC so Linux & ARM but it failed for me, probably because platform is overwritten by armv

I've added a patch:

--- a/backends/platform/libretro/build/Makefile
+++ b/backends/platform/libretro/build/Makefile
@@ -270,7 +270,8 @@
    HAVE_MT32EMU = 0
 else ifneq (,$(findstring armv,$(platform)))
    TARGET := $(TARGET_NAME)_libretro.so
-   DEFINES += -fPIC -Wno-multichar -D_ARM_ASSEM_
+   CXXFLAGS := -std=c++11
+   DEFINES += -fPIC -Wno-multichar -D_ARM_ASSEM_ -DUSE_CXX11
    LDFLAGS += -shared -Wl,--version-script=../link.T -fPIC
    USE_VORBIS = 0
    USE_THEORADEC = 0

which at least seems to build scummvm (for now, still compiling) - but still have to test the core.

DrUm78 commented 3 years ago

Then yes you needed to add those 2 lines for "arm" platform like you did because diablodiab's fix was only for "unix" platform. It should work now.

SupervisedThinking commented 3 years ago

Yes I can finish the compilation & run SCUMMVM but unfortunately I've the same trouble as with the core maintained by the libretro guys. It boots the core but then it's frozen:

Strace

rockpro64:~ # strace /usr/bin/retroarch.start -L /tmp/cores/scummvm_libretro.so
execve("/usr/bin/retroarch.start", ["/usr/bin/retroarch.start", "-L", "/tmp/cores/scummvm_libretro.so"], 0xffc07ed8 /* 20 vars */) = 0
brk(NULL)                               = 0xf61000
uname({sysname="Linux", nodename="rockpro64", ...}) = 0
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf794a000
access("/etc/ld.so.preload", R_OK)      = 0
openat(AT_FDCWD, "/etc/ld.so.preload", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0664, st_size=26, ...}) = 0
mmap2(NULL, 26, PROT_READ|PROT_WRITE, MAP_PRIVATE, 3, 0) = 0xf7949000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/libarmmem-v7l.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0h\3\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0775, st_size=17664, ...}) = 0
mmap2(NULL, 81964, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf7905000
mprotect(0xf7909000, 61440, PROT_NONE)  = 0
mmap2(0xf7918000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0xf7918000
close(3)                                = 0
munmap(0xf7949000, 26)                  = 0
openat(AT_FDCWD, "/usr/lib/tls/v8l/neon/vfp/libm.so.6", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/v8l/neon/vfp", 0xffa69c30) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/tls/v8l/neon/libm.so.6", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/v8l/neon", 0xffa69c30) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/tls/v8l/vfp/libm.so.6", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/v8l/vfp", 0xffa69c30) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/tls/v8l/libm.so.6", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/v8l", 0xffa69c30)  = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/tls/neon/vfp/libm.so.6", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/neon/vfp", 0xffa69c30) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/tls/neon/libm.so.6", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/neon", 0xffa69c30) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/tls/vfp/libm.so.6", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/vfp", 0xffa69c30)  = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/tls/libm.so.6", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls", 0xffa69c30)      = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/v8l/neon/vfp/libm.so.6", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/v8l/neon/vfp", 0xffa69c30) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/v8l/neon/libm.so.6", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/v8l/neon", 0xffa69c30) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/v8l/vfp/libm.so.6", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/v8l/vfp", 0xffa69c30)  = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/v8l/libm.so.6", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/v8l", 0xffa69c30)      = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/neon/vfp/libm.so.6", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/neon/vfp", 0xffa69c30) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/neon/libm.so.6", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/neon", 0xffa69c30)     = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/vfp/libm.so.6", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/vfp", 0xffa69c30)      = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/libm.so.6", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\0u\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=365992, ...}) = 0
mmap2(NULL, 430196, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf789b000
mprotect(0xf78f4000, 61440, PROT_NONE)  = 0
mmap2(0xf7903000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x58000) = 0xf7903000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/libc.so.6", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0,}\1\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=10607136, ...}) = 0
mmap2(NULL, 1347924, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf7751000
mprotect(0xf7885000, 65536, PROT_NONE)  = 0
mmap2(0xf7895000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x134000) = 0xf7895000
mmap2(0xf7898000, 8532, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xf7898000
close(3)                                = 0
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf7948000
set_tls(0xf7948580)                     = 0
mprotect(0xf7895000, 8192, PROT_READ)   = 0
mprotect(0xf7903000, 4096, PROT_READ)   = 0
mprotect(0xf7918000, 4096, PROT_READ)   = 0
mprotect(0x9c000, 4096, PROT_READ)      = 0
mprotect(0xf794d000, 4096, PROT_READ)   = 0
getuid32()                              = 0
brk(NULL)                               = 0xf61000
brk(0xf82000)                           = 0xf82000
getpid()                                = 1497
rt_sigaction(SIGCHLD, {sa_handler=0x37234, sa_mask=~[RTMIN RT_1], sa_flags=SA_RESTORER, sa_restorer=0xf7780030}, NULL, 8) = 0
getppid()                               = 1494
stat64("/storage", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
stat64(".", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
openat(AT_FDCWD, "/usr/bin/retroarch.start", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_DUPFD_CLOEXEC, 10)         = 10
close(3)                                = 0
rt_sigaction(SIGINT, NULL, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGINT, {sa_handler=0x37234, sa_mask=~[RTMIN RT_1], sa_flags=SA_RESTORER, sa_restorer=0xf7780030}, NULL, 8) = 0
rt_sigaction(SIGQUIT, NULL, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=~[RTMIN RT_1], sa_flags=SA_RESTORER, sa_restorer=0xf7780030}, NULL, 8) = 0
rt_sigaction(SIGTERM, NULL, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGHUP, {sa_handler=SIG_DFL, sa_mask=[HUP], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0xf7780030}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
read(10, "#!/bin/sh\n# SPDX-License-Identif"..., 1023) = 792
openat(AT_FDCWD, "/etc/profile", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_DUPFD_CLOEXEC, 10)         = 11
close(3)                                = 0
read(11, "# SPDX-License-Identifier: GPL-2"..., 1023) = 661
pipe([3, 4])                            = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xf79480a8) = 1498
close(4)                                = 0
read(3, "boot=UUID=2401-0537 disk=UUID=f8"..., 128) = 128
read(3, "t_pool=2M cec.debounce_ms=5000\n", 128) = 31
read(3, "", 128)                        = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1498, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
sigreturn({mask=[]})                    = 0
close(3)                                = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 1498
wait4(-1, 0xffa69f5c, WNOHANG, NULL)    = -1 ECHILD (No child processes)
stat64("/storage/.cache/debug.libreelec", 0xffa69e40) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/profile.d", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_CLOEXEC|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0775, st_size=271, ...}) = 0
getdents64(3, 0xf62a38 /* 11 entries */, 32768) = 440
getdents64(3, 0xf62a38 /* 0 entries */, 32768) = 0
close(3)                                = 0
stat64("/etc/profile.d/00-addons.conf", {st_mode=S_IFREG|0664, st_size=1271, ...}) = 0
openat(AT_FDCWD, "/etc/profile.d/00-addons.conf", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_DUPFD_CLOEXEC, 10)         = 12
close(3)                                = 0
read(12, "# SPDX-License-Identifier: GPL-2"..., 1023) = 1023
openat(AT_FDCWD, "/storage/.kodi/addons", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_CLOEXEC|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
getdents64(3, 0xf6ab70 /* 21 entries */, 32768) = 936
getdents64(3, 0xf6ab70 /* 0 entries */, 32768) = 0
close(3)                                = 0
lstat64("/storage/.kodi/addons/script.module.chardet/profile.d", 0xffa69238) = -1 ENOENT (No such file or directory)
lstat64("/storage/.kodi/addons/script.module.six/profile.d", 0xffa69238) = -1 ENOENT (No such file or directory)
lstat64("/storage/.kodi/addons/metadata.common.themoviedb.org/profile.d", 0xffa69238) = -1 ENOENT (No such file or directory)
lstat64("/storage/.kodi/addons/script.module.idna/profile.d", 0xffa69238) = -1 ENOENT (No such file or directory)
lstat64("/storage/.kodi/addons/metadata.album.universal/profile.d", 0xffa69238) = -1 ENOENT (No such file or directory)
lstat64("/storage/.kodi/addons/metadata.tvshows.themoviedb.org/profile.d", 0xffa69238) = -1 ENOENT (No such file or directory)
lstat64("/storage/.kodi/addons/script.module.urllib3/profile.d", 0xffa69238) = -1 ENOENT (No such file or directory)
lstat64("/storage/.kodi/addons/script.module.requests/profile.d", 0xffa69238) = -1 ENOENT (No such file or directory)
lstat64("/storage/.kodi/addons/metadata.common.imdb.com/profile.d", 0xffa69238) = -1 ENOENT (No such file or directory)
lstat64("/storage/.kodi/addons/script.module.certifi/profile.d", 0xffa69238) = -1 ENOENT (No such file or directory)
lstat64("/storage/.kodi/addons/metadata.themoviedb.org.python/profile.d", 0xffa69238) = -1 ENOENT (No such file or directory)
lstat64("/storage/.kodi/addons/script.module.dateutil/profile.d", 0xffa69238) = -1 ENOENT (No such file or directory)
lstat64("/storage/.kodi/addons/metadata.themoviedb.org/profile.d", 0xffa69238) = -1 ENOENT (No such file or directory)
lstat64("/storage/.kodi/addons/metadata.tvshows.themoviedb.org.python/profile.d", 0xffa69238) = -1 ENOENT (No such file or directory)
lstat64("/storage/.kodi/addons/resource.language.de_de/profile.d", 0xffa69238) = -1 ENOENT (No such file or directory)
lstat64("/storage/.kodi/addons/packages/profile.d", 0xffa69238) = -1 ENOENT (No such file or directory)
lstat64("/storage/.kodi/addons/script.openweathermap.maps/profile.d", 0xffa69238) = -1 ENOENT (No such file or directory)
lstat64("/storage/.kodi/addons/weather.multi/profile.d", 0xffa69238) = -1 ENOENT (No such file or directory)
lstat64("/storage/.kodi/addons/temp/profile.d", 0xffa69238) = -1 ENOENT (No such file or directory)
stat64("/storage/.kodi/addons/*/profile.d/*.profile", 0xffa69a28) = -1 ENOENT (No such file or directory)
read(12, " eval $(xmlstarlet sel -t -m set"..., 1023) = 248
read(12, "", 1023)                      = 0
close(12)                               = 0
stat64("/etc/profile.d/52-nano.conf", {st_mode=S_IFREG|0664, st_size=127, ...}) = 0
openat(AT_FDCWD, "/etc/profile.d/52-nano.conf", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_DUPFD_CLOEXEC, 10)         = 12
close(3)                                = 0
read(12, "# SPDX-License-Identifier: GPL-2"..., 1023) = 127
read(12, "", 1023)                      = 0
close(12)                               = 0
stat64("/etc/profile.d/90-systemd.conf", {st_mode=S_IFREG|0664, st_size=127, ...}) = 0
openat(AT_FDCWD, "/etc/profile.d/90-systemd.conf", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_DUPFD_CLOEXEC, 10)         = 12
close(3)                                = 0
read(12, "# SPDX-License-Identifier: GPL-2"..., 1023) = 127
read(12, "", 1023)                      = 0
close(12)                               = 0
stat64("/etc/profile.d/900-environment-settings-common.conf", {st_mode=S_IFREG|0664, st_size=2672, ...}) = 0
openat(AT_FDCWD, "/etc/profile.d/900-environment-settings-common.conf", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_DUPFD_CLOEXEC, 10)         = 12
close(3)                                = 0
read(12, "# SPDX-License-Identifier: GPL-2"..., 1023) = 1023
stat64("/var/run/0-runtime-dir", {st_mode=S_IFDIR|0700, st_size=40, ...}) = 0
read(12, "ECORDING_PATH} ]; then\n    mkdir"..., 1023) = 1023
read(12, "ion(Moonlight-Qt,loading - pleas"..., 1023) = 626
read(12, "", 1023)                      = 0
close(12)                               = 0
stat64("/etc/profile.d/910-audio-settings-common.conf", {st_mode=S_IFREG|0664, st_size=7717, ...}) = 0
openat(AT_FDCWD, "/etc/profile.d/910-audio-settings-common.conf", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_DUPFD_CLOEXEC, 10)         = 12
close(3)                                = 0
read(12, "# SPDX-License-Identifier: GPL-2"..., 1023) = 1023
read(12, "ll disable timer-based audio sch"..., 1023) = 1023
read(12, "\"\n          fi\n\n        # Use mo"..., 1023) = 1023
read(12, "ng to do\"\n  else\n    # Unload Pu"..., 1023) = 1023
read(12, "rr-config-script: PulseAudio: mo"..., 1023) = 1023
read(12, "ice is already running\"\n    fi\n "..., 1023) = 1023
read(12, " RETROARCH_HOME=/storage/.config"..., 1023) = 1023
read(12, "ETROARCH_CONFIG}\n        echo \"r"..., 1023) = 556
read(12, "", 1023)                      = 0
close(12)                               = 0
stat64("/etc/profile.d/921-video-settings-rockchip.conf", {st_mode=S_IFREG|0664, st_size=1311, ...}) = 0
openat(AT_FDCWD, "/etc/profile.d/921-video-settings-rockchip.conf", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_DUPFD_CLOEXEC, 10)         = 12
close(3)                                = 0
read(12, "# SPDX-License-Identifier: GPL-2"..., 1023) = 1023
read(12, "QPA_PLATFORM}\n  echo \"rr-config-"..., 1023) = 288
read(12, "", 1023)                      = 0
close(12)                               = 0
stat64("/etc/profile.d/98-busybox.conf", {st_mode=S_IFREG|0664, st_size=485, ...}) = 0
openat(AT_FDCWD, "/etc/profile.d/98-busybox.conf", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_DUPFD_CLOEXEC, 10)         = 12
close(3)                                = 0
read(12, "# SPDX-License-Identifier: GPL-2"..., 1023) = 485
pipe([3, 4])                            = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xf79480a8) = 1499
close(4)                                = 0
read(3, "rockpro64\n", 128)             = 10
read(3, "", 128)                        = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1499, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
sigreturn({mask=[]})                    = 0
close(3)                                = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 1499
wait4(-1, 0xffa69b2c, WNOHANG, NULL)    = -1 ECHILD (No child processes)
read(12, "", 1023)                      = 0
close(12)                               = 0
stat64("/etc/profile.d/99-kodi.conf", {st_mode=S_IFREG|0664, st_size=425, ...}) = 0
openat(AT_FDCWD, "/etc/profile.d/99-kodi.conf", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_DUPFD_CLOEXEC, 10)         = 12
close(3)                                = 0
read(12, "# SPDX-License-Identifier: GPL-2"..., 1023) = 425
openat(AT_FDCWD, "/storage/.kodi/addons", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_CLOEXEC|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
getdents64(3, 0xf6c3f0 /* 21 entries */, 32768) = 936
getdents64(3, 0xf6c3f0 /* 0 entries */, 32768) = 0
close(3)                                = 0
lstat64("/storage/.kodi/addons/script.module.chardet/bin", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/storage/.kodi/addons/script.module.six/bin", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/storage/.kodi/addons/metadata.common.themoviedb.org/bin", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/storage/.kodi/addons/script.module.idna/bin", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/storage/.kodi/addons/metadata.album.universal/bin", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/storage/.kodi/addons/metadata.tvshows.themoviedb.org/bin", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/storage/.kodi/addons/script.module.urllib3/bin", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/storage/.kodi/addons/script.module.requests/bin", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/storage/.kodi/addons/metadata.common.imdb.com/bin", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/storage/.kodi/addons/script.module.certifi/bin", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/storage/.kodi/addons/metadata.themoviedb.org.python/bin", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/storage/.kodi/addons/script.module.dateutil/bin", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/storage/.kodi/addons/metadata.themoviedb.org/bin", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/storage/.kodi/addons/metadata.tvshows.themoviedb.org.python/bin", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/storage/.kodi/addons/resource.language.de_de/bin", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/storage/.kodi/addons/packages/bin", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/storage/.kodi/addons/script.openweathermap.maps/bin", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/storage/.kodi/addons/weather.multi/bin", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/storage/.kodi/addons/temp/bin", 0xffa696e8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/kodi/addons", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_CLOEXEC|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0775, st_size=706, ...}) = 0
getdents64(3, 0xf6c3f0 /* 35 entries */, 32768) = 1224
getdents64(3, 0xf6c3f0 /* 0 entries */, 32768) = 0
close(3)                                = 0
lstat64("/usr/lib/kodi/addons/imagedecoder.heif/bin", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/imagedecoder.mpo/bin", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/imagedecoder.raw/bin", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/inputstream.adaptive/bin", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/inputstream.ffmpegdirect/bin", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/inputstream.rtmp/bin", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/peripheral.joystick/bin", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/pvr.argustv/bin", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/pvr.demo/bin", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/pvr.dvblink/bin", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/pvr.dvbviewer/bin", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/pvr.filmon/bin", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/pvr.freebox/bin", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/pvr.hdhomerun/bin", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/pvr.hts/bin", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/pvr.iptvsimple/bin", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/pvr.mediaportal.tvserver/bin", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/pvr.mythtv/bin", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/pvr.nextpvr/bin", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/pvr.njoy/bin", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/pvr.octonet/bin", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/pvr.pctv/bin", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/pvr.sledovanitv.cz/bin", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/pvr.stalker/bin", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/pvr.teleboy/bin", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/pvr.vbox/bin", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/pvr.vdr.vnsi/bin", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/pvr.vuplus/bin", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/pvr.waipu/bin", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/pvr.wmc/bin", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/pvr.zattoo/bin", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/vfs.libarchive/bin", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/vfs.rar/bin", 0xffa696e8) = -1 ENOENT (No such file or directory)
stat64("/storage/.kodi/addons/*/bin", 0xffa69a28) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/kodi/addons/*/bin", 0xffa69a28) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/storage/.kodi/addons", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_CLOEXEC|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
getdents64(3, 0xf6c3f0 /* 21 entries */, 32768) = 936
getdents64(3, 0xf6c3f0 /* 0 entries */, 32768) = 0
close(3)                                = 0
lstat64("/storage/.kodi/addons/script.module.chardet/lib", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
lstat64("/storage/.kodi/addons/script.module.six/lib", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
lstat64("/storage/.kodi/addons/metadata.common.themoviedb.org/lib", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/storage/.kodi/addons/script.module.idna/lib", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
lstat64("/storage/.kodi/addons/metadata.album.universal/lib", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/storage/.kodi/addons/metadata.tvshows.themoviedb.org/lib", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/storage/.kodi/addons/script.module.urllib3/lib", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
lstat64("/storage/.kodi/addons/script.module.requests/lib", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
lstat64("/storage/.kodi/addons/metadata.common.imdb.com/lib", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/storage/.kodi/addons/script.module.certifi/lib", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
lstat64("/storage/.kodi/addons/metadata.themoviedb.org.python/lib", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/storage/.kodi/addons/script.module.dateutil/lib", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
lstat64("/storage/.kodi/addons/metadata.themoviedb.org/lib", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/storage/.kodi/addons/metadata.tvshows.themoviedb.org.python/lib", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/storage/.kodi/addons/resource.language.de_de/lib", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/storage/.kodi/addons/packages/lib", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/storage/.kodi/addons/script.openweathermap.maps/lib", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
lstat64("/storage/.kodi/addons/weather.multi/lib", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
lstat64("/storage/.kodi/addons/temp/lib", 0xffa696e8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/kodi/addons", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_CLOEXEC|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0775, st_size=706, ...}) = 0
getdents64(3, 0xf6c3f0 /* 35 entries */, 32768) = 1224
getdents64(3, 0xf6c3f0 /* 0 entries */, 32768) = 0
close(3)                                = 0
lstat64("/usr/lib/kodi/addons/imagedecoder.heif/lib", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/imagedecoder.mpo/lib", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/imagedecoder.raw/lib", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/inputstream.adaptive/lib", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/inputstream.ffmpegdirect/lib", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/inputstream.rtmp/lib", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/peripheral.joystick/lib", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/pvr.argustv/lib", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/pvr.demo/lib", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/pvr.dvblink/lib", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/pvr.dvbviewer/lib", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/pvr.filmon/lib", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/pvr.freebox/lib", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/pvr.hdhomerun/lib", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/pvr.hts/lib", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/pvr.iptvsimple/lib", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/pvr.mediaportal.tvserver/lib", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/pvr.mythtv/lib", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/pvr.nextpvr/lib", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/pvr.njoy/lib", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/pvr.octonet/lib", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/pvr.pctv/lib", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/pvr.sledovanitv.cz/lib", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/pvr.stalker/lib", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/pvr.teleboy/lib", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/pvr.vbox/lib", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/pvr.vdr.vnsi/lib", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/pvr.vuplus/lib", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/pvr.waipu/lib", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/pvr.wmc/lib", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/pvr.zattoo/lib", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/vfs.libarchive/lib", 0xffa696e8) = -1 ENOENT (No such file or directory)
lstat64("/usr/lib/kodi/addons/vfs.rar/lib", 0xffa696e8) = -1 ENOENT (No such file or directory)
stat64("/storage/.kodi/addons/script.module.certifi/lib", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
stat64("/storage/.kodi/addons/script.module.chardet/lib", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
stat64("/storage/.kodi/addons/script.module.dateutil/lib", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
stat64("/storage/.kodi/addons/script.module.idna/lib", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
stat64("/storage/.kodi/addons/script.module.requests/lib", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
stat64("/storage/.kodi/addons/script.module.six/lib", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
stat64("/storage/.kodi/addons/script.module.urllib3/lib", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
stat64("/storage/.kodi/addons/script.openweathermap.maps/lib", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
stat64("/storage/.kodi/addons/weather.multi/lib", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
stat64("/usr/lib/kodi/addons/*/lib", 0xffa69a28) = -1 ENOENT (No such file or directory)
read(12, "", 1023)                      = 0
close(12)                               = 0
stat64("/etc/profile.d/99-pulseaudio.conf", {st_mode=S_IFREG|0664, st_size=168, ...}) = 0
openat(AT_FDCWD, "/etc/profile.d/99-pulseaudio.conf", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_DUPFD_CLOEXEC, 10)         = 12
close(3)                                = 0
read(12, "# SPDX-License-Identifier: GPL-2"..., 1023) = 168
read(12, "", 1023)                      = 0
close(12)                               = 0
read(11, "", 1023)                      = 0
close(11)                               = 0
openat(AT_FDCWD, "/dev/null", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 3
fcntl64(1, F_DUPFD_CLOEXEC, 10)         = 11
dup2(3, 1)                              = 1
close(3)                                = 0
stat64("/usr/bin/pidof", {st_mode=S_IFREG|S_ISUID|0755, st_size=514876, ...}) = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xf79480a8) = 1500
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 1500
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1500, si_uid=0, si_status=1, si_utime=0, si_stime=1} ---
sigreturn({mask=[]})                    = 1500
wait4(-1, 0xffa6a344, WNOHANG, NULL)    = -1 ECHILD (No child processes)
dup2(11, 1)                             = 1
close(11)                               = 0
openat(AT_FDCWD, "/dev/null", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 3
fcntl64(1, F_DUPFD_CLOEXEC, 10)         = 11
dup2(3, 1)                              = 1
close(3)                                = 0
stat64("/usr/bin/kodi-send", {st_mode=S_IFREG|0755, st_size=3764, ...}) = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xf79480a8) = 1501
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 1501
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1501, si_uid=0, si_status=0, si_utime=11, si_stime=0} ---
sigreturn({mask=[]})                    = 1501
wait4(-1, 0xffa69efc, WNOHANG, NULL)    = -1 ECHILD (No child processes)
dup2(11, 1)                             = 1
close(11)                               = 0
stat64("/usr/bin/usleep", {st_mode=S_IFREG|S_ISUID|0755, st_size=514876, ...}) = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xf79480a8) = 1502
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 1502
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1502, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
sigreturn({mask=[]})                    = 1502
wait4(-1, 0xffa69efc, WNOHANG, NULL)    = -1 ECHILD (No child processes)
stat64("/storage/.kodi/userdata/addon_data/service.rr-config-tool", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
stat64("/storage/.kodi/addons/service.rr-config-tool/settings-default.xml", 0xffa699b8) = -1 ENOENT (No such file or directory)
stat64("/storage/.kodi/userdata/addon_data/service.rr-config-tool/settings.xml", {st_mode=S_IFREG|0644, st_size=776, ...}) = 0
stat64("/storage/.kodi/addons/service.rr-config-tool/settings-default.xml", 0xffa69998) = -1 ENOENT (No such file or directory)
stat64("/storage/.kodi/userdata/addon_data/service.rr-config-tool/settings.xml", {st_mode=S_IFREG|0644, st_size=776, ...}) = 0
pipe([3, 4])                            = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xf79480a8) = 1503
close(4)                                = 0
read(3, "2", 128)                       = 1
read(3, "", 128)                        = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1503, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
sigreturn({mask=[]})                    = 0
close(3)                                = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 1503
wait4(-1, 0xffa699ec, WNOHANG, NULL)    = -1 ECHILD (No child processes)
pipe([3, 4])                            = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xf79480a8) = 1504
close(4)                                = 0
read(3, "RR_AUDIO_DEVICE=\"hdmi:CARD=HDMI,"..., 128) = 128
read(3, "\nRR_FLUIDSYNTH=\"false\"\nRR_QT_QPA"..., 128) = 128
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1504, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
sigreturn({mask=[]})                    = 128
read(3, "MULATION_ID_GAMES=\"true\"\nRR_REFR"..., 128) = 83
read(3, "", 128)                        = 0
close(3)                                = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 1504
wait4(-1, 0xffa699bc, WNOHANG, NULL)    = -1 ECHILD (No child processes)
stat64("/storage/.config/SDL-GameControllerDB/gamecontrollerdb.txt", {st_mode=S_IFREG|0664, st_size=99051, ...}) = 0
lstat64("/storage/.config/SDL-GameControllerDB/gamecontrollerdb.txt", {st_mode=S_IFREG|0664, st_size=99051, ...}) = 0
stat64("/storage/recordings/retroarch", {st_mode=S_IFDIR|0777, st_size=1024, ...}) = 0
stat64("/storage/.config/retroarch/retroarch.cfg", {st_mode=S_IFREG|0644, st_size=109103, ...}) = 0
stat64("/tmp/emulation", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=60, ...}) = 0
stat64("/tmp/emulation/retroarch", {st_mode=S_IFDIR|0755, st_size=40, ...}) = 0
stat64("/usr/bin/sed", {st_mode=S_IFREG|S_ISUID|0755, st_size=514876, ...}) = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xf79480a8) = 1505
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 1505
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1505, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
sigreturn({mask=[]})                    = 1505
wait4(-1, 0xffa69f14, WNOHANG, NULL)    = -1 ECHILD (No child processes)
stat64("/usr/bin/kodictrl", {st_mode=S_IFREG|0775, st_size=3777, ...}) = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xf79480a8) = 1506
wait4(-1, rr-config-script: Kodi: service was already stopped
[{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 1506
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1506, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
sigreturn({mask=[]})                    = 1506
wait4(-1, 0xffa6a284, WNOHANG, NULL)    = -1 ECHILD (No child processes)
stat64("/storage/.kodi/userdata/addon_data/service.rr-config-tool", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
stat64("/storage/.kodi/addons/service.rr-config-tool/settings-default.xml", 0xffa69aa8) = -1 ENOENT (No such file or directory)
stat64("/storage/.kodi/userdata/addon_data/service.rr-config-tool/settings.xml", {st_mode=S_IFREG|0644, st_size=776, ...}) = 0
stat64("/storage/.kodi/addons/service.rr-config-tool/settings-default.xml", 0xffa69a88) = -1 ENOENT (No such file or directory)
stat64("/storage/.kodi/userdata/addon_data/service.rr-config-tool/settings.xml", {st_mode=S_IFREG|0644, st_size=776, ...}) = 0
pipe([3, 4])                            = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xf79480a8) = 1512
close(4)                                = 0
read(3, "2", 128)                       = 1
read(3, "", 128)                        = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1512, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
sigreturn({mask=[]})                    = 0
close(3)                                = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 1512
wait4(-1, 0xffa69adc, WNOHANG, NULL)    = -1 ECHILD (No child processes)
pipe([3, 4])                            = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xf79480a8) = 1513
close(4)                                = 0
read(3, "RR_AUDIO_DEVICE=\"hdmi:CARD=HDMI,"..., 128) = 128
read(3, "\nRR_FLUIDSYNTH=\"false\"\nRR_QT_QPA"..., 128) = 128
read(3, "MULATION_ID_GAMES=\"true\"\nRR_REFR"..., 128) = 83
read(3, "", 128)                        = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1513, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
sigreturn({mask=[]})                    = 0
close(3)                                = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 1513
wait4(-1, 0xffa69aac, WNOHANG, NULL)    = -1 ECHILD (No child processes)
stat64("/storage/.config/retroarch/retroarch.cfg", {st_mode=S_IFREG|0644, st_size=109103, ...}) = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xf79480a8) = 1514
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 1514
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1514, si_uid=0, si_status=0, si_utime=1, si_stime=0} ---
sigreturn({mask=[]})                    = 1514
wait4(-1, 0xffa69f44, WNOHANG, NULL)    = -1 ECHILD (No child processes)
write(1, "rr-config-script: Retroarch: set"..., 60rr-config-script: Retroarch: set audio driver to PulseAudio
) = 60
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xf79480a8) = 1515
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 1515
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1515, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
sigreturn({mask=[]})                    = 1515
wait4(-1, 0xffa69ee4, WNOHANG, NULL)    = -1 ECHILD (No child processes)
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xf79480a8) = 1516
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 1516
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1516, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
sigreturn({mask=[]})                    = 1516
wait4(-1, 0xffa69ee4, WNOHANG, NULL)    = -1 ECHILD (No child processes)
write(1, "rr-config-script: Retroarch: dis"..., 58rr-config-script: Retroarch: disable MIDI driver & output
) = 58
openat(AT_FDCWD, "/var/log/retroarch.log", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 3
fcntl64(1, F_DUPFD_CLOEXEC, 10)         = 11
dup2(3, 1)                              = 1
close(3)                                = 0
fcntl64(2, F_DUPFD_CLOEXEC, 10)         = 12
dup2(1, 2)                              = 2
stat64("/usr/bin/retroarch", {st_mode=S_IFREG|0775, st_size=7872920, ...}) = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xf79480a8) = 1517
wait4(-1, ^Cstrace: Process 1497 detached
 <detached ...>

rockpro64:~ # 
DrUm78 commented 3 years ago

Ouch, don't know about this one, I don't have it on my platform (armv7).