Package Details: zoneminder 1.36.33-2

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: GPL-2.0-only
Conflicts: zoneminder-git
Submitter: None
Maintainer: Nocifer
Last Packager: Nocifer
Votes: 72
Popularity: 1.48
First Submitted: 2008-03-21 00:09 (UTC)
Last Updated: 2024-02-12 12:50 (UTC)

Latest Comments

« First ‹ Previous 1 .. 9 10 11 12 13 14 15 16 17 18 19 .. 62 Next › Last »

raqua commented on 2021-03-05 09:41 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

@compgamer89 thanks mate, worked a charm.

compgamer89 commented on 2021-02-15 01:37 (UTC)

@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 (UTC)

@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 (UTC) (edited on 2021-02-05 16:21 (UTC) by eriol)

@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 (UTC)

@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 (UTC)

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

Nocifer commented on 2021-02-04 21:30 (UTC)

@alanking I took a quick look at zmNinja's and ZoneMinder's issue trackers on Github and couldn't find anything related to your issue or issues with PHP in genereal on neither of them. Are you absolutely sure it's because of that PHP update? ZoneMinder itself was also updated ~10 days ago, and this new release was problematic enough that it even had to be re-released because its first iteration was fubar. Maybe it's some internal change that has broken the API.