Package Details: zoneminder 1.36.35-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://zoneminder.com/
Keywords: camera cctv monitor record security surveillance video zoneminder
Licenses: GPL-2.0-only
Submitter: None
Maintainer: Nocifer
Last Packager: Nocifer
Votes: 72
Popularity: 0.24
First Submitted: 2008-03-21 00:09 (UTC)
Last Updated: 2024-10-22 17:14 (UTC)

Dependencies (45)

Sources (8)

Latest Comments

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

yaspoon commented on 2024-07-17 09:22 (UTC)

I managed to get it to build by patching the PKGBUILD and zoneminder src to build against the ffmpeg4.4 package

I've pushed a branch with the changes here if anyone else is interested: https://github.com/yaspoon/aur-zoneminder/tree/switch_to_ffmpeg44

synthead commented on 2024-07-09 19:44 (UTC)

Upstream issue for supporting ffmpeg 7 https://github.com/ZoneMinder/zoneminder/issues/3983

Nocifer commented on 2024-07-06 08:48 (UTC)

@simona That issue is due to an incompatibility with FFmpeg 7.0, see the previous comments for more info and a workaround.

simona commented on 2024-07-05 08:57 (UTC)

In file included from /home/simona/.cache/yay/zoneminder/src/zoneminder-1.36.33/src/zm_monitor.h:24, from /home/simona/.cache/yay/zoneminder/src/zoneminder-1.36.33/src/zm_analysis_thread.cpp:3:
/home/simona/.cache/yay/zoneminder/src/zoneminder-1.36.33/src/zm_camera.h: In member function ‘int Camera::getChannels()’:
/home/simona/.cache/yay/zoneminder/src/zoneminder-1.36.33/src/zm_camera.h:111:51: error: ‘AVCodecParameters’ {aka ‘struct AVCodecParameters’} has no member named ‘channels’
111 | return mAudioStream ? mAudioStream->codecpar->channels : -1; | ^~~~
make[2]: *** [src/CMakeFiles/zm.dir/build.make:76: src/CMakeFiles/zm.dir/zm_analysis_thread.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:484: src/CMakeFiles/zm.dir/all] Error 2 make: *** [Makefile:136: all] Error 2

Nocifer commented on 2024-06-25 08:43 (UTC)

As already observed, this isn't something that can be fixed by simply rebuilding against FFmpeg 7.0. It's been a known issue for a while now, but FFmpeg 7.0 hadn't hit the Arch repos until very recently so we weren't affected by it. The good news is that the latest upstream has already applied the required changes, so all we can do is wait until a new tagged version is released.

In the meanwhile, downgrading FFmpeg to the latest 6.x version, like @synthead did, should work fine.

synthead commented on 2024-06-25 00:54 (UTC)

Downgrading ffmpeg to 2:6.1.1-7 and x265 to 3.5-3 makes this work as a workaround.

synthead commented on 2024-06-25 00:01 (UTC) (edited on 2024-06-25 00:24 (UTC) by synthead)

This package doesn't seem to build:

In file included from /home/greg/.cache/pacaur/zoneminder/src/zoneminder-1.36.33/src/zm_curl_camera.h:25,
                 from /home/greg/.cache/pacaur/zoneminder/src/zoneminder-1.36.33/src/zm_curl_camera.cpp:20:
/home/greg/.cache/pacaur/zoneminder/src/zoneminder-1.36.33/src/zm_camera.h: In member function ‘int Camera::getChannels()’:
/home/greg/.cache/pacaur/zoneminder/src/zoneminder-1.36.33/src/zm_camera.h:111:51: error: ‘AVCodecParameters’ {aka ‘struct AVCodecParameters’} has no member named ‘channels’
  111 |     return mAudioStream ? mAudioStream->codecpar->channels : -1;
      |                                                   ^~~~~~~~
/home/greg/.cache/pacaur/zoneminder/src/zoneminder-1.36.33/src/zm_curl_camera.cpp: In member function ‘void* cURLCamera::thread_func()’:
/home/greg/.cache/pacaur/zoneminder/src/zoneminder-1.36.33/src/zm_curl_camera.cpp:512:35: warning: ‘CURLOPT_PROGRESSFUNCTION’ is deprecated: since 7.32.0. Use CURLOPT_XFERINFOFUNCTION [-Wdeprecated-declarations]
  512 |   cRet = (*curl_easy_setopt_f)(c, CURLOPT_PROGRESSFUNCTION, &progress_callback_dispatcher);
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/greg/.cache/pacaur/zoneminder/src/zoneminder-1.36.33/src/zm_curl_camera.h:32:
/usr/include/curl/curl.h:1295:3: note: declared here
 1295 |   CURLOPTDEPRECATED(CURLOPT_PROGRESSFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 56,
      |   ^~~~~~~~~~~~~~~~~
/home/greg/.cache/pacaur/zoneminder/src/zoneminder-1.36.33/src/zm_curl_camera.cpp:555:42: warning: ‘CURLINFO_CONTENT_LENGTH_DOWNLOAD’ is deprecated: since 7.55.0. Use CURLINFO_CONTENT_LENGTH_DOWNLOAD_T [-Wdeprecated-declarations]
  555 |         cRet = (*curl_easy_getinfo_f)(c, CURLINFO_CONTENT_LENGTH_DOWNLOAD, &dSize);
      |                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2882:3: note: declared here
 2882 |   CURLINFO_CONTENT_LENGTH_DOWNLOAD
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Manifying 23 pod documents
make[2]: *** [src/CMakeFiles/zm.dir/build.make:146: src/CMakeFiles/zm.dir/zm_curl_camera.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....

SilicaAnimus commented on 2024-06-24 15:00 (UTC) (edited on 2024-06-24 19:44 (UTC) by SilicaAnimus)

after running garuda-update, zoneminder no longer shows my cameras, it appears zmc won't start. zmc -m 3 zmc: error while loading shared libraries: libavformat.so.60: cannot open shared object file: No such file or directory it looks like libavformat.so is now version 61, along with libavcodec.so, and this package needs to be rebuilt

Edit: it looks like this is multi-distro issue, all 1.36 versions seem to have it, but they haven't done a 1.37 official relase yet, manually built 1.37 and its working.

Nocifer commented on 2024-03-04 16:59 (UTC) (edited on 2024-03-04 18:07 (UTC) by Nocifer)

That's because apparently perl-class-std-fast was removed from the AUR a few days ago, and it's a dependency of perl-soap-wsdl, which is a dependency of Zoneminder.

EDIT: I reuploaded the package to satisfy the dependency. I really wonder who deleted it so thoughtlessly without first making sure that its removal wouldn't break other packages that may need it...

mateusviccari commented on 2024-03-04 13:47 (UTC)

I'm getting a No AUR package found for perl-class-std-fast error