• Bug#1065819: linux-source-6.6 cannot be rebuild according to debian doc

    From Bastian Blank@21:1/5 to Eric Valette on Sun Mar 10 12:30:01 2024
    Control: severity -1 important

    On Sun, Mar 10, 2024 at 11:47:17AM +0100, Eric Valette wrote:
    And then it correctly builds the kernel and modules .ko file, then sign the ko and xz compress it to get foo.ko.xz. Here are extracts

    But then it tries to sign again the modules using the .ko file that does not exist:

    ls -l debian/linux-image/lib/modules/6.6.15/kernel/arch/x86/events/*.ko* -rw-rw-r-- 1 valette valette 103484 9 mars 19:39 debian/linux-image/lib/modules/6.6.15/kernel/arch/x86/events/rapl.ko.xz

    And fails with:

    SIGN debian/linux-image/lib/modules/6.6.15/kernel/arch/x86/events/rapl.ko At main.c:298:
    - SSL error:FFFFFFFF80000002:system library::No such file or directory: ../crypto/bio/bss_file.c:67
    - SSL error:10000080:BIO routines::no such file: ../crypto/bio/bss_file.c:75 sign-file: debian/linux-image/lib/modules/6.6.15/kernel/arch/x86/events/rapl.ko
    make[6]: *** [scripts/Makefile.modinst:137 : debian/linux-image/lib/modules/6.6.15/kernel/arch/x86/events/rapl.ko] Erreur 1
    make[5]: *** [Makefile:1846 : modules_install] Erreur 2
    make[4]: *** [Makefile:2061 : run-command] Erreur 2
    make[3]: *** [debian/rules:17 : binary-arch] Erreur 2
    dpkg-buildpackage: erreur: le sous-processus make -f debian/rules binary a retourné lâ\x80\x99état de sortie 2
    make[2]: *** [scripts/Makefile.package:146 : bindeb-pkg] Erreur 2
    make[1]: *** [/usr/src/linux-source-6.6/Makefile:1563 : bindeb-pkg] Erreur 2 make: *** [Makefile:246 : __sub-make] Erreur 2

    Yes, the kernel included Debian package support can't handle compressed
    modules in various ways. Just disable them for now.

    Bastian

    --
    It is necessary to have purpose.
    -- Alice #1, "I, Mudd", stardate 4513.3

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