Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

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!
Tasklist

FS#71251 - [ripgrep] PCRE2 is incorrectly enabled

Attached to Project: Community Packages
Opened by Arzet Ro (arzeth) - Monday, 14 June 2021, 04:36 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Tuesday, 15 June 2021, 06:28 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Maxim Baz (maximbaz)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

$ rg -P 123
PCRE2 is not available in this build of ripgrep

ldd /usr/bin/rg doesn't list /usr/lib/libpcre2-8.so.0

There's already --features 'pcre2' in build() and check().
I have no experience with cargo,
but if I add --features 'pcre2' into package(),
then rg -P 123 works and ldd /usr/bin/rg lists /usr/lib/libpcre2-8.so.0

I am one of those who frequently use PCRE2.
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Tuesday, 15 June 2021, 06:28 GMT
Reason for closing:  Fixed
Comment by loqs (loqs) - Monday, 14 June 2021, 08:10 GMT
I think running cargo in package can be avoid. See attached diff.
Edit:
PKGBUILD2.diff Slight improvement supporting makepkg --repackage.
Comment by Eli Schwartz (eschwartz) - Monday, 14 June 2021, 12:09 GMT
Gah, cargo really is the absolute worst build system. :(
Comment by Sven-Hendrik Haase (Svenstaro) - Tuesday, 15 June 2021, 06:27 GMT
Thanks, loqs.

Loading...