🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.rc
Article #27

Bug#1150139: libbobcat6: 6.15 removes exported symbols without soname bump, breaks filtermail

#27
From: Frank Brokken
Date: Wed, 07 Oct 2026 07:40
90 lines
4996 bytes
Dear Tony Mancill, you wrote:
> 
> Hello Sebastian,
> 
> Thank for the detailed bug report.  I will work with the upstream author
> to add the symbols file and the binNMU.
> 
> On Mon, Oct 05, 2026 at 11:18:52PM +0200, Sebastien Bacher wrote:
> > Package: libbobcat6
> > Version: 6.15.01-1
> > Severity: serious
> > Justification: Policy 8.6.2 (ABI change without soname bump), breaks
> > filtermail
> > Control: affects -1 filtermail


And, Sebastian, of course, also thank you from my side :-)

Indeed, you're right: the mentioned Pattern members aren't mentioned in the
recent bobcat version. Mainly because in bobcat 6.13.00 a segfault when using
static Pattern objects was fixed, and the Pattern members you mentioned

> >    FBB::Pattern::Pattern(FBB::Pattern&&)
> >    FBB::Pattern::operator=(FBB::Pattern&&)
> >    FBB::Pattern::operator=(FBB::Pattern const&)
> >    FBB::Pattern::copy(FBB::Pattern const&)
> >    FBB::Pattern::destroy()

are, because of that, available by default. E.g., the following program runs
OK and shows 'matched' twice:

    #include <iostream>
    #include <string>
    
    #include <bobcat/pattern>
    
    using namespace std;
    using namespace FBB;
    
    int main(int argc, char **argv) 
    {
        Pattern hello("^hello");
    
        Pattern hello2;
        hello2 = hello;
    
        Pattern hello3{ move(hello) };
        Pattern hello4;
        hello4 = move(hello2);
    
        string hw{"hello world"};
    
        if (hello3 << hw)
            cout << "matched\n";    
    
        if (hello4 << hw)
            cout << "matched\n";    
    }
    
Also, valgrind reports:

    ==2899== HEAP SUMMARY:
    ==2899==     in use at exit: 0 bytes in 0 blocks
    ==2899==   total heap usage: 130 allocs, 130 frees, 93,524 bytes allocated
    ==2899== 
    ==2899== All heap blocks were freed -- no leaks are possible
    ==2899== 
    ==2899== For lists of detected and suppressed errors, rerun with: -s
    ==2899== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)

But what's clearly wrong is that the required version of libbobcat-dev in
filtermail's control file is still at 6.11.00:

    Build-Depends: ...
                   libbobcat-dev (>= 6.11.00),
                   ...

So I propose to update libbobcat-dev's version in filtermail's control file
instead of adding members that are already available by default in libbobcat's
version 6.15.01. Software using bobcat's Pattern class might need
recompilation when linking to 6.15.01 and should, after that, work as before.

And, of course, an new bobcat version (6.15.01) can then add the symbols file.

Is that an option?

-- 
    Frank B. Brokken
    (+31) 6 5353 2509
    Public PGP key ID: D33B 84A5 F9C5 54FA F193 E972 F612 0FE2 3B50 D0C5
Technical Details
Message-ID: <NLupP-42oP-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <NLrLj-4102-5@gated-at.bofh.it> <NKYpX-3Lus-3@gated-at.bofh.it> <NLrLj-4102-3@gated-at.bofh.it> <NKYpX-3Lus-3@gated-at.bofh.it> <NLrLj-4102-3@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Frank Brokken <frank@oosix.mx10.nl>
Newsgroups: linux.debian.bugs.rc
Subject: Bug#1150139: libbobcat6: 6.15 removes exported symbols without soname bump, breaks filtermail
Date: Wed, 07 Oct 2026 09:40:01 +0200
Message-ID: <NLupP-42oP-1@gated-at.bofh.it>
References: <NLrLj-4102-5@gated-at.bofh.it> <NKYpX-3Lus-3@gated-at.bofh.it> <NLrLj-4102-3@gated-at.bofh.it> <NKYpX-3Lus-3@gated-at.bofh.it> <NLrLj-4102-3@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org  Wed Oct  7 07:35:16 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.451
Reply-To: Frank Brokken <frank@oosix.mx10.nl>, 1150139@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: f.b.brokken@rug.nl
X-Debian-Pr-Message: followup 1150139
X-Debian-Pr-Package: libbobcat6
X-Debian-Pr-Source: bobcat
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
X-Greylist: delayed 357 seconds by postgrey-1.37 at buxtehude; Wed, 07 Oct 2026 07:34:16 UTC
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/833754
List-ID: <debian-bugs-rc.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-rc/>
Approved: robomod@news.nic.it
Lines: 90
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: Sebastien Bacher <seb128@ubuntu.com>, submit@bugs.debian.org
X-Original-Date: Wed, 7 Oct 2026 09:28:16 +0200
X-Original-Message-ID: <asX0kC0FEqkFbk8t@oosix.mx10.nl>
X-Original-References: <Lj9UoNaRf9JpV2KUrHdIIBYlhZq51HqepvdO--ulETdXSKYS_s9Angjxm2PsZkBg3eR2ASm2UGlJx08fv9xmYA==@protonmail.internalid> <87550511-c99b-44f4-9be0-784dc0ed9ca0@ubuntu.com> <asXPCZcKz8NDTV86@mbb-utm.home.arpa> <87550511-c99b-44f4-9be0-784dc0ed9ca0@ubuntu.com> <asXPCZcKz8NDTV86@mbb-utm.home.arpa>