Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zoneminder: depends on obsolete pcre3 library #3384

Open
onlyjob opened this issue Nov 19, 2021 · 3 comments
Open

zoneminder: depends on obsolete pcre3 library #3384

onlyjob opened this issue Nov 19, 2021 · 3 comments

Comments

@onlyjob
Copy link
Contributor

onlyjob commented Nov 19, 2021

As reported in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=999919, libPCRE3 is obsolete:

Your package still depends on the old, obsolete PCRE3[0] libraries
(i.e. libpcre3-dev). This has been end of life for a while now, and
upstream do not intend to fix any further bugs in it. Accordingly, I
would like to remove the pcre3 libraries from Debian, preferably in
time for the release of Bookworm.

The newer PCRE2 library was first released in 2015, and has been in
Debian since stretch. Upstream's documentation for PCRE2 is available
here: https://pcre.org/current/doc/html/

Many large projects that use PCRE have made the switch now (e.g. git,
php); it does involve some work, but we are now at the stage where
PCRE3 should not be used, particularly if it might ever be exposed to
untrusted input.

Historical reasons mean that old PCRE is packaged as pcre3 in Debian

Please consider migrating to libpcre2-dev.

Please note that libpolkit-gobject-1-dev indirectly depends on obsolete libpcre3-dev through libglib2.0-dev on Debian so one have to build Zoneminder without Polkit to avoid installing both PCRE libraries simultaneously.

Currently Zoneminder fails to detect libpcre2-dev on build-time.

@connortechnology
Copy link
Member

I could have sworn I responded to this...

We have alternate code. Let's just deprecate the use of the PCRE case. pass -DZM_NO_PCRE=ON to cmake. We have been building our packages with this for some time. It

@david-geiger
Copy link

Hi,

Is a switch to pcre2 finally planned?

Regards,
David

@connortechnology
Copy link
Member

No plans. No one funding the work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants