Package Details: zoneminder 1.36.5-1

Git Clone URL: https://aur.archlinux.org/zoneminder.git (read-only, click to copy)
Package Base: zoneminder
Description: A full-featured, open source, state-of-the-art video surveillance software system
Upstream URL: https://www.zoneminder.com/
Keywords: camera cctv monitor record security surveillance video zoneminder
Licenses: GPL2
Conflicts: zoneminder-git
Submitter: None
Maintainer: Nocifer
Last Packager: Nocifer
Votes: 64
Popularity: 0.136311
First Submitted: 2008-03-21 00:09
Last Updated: 2021-06-23 11:11

Dependencies (43)

Sources (8)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 ... Next › Last »

Nocifer commented on 2021-03-05 10:25

@raqua You shouldn't really, if git is asking you for an email it means you're trying to access a non-public or non-existent repo. If I had to guess, I'd say you're trying to do a "dirty" update of ZM and so the cherry-picked fix is not being applied. You should instead try to do a clean update, i.e. delete your previous sources and let makepkg download them all over again.

A proper install will look like this at the point where yours failed (this is from a build I did just now):

==> Extracting sources...
  -> Creating working copy of zoneminder-git git repo...
Cloning into 'zoneminder-git'...
done.
Switched to a new branch 'makepkg'
==> Starting prepare()...
Auto-merging web/api/app/Controller/AppController.php
[makepkg 704361813] Upgrade cakephp to 2.10.24
 Author: Isaac Connor <isaac@zoneminder.com>
 Date: Tue Feb 2 11:35:03 2021 -0500
 114 files changed, 2300 insertions(+), 878 deletions(-)
 rewrite web/api/composer.json (99%)
 create mode 100644 web/api/lib/Cake/Console/Templates/skel/.htaccess
 create mode 100644 web/api/lib/Cake/Console/Templates/skel/webroot/.htaccess
 create mode 100644 web/api/lib/Cake/Controller/RequestHandlerComponent.php
 create mode 100644 web/api/lib/Cake/Test/Case/Controller/ApplicationControllerTest.php

raqua commented on 2021-03-05 09:41

It is failing for me with this error:

==> Making package: zoneminder 1.34.23-2 (Fri 05 Mar 2021 09:17:18 AM UTC)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating zoneminder-git git repo...
Fetching origin
  -> Found zoneminder-nginx.conf
  -> Found zoneminder-httpd.conf
  -> Found zoneminder-php.ini
  -> Found zoneminder.service
  -> Found zoneminder-tmpfile.conf
  -> Found fcgiwrap-multiwatch.service
  -> Found zmsetup.sh
==> Validating source files with sha256sums...
    zoneminder-git ... Skipped
    zoneminder-nginx.conf ... Passed
    zoneminder-httpd.conf ... Passed
    zoneminder-php.ini ... Passed
    zoneminder.service ... Passed
    zoneminder-tmpfile.conf ... Passed
    fcgiwrap-multiwatch.service ... Passed
    zmsetup.sh ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of zoneminder-git git repo...
Cloning into 'zoneminder-git'...
done.
Updating files: 100% (5631/5631), done.
Switched to a new branch 'makepkg'
==> Starting prepare()...
Auto-merging web/api/app/Controller/AppController.php
Committer identity unknown

*** Please tell me who you are.

Run

  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: unable to auto-detect email address (got 'raqua@f4db960ea7ba.(none)')
==> ERROR: A failure occurred in prepare().
    Aborting...

Why should I need to provide email?

Nocifer commented on 2021-02-17 12:18

Just pushed a new release with @compgamer89's fix included, hopefully this will be the last of our woes with 1.34 until 1.35/1.36 is released.

@AlphaJack I just built the package, both with and without the cherry-pick, so your issue must be due to something else on your end.

AlphaJack commented on 2021-02-16 15:58

I am unable to compile:

[...]

[ 60%] Linking CXX static library libzm.a
[ 60%] Built target zm
make: *** [Makefile:171: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

[...]

Line 171 of Makefile is this one:

 $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 all

alanking commented on 2021-02-15 10:48

@compgamer89 thanks mate, worked a charm.

compgamer89 commented on 2021-02-15 01:37

@alanking Possibly easier fix, as an edit to PKGBUILD:

diff --git a/PKGBUILD b/PKGBUILD
index b993bc9..35898a8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -97,6 +97,9 @@ sha256sums=('SKIP'

 prepare () {
     cd $pkgname-git
+
+    # Update cake
+    git cherry-pick 2fa0fbe448058f2826dadc44572a822af2a177d5

     # Download and move extra PHP plugins into place
     git submodule update --init --recursive

Relevant commit: https://github.com/ZoneMinder/zoneminder/commit/2fa0fbe448058f2826dadc44572a822af2a177d5

alanking commented on 2021-02-06 10:23

@eriol thanks, tried that but didn't help it. i'll raise an issue with zmninja dev thanks to both of you.

eriol commented on 2021-02-05 16:04

@Nocifer @alanking I was having the same problem and finally found a solution. Cloned the github repo, moved from there the Cake directory to the right path and renamed a file contained in it from "bootstrap.php.in" to "bootstrap.php" API works now

Nocifer commented on 2021-02-05 09:56

@alanking OK, I think I found the problem. If you go to /var/log/zoneminder/ and check the logs there, specifically cake_error.log and error.log, you'll see that the problem has something to do with CakePHP, either because of some incompatibility with PHP 8 as you say, or very likely due to some issue with ZM itself (perhaps using an old version of Crud, another PHP submodule that depends on CakePHP, is the culprit here).

If I were you I'd start by making a report about this either to @pliablepixels over at zmNinja's git, since his app is the main consumer of ZM's API these days and he'll know what to look for, or directly to the ZoneMinder devs.

alanking commented on 2021-02-04 23:22

Yeah pretty sure, as I have zmninja autoload on reboot and that's when it failed to connect via the API. While the last zoneminder update was fine after rebooting. I kinda recall another time a major PHP update killed it, though I can't recall how it started working again. Any ideas how I can investigate the problem. Thanks @Nocifer