-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Wrong install location for cmake config files on Ubuntu #3244
Comments
@Krzmbrzl Right, this is the wrong directory I must verify on which site this is going wrong.... |
It might be, this is the problem we set PocoConfigPackageLocation |
I've noted this problem in debian bugreport 1000656 along with another problem effecting Debian/Ubuntu/etc wrt cmake finding pcre. |
This should be fixed in 1.11.0-3 in Debian unstable. Sorry for the trouble. |
@jspricke , I think the pcre problem reported in debian bugreport 1000656 is yet to be addressed. One solution is to install https://github.com/pocoproject/poco/blob/master/cmake/FindPCRE.cmake in the Poco cmake directory. Also https://packages.debian.org/sid/libpoco-dev is still showing |
***@***.*** , I think the pcre problem reported in [debian bugreport 1000656](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1000656) is yet to be addressed. One solution is to install https://github.com/pocoproject/poco/blob/master/cmake/FindPCRE.cmake in the Poco cmake directory.
It was addressed in the upload.
Also https://packages.debian.org/sid/libpoco-dev is still showing `1.11.0-2`, containing the double cmake/cmake path in `/usr/lib/x86_64-linux-gnu/cmake/cmake/Poco`.
Debian unstable is updated 4 times per day, it ran in the meantime and
the page shows the new package now.
Is that because of the pipeline failure at https://salsa.debian.org/debian/poco/-/pipelines/318257 , or just a usual delay in the new release propagating to all the various systems?
CI is unrelated.
|
Tested. Both are now fixed! Thanks @jspricke ! |
Can we expect this might make it into stable(bullseye), where |
I've proposed a stable update in https://bugs.debian.org/1000736.
|
@jspricke , it looks like you have the green light. |
Yes, it was already accepted: https://release.debian.org/proposed-updates/stable.html |
Thanks for the links - I'm slowly learning the debian processes ;-) |
Btw. as the initial bug report was for Ubuntu, maybe someone wants to fill a SRU: https://wiki.ubuntu.com/StableReleaseUpdates |
Now in Debian stable and Ubuntu jammy. |
First off: I am not entirely sure whether this is an issue with Poco itself or only with the way it now gets packaged on recent versions of Ubuntu.
Trying to locate the Poco libraries via a regular
find_package
command fails starting from Ubuntu Groovy (20.10). It still works fine on Ubuntu focal (20.04).Presumably this is because in 20.04, the cmake config files are installed to e.g.
/usr/lib/cmake/Poco/PocoConfig.cmake
(source) whereas on 20.10, they are installed to/usr/lib/x86_64-linux-gnu/cmake/cmake/Poco/PocoConfig.cmake
(source). Note thecmake/cmake
part in that path, which I believe is onecmake
dir too much for it to work.Did you perhaps make any changes to the install locations that could have caused this issue or is this something the Ubuntu packagers have changed on their own?
The text was updated successfully, but these errors were encountered: