🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #4772

Bug#1154186: Fwd: Bug#1153978: suricata: 8.0.8 backport conflicts with Rspamd

#4772
From: Konstantinos Margaritis
Date: Mon, 16 Nov 2026 20:00
235 lines
12404 bytes
This is a multi-part message in MIME format.
--------------Lazn0uSK0DFyGn82hIkA4N2D
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

Forwrding to the bug report email as well.


-------- Forwarded Message --------
Subject: 	Re: Bug#1153978: suricata: 8.0.8 backport conflicts with Rspamd
Date: 	Mon, 16 Nov 2026 21:15:31 +0200
From: 	Konstantinos Margaritis <kmargar@freevec.org>
To: 	Andreas Dolp <dev@andreas-dolp.de>
CC: 	vectorscan@packages.debian.org, rspamd@packages.debian.org, 
hyperscan@packages.debian.org



Hi,

First, I have to correct something. The claim of Rspamd maintainer is 
based on lack of information, Vectorscan is 100% API/ABI compatible and 
I'll leave the quality comment unanswered, I'll just state that we have 
cppcheck/clang-tidy in our CI and are running 100s of configurations on 
multiple architectures/OSes/compilers, which I doubt is the case with 
Hyperscan.

However, I'm planning a new release soon, 5.4.15 -and the respective 
Debian package- and I will include the versioned Provides: field then.

This should happen in the next days -I'm actually at SuriCon2026 myself.

That should solve the problem.

Regards

Konstantinos

On 16/11/26 20:52, Andreas Dolp wrote:
> Hi Aaron,
>
> thanks for the detailed report. Your analysis matches the package 
> metadata, but 8.0.7 is not affected, so I am correcting the version 
> information.
>
> Background: with 1:8.0.8-1 we deliberately switched amd64, arm64, 
> ppc64el and x32 from Hyperscan to Vectorscan [1], which is the 
> actively maintained open-source continuation and the one supported by 
> Suricata upstream. [2]
>
> We do not plan to revert this in unstable.
>
> The conflict is not specific to suricata. It just arises in 
> combination together with rspamd. libhyperscan5's shlibs file 
> generates "libhyperscan5 (>= 5.4.2)" in the resulting package, while 
> libvectorscan5 only carries an unversioned "Provides: libhyperscan5", 
> which cannot satisfy a versioned dependency (Debian Policy 7.5 [3]).
>
> Both packages ship libhs.so.5, so they cannot be co-installed. Any 
> package built against Vectorscan is therefore not co-installable with 
> any package built against Hyperscan, including Debian's own rspamd on 
> amd64 (on arm64 it already depends on libvectorscan5). I am cloning 
> this bug to libvectorscan5.
>
> Konstantinos: is the unversioned Provides intentional? Something like
>
>    Provides: libhyperscan5 (= ${binary:Version})
>
> would resolve the issue here, because it would fulfill the versioned 
> Suricata dependency.
>
> Since a versioned Provides would allow rspamd and other reverse 
> dependencies of libhyperscan5 to run on Vectorscan on amd64, I am 
> CCing the rspamd and hyperscan maintainers for their view.
>
> Because the upstream rspamd maintainers do not plan to switch to 
> Vectorscan as stated in [4], I think we should solve this within Debian.
>
> Short term, for trixie-backports: I plan to upload a backport that is 
> built against Hyperscan again on amd64 and x32, so that the security 
> fixes can be installed alongside rspamd. For trixie-backports we can 
> stick on Hyperscan, but please expect this to be changed to Vectorscan 
> with the upcoming Forky release. I will follow up here.
>
> Regards,
> Andreas
>
> [1] 
> https://salsa.debian.org/pkg-suricata-team/pkg-suricata/-/commit/4ef9c6ad4bc5daa7407d91532f19795ab5ecef45
>
> [2] 
> https://suricata.io/2026/09/29/why-vectorscan-matters-to-suricata-and-why-were-supporting-it/
>
> [3] 
> https://www.debian.org/doc/debian-policy/ch-relationships.html#virtual-packages-provides
>
> [4] https://github.com/rspamd/rspamd/issues/6370#issuecomment-6878439420
--------------Lazn0uSK0DFyGn82hIkA4N2D
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE html>
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Forwrding to the bug report email as well.</p>
    <div class="moz-forward-container"><br>
      -------- Forwarded Message --------
      <table cellpadding="0" cellspacing="0" border="0"
        class="moz-email-headers-table">
        <tbody>
          <tr>
            <th valign="BASELINE" align="RIGHT" nowrap="nowrap">Subject:
            </th>
            <td>Re: Bug#1153978: suricata: 8.0.8 backport conflicts with
              Rspamd</td>
          </tr>
          <tr>
            <th valign="BASELINE" align="RIGHT" nowrap="nowrap">Date: </th>
            <td>Mon, 16 Nov 2026 21:15:31 +0200</td>
          </tr>
          <tr>
            <th valign="BASELINE" align="RIGHT" nowrap="nowrap">From: </th>
            <td>Konstantinos Margaritis <a class="moz-txt-link-rfc2396E" href="mailto:kmargar@freevec.org">&lt;kmargar@freevec.org&gt;</a></td>
          </tr>
          <tr>
            <th valign="BASELINE" align="RIGHT" nowrap="nowrap">To: </th>
            <td>Andreas Dolp <a class="moz-txt-link-rfc2396E" href="mailto:dev@andreas-dolp.de">&lt;dev@andreas-dolp.de&gt;</a></td>
          </tr>
          <tr>
            <th valign="BASELINE" align="RIGHT" nowrap="nowrap">CC: </th>
            <td><a class="moz-txt-link-abbreviated" href="mailto:vectorscan@packages.debian.org">vectorscan@packages.debian.org</a>,
              <a class="moz-txt-link-abbreviated" href="mailto:rspamd@packages.debian.org">rspamd@packages.debian.org</a>, <a class="moz-txt-link-abbreviated" href="mailto:hyperscan@packages.debian.org">hyperscan@packages.debian.org</a></td>
          </tr>
        </tbody>
      </table>
      <br>
      <br>
      Hi,<br>
      <br>
      First, I have to correct something. The claim of Rspamd maintainer
      is based on lack of information, Vectorscan is 100% API/ABI
      compatible and I'll leave the quality comment unanswered, I'll
      just state that we have cppcheck/clang-tidy in our CI and are
      running 100s of configurations on multiple
      architectures/OSes/compilers, which I doubt is the case with
      Hyperscan.<br>
      <br>
      However, I'm planning a new release soon, 5.4.15 -and the
      respective Debian package- and I will include the versioned
      Provides: field then.<br>
      <br>
      This should happen in the next days -I'm actually at SuriCon2026
      myself.<br>
      <br>
      That should solve the problem.<br>
      <br>
      Regards<br>
      <br>
      Konstantinos<br>
      <br>
      On 16/11/26 20:52, Andreas Dolp wrote:<br>
      <blockquote type="cite">Hi Aaron,<br>
        <br>
        thanks for the detailed report. Your analysis matches the
        package metadata, but 8.0.7 is not affected, so I am correcting
        the version information.<br>
        <br>
        Background: with 1:8.0.8-1 we deliberately switched amd64,
        arm64, ppc64el and x32 from Hyperscan to Vectorscan [1], which
        is the actively maintained open-source continuation and the one
        supported by Suricata upstream. [2]<br>
        <br>
        We do not plan to revert this in unstable.<br>
        <br>
        The conflict is not specific to suricata. It just arises in
        combination together with rspamd. libhyperscan5's shlibs file
        generates "libhyperscan5 (&gt;= 5.4.2)" in the resulting
        package, while libvectorscan5 only carries an unversioned
        "Provides: libhyperscan5", which cannot satisfy a versioned
        dependency (Debian Policy 7.5 [3]).<br>
        <br>
        Both packages ship libhs.so.5, so they cannot be co-installed.
        Any package built against Vectorscan is therefore not
        co-installable with any package built against Hyperscan,
        including Debian's own rspamd on amd64 (on arm64 it already
        depends on libvectorscan5). I am cloning this bug to
        libvectorscan5.<br>
        <br>
        Konstantinos: is the unversioned Provides intentional? Something
        like<br>
        <br>
           Provides: libhyperscan5 (= ${binary:Version})<br>
        <br>
        would resolve the issue here, because it would fulfill the
        versioned Suricata dependency.<br>
        <br>
        Since a versioned Provides would allow rspamd and other reverse
        dependencies of libhyperscan5 to run on Vectorscan on amd64, I
        am CCing the rspamd and hyperscan maintainers for their view.<br>
        <br>
        Because the upstream rspamd maintainers do not plan to switch to
        Vectorscan as stated in [4], I think we should solve this within
        Debian.<br>
        <br>
        Short term, for trixie-backports: I plan to upload a backport
        that is built against Hyperscan again on amd64 and x32, so that
        the security fixes can be installed alongside rspamd. For
        trixie-backports we can stick on Hyperscan, but please expect
        this to be changed to Vectorscan with the upcoming Forky
        release. I will follow up here.<br>
        <br>
        Regards,<br>
        Andreas<br>
        <br>
        [1]
<a class="moz-txt-link-freetext" href="https://salsa.debian.org/pkg-suricata-team/pkg-suricata/-/commit/4ef9c6ad4bc5daa7407d91532f19795ab5ecef45">https://salsa.debian.org/pkg-suricata-team/pkg-suricata/-/commit/4ef9c6ad4bc5daa7407d91532f19795ab5ecef45</a><br>
        <br>
        [2]
<a class="moz-txt-link-freetext" href="https://suricata.io/2026/09/29/why-vectorscan-matters-to-suricata-and-why-were-supporting-it/">https://suricata.io/2026/09/29/why-vectorscan-matters-to-suricata-and-why-were-supporting-it/</a><br>
        <br>
        [3]
<a class="moz-txt-link-freetext" href="https://www.debian.org/doc/debian-policy/ch-relationships.html#virtual-packages-provides">https://www.debian.org/doc/debian-policy/ch-relationships.html#virtual-packages-provides</a><br>
        <br>
        [4]
        <a class="moz-txt-link-freetext" href="https://github.com/rspamd/rspamd/issues/6370#issuecomment-6878439420">https://github.com/rspamd/rspamd/issues/6370#issuecomment-6878439420</a><br>
      </blockquote>
    </div>
  </body>
</html>

--------------Lazn0uSK0DFyGn82hIkA4N2D--
Technical Details
Message-ID: <O0b1T-cjra-15@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.szaf.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <O0aSe-cjnj-5@gated-at.bofh.it> <NZmVr-bQSM-1@gated-at.bofh.it> <O0aSe-cjnj-5@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.szaf.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Konstantinos Margaritis <kmargar@freevec.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1154186: Fwd: Bug#1153978: suricata: 8.0.8 backport conflicts with Rspamd
Date: Mon, 16 Nov 2026 21:00:01 +0100
Message-ID: <O0b1T-cjra-15@gated-at.bofh.it>
References: <O0aSe-cjnj-5@gated-at.bofh.it> <NZmVr-bQSM-1@gated-at.bofh.it> <O0aSe-cjnj-5@gated-at.bofh.it>
X-Original-To: 1154186@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Mon Nov 16 19:54:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.45
Reply-To: Konstantinos Margaritis <kmargar@freevec.org>, 1154186@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: markos@debian.org
X-Debian-Pr-Message: followup 1154186
X-Debian-Pr-Package: libvectorscan5
X-Debian-Pr-Source: vectorscan
Content-Type: multipart/alternative;
 boundary="------------Lazn0uSK0DFyGn82hIkA4N2D"
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US
X-Forwarded-Message-ID: <77f2ff4e-6961-4dea-a26a-5929c259fcad@freevec.org>
X-Greylist: delayed 2027 seconds by postgrey-1.37 at buxtehude; Mon, 16 Nov 2026 19:53:08 UTC
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2003040
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 235
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Mon, 16 Nov 2026 21:17:45 +0200
X-Original-Message-ID: <faf2fe08-d1ea-4965-8a03-3d01c7994a09@freevec.org>
X-Original-References: <77f2ff4e-6961-4dea-a26a-5929c259fcad@freevec.org> <179466634208.1369116.18278133690066015367.reportbug@mail01.aaron-schaal.de> <77f2ff4e-6961-4dea-a26a-5929c259fcad@freevec.org>