Summary: | Lastrite: www-misc/zoneminder | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Samuli Suominen (RETIRED) <ssuominen> |
Component: | Current packages | Assignee: | Gentoo TreeCleaner Project <treecleaner> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | camden.lindsay+gentoo, christian, dilfridge, mlist, tanderson, web-apps |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=494560 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 285151, 318831, 320081, 338400, 340433, 347890, 357029 | ||
Attachments: |
Updated working zoneminder build
Build log on new ebuild configure.ac.patch zm_local_camera.h.patch zoneminder ebuild tweaked to incorporate 2 prev patches zoneminder-1.24.3_preview_20110130 |
Description
Samuli Suominen (RETIRED)
![]() (In reply to comment #0) > Fails to build in various ways, see blocking/depending bugs. Last maintainer > commit 03 Aug 2009, so it's safe to say the package is abandoned. CPPFLAGS="-D__STDC_CONSTANT_MACROS" emerge http://bugs.gentoo.org I obtained it from http://bugs.gentoo.org/show_bug.cgi?id=281198 The next thing is to stay zoneminder in portage tree is that there is no other such program. CPPFLAGS="-D__STDC_CONSTANT_MACROS" emerge -av www-misc/zoneminder Take my pardon for mistake in previous post. Please do not delete this build. The main program has not been updated for quite some time because it is so feature rich and it should only be a small fix to make this ebuild work correctly. It is an awesome webcam/ip cam monitoring tools, allowing movement zones, capture, email of intrusions, etc. It is actually sold by people as a solution for security. Personally, I use it to watch my desk at work, so I can keep an eye on my stapler, but still, this is piece of software that rivals, and in many cases, beats many commercial pieces. Fix: export CXXFLAGS="D__STDC_CONSTANT_MACROS" emerge zoneminder unset CXXFLAGS Additionally, it requires -j 1 (only a single make thread), but that is already coded into the ebuild. I don't mind if someone finally fixes it, but I'm not looking to be a maintainer nor proxy maintainer for said package. Status quo however is unsustainable. That's what lastrite is, last call for help. You still have bug 357029 after solving the FFmpeg porting issue. Created attachment 266931 [details] Updated working zoneminder build Please find attached an updated working ebuild This e-build addresses * parallel build - zoneminder wont build with more than -j1 * the __STDC_CONSTANT_MACROS * usage of ${ROOT} in the install area This is basically a copy from bug 320081, tweaked slightly. Created attachment 266933 [details]
Build log on new ebuild
The new ebuild that you attached also fails on my system. I have attached the build.log
I've tested to install www-misc/zoneminder on latest amd64 with 2.6.36-r8 and 2.6.36-headers. I unmasked these packages to solve "missing keywords": www-misc/zoneminder ** dev-perl/PHP-Serialization ** virtual/perl-Module-Load ** perl-core/Module-Load ** and install zoneminder with CPPFLAGS="-D__STDC_CONSTANT_MACROS". It works fine. But in ~amd64 with 2.6.38-r2 and 2.6.38-headers I can't install it. The problem exists. Only a maintainer of maybe new maintainer can generate a new version for newer kernel sources. Created attachment 267879 [details, diff] configure.ac.patch http://permalink.gmane.org/gmane.linux.debian.devel.bugs.general/811743 patch 1 of 2 for bugs from this report. Created attachment 267883 [details, diff] zm_local_camera.h.patch http://permalink.gmane.org/gmane.linux.debian.devel.bugs.general/811743 patch 2 of 2 for the bugs at this address Created attachment 267885 [details] zoneminder ebuild tweaked to incorporate 2 prev patches http://permalink.gmane.org/gmane.linux.debian.devel.bugs.general/811743 Ebuild tweaked incorporate previous 2 patches. Built successfully for me using 2.6.38 (sys-kernel/linux-headers) Linux-2.6.37-gentoo-r2 with local overlay. Created attachment 268001 [details] zoneminder-1.24.3_preview_20110130 testing ebuild for ZoneMinder-1.24.3 preview as of 2011.01.30 from http://www.zoneminder.com/forums/viewtopic.php?f=21&t=17129 i sucessfully compiled zoneminder-1.24.2 on ~amd64 with this command: ZM_SSL_LIB='openssl' FEATURES='-ccache' CXXFLAGS=-D__STDC_CONSTANT_MACROS emerge zoneminder Removed from main tree. Because I know this was a popular application, and useful too, you can find the old ebuilds from here: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/www-misc/zoneminder/?hideattic=0 But nobody was intrested in maintaining this, so it was removed. What does it take to maintain this? I might consider maintaining it, but I really have no idea what it takes... Just for the record, if I find the time, I'll try to revive the application. Look in my dev overlay for work in progress. If anyone is interested in proxy-maintaining, please contact me. |