bugGNU Octave - Bugs: bug #61570, [octave forge] (strings) switch to...


bug #61570: [octave forge] (strings) switch to new PCRE2 library

Submitter:  Rafael Laboissière <rlaboiss>
Submitted:  Fri 26 Nov 2021 07:00:50 PM UTC
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Other
Status:  Fixed Assigned to:  lostbard
Originator Name:  Open/Closed:  * Closed
Release:  * other Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup

Thu 30 Jun 2022 02:19:56 PM UTC, comment #3: 

New release out - closing ticket

John Donoghue <lostbard>
Group Member
Fri 24 Jun 2022 07:32:53 PM UTC, comment #2: 

Pushed patch, with detection of pcre2 and pcre  so that both will work


John Donoghue <lostbard>
Group Member
Sun 28 Nov 2021 06:54:35 AM UTC, comment #1: 

Please, consider the new patch attached to this bug report, instead of the patch initially attached. This new patch avoids a memory allocation problem, caused by a misplaced call to pcre2_match_data_free.

(file #52359)

Rafael Laboissière <rlaboiss>
Fri 26 Nov 2021 07:00:50 PM UTC, original submission:  

The strings package currently relies on the old (and mostly unmaintained) PCRE library.

The patch attached to this bug report migrates the code in src/pcregex.cc to the new PCRE2 library.

Debian is aiming at removing the old PCRE library from its next release. For more background, see:

Rafael Laboissière <rlaboiss>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #52356:  build-against-pcre2.patch added by rlaboiss (4KiB - text/x-patch)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by lostbard (Posted a comment)
  • -email is unavailable- added by rlaboiss (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.


    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-06-30 lostbard StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2022-06-24 lostbard StatusNone Ready For Test
        Assigned toNone lostbard
    2021-11-28 rlaboiss Attached File- Added build-against-pcre2-mem-fix.patch, #52359
    2021-11-26 rlaboiss Attached File- Added build-against-pcre2.patch, #52356

    Back to the top

    Powered by Savane 3.13-3cd0.
    Corresponding source code