#1112020 libpcre2-dev: Builing the package using cmake will install files that are missing currently

Package:
libpcre2-dev
Source:
libpcre2-dev
Description:
New Perl Compatible Regular Expression Library - development files
Submitter:
Maarten L. Hekkelman
Date:
2025-08-29 16:04:02 UTC
Severity:
normal
Tags:
#1112020#5
Date:
2025-08-25 07:29:06 UTC
From:
To:
Dear Maintainer,

The pcre2 package is currently built using autoconf/configure. The problem
with this is that essential cmake configuration files are not installed and
thus missing on a regular Debian system.

Swithing to using cmake for building and installing fixes this problem.

I've included a patch that seems to work on my system.

#1112020#10
Date:
2025-08-25 10:52:45 UTC
From:
To:
Hi,

I'm afraid I'm not going to switch to using cmake to build the package -
upstream doesn't use cmake themselves (the cmake build process is
provided as a convenience, and is sometimes buggy).

If the standard build is failing to build some cmake config files,
that's an upstream issue; if they are present but need installing, then
it's a packaging fix. Can you tell me which files are needed where, please?

Thanks,

Matthew

#1112020#19
Date:
2025-08-25 14:10:22 UTC
From:
To:
Hi Matthew,

Op 25-08-2025 om 12:52 schreef Matthew Vernon:

yup, I found out, see below.

The files to be installed are the <package-name>-config.cmake files,
using this line from libpcre2-dev.install:

debian/tmp/usr/lib/*/cmake/pcre2/pcre2-config*.cmake

These files are only created when cmake was used to build the libraries.

However, I just found out that these config files don't work as they are
supposed to work. So you can close this issue, upstream will have to be
fixed first.

regards,

#1112020#24
Date:
2025-08-29 16:03:33 UTC
From:
To:
Hi,

OK, doing so. I'd hope that cmake can find + use a fairly simple library
like pcre2 without too much hassle anyway...

Regards,

Matthew