Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#69239 - [poco] CMake requires non existing target
Attached to Project:
Community Packages
Opened by Christoph (laudin) - Thursday, 07 January 2021, 11:30 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Thursday, 14 October 2021, 21:21 GMT
Opened by Christoph (laudin) - Thursday, 07 January 2021, 11:30 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Thursday, 14 October 2021, 21:21 GMT
|
DetailsDescription:
The cmake target "Poco::DataMySQL" defined in "PocoDataMySQLTargets.cmake" has a dependency to "MySQL::client", but this target is not defined, so the generation fails if you try to use this target. Probably it should be "libmysqlclient.so" instead (included in mariadb-libs). Error message: CMake Error at CMakeLists.txt:6 (add_executable): Target "untitled" links to target "MySQL::client" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? Steps to reproduce: Generate the attached cmake project. |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Thursday, 14 October 2021, 21:21 GMT
Reason for closing: Fixed
Thursday, 14 October 2021, 21:21 GMT
Reason for closing: Fixed
Comment by Sven-Hendrik Haase (Svenstaro) -
Thursday, 29 April 2021, 21:46 GMT
Could you make a patch for the package to fix this up? I don't really care for poco much and would likely drop the package as it doesn't have any dependents.
Comment by Christoph (laudin) -
Monday, 03 May 2021, 18:30 GMT
I have used this patch on my system to get it working.
Comment by Sven-Hendrik Haase (Svenstaro) -
Monday, 03 May 2021, 20:07 GMT
Could you also make a patch for the package itself?
Comment by Sven-Hendrik Haase (Svenstaro) -
Wednesday, 13 October 2021, 03:25 GMT
Are you still interested in this?
Comment by Christoph (laudin) -
Thursday, 14 October 2021, 13:06 GMT
Is that what you ask for?
main.cpp