Skip to content

Debian Trixie update leads to non running vzlogger and broken install script #696

@dm82m

Description

@dm82m

Hey guys,

I have update bookworm to trixie and vzlogger is not running anymore:

pi@raspberrypi:~/vzlogger $ sudo systemctl status vzlogger
× vzlogger.service - vzlogger
     Loaded: loaded (/etc/systemd/system/vzlogger.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Thu 2025-10-02 15:15:46 CEST; 17min ago
   Duration: 196ms
 Invocation: 6c3f442690ba4c788115bb86ecea0d9c
    Process: 1195 ExecStart=/usr/local/bin/vzlogger -c /etc/vzlogger.conf (code=exited, status=127)
   Main PID: 1195 (code=exited, status=127)
        CPU: 37ms

Oct 02 15:15:45 raspberrypi systemd[1]: Started vzlogger.service - vzlogger.
Oct 02 15:15:46 raspberrypi systemd[1]: vzlogger.service: Main process exited, code=exited, status=127/n/a
Oct 02 15:15:46 raspberrypi systemd[1]: vzlogger.service: Failed with result 'exit-code'.

If I try to install vzlogger it leads to this:

pi@raspberrypi:~/vzlogger $ sudo git pull
Already up to date.
pi@raspberrypi:~/vzlogger $ sudo ./install.sh 
vzlogger installation script

checking prerequisites: grep extrace git cmake pkg-config dh_autoreconf

vzlogger setup...

checking for vzlogger folder
. folder: /home/pi/vzlogger/.

checking for libraries
/home/pi/vzlogger/libs /home/pi/vzlogger

checking for libjson
json-c folder: /home/pi/vzlogger/libs/json-c

checking for libsml
libsml folder: /home/pi/vzlogger/libs/libsml

checking for libmbus
libmbus folder: /home/pi/vzlogger/libs/libmbus

building and installing libraries

building and installing libjson
/home/pi/vzlogger/libs/json-c /home/pi/vzlogger/libs /home/pi/vzlogger
make  all-recursive
make[1]: Entering directory '/home/pi/vzlogger/libs/json-c'
Making all in .
make[2]: Entering directory '/home/pi/vzlogger/libs/json-c'
/bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.    -Wall -Werror -Wno-error=deprecated-declarations -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -g -O2 -MT arraylist.lo -MD -MP -MF .deps/arraylist.Tpo -c -o arraylist.lo arraylist.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wno-error=deprecated-declarations -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -g -O2 -MT arraylist.lo -MD -MP -MF .deps/arraylist.Tpo -c arraylist.c  -fPIC -DPIC -o .libs/arraylist.o
arraylist.c: In function ‘array_list_new’:
arraylist.c:36:43: error: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Werror=calloc-transposed-args]
   36 |   if(!(arr->array = (void**)calloc(sizeof(void*), arr->size))) {
      |                                           ^~~~
arraylist.c:36:43: note: earlier argument should specify number of elements, later size of each element
cc1: all warnings being treated as errors
make[2]: *** [Makefile:586: arraylist.lo] Error 1
make[2]: Leaving directory '/home/pi/vzlogger/libs/json-c'
make[1]: *** [Makefile:650: all-recursive] Error 1
make[1]: Leaving directory '/home/pi/vzlogger/libs/json-c'
make: *** [Makefile:444: all] Error 2

any help is appreciated.

Best,
Dirk

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions