Debian Bug report logs - #5210
dpkg-gencontrol: Support substvars in names of binary packages

version graph

Package: dpkg-dev; Maintainer for dpkg-dev is Dpkg Developers <debian-dpkg@lists.debian.org>; Source for dpkg-dev is src:dpkg (PTS, buildd, popcon).

Reported by: Mr Stuart Lamble <lamble@aurora.cc.monash.edu.au>

Date: Thu, 31 Oct 1996 22:33:19 UTC

Severity: wishlist

Tags: wontfix

Merged with 66336, 89697, 150597, 154514

Found in versions 1.10.4, 1.8.3.1, 1.9.21

Done: Guillem Jover <guillem@hadrons.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-devel@lists.debian.org, Ian Jackson <ian@chiark.greenend.org.uk>:
Bug#5210; Package dpkg. (full text, mbox, link).


Acknowledgement sent to Mr Stuart Lamble <lamble@aurora.cc.monash.edu.au>:
New bug report received and forwarded. Copy sent to Ian Jackson <ian@chiark.greenend.org.uk>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Mr Stuart Lamble <lamble@aurora.cc.monash.edu.au>
To: submit@bugs.debian.org
Subject: dpkg-source complains on substitution variables
Date: Fri, 01 Nov 96 09:14:57 +1100
Package: dpkg
Version: 1.4.0.2

When I was building up libelf0, I tried using ${MAJOR} in debian/control:

Package: libelf${MAJOR}
...
Package: libelf${MAJOR}-dev

in an attempt to not have to edit the control file when libelf 1.0.0 comes
out. (yeah, I'm lazy. :) dpkg-source barfs on this, despite having setup
substvars properly, claiming that the package has two conflicting names,
libelf0 and libelf${MAJOR}.

I worked around it by changing the ${MAJOR}s to 0, but as I read the manual,
it should know how to use substvars to do the required job. 'Course, I could
be showing off my ignorance here. :)


Information forwarded to debian-devel@lists.debian.org, Ian Jackson <ian@chiark.greenend.org.uk>:
Bug#5210; Package dpkg. (full text, mbox, link).


Acknowledgement sent to Stuart Lamble <lamble@yoyo.cc.monash.edu.au>:
Extra info received and forwarded to list. Copy sent to Ian Jackson <ian@chiark.greenend.org.uk>. (full text, mbox, link).


Message #10 received at 5210@bugs.debian.org (full text, mbox, reply):

From: Stuart Lamble <lamble@yoyo.cc.monash.edu.au>
To: Mr Stuart Lamble <lamble@aurora.cc.monash.edu.au>, 5210@bugs.debian.org
Subject: Re: Bug#5210: dpkg-source complains on substitution variables
Date: Sat, 02 Nov 96 12:46:28 +1100
Mr Stuart Lamble <lamble@aurora.cc.monash.edu.au> wrote:
>
>Package: dpkg
>Version: 1.4.0.2
>
>When I was building up libelf0, I tried using  in debian/control:
>
>Package: libelf
>...
>Package: libelf-dev
>
>in an attempt to not have to edit the control file when libelf 1.0.0 comes
>out. (yeah, I'm lazy. :) dpkg-source barfs on this, despite having setup
>substvars properly, claiming that the package has two conflicting names,
>libelf0 and libelf.
>
>I worked around it by changing the s to 0, but as I read the manual,
>it should know how to use substvars to do the required job. 'Course, I could
>be showing off my ignorance here. :)

Argh! The bug report seems to have dropped some of the text of the report -
there were several bits that had (separated into individual characters to
try to avoid this problem) "$", "{", "MAJOR", and "}" in them. ie: where
the above says "libelf", it should be "libelf...", and "libelf-dev" should
be "libelf...-dev" (... being replaced by the bug text.)

Feel free to contact me by private email if this is still confusing. (Maybe
this should be a bug report against the bug reporting system? :-)


Information forwarded to Klee Dienes and Ian Jackson <dpkg-maint@chiark.greenend.org.uk>:
Bug#5210; Package dpkg. (full text, mbox, link).


Acknowledgement sent to remco@blaakmeer.student.utwente.nl (Remco Blaakmeer):
Extra info received and forwarded to maintainer. Copy sent to Klee Dienes and Ian Jackson <dpkg-maint@chiark.greenend.org.uk>. (full text, mbox, link).


Message #15 received at 5210-maintonly@bugs.debian.org (full text, mbox, reply):

From: remco@blaakmeer.student.utwente.nl (Remco Blaakmeer)
To: 5210-maintonly@bugs.debian.org
Subject: Old bugs need to be looked at
Date: Sun, 1 Feb 1998 12:01:22 +0100 (CET)
This is an automated message sent to all bugs older than one year.

This bug is very old. Please take a look at it and see if you can fix it.
If it has already been fixed, please close it.

If you have problems fixing it or if you don't have the time to fix it,
please ask the people on debian-devel@lists.debian.org for help, so that
at least the oldest bugs can be solved before Debian 2.0 is released.

Remco Blaakmeer


Bug reassigned from package `dpkg' to `dpkg-dev'. Request was from Josip Rodin <jrodin@public.srce.hr> to control@bugs.debian.org. (full text, mbox, link).


Tags added: Request was from Wichert Akkerman <wichert@cistron.nl> to control@bugs.debian.org. (full text, mbox, link).


Severity set to `wishlist'. Request was from Wichert Akkerman <wichert@cistron.nl> to control@bugs.debian.org. (full text, mbox, link).


Merged 5210 89697. Request was from Wichert Akkerman <wichert@cistron.nl> to control@bugs.debian.org. (full text, mbox, link).


Tags added: wontfix Request was from Wichert Akkerman <wichert@cistron.nl> to control@bugs.debian.org. (full text, mbox, link).


Tags added: wontfix Request was from Wichert Akkerman <wichert@cistron.nl> to control@bugs.debian.org. (full text, mbox, link).


Merged 5210 66336 89697. Request was from Martin Michlmayr <tbm@cyrius.com> to control@bugs.debian.org. (full text, mbox, link).


Changed Bug title. Request was from Adam Heath <doogie@brainfood.com> to control@bugs.debian.org. (full text, mbox, link).


Merged 5210 66336 89697 154514. Request was from Frank Lichtenheld <djpig@debian.org> to control@bugs.debian.org. (full text, mbox, link).


Merged 5210 66336 89697 150597 154514. Request was from Frank Lichtenheld <djpig@debian.org> to control@bugs.debian.org. (full text, mbox, link).


Tags removed: patch Request was from Raphael Hertzog <hertzog@debian.org> to control@bugs.debian.org. (Wed, 16 Jan 2008 22:42:02 GMT) (full text, mbox, link).


Changed Bug title to `support substvars in names of binary packages' from `[DPKG-SOURCE] dpkg-source complains on substitution variables'. Request was from Raphael Hertzog <hertzog@debian.org> to control@bugs.debian.org. (Mon, 11 May 2009 14:36:06 GMT) (full text, mbox, link).


Added indication that bug 5210 blocks 712939 Request was from Mathieu Parent <math.parent@gmail.com> to control@bugs.debian.org. (Fri, 21 Jun 2013 11:21:16 GMT) (full text, mbox, link).


Removed indication that bug 5210 blocks 712939 Request was from Guillem Jover <guillem@debian.org> to 712939-submit@bugs.debian.org. (Fri, 21 Jun 2013 14:45:08 GMT) (full text, mbox, link).


Changed Bug title to 'dpkg-gencontrol: Support substvars in names of binary packages' from 'support substvars in names of binary packages'. Request was from Guillem Jover <guillem@debian.org> to control@bugs.debian.org. (Sat, 02 Mar 2019 16:39:08 GMT) (full text, mbox, link).


Reply sent to Guillem Jover <guillem@hadrons.org>:
You have taken responsibility. (Thu, 13 Oct 2022 21:45:11 GMT) (full text, mbox, link).


Notification sent to Mr Stuart Lamble <lamble@aurora.cc.monash.edu.au>:
Bug acknowledged by developer. (Thu, 13 Oct 2022 21:45:12 GMT) (full text, mbox, link).


Message #50 received at 5210-done@bugs.debian.org (full text, mbox, reply):

From: Guillem Jover <guillem@hadrons.org>
To: 5210-done@bugs.debian.org
Subject: Re: Bug#5210: dpkg-source complains on substitution variables
Date: Thu, 13 Oct 2022 23:41:24 +0200
Hi!

On Fri, 1996-11-01 at 09:14:57 +1100, Mr Stuart Lamble wrote:
> Package: dpkg
> Version: 1.4.0.2

> When I was building up libelf0, I tried using ${MAJOR} in debian/control:
> 
> Package: libelf${MAJOR}
> ...
> Package: libelf${MAJOR}-dev
> 
> in an attempt to not have to edit the control file when libelf 1.0.0 comes
> out. (yeah, I'm lazy. :) dpkg-source barfs on this, despite having setup
> substvars properly, claiming that the package has two conflicting names,
> libelf0 and libelf${MAJOR}.
> 
> I worked around it by changing the ${MAJOR}s to 0, but as I read the manual,
> it should know how to use substvars to do the required job. 'Course, I could
> be showing off my ignorance here. :)

This has been marked as wontfix for a long time, and that's not going
to change (at least in the foreseeable future). Some time ago I added an
entry covering this to the dpkg FAQ at
<https://wiki.debian.org/Teams/Dpkg/FAQ#Q:_Why_are_substvars_not_effective_.28by_default.29_on_parts_of_debian.2Fcontrol.3F>,
so there's no point in keeping this wontfix bug open, thus closing it
now.

Thanks,
Guillem



Reply sent to Guillem Jover <guillem@hadrons.org>:
You have taken responsibility. (Thu, 13 Oct 2022 21:45:12 GMT) (full text, mbox, link).


Notification sent to karlheg@debian.org (Karl M. Hegbloom):
Bug acknowledged by developer. (Thu, 13 Oct 2022 21:45:12 GMT) (full text, mbox, link).


Reply sent to Guillem Jover <guillem@hadrons.org>:
You have taken responsibility. (Thu, 13 Oct 2022 21:45:13 GMT) (full text, mbox, link).


Notification sent to Eric Sharkey <sharkey@superk.physics.sunysb.edu>:
Bug acknowledged by developer. (Thu, 13 Oct 2022 21:45:13 GMT) (full text, mbox, link).


Reply sent to Guillem Jover <guillem@hadrons.org>:
You have taken responsibility. (Thu, 13 Oct 2022 21:45:13 GMT) (full text, mbox, link).


Notification sent to Joey Hess <joeyh@debian.org>:
Bug acknowledged by developer. (Thu, 13 Oct 2022 21:45:13 GMT) (full text, mbox, link).


Reply sent to Guillem Jover <guillem@hadrons.org>:
You have taken responsibility. (Thu, 13 Oct 2022 21:45:14 GMT) (full text, mbox, link).


Notification sent to Joey Hess <joeyh@debian.org>:
Bug acknowledged by developer. (Thu, 13 Oct 2022 21:45:14 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 11 Nov 2022 07:24:48 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Apr 20 16:38:43 2024; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.