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#77593 - [fdm] Regular expression error on 2.2-1

Attached to Project: Community Packages
Opened by Kenta ODA (odknt) - Tuesday, 21 February 2023, 06:20 GMT
Last edited by T.J. Townsend (blakkheim) - Tuesday, 21 February 2023, 20:53 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jaroslav Lichtblau (Dragonlord)
T.J. Townsend (blakkheim)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

fdm outputs the following error message when using PCRE in .fdm.conf.

/home/user/.fdm.conf: ^(?:From|To):.*\.ioInvalid preceding regular expression at line 30

fdm-2.2-1 package contains fdm binary that not linking PCRE library.

$ ldd /usr/bin/fdm
linux-vdso.so.1 (0x00007fffa1dee000)
libssl.so.3 => /usr/lib/libssl.so.3 (0x00007fb06f20d000)
libcrypto.so.3 => /usr/lib/libcrypto.so.3 (0x00007fb06ec00000)
libz.so.1 => /usr/lib/libz.so.1 (0x00007fb06f1f3000)
libtdb.so.1 => /usr/lib/libtdb.so.1 (0x00007fb06f1db000)
libresolv.so.2 => /usr/lib/libresolv.so.2 (0x00007fb06f1c9000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007fb06ea19000)
/lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007fb06f31a000)

I believe need set `--enable-pcre2` flag instead of `--enable-pcre` on compile later version 2.2.

Additional info:
* package version(s): fdm-2.2-1
* upstream commit: https://github.com/nicm/fdm/commit/136bf1e5aa1746af356f8c369ba39b27981925f3

Steps to reproduce:

Use PCRE in .fdm.conf

e.g.

match "(?:From|To):.*\\.io" in headers action drop
This task depends upon

Closed by  T.J. Townsend (blakkheim)
Tuesday, 21 February 2023, 20:53 GMT
Reason for closing:  Fixed
Additional comments about closing:  2.2-2
Comment by T.J. Townsend (blakkheim) - Tuesday, 21 February 2023, 15:20 GMT
Thanks for the report. Does 2.2-2 in [community-testing] fix the issue for you?
Comment by Kenta ODA (odknt) - Tuesday, 21 February 2023, 20:52 GMT
Thanks. 2.2-2 fixes the issue.

Loading...