Package: primesense-nite-nonfree
Version: 0.1
Severity: important
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package left unowned files on
the system after purge, which is a violation of policy 6.8 (or 10.8):

http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#s-removedetails

Filing this as important as having a piuparts clean archive is a release
goal since lenny.

>From the attached log (scroll to the bottom...):

1m39.2s ERROR: FAIL: Package purging left files on system:
  /var/cache/primesense-nite-nonfree/    owned by: primesense-nite-nonfree
  /var/cache/primesense-nite-nonfree/primesense-nite.tar.bz2.zip         not 
owned


Oh, there is a typo in the postrm:

  rm -rf /var/cache/primsesense-nite-nonfree/*
                        ^

Also the package build step fails, but the error is ignored:

  Selecting previously unselected package primesense-nite-nonfree.
  (Reading database ... 11003 files and directories currently installed.)
  Unpacking primesense-nite-nonfree (from 
.../primesense-nite-nonfree_0.1_amd64.deb) ...
  Setting up primesense-nite-nonfree (0.1) ...
  Checking integrity of downloaded file using sha256sum ...
  /tmp/primesense-nite.tar.bz2.zip: OK
  /tmp/primesense-nite.8016 /tmp/primesense-nite-nonfree.vvmH8wHo3q
  /tmp/primesense-nite.8016/openni-modules-primesense-nite-nonfree 
/tmp/primesense-nite.8016 /tmp/primesense-nite-nonfree.vvmH8wHo3q
  sh: 1: gcc: not found
  dpkg-architecture: warning: Couldn't determine gcc system type, falling back 
to default (native compilation)
  sh: 1: gcc: not found
  dpkg-architecture: warning: Couldn't determine gcc system type, falling back 
to default (native compilation)
   dpkg-buildpackage -rfakeroot -D -us -uc
  dpkg-buildpackage: warning: using a gain-root-command while being root
  dpkg-buildpackage: source package primesense-nite-nonfree
  dpkg-buildpackage: source version 1.5.2.21-1
  dpkg-buildpackage: source distribution UNRELEASED
  dpkg-buildpackage: source changed by Cosimo Alfarano <ka...@debian.org>
  sh: 1: gcc: not found
  dpkg-architecture: warning: Couldn't determine gcc system type, falling back 
to default (native compilation)
   dpkg-source --before-build openni-modules-primesense-nite-nonfree
  dpkg-buildpackage: host architecture amd64
  dpkg-checkbuilddeps: Unmet build dependencies: build-essential:native 
debhelper (>= 7.0.50~) fakeroot
  dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
  dpkg-buildpackage: warning: (Use -d flag to override.)
  debuild: fatal error at line 1361:
  dpkg-buildpackage -rfakeroot -D -us -uc failed

If you want this to work out of the box, you need to add the
Build-Depends of the package to be built to the Depends of the
package being installed from the archive.


cheers,

Andreas

Attachment: primesense-nite-nonfree_0.1.log.gz
Description: GNU Zip compressed data

Reply via email to