Your message dated Sat, 27 Nov 2021 12:54:02 +0000
with message-id <[email protected]>
and subject line Bug#1000656: fixed in poco 1.11.0-3
has caused the Debian Bug report #1000656,
regarding (no subject)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1000656: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1000656
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libpoco-dev
Severity: important
X-Debbugs-Cc: [email protected]

Dear Maintainer,

I am attempting to use libpoco-dev cmake files on bullseye, but the
problem encountered dates back to the addition of the cmake files to
the libpoco-dev package as part of
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=880614

The CMakeLists.txt snippet which should work is:

find_package(Poco COMPONENTS Foundation REQUIRED)

However that looks for "Poco" cmake files and fails.
This first problem is raised upstream as
https://github.com/pocoproject/poco/issues/3244

I can workaround this by doing
# ln -s /usr/lib/x86_64-linux-gnu/cmake/cmake/Poco/ /usr/lib/cmake/

Then we encounter the following error:

CMake Error at /usr/share/cmake-3.18/Modules/CMakeFindDependencyMacro.cmake:47 
(find_package):
  By not providing "FindPCRE.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "PCRE", but
  CMake did not find one.

  Could not find a package configuration file provided by "PCRE" with any of
  the following names:

    PCREConfig.cmake
    pcre-config.cmake

  Add the installation prefix of "PCRE" to CMAKE_PREFIX_PATH or set
  "PCRE_DIR" to a directory containing one of the above files.  If "PCRE"
  provides a separate development package or SDK, be sure it has been
  installed.
Call Stack (most recent call first):
  /usr/lib/x86_64-linux-gnu/cmake/cmake/Poco/PocoFoundationConfig.cmake:5 
(find_dependency)
  /usr/lib/x86_64-linux-gnu/cmake/cmake/Poco/PocoConfig.cmake:29 (find_package)
  CMakeLists.txt:48 (find_package)

This is because libpcre2-dev and libpcre3-dev dont include any of those
mentioned files (FindPCRE.cmake, PCREConfig.cmake, or
pcre-config.cmake).

Note pcre2 does has a pcre2-config.cmake.in file which presumably
is used to generate a pcre2-config.cmake .
https://sources.debian.org/src/pcre2/10.39-3/cmake/
This wont suffice, as it doesnt provide cmake library `Pcre::Pcre`
which is needed by Poco.

However I can workaround this by adding the followinfg to /usr/lib/cmake/Poco/
as set up previously.
https://github.com/pocoproject/poco/blob/master/cmake/FindPCRE.cmake
Note the contents of that file mention `Pcre::Pcre`.

Worth noting vcpkg goes about fixing this a different way, by creating
their own unofficial-pcre-config.cmake at
https://github.com/ddc7451/vcpkg/tree/5746100fdc746523dd6cb1bac2cd1c0a50e0c253/ports/pcre
and then patching poco to look for unofficial::pcre::pcre
https://github.com/ddc7451/vcpkg/search?q=unofficial%3A%3Apcre%3A%3Apcre
https://github.com/ddc7451/vcpkg/blob/5746100fdc746523dd6cb1bac2cd1c0a50e0c253/ports/poco/include_pcre.patch

-- System Information (reportbug hacked to work on macos..):
Architecture: darwin-amd64 (x86_64)

Kernel: Darwin 21.1.0
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE not set
Init: unable to detect

--- End Message ---
--- Begin Message ---
Source: poco
Source-Version: 1.11.0-3
Done: Jochen Sprickerhof <[email protected]>

We believe that the bug you reported is fixed in the latest version of
poco, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jochen Sprickerhof <[email protected]> (supplier of updated poco package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 27 Nov 2021 13:39:34 +0100
Source: poco
Architecture: source
Version: 1.11.0-3
Distribution: unstable
Urgency: medium
Maintainer: Krzysztof Burghardt <[email protected]>
Changed-By: Jochen Sprickerhof <[email protected]>
Closes: 1000656
Changes:
 poco (1.11.0-3) unstable; urgency=medium
 .
   * Fix cmake files (Closes: #1000656)
Checksums-Sha1:
 74ff317972492044c087ccd943d65a1db332659e 3192 poco_1.11.0-3.dsc
 b1b0f760a3d7c9147753fd5d3e90a956d2ee4ec5 16160 poco_1.11.0-3.debian.tar.xz
 37a6ed1a3cbd15d620ca5e45844338c80a541749 7577 poco_1.11.0-3_source.buildinfo
Checksums-Sha256:
 40a124303c2afc3906d60c51c38c039c88261b71edb91e57d5daa56da0555d77 3192 
poco_1.11.0-3.dsc
 eec3527585a1fa68c7e53be1f30b5d334a8585b0569089677cdb33ed4602fcc9 16160 
poco_1.11.0-3.debian.tar.xz
 ca1dc7be29da3dfac662f9bb9916be240a4454992fe8f12b251c17e4ec6c8dab 7577 
poco_1.11.0-3_source.buildinfo
Files:
 1d4b24f6f2135c0828161c7048b9ae9f 3192 libs optional poco_1.11.0-3.dsc
 f926faaf14d011e8371193623bda9034 16160 libs optional 
poco_1.11.0-3.debian.tar.xz
 077faae95aba5a5262e9c544d6728554 7577 libs optional 
poco_1.11.0-3_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEc7KZy9TurdzAF+h6W//cwljmlDMFAmGiJ9gACgkQW//cwljm
lDPTjQ//QgWT8STHVz0H9DuaVG4IpUbOL77yLaDbmhSgU4tRS8sU8cJgVq8bQ20z
e3JyCsE8uTllW3noqDSv3srd1pE8w0xG7GsuBSuNXiVNY001nZ3WIDbwH6Is5+EJ
rBJ8ZJiXm2jqhQx8G1PFRa2j8r20qjtXyaciQWVxVwBi+2NEa6GJ2KlPPFAe3RTx
oxHo5yt0LmK/FbYkC8vi0VNWKggSJqQIeOGSViHaDo9bQA9IbeTHHrVPgJwtZBy/
AWivDrTQPQMw3F7+8MMdR0vkY54VUbkaYl6Iq+qRePAo6jzW1x48bjObW5dyFNuG
Uapxs5+iXtbFeKVR2TAyoG7+LFASvhWPxxDrEyClaBlSyVpUb7bCw3fINFda5mW0
aS8psoecqYtNy4xeM5ZSALmqWGm3ij+4mlx5jeMVF2DxF6zwh56RMA7jOACojhW/
vfFMYFXbB68Sk0tnqp70irf81tyExH18Ydl090Z2mhvdTUysfSytmKBizyXpWIQm
H7yjTIxFDu+8MpWGFt1a8R1sfWDI55bBhhWbJg5xerJobprBqBDQpUYN1vpOvPm5
W/sLibYjR5L+Wtc7zqUc6AYZmfFqck4OB2TQKmqh6atexAJFjfVprsJVe8UTMtv4
3eYP0QKOtcVLbVrr1QINXeSyoNtgzINQbda1y/p9rLQnVvLpl1Y=
=T0o7
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to