Discussion:
[Sisuite-devel] Small patch to debian/control file
Andrea Capriotti
2007-11-02 08:34:59 UTC
Permalink
Hi,

I find that some dependencies are missing and this patch adds python-dev
and wget to Build-Depends and docbook-utils to Build-Depends-Indep to
fix the problems.

$ svn diff
Index: debian/control.in
===================================================================
--- debian/control.in (revisione 4322)
+++ debian/control.in (copia locale)
@@ -2,9 +2,9 @@
Section: admin
Priority: optional
Maintainer: dann frazier <***@debian.org>
-Build-Depends: bc, bzip2, cramfsprogs (>= 1.1-4), debhelper (>= 4.0.0), flex, gettext, groff-base, libdevmapper-dev, libpopt-dev, libtool, libreadline5-dev, libssl-dev, module-init-tools, rsync, texinfo, uuid-dev, zlib1g-dev, tofrodos | sysutils (<= 2.0.0-1)
+Build-Depends: bc, bzip2, cramfsprogs (>= 1.1-4), debhelper (>= 4.0.0), flex, gettext, groff-base, libdevmapper-dev, libpopt-dev, libtool, libreadline5-dev, libssl-dev, module-init-tools, python-dev, rsync, texinfo, uuid-dev, wget, zlib1g-dev, tofrodos | sysutils (<= 2.0.0-1)
Build-Conflicts: libc-pic
-Build-Depends-Indep: docbook-to-man
+Build-Depends-Indep: docbook-to-man, docbook-utils
Standards-Version: 3.7.2

Package: systemimager-server

Best Regards
--
Andrea Capriotti
System Management Group - Cineca - www.cineca.it
***@cineca.it - Tel +39 051 6171890
Andrea Righi
2007-11-02 11:22:27 UTC
Permalink
Post by Andrea Capriotti
I find that some dependencies are missing and this patch adds python-dev
and wget to Build-Depends and docbook-utils to Build-Depends-Indep to
fix the problems.
A small patch for a man, a giant leap for systemimager! :-) Any kind of help in
dep packaging is strongly appreciated. Applied:

http://svn.systemimager.org/listing.php?repname=systemimager&path=%2Ftrunk%2F&rev=4325&sc=1

Thanks,
-Andrea
dann frazier
2007-11-02 15:38:30 UTC
Permalink
Post by Andrea Capriotti
Hi,
I find that some dependencies are missing and this patch adds python-dev
and wget to Build-Depends and docbook-utils to Build-Depends-Indep to
fix the problems.
fwiw, wget isn't a build-dependency for the official packages because
they include all of the necessary source - fetching source during a
build isn't considered legal for official builds. Of course, the
debian code in the upstream trunk presumably still fetches source
itself, so its probably a valid addition there.
--
dann frazier
Andrea Righi
2007-11-02 20:28:23 UTC
Permalink
Post by dann frazier
Post by Andrea Capriotti
Hi,
I find that some dependencies are missing and this patch adds python-dev
and wget to Build-Depends and docbook-utils to Build-Depends-Indep to
fix the problems.
fwiw, wget isn't a build-dependency for the official packages because
they include all of the necessary source - fetching source during a
build isn't considered legal for official builds. Of course, the
debian code in the upstream trunk presumably still fetches source
itself, so its probably a valid addition there.
So if I understand well the solution here would be to include all the necessary
source of the external packages directly into the systemimager source? which
solution has been used for 3.6.3 (the latest release included in Debian)?

-Andrea
dann frazier
2007-11-02 20:32:37 UTC
Permalink
Post by Andrea Righi
Post by dann frazier
Post by Andrea Capriotti
Hi,
I find that some dependencies are missing and this patch adds python-dev
and wget to Build-Depends and docbook-utils to Build-Depends-Indep to
fix the problems.
fwiw, wget isn't a build-dependency for the official packages because
they include all of the necessary source - fetching source during a
build isn't considered legal for official builds. Of course, the
debian code in the upstream trunk presumably still fetches source
itself, so its probably a valid addition there.
So if I understand well the solution here would be to include all the necessary
source of the external packages directly into the systemimager source? which
solution has been used for 3.6.3 (the latest release included in Debian)?
The Debian packages have always included all external source; I don't
think that's necessarily the right solution for upstream (in fact, I
was the one who wrote 'getsource' et al, as I recall). But when
distributions ship binaries they must also be able to ship the exact
source on the same media, otherwise they risk violating the GPL. And,
builds need to be reproducable, so they shouldn't depend on external
services that could go away.
--
dann frazier
Andrea Righi
2007-11-02 20:40:18 UTC
Permalink
Post by dann frazier
The Debian packages have always included all external source; I don't
think that's necessarily the right solution for upstream (in fact, I
was the one who wrote 'getsource' et al, as I recall). But when
distributions ship binaries they must also be able to ship the exact
source on the same media, otherwise they risk violating the GPL. And,
builds need to be reproducable, so they shouldn't depend on external
services that could go away.
Thanks for your usual precious clarifications dann. So, Andrea(C) what do you
think? it seems reasonable to remove the wget from Build-Depends.

-Andrea(R)

Loading...