• Problems with the kconfigeditor2 scripts

    From John Paul Adrian Glaubitz@21:1/5 to All on Tue Apr 26 10:50:01 2022
    Hello!

    I'm trying to change the kernel configuration for the two ia64 flavors using the following workflow:

    $ fakeroot make -f debian/rules.gen setup_ia64_none_itanium
    $ make -C debian/build/build_ia64_none_mckinley nconfig

    (changing configuration options here)

    $ debian/rules orig
    $ debian/rules debian/control
    $ ~/kernel-team/utils/kconfigeditor2/process.py .

    The last step fails with:

    (sid_ia64-dchroot)glaubitz@yttrium:~/linux2/linux-5.17.3$ ~/kernel-team/utils/kconfigeditor2/process.py .
    Traceback (most recent call last):
    File "/home/glaubitz/kernel-team/utils/kconfigeditor2/process.py", line 19, in __init__
    menu = fs_menu[featureset or 'none']
    KeyError: 'rt'

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
    File "/home/glaubitz/kernel-team/utils/kconfigeditor2/process.py", line 70, in <module>
    Main(package, source, config_output)
    File "/home/glaubitz/kernel-team/utils/kconfigeditor2/process.py", line 21, in __init__
    menu = fs_menu[featureset] = All('%s/debian/build/source_%s' %
    File "/home/glaubitz/kernel-team/utils/kconfigeditor2/kconfigeditor/kconfig/menu/all.py", line 31, in __init__
    f = cache[filename] = self.read(filename)
    File "/home/glaubitz/kernel-team/utils/kconfigeditor2/kconfigeditor/kconfig/menu/all.py", line 60, in read
    return Parser()(open(os.path.join(self.root, filename)), filename) FileNotFoundError: [Errno 2] No such file or directory: './debian/build/source_rt/Kconfig'
    (sid_ia64-dchroot)glaubitz@yttrium:~/linux2/linux-5.17.3$

    Does anyone know what I am doing wrong? Is the above way still the correct method for
    changing the kernel configuration in debian/config?

    Thanks,
    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer
    `. `' Physicist
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Bastian Blank@21:1/5 to John Paul Adrian Glaubitz on Tue Apr 26 13:10:01 2022
    On Tue, Apr 26, 2022 at 10:40:45AM +0200, John Paul Adrian Glaubitz wrote:
    (changing configuration options here)
    $ debian/rules orig
    $ debian/rules debian/control
    $ debian/rules source
    $ ~/kernel-team/utils/kconfigeditor2/process.py .

    Bastian

    --
    Warp 7 -- It's a law we can live with.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)