missing dependency on "libnet-sftp-foreign-perl"

Bug #1006890 reported by frankster
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zoneminder (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Steps taken:
* from zoneminder screen: Options, Upload, set UPLOAD_PROTOCOL to sftp
* set up a valid server/account details
* go to an existing event filter and enable uploading of events that match this filter

Expected result:
* events are uploaded to the entered server

Actual result:
* error log entries appear in zoneminder's log database: "2012-05-31 13:50:51.325650 zmdc 6149 ERR 'zmfilter.pl ' exited abnormally, exit status 9 zmdc.pl"
* running zmfilter.pl gives the following output:
Name "Net::SFTP::Foreign::debug" used only once: possible typo at /usr/bin/zmfilter.pl line 812.
Can't locate Net/SFTP/Foreign.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl) at /usr/bin/zmfilter.pl line 78.

I conclude that zoneminder is missing a dependency on the "libnet-sftp-foreign-perl" package.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: zoneminder 1.25.0-1
ProcVersionSignature: Ubuntu 3.2.0-24.39-generic 3.2.16
Uname: Linux 3.2.0-24-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu8
Architecture: amd64
Date: Thu May 31 13:58:55 2012
InstallationMedia: Mythbuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
SourcePackage: zoneminder
UpgradeStatus: Upgraded to precise on 2012-05-30 (0 days ago)

Related branches

Revision history for this message
frankster (wtfrank) wrote :
Changed in zoneminder (Ubuntu):
status: New → In Progress
assignee: nobody → Paolo Rotolo (paolorotolo)
Revision history for this message
Paolo Rotolo (paolorotolo) wrote :

Hi,
Thanks for your bug report.
Here's the patch to fix it.

Changed in zoneminder (Ubuntu):
status: In Progress → Fix Committed
assignee: Paolo Rotolo (paolorotolo) → nobody
tags: added: patch
Revision history for this message
Charlie_Smotherman (cjsmo) wrote :

Paolo,

Thanks for the patch, however the version and release pocket in debian/changelog are incorrect could you please fix them
(hint 2ubuntu1, quantal)

Changed in zoneminder (Ubuntu):
status: Fix Committed → Incomplete
Revision history for this message
Paolo Rotolo (paolorotolo) wrote :

Hi Charlie,
sure, here's the new patch.

Thanks,
Paolo

Changed in zoneminder (Ubuntu):
status: Incomplete → Fix Committed
Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

Uploaded, though I did have to fix the version number. Charlie's hint wasn't right either.

To quote the packaging guide(http://developer.ubuntu.com/packaging/html/debian-dir-overview.html#the-changelog):

"If a Debian package has been changed in Ubuntu, it has ubuntuX (where X is the Ubuntu revision number) appended to the end of the Debian version. So if the Debian hello 2.6-1 package was changed by Ubuntu, the version string would be 2.6-1ubuntu1. If a package for the application does not exist in Debian, then the Debian revision is 0 (e.g. 2.6-0ubuntu1)."

So in this case, the version in Debian is 1.25.0-1.1 so the changed Ubuntu version is 1.25.0-1.1ubuntu1.

You also need to remember to update the maintainer filed (https://wiki.ubuntu.com/DebianMaintainerField). The "update-maintainer" script in ubuntu-dev-tolls is helpful with this.

This looks like something that might apply to Debian as well. For extra points, you might want to confirm that and forward the patch. Take a look at the "submittodebian" script in ubuntu-dev-tools.

Thanks for your work on this!

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package zoneminder - 1.25.0-1.1ubuntu1

---------------
zoneminder (1.25.0-1.1ubuntu1) quantal; urgency=low

  * Add libnet-sftp-foreign-perl to dependencies (LP: #1006890).
 -- Paolo Rotolo <email address hidden> Fri, 01 Jun 2012 16:11:20 +0100

Changed in zoneminder (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.