#1108846 opensnitch: fix loongarch/riscv build

Package:
opensnitch
Source:
opensnitch
Description:
GNU/Linux firewall application
Submitter:
Han Gao
Date:
2025-07-08 06:41:02 UTC
Severity:
normal
Tags:
#1108846#5
Date:
2025-07-06 02:53:47 UTC
From:
To:
Package: opensnitch
User: debian-riscv@lists.debian.org, debian-loongarch@lists.debian.org
Usertags: riscv64, loong64
X-Debbugs-Cc: debian-riscv@lists.debian.org
X-Debbugs-Cc: debian-loongarch@lists.debian.org
X-Debbugs-Cc: rabenda.cn@gmail.com
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

#1108846#16
Date:
2025-07-06 10:34:45 UTC
From:
To:
[[Han Gao]

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?

#1108846#19
Date:
2025-07-06 10:34:45 UTC
From:
To:
[[Han Gao]

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?

#1108846#24
Date:
2025-07-07 08:07:26 UTC
From:
To:
I hope riscv can be used in this version of trixie.

Thanks,
Han

#1108846#29
Date:
2025-07-07 08:07:26 UTC
From:
To:
I hope riscv can be used in this version of trixie.

Thanks,
Han

#1108846#34
Date:
2025-07-08 06:40:47 UTC
From:
To:
[Han Gao (Revy)]

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.

#1108846#39
Date:
2025-07-08 06:40:47 UTC
From:
To:
[Han Gao (Revy)]

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.