Your message dated Sun, 05 Dec 2021 21:03:38 +0000
with message-id <[email protected]>
and subject line Bug#1000656: fixed in poco 1.10.0-6+deb11u1
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.10.0-6+deb11u1
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: Sun, 28 Nov 2021 08:18:29 +0100
Source: poco
Architecture: source
Version: 1.10.0-6+deb11u1
Distribution: bullseye
Urgency: medium
Maintainer: Krzysztof Burghardt <[email protected]>
Changed-By: Jochen Sprickerhof <[email protected]>
Closes: 1000656
Changes:
 poco (1.10.0-6+deb11u1) bullseye; urgency=medium
 .
   * Fix cmake files (Closes: #1000656).
      - Drop duplicated cmake/ in path so they are discoverable by cmake.
      - Fix cmake logic to export correct paths of shared objects.
      - Install FindPCRE.cmake, needed by PocoFoundationConfig.cmake.
Checksums-Sha1:
 cf29393eaf13c19f5b54d959107587f572bcb8c5 3151 poco_1.10.0-6+deb11u1.dsc
 301c9ad95d57508a0ec059abc804c9ba36c3a786 16524 
poco_1.10.0-6+deb11u1.debian.tar.xz
 ae0be7c175b06f89c0bd3f597102e9de081ab5d1 7269 
poco_1.10.0-6+deb11u1_source.buildinfo
Checksums-Sha256:
 80287f5349a2652ee7ad2924d016204542532672ff1f2d43c92718544a42d403 3151 
poco_1.10.0-6+deb11u1.dsc
 49db37f945ee5a9eb23e0518dfb55a27e15614e46f62f6d1011b7807ff4f1030 16524 
poco_1.10.0-6+deb11u1.debian.tar.xz
 55ffb0dca2cfc1f7e59b1457bcf2c339a6c96c9f40a00ee39a39dd7600c04d7d 7269 
poco_1.10.0-6+deb11u1_source.buildinfo
Files:
 40da61e2e0e742c9a10fa886083132a0 3151 libs optional poco_1.10.0-6+deb11u1.dsc
 a641b92f395ee5c6f3ab91157941e550 16524 libs optional 
poco_1.10.0-6+deb11u1.debian.tar.xz
 898f844d9b0d9855f7b689bcbf1a957b 7269 libs optional 
poco_1.10.0-6+deb11u1_source.buildinfo

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

iQIzBAEBCgAdFiEEc7KZy9TurdzAF+h6W//cwljmlDMFAmGrpEcACgkQW//cwljm
lDMXHA//QGna1CoV81otp/eCfMaqpdHYFw/+7/cFzOGkEwKG+P5Av/7ZVb09Rzb0
d+c8qWUt6paGj6pk9VdAxKq5YhYXKaEkymg+JHHZef/Ney7nNlkRimIcDY7MYQyV
kxkZOSuqd0ZGmAs2FgnWfUBXpwedeoTK8YB1uzSa4q4LD4iHbYdBNm0RtfKnZLyt
BBL6sX9MegjSeiEc2yGGGitzu7iAUgEYLuBx+H27B1ZzMjsblynrIf2uePw1ozAN
QXw8CemBoU5WBnLQoIKXsDyupd6at4KPElbW+MJK2LnuOjWMkwAUIbuE7AWL4ADz
eW6Mu9s+iq/Xry9d0DyZOghE1AZxTK2BqctH1Lh6j17XM2tV13UGRDZag673lyyx
3ZmqfyqXBtav+A/VLMCF9OLEWVxD3+Y8jIWCQKG4PzDbHc7N568I0k8nXxwTljGt
uj1MXMKgc6/f2sBLNz5m8puFu02lbUDYPhmRGadsJUHdFzYxNT3W5oS4hC7sH5em
/+cmksfYO++vXSuH+3+7XSq0IireF3EdlZlqWGJOsK6pBDcfetkScgKVvNwxifqU
awR3izJ9Wyn9xt6ASi4xe8t+drFDaWunTd/Ah0ZVAMlPQEw4y8yj+vN++3Iv/crr
SeVsVLYqDh3H320w9takXH3j2AvpoHE7DFDBHZv0wlj2yi16Kh4=
=XxN1
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to