reject of harpia 1.0-0ubuntu1

Steve Langasek steve.langasek at canonical.com
Tue Jul 7 01:26:02 BST 2009


Hello,

I'm rejecting the upload of harpia 1.0-0ubuntu1 from karmic.  The reason is
this:

 Package: harpia
 Architecture: all
 Depends: ${python:Depends},python-gobject,python-gtk2,python-gnomecanvas,python-gnome2,python-glade2,python-4suite-xml,libcv1,libcvaux1,libcv-dev,libcvaux-dev,libhighgui-dev,libhighgui1,build-essential,ffmpeg,gcc,python (>= 2.5),${misc:Depends}

Packages should never hard-code dependencies on specific runtime library
packages; they should be calculated instead using the dpkg-shlibdeps
mechanism, for any ELF library dependencies.  In this case, harpia does not
appear to need these dependencies at all on libcv1, libcvaux1, and
libhighgui1, since the corresponding runtime libraries will already be
pulled in by the -dev packages you depend on.

Also, you have a dependency on both build-essential and gcc.  gcc is itself
a transitive dependency of build-essential; you should either depend on
build-essential alone, or depend on gcc plus whichever other bits of
build-essential you need (libc6-dev?).  (The fact that build-essential does
not directly depend on gcc is a bug, which I'll file.)

Finally, and just as an aside - while your Depends/Build-Depends lines are
perfectly valid, the convention is to use comma+space as the delimiter
rather than just commas, for legibility.  It would be nice if you could
normalize these fields when reuploading.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org



More information about the ubuntu-archive mailing list