Debian Bug report logs -
#311724
cdbs: Automatic update of debian/control, first paragraph, broken
Reply or subscribe to this bug.
Toggle useless messages
Report forwarded to
debian-bugs-dist@lists.debian.org, Joerg Jaspert <joerg@ganneff.de>, CDBS Hackers <build-common-hackers@lists.alioth.debian.org>:
Bug#311724; Package
cdbs.
Full text and
rfc822 format available.
Acknowledgement sent to
Joerg Jaspert <joerg@debian.org>:
New Bug report received and forwarded. Copy sent to
Joerg Jaspert <joerg@ganneff.de>, CDBS Hackers <build-common-hackers@lists.alioth.debian.org>.
Full text and
rfc822 format available.
Message #5 received at submit@bugs.debian.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Package: cdbs
Version: 0.4.30
Severity: normal
Hi Maintainer,
First of it: Im *not* after getting cdbs to die or something which I
already heard from some, it is *this* one mis-feature im against.
Im talking about the "Update Build-Depends on the fly" thing and the bad
things that it produces.
Sorry, but Packages with such autogenerated build-dependencies should
not go in our archive, for various reasons, the biggest one is:
- Modifying them on the fly can mean that they change without you noticing
it. This is not bad for the actual built you do, but now think about later
builds. Our autobuilders will get the changed Build-Dependencies and then
may built a different thing.
Or think about NMUs (eg. for RC fixes and stuff) or in worst case even
security updates.
A few examples of autogenerated Build-Dependencies which I found in NEW
are (trimmed for line-size):
1: debhelper (>=4.2.0), cdbs (>=0.4.23-1.1), build-essential,
debhelper (>=4.1.0), quilt, patchutils (>=0.2.25),
cdbs (>=0.4.27-1), python-dev
Note: I havent doubled the debhelper or cdbs ones, they ARE this way.
2: cdbs (>= 0.4.23-1.1), build-essential, debhelper (>= 4.1.0),
patchutils (>= 0.2.25)
Note: Here it is mainly b-e - maybe related to an older bug in cdbs,
but still an example.
I could paste more, but would make mail unneccessary long. :)
A solution to this thing is simple:
Add another target in the cdbs thing, that is *never* called automaic
in the build-process, only if the maintainer runs it with debian/rules
target and let that one do the update thingie. Of course maintainer
needs to look if it is correct then.
The only exception from modifying something in the first paragraph of
debian/control is the uploaders field, as it would be insane for some big
group-maintained package to do that by hand, but thats it.
--
bye Joerg
"That's just f***ing great, now the bar for being a cool guy in free
software just got raised. It used to be you just had to write a million
lines of useful code. Now you've got to get a subpoena from SCO to be cool."
[Message part 2 (application/pgp-signature, inline)]
Information forwarded to
debian-bugs-dist@lists.debian.org, CDBS Hackers <build-common-hackers@lists.alioth.debian.org>:
Bug#311724; Package
cdbs.
Full text and
rfc822 format available.
Acknowledgement sent to
Martin Quinson <martin.quinson@loria.fr>:
Extra info received and forwarded to list. Copy sent to
CDBS Hackers <build-common-hackers@lists.alioth.debian.org>.
Full text and
rfc822 format available.
Message #10 received at 311724@bugs.debian.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Fri, Jun 03, 2005 at 12:08:01AM +0200, Joerg Jaspert wrote:
>
> Im talking about the "Update Build-Depends on the fly" thing and the bad
> things that it produces.
>
> Sorry, but Packages with such autogenerated build-dependencies should
> not go in our archive, for various reasons, the biggest one is:
>
> - Modifying them on the fly can mean that they change without you noticing
> it. This is not bad for the actual built you do, but now think about later
> builds. Our autobuilders will get the changed Build-Dependencies and then
> may built a different thing.
> Or think about NMUs (eg. for RC fixes and stuff) or in worst case even
> security updates.
I am playing with the idea of having cdbs ensuring that the human provided
dependencies are enough. I mean, if cdbs various part say that we need this:
> 1: debhelper (>=4.2.0), cdbs (>=0.4.23-1.1), build-essential,
> debhelper (>=4.1.0), quilt, patchutils (>=0.2.25),
> cdbs (>=0.4.27-1), python-dev
then make sure that the build dependencies hand-written in the control file
ensure at least
debhelper (>=4.2.0), cdbs (>=0.4.27-1), quilt, patchutils (>=0.2.25), python-dev
Ie, that the set of human provided build-dependencies encompass the script
demanded ones. Would it be ok for you to stop the compilation process if
it's not the case (ie, if the human forgot one build-dep, according to the
scripts), or would you consider this as just another form of the pure evil
you are talking in your mail?
Anyway, I'm struggling with implementations issue here and don't plan to do
anything before a while. Of course, I could do a little perl script
somewhere under /usr/lib doing the verification, but I was kind of wondering
if such thing already exists in dpkg or apt or not...
Bye, Mt.
[signature.asc (application/pgp-signature, inline)]
Information forwarded to
debian-bugs-dist@lists.debian.org, CDBS Hackers <build-common-hackers@lists.alioth.debian.org>:
Bug#311724; Package
cdbs.
Full text and
rfc822 format available.
Acknowledgement sent to
Marc Haber <mh+debian-packages@zugschlus.de>:
Extra info received and forwarded to list. Copy sent to
CDBS Hackers <build-common-hackers@lists.alioth.debian.org>.
Full text and
rfc822 format available.
Message #15 received at 311724@bugs.debian.org (full text, mbox):
On Wed, Jun 08, 2005 at 05:15:12PM +0200, Martin Quinson wrote:
> Anyway, I'm struggling with implementations issue here and don't plan to do
> anything before a while.
In the meantime, I'd really appreciate a short HOWTO giving directions
how to invoke the auto-update process from a dedicated target so that
DEB_AUTO_UPDATE_DEBIAN_CONTROL can be removed from my debian/rules
files while still having the automatic process available for manual
invocation.
Greetings
Marc
--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835
Information forwarded to
debian-bugs-dist@lists.debian.org, CDBS Hackers <build-common-hackers@lists.alioth.debian.org>:
Bug#311724; Package
cdbs.
Full text and
rfc822 format available.
Acknowledgement sent to
Sam Morris <sam@robots.org.uk>:
Extra info received and forwarded to list. Copy sent to
CDBS Hackers <build-common-hackers@lists.alioth.debian.org>.
Full text and
rfc822 format available.
Message #23 received at 311724@bugs.debian.org (full text, mbox):
This does the trick:
fakeroot debian/rules debian/control DEB_AUTO_UPDATE_DEBIAN_CONTROL:=yes
--
Sam Morris
http://robots.org.uk/
PGP key id 5EA01078
3412 EA18 1277 354B 991B C869 B219 7FDB 5EA0 1078
Tags added: confirmed
Request was from
Peter Eisentraut <petere@debian.org>
to
control@bugs.debian.org.
Full text and
rfc822 format available.
Forcibly Merged 311724 524767.
Request was from
Vincent Bernat <bernat@debian.org>
to
control@bugs.debian.org.
(Fri, 01 May 2009 09:57:13 GMT)
Full text and
rfc822 format available.
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Tue Feb 9 19:47:31 2010;
Machine Name:
busoni.debian.org
Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.