FS#74998 - [rasqal] Consider using regex.h instead of pcre

Attached to Project: Arch Linux
Opened by BTD Master (btdmaster) - Wednesday, 08 June 2022, 21:26 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:25 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To David Runge (dvzrv)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Since pcre has been deprecated in favor of pcre2[0], it might be better to compile rasqal to use POSIX regex.h (glibc) instead[1].
[0] https://pcre.org/
[1] https://github.com/dajobe/rasqal/blob/master/configure.ac#L527

Additional info:
rasqal 1:0.9.33-5

Steps to reproduce:
Add --with-regex-library=posix to configure step in PKGBUILD.
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:25 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/rasqal/issues/1
Comment by Toolybird (Toolybird) - Tuesday, 19 July 2022, 07:14 GMT
FWIW, both Fedora and Debian still appear to compile it against pcre.
Comment by loqs (loqs) - Monday, 30 January 2023, 01:33 GMT
Have you contacted upstream about their interest in adding pcre2 support?
Comment by BTD Master (btdmaster) - Monday, 30 January 2023, 20:48 GMT
I'm not sure where to contact upstream, do you know? I found https://bugs.librdf.org, https://github.com/dajobe/rasqal or https://lists.librdf.org/pipermail/redland-dev/, but I'm not sure.
Comment by loqs (loqs) - Monday, 30 January 2023, 21:31 GMT
I do not know which of the addresses to use. The attached patch might be of some help. It passes the regex related tests but there could well be issues with it.
Comment by David Runge (dvzrv) - Monday, 30 January 2023, 22:45 GMT
I don't have high hopes that upstream will react. So far there have been no answers to release requests either...
Comment by David Runge (dvzrv) - Sunday, 03 September 2023, 14:33 GMT
Opened upstream ticket for this: https://github.com/dajobe/rasqal/issues/12

Comment by loqs (loqs) - Monday, 04 September 2023, 22:09 GMT
What a fast upstream fix.

Loading...