Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#76856 - [libgit2] Build against pcre2

Attached to Project: Arch Linux
Opened by BTD Master (btdmaster) - Saturday, 17 December 2022, 10:34 GMT
Last edited by Toolybird (Toolybird) - Saturday, 17 December 2022, 21:22 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Currently libgit2 builds against pcre, which has been deprecated for a few years which is an issue for security (and other) bugs. Fortunately, it has CMake configuration to choose a different regex backend.

libgit2 1:1.5.0-2

To build against pcre2, include -DREGEX_BACKEND=pcre2 in the PKGBUILD CMake flags.
This task depends upon

Closed by  Toolybird (Toolybird)
Saturday, 17 December 2022, 21:22 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#76000 
Comment by Toolybird (Toolybird) - Saturday, 17 December 2022, 21:22 GMT
Please search for duplicates [1] before reporting new bugs.