• Bug#1108846: opensnitch: fix loongarch/riscv build

    From Han Gao@1:229/2 to All on Sun Jul 6 05:00:02 2025
    From: [email protected]

    Package: opensnitch
    User: [email protected], [email protected] Usertags: riscv64, loong64
    X-Debbugs-Cc: [email protected]
    X-Debbugs-Cc: [email protected]
    X-Debbugs-Cc: [email protected]
    Version: 1.6.9-3
    Severity: normal
    Tags: ftbfs

    Dear Maintainer,

    opensnitch fails to compile on riscv64/loong64 architectures[1].

    Compilation is successful with upstream patches.

    [1]: https://buildd.debian.org/status/package.php?p=opensnitch

    [SoupGate killed MIME-encoded file opensnitch-fix.debdiff (3387 bytes)]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Petter Reinholdtsen@1:229/2 to All on Sun Jul 6 12:40:01 2025
    From: [email protected]

    [[Han Gao]
    opensnitch fails to compile on riscv64/loong64 architectures[1].

    Compilation is successful with upstream patches.

    Yes, I submitted patches to get it limping along.

    They will be included in Debian once Trixie is released and we move to
    1.7.x.

    Do you need opensnitch on riscv64 or loong64?

    --
    Happy hacking
    Petter Reinholdtsen

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Han Gao (Revy)@1:229/2 to [email protected] on Mon Jul 7 10:10:01 2025
    From: [email protected]

    On Sun, 6 Jul 2025 12:34:45 +0200 Petter Reinholdtsen <[email protected]> wrote:
    [[Han Gao]
    opensnitch fails to compile on riscv64/loong64 architectures[1].

    Compilation is successful with upstream patches.

    Yes, I submitted patches to get it limping along.

    They will be included in Debian once Trixie is released and we move to
    1.7.x.

    Do you need opensnitch on riscv64 or loong64?
    I hope riscv can be used in this version of trixie.

    --
    Happy hacking
    Petter Reinholdtsen



    Thanks,
    Han

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Petter Reinholdtsen@21:1/5 to All on Tue Jul 8 08:50:02 2025
    Control: tags -1 -patch

    [Han Gao (Revy)]
    Do you need opensnitch on riscv64 or loong64?

    I hope riscv can be used in this version of trixie.

    This will most likely not happend, unless you can present a small and
    tested patch for riscv64.

    Note, your proposed patch is incomplete. The upstream commmit 45c591bbc4f19e63d45125e2da7607e14b0058c7 seem to also be needed for at
    least loong64, and I would not be surprised if something similar is
    needed for riscv64. I hope upstream managed to get all required fixes
    included in the 1.7.x series, which will get into Debian after Trixie
    is released.

    --
    Happy hacking
    Petter Reinholdtsen

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