[Build-common-hackers] duplicate cdbs expansion in @cdbs@
Jonas Smedegaard
dr at jones.dk
Wed Jan 12 17:49:44 UTC 2011
On Wed, Jan 12, 2011 at 05:50:23PM +0100, IOhannes m zmoelnig wrote:
>i haven't filed a bug-report yet, but wanted to bring this to our
>attention:
>
>using
>$ DEB_MAINTAINER_MODE=yes debian/rules clean
>i rebuild my debian/control.in file which contains a @cdbs@
>build-dependency.
>
>this is how @cdbs@ is expanded:
>Build-Depends: cdbs (>= 0.4.70~),
> gnulib,
> cdbs (>= 0.4.85),
> debhelper (>= 7.0.1),
> dh-buildinfo,
> libtool,
> automake1.10,
> autoconf,
> quilt,
> patchutils (>= 0.2.25),
> cdbs (>= 0.4.27),
> devscripts (>= 2.10.7~),
>
>as you can see, there are 3 build-depends on "cdbs" with varying version
>numbers.
>
>the included snippets are
><snip>
>include /usr/share/cdbs/1/rules/upstream-tarball.mk
>include /usr/share/cdbs/1/rules/debhelper.mk
>include /usr/share/cdbs/1/class/autotools.mk
>include /usr/share/cdbs/1/rules/patchsys-quilt.mk
>include /usr/share/cdbs/1/rules/utils.mk
></snip>
>
>this all happened with cdbs-0.4.90
>(i updated to 0.4.90 after 0.4.89 gave my 2 build-depends on "cdbs" :-))
One of them - 0.4.85 - will be fixed in the upcoming 0.4.91.
The other - 0.4.27 - is caused by quilt snippet not part of cdbs.
I haven't bothered to file a bugreport against quilt - I just use it as
a reminder to switch to source 3.0 (quilt). But feel free to do that
yourself.
What should be changed is a) declare the dependency with ?= (not := )
and an indirect variable to allow suppression.
Also, it might make sense to relax to depend unversioned on cdbs, since
0.4.27 is provided even in oldstable.
...or even better: Join CDBS and maintain the snippet there, to ease
coordinate improvements like that across all snippets.
- Jonas
--
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
[x] quote me freely [ ] ask before reusing [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20110112/d8ff1d37/attachment.pgp>
More information about the Build-common-hackers
mailing list