Debian Bug report logs -
#260443
kernel-source-2.6.7 rules file does not support non-digit revision numbers
Reported by: Nathaniel McCallum <npmccallum@gentoo.org>
Date: Tue, 20 Jul 2004 17:18:07 UTC
Severity: normal
Found in version 2.6.7-3
Done: Jens Schmalzing <jensen@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Debian kernel team <debian-kernel@lists.debian.org>:
Bug#260443; Package kernel-source-2.6.7.
(full text, mbox, link).
Acknowledgement sent to Nathaniel McCallum <npmccallum@gentoo.org>:
New Bug report received and forwarded. Copy sent to Debian kernel team <debian-kernel@lists.debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: kernel-source-2.6.7
Version: 2.6.7-3
We are creating a custom debian distribution and need to use non-alpha characters
in the revision. However, the rules file does not support this. There is a patch
to fix this at http://www.no-name-yet.com/patches/
Nathaniel
Information forwarded to debian-bugs-dist@lists.debian.org, Debian kernel team <debian-kernel@lists.debian.org>:
Bug#260443; Package kernel-source-2.6.7.
(full text, mbox, link).
Acknowledgement sent to Nathaniel McCallum <npmccallum@gentoo.org>:
Extra info received and forwarded to list. Copy sent to Debian kernel team <debian-kernel@lists.debian.org>.
(full text, mbox, link).
Message #10 received at 260443@bugs.debian.org (full text, mbox, reply):
Direct link to the patch:
http://www.no-name-yet.com/patches/kernel-source-2.6.7.260443.diff.gz
Nathaniel
Information forwarded to debian-bugs-dist@lists.debian.org, Debian kernel team <debian-kernel@lists.debian.org>:
Bug#260443; Package kernel-source-2.6.7.
(full text, mbox, link).
Acknowledgement sent to Jens Schmalzing <jensen@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian kernel team <debian-kernel@lists.debian.org>.
(full text, mbox, link).
Message #15 received at 260443@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Hi,
Nathaniel McCallum writes:
> Package: kernel-source-2.6.7
> Version: 2.6.7-3
>
> We are creating a custom debian distribution and need to use
> non-alpha characters in the revision. However, the rules file does
> not support this. There is a patch to fix this at
> http://www.no-name-yet.com/patches/
Thanks a lot. In fact, we also need to support this, because after
the release of sarge, there will be security updates, whose Debian
revisions typically contain non-digit characters.
Anyway, I slightly changed your patch in three ways: First, I used
functions built into make where possible. Second, I avoided the use
of sort, which does not use the same algorithm as Debian packaging
tools for comparing revisions, and instead used an awk command to
simply revert the order of revisions extracted from the changelog.
Third, I put the previous revision into in extra variable to avoid
duplicating that long stretch of awk.
Please check out the attached new version of the patch.
Regards, Jens.
[kernel-source-2.6.7.diff (text/x-patch, attachment)]
[Message part 3 (text/plain, inline)]
--
J'qbpbe, le m'en fquz pe j'qbpbe!
Le veux aimeb et mqubib panz je pézqbpbe je djuz tqtaj!
Information forwarded to debian-bugs-dist@lists.debian.org, Debian kernel team <debian-kernel@lists.debian.org>:
Bug#260443; Package kernel-source-2.6.7.
(full text, mbox, link).
Acknowledgement sent to Nathaniel McCallum <npmccallum@gentoo.org>:
Extra info received and forwarded to list. Copy sent to Debian kernel team <debian-kernel@lists.debian.org>.
(full text, mbox, link).
Message #20 received at 260443@bugs.debian.org (full text, mbox, reply):
On Tue, 2004-07-20 at 17:03, Jens Schmalzing wrote:
> Please check out the attached new version of the patch.
Looks great, though I haven't had a chance to test it yet. Do you know
when it will be applied?
Nathaniel
Information forwarded to debian-bugs-dist@lists.debian.org, Debian kernel team <debian-kernel@lists.debian.org>:
Bug#260443; Package kernel-source-2.6.7.
(full text, mbox, link).
Acknowledgement sent to Matt Zimmerman <mdz@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian kernel team <debian-kernel@lists.debian.org>.
(full text, mbox, link).
Message #25 received at 260443@bugs.debian.org (full text, mbox, reply):
On Tue, Jul 20, 2004 at 11:03:29PM +0200, Jens Schmalzing wrote:
> --- debian/rules.orig Wed Jun 23 17:30:19 2004
> +++ debian/rules Tue Jul 20 22:57:39 2004
> @@ -14,12 +14,12 @@
> release := $(shell head -1 debian/changelog | sed 's/^.*(\(.*\)-.*).*$$/\1/')
> version := $(shell head -1 debian/changelog | sed 's/^.*(\(.*\)).*$$/\1/')
>
> -# extract the latest Debian revision from the changelog
> -revisions := $(shell head -1 debian/changelog | sed 's/^.*(.*-\(.*\)).*$$/\1/')
> +# extract all the Debian revisions for this release from the changelog
> +revisions := $(shell grep "^kernel-source-$(release) " debian/changelog | sed 's/^.*(.*-\(.*\)).*$$/\1/' | awk '{for(i=1;i<=NF;i++){a[++j]=$$i}}END{for(i=j;i>=1;i--){print a[i]}}')
More simply:
cat debian/changelog | perl -nle 'print $1 if /^kernel-source-$(release) .*\(.*-(.*)\)/' | rev
--
- mdz
Information forwarded to debian-bugs-dist@lists.debian.org, Debian kernel team <debian-kernel@lists.debian.org>:
Bug#260443; Package kernel-source-2.6.7.
(full text, mbox, link).
Acknowledgement sent to Matt Zimmerman <mdz@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian kernel team <debian-kernel@lists.debian.org>.
(full text, mbox, link).
Message #30 received at 260443@bugs.debian.org (full text, mbox, reply):
On Tue, Jul 20, 2004 at 02:58:03PM -0700, Matt Zimmerman wrote:
> On Tue, Jul 20, 2004 at 11:03:29PM +0200, Jens Schmalzing wrote:
>
> > --- debian/rules.orig Wed Jun 23 17:30:19 2004
> > +++ debian/rules Tue Jul 20 22:57:39 2004
> > @@ -14,12 +14,12 @@
> > release := $(shell head -1 debian/changelog | sed 's/^.*(\(.*\)-.*).*$$/\1/')
> > version := $(shell head -1 debian/changelog | sed 's/^.*(\(.*\)).*$$/\1/')
> >
> > -# extract the latest Debian revision from the changelog
> > -revisions := $(shell head -1 debian/changelog | sed 's/^.*(.*-\(.*\)).*$$/\1/')
> > +# extract all the Debian revisions for this release from the changelog
> > +revisions := $(shell grep "^kernel-source-$(release) " debian/changelog | sed 's/^.*(.*-\(.*\)).*$$/\1/' | awk '{for(i=1;i<=NF;i++){a[++j]=$$i}}END{for(i=j;i>=1;i--){print a[i]}}')
>
> More simply:
>
> cat debian/changelog | perl -nle 'print $1 if /^kernel-source-$(release) .*\(.*-(.*)\)/' | rev
Er, 'tac' rather than 'rev' (I always get them confused).
--
- mdz
Information forwarded to debian-bugs-dist@lists.debian.org, Debian kernel team <debian-kernel@lists.debian.org>:
Bug#260443; Package kernel-source-2.6.7.
(full text, mbox, link).
Acknowledgement sent to Jens Schmalzing <jensen@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian kernel team <debian-kernel@lists.debian.org>.
(full text, mbox, link).
Message #35 received at 260443@bugs.debian.org (full text, mbox, reply):
Hi,
Matt Zimmerman writes:
> More simply:
>
> [...] | rev
Unfortunately, rev reverts the characters in each line of the input
file, not the lines. Slightly shorter version:
revisions := $(shell sed -n 's/^kernel-source-$(release)\ .*($(release)-\(.*\)).*$$/\1/p' debian/changelog | awk '{a[++j]=$$0}END{for(i=j;i>=1;i--){print a[i]}}')
Regards, Jens.
--
J'qbpbe, le m'en fquz pe j'qbpbe!
Le veux aimeb et mqubib panz je pézqbpbe je djuz tqtaj!
Information forwarded to debian-bugs-dist@lists.debian.org, Debian kernel team <debian-kernel@lists.debian.org>:
Bug#260443; Package kernel-source-2.6.7.
(full text, mbox, link).
Acknowledgement sent to Jens Schmalzing <jensen@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian kernel team <debian-kernel@lists.debian.org>.
(full text, mbox, link).
Message #40 received at 260443@bugs.debian.org (full text, mbox, reply):
Hi,
Matt Zimmerman writes:
> > cat debian/changelog | perl -nle 'print $1 if /^kernel-source-$(release) .*\(.*-(.*)\)/' | rev
>
> Er, 'tac' rather than 'rev' (I always get them confused).
Cool, thanks.
Regards, Jens.
--
J'qbpbe, le m'en fquz pe j'qbpbe!
Le veux aimeb et mqubib panz je pézqbpbe je djuz tqtaj!
Information forwarded to debian-bugs-dist@lists.debian.org, Debian kernel team <debian-kernel@lists.debian.org>:
Bug#260443; Package kernel-source-2.6.7.
(full text, mbox, link).
Acknowledgement sent to Jens Schmalzing <jensen@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian kernel team <debian-kernel@lists.debian.org>.
(full text, mbox, link).
Message #45 received at 260443@bugs.debian.org (full text, mbox, reply):
close 260443
thanks
Hi,
Nathaniel McCallum writes:
> Looks great, though I haven't had a chance to test it yet. Do you know
> when it will be applied?
The patch is in svn now. Since it only affects the build
infrastructure, I didn't create an entry in the Debian changelog and
will instead close the bug here and now.
Regards, Jens.
--
J'qbpbe, le m'en fquz pe j'qbpbe!
Le veux aimeb et mqubib panz je pézqbpbe je djuz tqtaj!
Bug closed, send any further explanations to Nathaniel McCallum <npmccallum@gentoo.org>
Request was from Jens Schmalzing <j.s@lmu.de>
to control@bugs.debian.org.
(full text, mbox, link).
Information forwarded to debian-bugs-dist@lists.debian.org, Debian kernel team <debian-kernel@lists.debian.org>:
Bug#260443; Package kernel-source-2.6.7.
(full text, mbox, link).
Acknowledgement sent to Sven Luther <sven.luther@wanadoo.fr>:
Extra info received and forwarded to list. Copy sent to Debian kernel team <debian-kernel@lists.debian.org>.
(full text, mbox, link).
Message #52 received at 260443@bugs.debian.org (full text, mbox, reply):
On Wed, Jul 21, 2004 at 02:04:09AM +0200, Jens Schmalzing wrote:
> close 260443
> thanks
>
> Hi,
>
> Nathaniel McCallum writes:
>
> > Looks great, though I haven't had a chance to test it yet. Do you know
> > when it will be applied?
>
> The patch is in svn now. Since it only affects the build
> infrastructure, I didn't create an entry in the Debian changelog and
> will instead close the bug here and now.
Does this warrants a new kernel-source upload ?
Friendly,
Sven Luther
Information forwarded to debian-bugs-dist@lists.debian.org, Debian kernel team <debian-kernel@lists.debian.org>:
Bug#260443; Package kernel-source-2.6.7.
(full text, mbox, link).
Acknowledgement sent to Jens Schmalzing <j.s@lmu.de>:
Extra info received and forwarded to list. Copy sent to Debian kernel team <debian-kernel@lists.debian.org>.
(full text, mbox, link).
Message #57 received at 260443@bugs.debian.org (full text, mbox, reply):
Hi,
Sven Luther writes:
> Does this warrants a new kernel-source upload ?
No. It only changes the way the package is built, not what goes into it.
Regards, Jens.
--
J'qbpbe, le m'en fquz pe j'qbpbe!
Le veux aimeb et mqubib panz je pézqbpbe je djuz tqtaj!
Information forwarded to debian-bugs-dist@lists.debian.org, Debian kernel team <debian-kernel@lists.debian.org>:
Bug#260443; Package kernel-source-2.6.7.
(full text, mbox, link).
Acknowledgement sent to Sven Luther <sven.luther@wanadoo.fr>:
Extra info received and forwarded to list. Copy sent to Debian kernel team <debian-kernel@lists.debian.org>.
(full text, mbox, link).
Message #62 received at 260443@bugs.debian.org (full text, mbox, reply):
On Wed, Jul 21, 2004 at 02:18:37PM +0200, Jens Schmalzing wrote:
> Hi,
>
> Sven Luther writes:
>
> > Does this warrants a new kernel-source upload ?
>
> No. It only changes the way the package is built, not what goes into it.
Ok. I have added moved the pegasos patches to kernel-source, as it is now in
way to upstream, and also added there the G4 errata fix, for which i will
request a new powerpc build soon, as it fix stability issues with many G4
processors.
Now, what about reading those patches to kernel-patch-powerpc until the new
kernel-source is released, and modify the kernel-pacth rules so it uses
2.6.7-3 version of the kernel-source ? I would provide such a patch.
What is your take on this ? And i guess it is a generic question of how we
will handle patch migration.
Friendly,
Sven Luther
Information forwarded to debian-bugs-dist@lists.debian.org, Debian kernel team <debian-kernel@lists.debian.org>:
Bug#260443; Package kernel-source-2.6.7.
(full text, mbox, link).
Acknowledgement sent to Jens Schmalzing <j.s@lmu.de>:
Extra info received and forwarded to list. Copy sent to Debian kernel team <debian-kernel@lists.debian.org>.
(full text, mbox, link).
Message #67 received at 260443@bugs.debian.org (full text, mbox, reply):
Hi,
Sven Luther writes:
> Now, what about reading those patches to kernel-patch-powerpc until
> the new kernel-source is released, and modify the kernel-pacth rules
> so it uses 2.6.7-3 version of the kernel-source ?
This sounds confusing and error-prone.
> What is your take on this ?
The powerpc kernel-image packages should be rebuilt against the next
revision of kernel-source. But if there's need for the former, the
latter shouldn't be a big deal.
Regards, Jens.
--
J'qbpbe, le m'en fquz pe j'qbpbe!
Le veux aimeb et mqubib panz je pézqbpbe je djuz tqtaj!
Information forwarded to debian-bugs-dist@lists.debian.org, Debian kernel team <debian-kernel@lists.debian.org>:
Bug#260443; Package kernel-source-2.6.7.
(full text, mbox, link).
Acknowledgement sent to Sven Luther <sven.luther@wanadoo.fr>:
Extra info received and forwarded to list. Copy sent to Debian kernel team <debian-kernel@lists.debian.org>.
(full text, mbox, link).
Message #72 received at 260443@bugs.debian.org (full text, mbox, reply):
On Wed, Jul 21, 2004 at 02:29:11PM +0200, Jens Schmalzing wrote:
> Hi,
>
> Sven Luther writes:
>
> > Now, what about reading those patches to kernel-patch-powerpc until
> > the new kernel-source is released, and modify the kernel-pacth rules
> > so it uses 2.6.7-3 version of the kernel-source ?
>
> This sounds confusing and error-prone.
Confusing and error prone ? Could you elaborate, especially given that this is
how things worked in the Herbert Xu era.
Also notice that this means stability in the build also, since the released
kernel-patch package would stay buildable for any version of the kernel-source
package later than the one it was released with. It is a rather nice property,
and one which has savec my neck a few times in this past year already.
> > What is your take on this ?
>
> The powerpc kernel-image packages should be rebuilt against the next
> revision of kernel-source. But if there's need for the former, the
> latter shouldn't be a big deal.
Well, yes, my point being that there are not all that much changes in the
kernel-source package, and that right now, a build of the kernel-patch-powerpc
package will result in missing pegasos support, as well as missing this new G4
errata fix. Which is the real fix of the uhci issue we had previously.
So, right now, if i want this errata fix to go in, we need both a
kernel-source upload and a kernel-patch-powerpc one, while with the proposed
method only the later would be needed.
I have no problem doing a kernel-source upload though, just is this really the
way we want it ?
Friendly,
Sven Luther
Bug unarchived.
Request was from Stefano Zacchiroli <zack@debian.org>
to control@bugs.debian.org.
(Sun, 10 Apr 2011 08:43:25 GMT) (full text, mbox, link).
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Mon, 09 May 2011 07:41:10 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:
Wed Oct 11 12:05:16 2017;
Machine Name:
buxtehude
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.