Bug 512629
Summary: | Missing dependency in Zoneminder | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Alastair D'Silva <redhat> |
Component: | zoneminder | Assignee: | Martin Ebourne <fedora> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 11 | CC: | fedora, j |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 1.24.2-2.fc11 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-08-27 22:52:04 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Alastair D'Silva
2009-07-20 01:55:55 UTC
Interesting, I have a minimal install, installed zoneminder and mysql with no additional dependencies and the system runs fine. perl-MIME-Lite is not installed. Perhaps you could give more details of your configuration. There is a conditional require statement in zmfilter.pl: if ( ZM_OPT_MESSAGE ) { if ( ZM_NEW_MAIL_MODULES ) { require MIME::Lite; require Net::SMTP; } else { require MIME::Entity; } } MIME::Lite is currently listed as a build dependency, but should be runtime dependency. The only shows up if certain features are enabled. A quick grep through Zoneminder shows the following should also be runtime dependencies, rather than build dependencies: Archive::Tar, Archive::Zip, Net::FTP required for uploads Net::SMTP MIME::Lite MIME::Entity required for email alarms File::Find required for update checks (In reply to comment #2) > There is a conditional require statement in zmfilter.pl: Yes, I understand that, but I was asking for some details about your configuration so that I could better understand the circumstances under which you'd see this failure. I suppose you don't wish to give that out, which is your prerogative. It looks like RPM's automatic Perl depencency detection is missing these, perhaps because they're require'd instead of use'd, and it certainly seems reasonable to add them. Martin, what do you think? I'm working on rebasing the patches to the new version currently in rawhide, but I could trivially rev the F11 package to add these additional deps. No objections to the specific circumstances, I just don't have access to the machine until I get home, so I can't investigate which options trigger it. Yes seems reasonable. I'm happy to push the upgrade but you're welcome too if you like. I agree about the database upgrade will need to check that. zoneminder-1.24.2-2.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/zoneminder-1.24.2-2.fc11 zoneminder-1.24.2-2.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update zoneminder'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-7949 zoneminder-1.24.2-2.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report. |