Page 1 of 1

do_debian_package.sh fails for 1.37.44

Posted: Wed Sep 20, 2023 9:34 pm
by pygr
A build + install of a version 1.37.42 deb on my system (Odroid N2+ with Dietpi bookworm) succeeds. The service mostly works as expected except that the 3 running zmc processes slowly (hours) increase their memory usage, so that eventually the oom killer has to do its job to restart zoneminder.

So I figured I'd try to clone and build 1.37.44 to see if the problem had been fixed. Using the same procedure that successfully builds 1.37.42 doesn't work for 1.37.44.

Any ideas how to get it to succeed?

For 1.37.44, the execution of

Code: Select all

~/ZM/utils/do_debian_package.sh --snapshot=NOW --fork=myfork --branch=mybranch --type=local
ends with

Code: Select all

...
gmake[2]: Leaving directory '/home/droid/ZM/utils/zoneminder_1.37.44~20230920121944.orig/dbuild/CMakeFiles/CMakeScratch/TryCompile-9S1b8t'



Checking whether the ASM compiler is GNU using "--version" matched "(GNU assembler)|(GCC)|(Free Software Foundation)":
cc (Debian 12.2.0-14) 12.2.0
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

dh_auto_configure: error: cd dbuild && cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DFETCHCONTENT_FULLY_DISCONNECTED=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/aarch64-linux-gnu -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_MAN=0 -DZM_NO_PCRE=ON -DZM_CONFIG_DIR=/etc/zm -DZM_CONFIG_SUBDIR=/etc/zm/conf.d -DZM_RUNDIR=/run/zm -DZM_SOCKDIR=/run/zm -DZM_TMPDIR=/var/tmp/zm -DZM_CGIDIR=/usr/lib/zoneminder/cgi-bin -DZM_CACHEDIR=/var/cache/zoneminder/cache -DZM_DIR_EVENTS=/var/cache/zoneminder/events -DZM_PATH_SHUTDOWN=/sbin/shutdown -DZM_PATH_ZMS=/zm/cgi-bin/nph-zms .. returned exit code 1
make[1]: *** [debian/rules:18: override_dh_auto_configure] Error 2
make[1]: Leaving directory '/home/droid/ZM/utils/zoneminder_1.37.44~20230920121944.orig'
make: *** [debian/rules:14: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
debuild: fatal error at line 1182:
dpkg-buildpackage -us -uc -ui -i -b failed
Error status code is: 0
Build failed.

Re: do_debian_package.sh fails for 1.37.44

Posted: Fri Sep 22, 2023 1:05 am
by pygr
do_debian_package.sh succeeds for 1.37.45!