[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#4729: dpkg creates package with missing Depends:



Dirk.Eddelbuettel@qed.econ.queensu.ca wrote:
>
>Package: dpkg-dev
>Version: 1.4.0 
>
>dpkg let me build packages without a Depends: file in debian/control. [1]
>Maybe some minimal sanity checks could be added to dpkg-genchanges?
>
>[1] It could be argued that I should file this as bug against myself :-) 

Taking one of my own packages, libelf, as an example: it is not linked
against libc, so it doesn't need to depend on it (at least, I hope not -
otherwise, I've got another release to do :-); in fact, it doesn't really
need anything, except a working Linux system.

Similarly, libc doesn't depend upon anything - except, perhaps, a working
Linux kernel... there _ARE_ packages that don't really need to depend on
anything. They are few and far between (generally, they'd be libraries, or
would be designed to live by themselves - sash, a "safe shell", is a case
in point there) - but they _do_ exist.

It may be appropriate to have a warning - "this package does not depend on
anything" - but to _prevent_ this would be broken behaviour (IMO).

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com


Reply to: