Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #83890
| From | Ben Hutchings <ben@decadent.org.uk> |
|---|---|
| Newsgroups | linux.debian.bugs.dist, linux.debian.kernel |
| Subject | Bug#1081195: devscripts: test-patches KeyError: 'pae' |
| Date | 2024-09-10 00:00 +0200 |
| Message-ID | <JkUAq-bawV-7@gated-at.bofh.it> (permalink) |
| References | <JkHDc-b2Av-17@gated-at.bofh.it> <JkHDc-b2Av-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Cross-posted to 2 groups.
[Multipart message — attachments visible in raw view] - view raw
Control: tag -1 confirmed
On Mon, 09 Sep 2024 10:57:39 +0300 Martin-Éric Racine <martin-eric.racine@iki.fi> wrote:
> It appears that test-patches makes incorrect guesses for the target architecture:
>
> $ debian/bin/test-patches 306803.patch
[...]
> File "/home/perkelix/linux-6.10.6/debian/bin/debian_linux/config_v2.py", line 543, in flavours
> debianarch_flavour=debianarch_flavour[flavour.name],
> ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
> KeyError: 'pae'
> make: *** [debian/rules:149: debian/control-real] Virhe 1
>
>
> By the looks of it, it truncates anything after the last dash of the running kernel,
> which results in it trying to configure for flavor=pae instead of the expected
> flavor=686-pae.
This is annoyingly difficult to get right, as older kernel release
strings with an ABI number that needs to be stripped off while newer
kernel release strings with no ABI number but may have a number at the
start of the flavour. Having said that, I don't see us ever having an
ABI number as high as 686 so that could be special-cased.
Until this is fixed you can use the -f option to explicitly specify the
flavour to build.
Ben.
--
Ben Hutchings
A free society is one where it is safe to be unpopular.
- Adlai Stevenson
Back to linux.debian.kernel | Previous | Next | Find similar | Unroll thread
Bug#1081195: devscripts: test-patches KeyError: 'pae' Ben Hutchings <ben@decadent.org.uk> - 2024-09-10 00:00 +0200
csiph-web