Skip to content

Starting service failed on archlinux-arm on rockpro3399  #30

@Mithrandir2k18

Description

@Mithrandir2k18

I tried to install and run using the luarocks command. It installed and built correctly but starting the service gives an error. Here's my output:

# luarocks build https://raw.githubusercontent.com/tuxd3v/ats/master/ats-0.2-0.rockspec

ats 0.2-0 depends on lua >= 5.3 (5.4-1 provided by VM)
Warning: variable CFLAGS was not passed in build_variables
gcc -c -march=armv8-a+crc -mtune=cortex-a72.cortex-a53 -fPIC -Wall -Werror -O3 -g -I/usr/include/lua5.3  -o debug.o src/debug.c
gcc -c -march=armv8-a+crc -mtune=cortex-a72.cortex-a53 -fPIC -Wall -Werror -O3 -g -I/usr/include/lua5.3  -o ats.o src/ats.c
gcc -shared -Wl,-soname,ats.so.0 -llua5.3  -o ats.so.0.9 debug.o ats.o
Install ATS Tool ..................: ats in /usr/local/sbin
Install ATS Config ................: ats.config in /etc
Install ATS Service File ..........: ats.service in systemd
Remove previous ATS Library .......: ats.so.* from /usr/local/lib/lua/5.3
Install new ATS Library ...........: ats.so.0.9 in /usr/local/lib/lua/5.3
Create soname symLink .............: ats.so in /usr/local/lib/lua/5.3
Starting ATS Service..
* ats.service - ATS - Active Thermal Service
     Loaded: loaded (/usr/lib/systemd/system/ats.service; enabled; vendor preset: disabled)
     Active: activating (auto-restart) (Result: exit-code) since Tue 2022-03-22 21:15:17 UTC; 1s ago
    Process: 2266 ExecStart=/usr/local/sbin/ats (code=exited, status=1/FAILURE)
   Main PID: 2266 (code=exited, status=1/FAILURE)
        CPU: 6ms

Mar 22 21:15:17 alarm systemd[1]: ats.service: Main process exited, code=exited, status=1/FAILURE
Mar 22 21:15:17 alarm systemd[1]: ats.service: Failed with result 'exit-code'.
make: *** [Makefile:119: install] Error 3

Error: Build error: Failed installing.

Do you support archlinux-arm?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions