matanui159 / ReplaySorcery

An open-source, instant-replay solution for Linux
GNU General Public License v3.0
842 stars 26 forks source link

ReplaySorcery Not Enabling #100

Open GitReizu opened 3 years ago

GitReizu commented 3 years ago

Describe the bug A clear and concise description of what the bug is.

fatal: not a git repository (or any of the parent directories): .git
(xenial)reizu@localhost:~$ sudo git submodule update --init
[sudo] password for reizu: 
fatal: not a git repository (or any of the parent directories): .git
(xenial)reizu@localhost:~$ git clone https://github.com/matanui159/ReplaySorceryCloning into 'ReplaySorcery'...
remote: Enumerating objects: 175, done.
remote: Counting objects: 100% (175/175), done.
remote: Compressing objects: 100% (110/110), done.
remote: Total 2124 (delta 112), reused 108 (delta 64), pack-reused 1949
Receiving objects: 100% (2124/2124), 1.02 MiB | 307.00 KiB/s, done.
Resolving deltas: 100% (1444/1444), done.
(xenial)reizu@localhost:~$ git submodule update --init
fatal: not a git repository (or any of the parent directories): .git
(xenial)reizu@localhost:~$ sudo git submodule update --init
fatal: not a git repository (or any of the parent directories): .git
(xenial)reizu@localhost:~$ git submodule update --init
fatal: not a git repository (or any of the parent directories): .git
(xenial)reizu@localhost:~$ git clone https://github.com/matanui159/ReplaySorceryfatal: destination path 'ReplaySorcery' already exists and is not an empty directory.
(xenial)reizu@localhost:~$ git submodule update --init
fatal: not a git repository (or any of the parent directories): .git
(xenial)reizu@localhost:~$ cd ReplaySorcery
(xenial)reizu@localhost:~/ReplaySorcery$ not a git repository (or any of the parent directories): .git
bash: syntax error near unexpected token `('
(xenial)reizu@localhost:~/ReplaySorcery$ git submodule update --init
Submodule 'dep/libbacktrace' (https://github.com/ianlancetaylor/libbacktrace.git) registered for path 'dep/libbacktrace'
Cloning into '/home/reizu/ReplaySorcery/dep/libbacktrace'...
Submodule path 'dep/libbacktrace': checked out 'dedbe13fda00253fe5d4f2fb812c909729ed5937'
(xenial)reizu@localhost:~/ReplaySorcery$ cmake -B bin -DCMAKE_BUILD_TYPE=Release-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") 
-- Performing Test HAVE_G_FLAG
-- Performing Test HAVE_G_FLAG - Success
-- Performing Test HAVE_ALL_WARN
-- Performing Test HAVE_ALL_WARN - Success
-- Performing Test HAVE_EXTRA_WARN
-- Performing Test HAVE_EXTRA_WARN - Success
-- Performing Test HAVE_PEDANTIC_WARN
-- Performing Test HAVE_PEDANTIC_WARN - Success
-- Performing Test HAVE_CONVERSION_WARN
-- Performing Test HAVE_CONVERSION_WARN - Success
-- Performing Test HAVE_STRICT_PROTOTYPES_WARN
-- Performing Test HAVE_STRICT_PROTOTYPES_WARN - Success
-- Performing Test HAVE_MISSING_PROTOTYPES_WARN
-- Performing Test HAVE_MISSING_PROTOTYPES_WARN - Success
-- Checking for modules 'libavutil;libavformat;libavdevice;libavcodec;libavfilter'
--   Found libavutil, version 55.78.100
--   Found libavformat, version 57.83.100
--   Found libavdevice, version 57.10.100
--   Found libavcodec, version 57.107.100
--   Found libavfilter, version 6.107.100
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- Checking for module 'libpulse'
--   Found libpulse, version 11.1
-- Checking for module 'libdrm'
--   Found libdrm, version 2.4.101
-- Looking for read
-- Looking for read - found
-- Looking for fcntl
-- Looking for fcntl - found
-- Looking for mkdir
-- Looking for mkdir - found
-- Configuring done
-- Generating done
-- Build files have been written to: /home/reizu/ReplaySorcery/bin
(xenial)reizu@localhost:~/ReplaySorcery$ make -C bin
make: Entering directory '/home/reizu/ReplaySorcery/bin'
make[1]: Entering directory '/home/reizu/ReplaySorcery/bin'
make[2]: Entering directory '/home/reizu/ReplaySorcery/bin'
Scanning dependencies of target backtrace
make[2]: Leaving directory '/home/reizu/ReplaySorcery/bin'
make[2]: Entering directory '/home/reizu/ReplaySorcery/bin'
[  2%] Creating directories for 'backtrace'
[  5%] No download step for 'backtrace'
[  7%] No patch step for 'backtrace'
[ 10%] No update step for 'backtrace'
[ 13%] Performing configure step for 'backtrace'
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/reizu/ReplaySorcery/dep/libbacktrace/missing: Unknown `--is-lightweight' option
Try `/home/reizu/ReplaySorcery/dep/libbacktrace/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking for ranlib... ranlib
checking for gawk... (cached) mawk
checking for dwz... no
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... (cached) ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking unwind.h usability... yes
checking unwind.h presence... yes
checking for unwind.h... yes
checking for _Unwind_Backtrace... yes
checking for -funwind-tables option... yes
checking for -frandom-seed=string option... yes
checking whether gcc supports -W... yes
checking whether gcc supports -Wall... yes
checking whether gcc supports -Wwrite-strings... yes
checking whether gcc supports -Wstrict-prototypes... yes
checking whether gcc supports -Wmissing-prototypes... yes
checking whether gcc supports -Wold-style-definition... yes
checking whether gcc supports -Wmissing-format-attribute... yes
checking whether gcc supports -Wcast-qual... yes
checking for _Unwind_GetIPInfo... yes
checking __sync extensions... yes
checking __atomic extensions... yes
checking output filetype... elf64
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for mmap... yes
checking link.h usability... yes
checking link.h presence... yes
checking for link.h... yes
checking for dl_iterate_phdr... yes
checking mach-o/dyld.h usability... no
checking mach-o/dyld.h presence... no
checking for mach-o/dyld.h... no
checking sys/ldr.h usability... no
checking sys/ldr.h presence... no
checking for sys/ldr.h... no
checking for fcntl... yes
checking whether strnlen is declared... yes
checking whether getpagesize is declared... yes
checking for lstat... yes
checking for readlink... yes
checking for getexecname... no
checking for KERN_PROC... no
checking for KERN_PROG_ARGS... no
checking for clock_gettime... yes
checking whether -pthread is supported... yes
checking whether -gdwarf-5 is supported... yes
checking for compress in -lz... yes
checking whether --compress-debug-sections is supported... yes
checking for objcopy... objcopy
checking for readelf... readelf
checking whether objcopy supports debuglink... objcopy: /tmp/ls11595: debuglink section already exists
yes
checking for dsymutil... no
checking for nm... /usr/bin/nm -B
checking for xz... xz
checking for comm... comm
checking for lzma_auto_decoder in -llzma... no
checking whether tests can run... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating backtrace-supported.h
config.status: creating install-debuginfo-for-buildid.sh
config.status: creating config.h
config.status: executing libtool commands
config.status: executing default commands
[ 15%] Performing build step for 'backtrace'
make[3]: Entering directory '/home/reizu/ReplaySorcery/bin/backtrace-prefix/src/backtrace-build'
make[4]: Entering directory '/home/reizu/ReplaySorcery/bin/backtrace-prefix/src/backtrace-build'
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/home/reizu/ReplaySorcery/dep/libbacktrace -funwind-tables -frandom-seed=atomic.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -O3 -c /home/reizu/ReplaySorcery/dep/libbacktrace/atomic.c -o atomic.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/home/reizu/ReplaySorcery/dep/libbacktrace -funwind-tables -frandom-seed=dwarf.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -O3 -c /home/reizu/ReplaySorcery/dep/libbacktrace/dwarf.c -o dwarf.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/home/reizu/ReplaySorcery/dep/libbacktrace -funwind-tables -frandom-seed=fileline.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -O3 -c /home/reizu/ReplaySorcery/dep/libbacktrace/fileline.c -o fileline.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/home/reizu/ReplaySorcery/dep/libbacktrace -funwind-tables -frandom-seed=posix.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -O3 -c /home/reizu/ReplaySorcery/dep/libbacktrace/posix.c -o posix.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/home/reizu/ReplaySorcery/dep/libbacktrace -funwind-tables -frandom-seed=print.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -O3 -c /home/reizu/ReplaySorcery/dep/libbacktrace/print.c -o print.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/home/reizu/ReplaySorcery/dep/libbacktrace -funwind-tables -frandom-seed=sort.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -O3 -c /home/reizu/ReplaySorcery/dep/libbacktrace/sort.c -o sort.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/home/reizu/ReplaySorcery/dep/libbacktrace -funwind-tables -frandom-seed=state.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -O3 -c /home/reizu/ReplaySorcery/dep/libbacktrace/state.c -o state.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/home/reizu/ReplaySorcery/dep/libbacktrace -funwind-tables -frandom-seed=backtrace.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -O3 -c /home/reizu/ReplaySorcery/dep/libbacktrace/backtrace.c -o backtrace.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/home/reizu/ReplaySorcery/dep/libbacktrace -funwind-tables -frandom-seed=simple.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -O3 -c /home/reizu/ReplaySorcery/dep/libbacktrace/simple.c -o simple.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/home/reizu/ReplaySorcery/dep/libbacktrace -funwind-tables -frandom-seed=elf.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -O3 -c /home/reizu/ReplaySorcery/dep/libbacktrace/elf.c -o elf.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/home/reizu/ReplaySorcery/dep/libbacktrace -funwind-tables -frandom-seed=mmapio.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -O3 -c /home/reizu/ReplaySorcery/dep/libbacktrace/mmapio.c -o mmapio.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/home/reizu/ReplaySorcery/dep/libbacktrace -funwind-tables -frandom-seed=mmap.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -O3 -c /home/reizu/ReplaySorcery/dep/libbacktrace/mmap.c -o mmap.o
libtool: link: ar cru .libs/libbacktrace.a  atomic.o dwarf.o fileline.o posix.o print.o sort.o state.o backtrace.o simple.o elf.o mmapio.o mmap.o
ar: `u' modifier ignored since `D' is the default (see `U')
libtool: link: ranlib .libs/libbacktrace.a
libtool: link: ( cd ".libs" && rm -f "libbacktrace.la" && ln -s "../libbacktrace.la" "libbacktrace.la" )
make[4]: Leaving directory '/home/reizu/ReplaySorcery/bin/backtrace-prefix/src/backtrace-build'
make[3]: Leaving directory '/home/reizu/ReplaySorcery/bin/backtrace-prefix/src/backtrace-build'
[ 18%] Performing install step for 'backtrace'
make[3]: Entering directory '/home/reizu/ReplaySorcery/bin/backtrace-prefix/src/backtrace-build'
make[4]: Entering directory '/home/reizu/ReplaySorcery/bin/backtrace-prefix/src/backtrace-build'
 /bin/mkdir -p '/home/reizu/ReplaySorcery/bin/backtrace-prefix/lib'
 /bin/bash ./libtool   --mode=install /usr/bin/install -c   libbacktrace.la '/home/reizu/ReplaySorcery/bin/backtrace-prefix/lib'
libtool: install: /usr/bin/install -c .libs/libbacktrace.lai /home/reizu/ReplaySorcery/bin/backtrace-prefix/lib/libbacktrace.la
libtool: install: /usr/bin/install -c .libs/libbacktrace.a /home/reizu/ReplaySorcery/bin/backtrace-prefix/lib/libbacktrace.a
libtool: install: chmod 644 /home/reizu/ReplaySorcery/bin/backtrace-prefix/lib/libbacktrace.a
libtool: install: ranlib /home/reizu/ReplaySorcery/bin/backtrace-prefix/lib/libbacktrace.a
libtool: finish: PATH="/home/reizu/bin:/home/reizu/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/sbin" ldconfig -n /home/reizu/ReplaySorcery/bin/backtrace-prefix/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /home/reizu/ReplaySorcery/bin/backtrace-prefix/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
 /bin/mkdir -p '/home/reizu/ReplaySorcery/bin/backtrace-prefix/include'
 /usr/bin/install -c -m 644 /home/reizu/ReplaySorcery/dep/libbacktrace/backtrace.h backtrace-supported.h '/home/reizu/ReplaySorcery/bin/backtrace-prefix/include'
make[4]: Leaving directory '/home/reizu/ReplaySorcery/bin/backtrace-prefix/src/backtrace-build'
make[3]: Leaving directory '/home/reizu/ReplaySorcery/bin/backtrace-prefix/src/backtrace-build'
[ 21%] Completed 'backtrace'
make[2]: Leaving directory '/home/reizu/ReplaySorcery/bin'
[ 21%] Built target backtrace
make[2]: Entering directory '/home/reizu/ReplaySorcery/bin'
Scanning dependencies of target replay-sorcery
make[2]: Leaving directory '/home/reizu/ReplaySorcery/bin'
make[2]: Entering directory '/home/reizu/ReplaySorcery/bin'
[ 23%] Building C object CMakeFiles/replay-sorcery.dir/src/buffer.c.o
[ 26%] Building C object CMakeFiles/replay-sorcery.dir/src/config.c.o
[ 28%] Building C object CMakeFiles/replay-sorcery.dir/src/log.c.o
[ 31%] Building C object CMakeFiles/replay-sorcery.dir/src/main.c.o
[ 34%] Building C object CMakeFiles/replay-sorcery.dir/src/output.c.o
[ 36%] Building C object CMakeFiles/replay-sorcery.dir/src/thread.c.o
[ 39%] Building C object CMakeFiles/replay-sorcery.dir/src/util.c.o
[ 42%] Building C object CMakeFiles/replay-sorcery.dir/src/audio/aacenc.c.o
[ 44%] Building C object CMakeFiles/replay-sorcery.dir/src/audio/abuffer.c.o
[ 47%] Building C object CMakeFiles/replay-sorcery.dir/src/audio/adevice.c.o
[ 50%] Building C object CMakeFiles/replay-sorcery.dir/src/audio/aencoder.c.o
[ 52%] Building C object CMakeFiles/replay-sorcery.dir/src/audio/audio.c.o
[ 55%] Building C object CMakeFiles/replay-sorcery.dir/src/audio/fdkenc.c.o
[ 57%] Building C object CMakeFiles/replay-sorcery.dir/src/audio/pulsedev.c.o
[ 60%] Building C object CMakeFiles/replay-sorcery.dir/src/command/kmscmd.c.o
[ 63%] Building C object CMakeFiles/replay-sorcery.dir/src/control/control.c.o
[ 65%] Building C object CMakeFiles/replay-sorcery.dir/src/control/dbgctrl.c.o
[ 68%] Building C object CMakeFiles/replay-sorcery.dir/src/control/x11ctrl.c.o
[ 71%] Building C object CMakeFiles/replay-sorcery.dir/src/device/device.c.o
[ 73%] Building C object CMakeFiles/replay-sorcery.dir/src/device/ffdev.c.o
[ 76%] Building C object CMakeFiles/replay-sorcery.dir/src/device/kmsdev.c.o
[ 78%] Building C object CMakeFiles/replay-sorcery.dir/src/device/x11dev.c.o
[ 81%] Building C object CMakeFiles/replay-sorcery.dir/src/encoder/encoder.c.o
[ 84%] Building C object CMakeFiles/replay-sorcery.dir/src/encoder/ffenc.c.o
[ 86%] Building C object CMakeFiles/replay-sorcery.dir/src/encoder/openh264enc.c.o
[ 89%] Building C object CMakeFiles/replay-sorcery.dir/src/encoder/vaapienc_hevc.c.o
[ 92%] Building C object CMakeFiles/replay-sorcery.dir/src/encoder/vaapienc.c.o
[ 94%] Building C object CMakeFiles/replay-sorcery.dir/src/encoder/x264enc.c.o
[ 97%] Building C object CMakeFiles/replay-sorcery.dir/src/encoder/x265enc.c.o
[100%] Linking C executable replay-sorcery
make[2]: Leaving directory '/home/reizu/ReplaySorcery/bin'
[100%] Built target replay-sorcery
make[1]: Leaving directory '/home/reizu/ReplaySorcery/bin'
make: Leaving directory '/home/reizu/ReplaySorcery/bin'
(xenial)reizu@localhost:~/ReplaySorcery$ sudo make -C bin install
make: Entering directory '/home/reizu/ReplaySorcery/bin'
make[1]: Entering directory '/home/reizu/ReplaySorcery/bin'
make[2]: Entering directory '/home/reizu/ReplaySorcery/bin'
make[2]: Leaving directory '/home/reizu/ReplaySorcery/bin'
[ 21%] Built target backtrace
make[2]: Entering directory '/home/reizu/ReplaySorcery/bin'
make[2]: Leaving directory '/home/reizu/ReplaySorcery/bin'
[100%] Built target replay-sorcery
make[1]: Leaving directory '/home/reizu/ReplaySorcery/bin'
Install the project...
-- Install configuration: "Release"
-- Installing: /usr/local/bin/replay-sorcery
-- Installing: /usr/local/etc/replay-sorcery.conf
-- Installing: /usr/lib/systemd/user/replay-sorcery.service
make: Leaving directory '/home/reizu/ReplaySorcery/bin'
(xenial)reizu@localhost:~/ReplaySorcery$ systemctl --user enable --now replay-sorcery
Failed to start replay-sorcery.service: Process org.freedesktop.systemd1 exited with status 1
See user logs and 'systemctl --user status replay-sorcery.service' for details.
(xenial)reizu@localhost:~/ReplaySorcery$ sudo systemctl --user enable --now replay-sorcery
Failed to connect to bus: No such file or directory
(xenial)reizu@localhost:~/ReplaySorcery$ sudo systemctl status replay-sorcery.service
Running in chroot, ignoring request: status
(xenial)reizu@localhost:~/ReplaySorcery$ sudo systemctl enable status replay-sorcery.service
Failed to enable unit, unit status.service does not exist.

Desktop:

Configuration: Please upload your copy of /usr/local/etc/replay-sorcery.conf (/usr/etc/replay-sorcery.conf on Arch) and a copy of ~/.config/replay-sorcery.conf if it exists.

Logs: Please run journalctl --user -eu replay-sorcery -n 100 > replay-sorcery.log and upload the result. No journal files were found.

Alright, so my is im trying everything to enable the application, but nothing works i go to ubuntu discord but nothing works. i always get this: Failed to enable unit, unit status.service does not exist. can you help me? the install process was perfect, i cloned your git and everything, can i have help?

matanui159 commented 3 years ago

I'm not sure why it's trying to look for status.service. What command did you run to try and enable it?

GitReizu commented 3 years ago

(xenial)reizu@localhost:~/ReplaySorcery$ systemctl --user enable --now replay-sorcery
Failed to start replay-sorcery.service: Process org.freedesktop.systemd1 exited with status 1
See user logs and 'systemctl --user status replay-sorcery.service' for details.
(xenial)reizu@localhost:~/ReplaySorcery$ sudo systemctl --user enable --now replay-sorcery
Failed to connect to bus: No such file or directory
(xenial)reizu@localhost:~/ReplaySorcery$ sudo systemctl status replay-sorcery.service
Running in chroot, ignoring request: status
(xenial)reizu@localhost:~/ReplaySorcery$ sudo systemctl enable status replay-sorcery.service```
matanui159 commented 3 years ago

Don't run systemctl with sudo for user services like ReplaySorcery.

GitReizu commented 3 years ago

so what command do i do?

GitReizu commented 3 years ago

Hey, I tried to use what you said and i got this

(xenial)reizu@localhost:~$ systemctl status replay-sorcery.service
System has not been booted with systemd as init system (PID 1). Can't operate.

What do i do

matanui159 commented 3 years ago

Wait nevermind just saw that was the first thing you tried, my bad. Was at a resturant and was looking on my phone.

matanui159 commented 3 years ago

Having a better look through the messages it looks like systemd isn't setup and running properly on your system. Not sure how to fix this since on most Linux systems its setup already and users don't have to do anything. Have you done anything special with your computer that could affect your systemd installation?

GitReizu commented 3 years ago

nah, i dont think so. i actually looked around and found out my system cant run the command systemctl. any other way i can do this?

GitReizu commented 3 years ago

well actually, when i run this i get this

(xenial)reizu@localhost:~$ systemctl --version
systemd 237
+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid
matanui159 commented 3 years ago

nah, i dont think so. i actually looked around and found out my system cant run the command systemctl. any other way i can do this?

This is what I mean. From my understanding something seems to be wrong with your systemd setup that's preventing you from running user services.

ReplaySorcery currently requires systemd so that it can run on login, collect logs and automatically restart on failure. Alternatively you can just run replay-sorcery as a command by itself but you will have to do that everytime you login and keep the terminal open and restart it if it crashes. Maybe in the future I'll add support for other init systems but systemd is the most popular by a very long shot.

JamiKettunen commented 3 years ago

From what I can gather it seems @reiixzu is using Ubuntu 16.04 (xenial) which doesn't use systemd as it's init system. This in practice means you have to write a new upstart user service script, but seeing as this Ubuntu release is 5 years old with 3 more extended security maintenance years left it might be more practical to upgrade your system instead :p