from /var/tmp/portage/dev-libs/poco-1.9.0-r2/work/poco-poco-1.9.0-release/Data/MySQL/include/Poco/Data/MySQL/Binder.h:24, from /var/tmp/portage/dev-libs/poco-1.9.0-r2/work/poco-poco-1.9.0-release/Data/MySQL/src/Binder.cpp:15: /usr/include/mysql/mysql/client_plugin.h:108:8: error: using typedef-name ‘MYSQL’ after ‘struct’ 108 | struct MYSQL; | ^~~~~ In file included from /var/tmp/portage/dev-libs/poco-1.9.0-r2/work/poco-poco-1.9.0-release/Data/MySQL/include/Poco/Data/MySQL/Binder.h:23, ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_plasma-20190816-031830 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-9.2.0 * Available Python interpreters, in order of preference: [1] python3.6 [2] python2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) * java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.13.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm emerge -qpvO dev-libs/poco [ebuild N ] dev-libs/poco-1.9.0-r2 USE="crypto data file2pagecompiler json mongodb mysql net pagecompiler pdf ssl util xml zip -7z -cppparser -examples -iodbc -libressl -mariadb -odbc -pocodoc -sqlite -test"
Created attachment 587292 [details] emerge-info.txt
Created attachment 587294 [details] dev-libs:poco-1.9.0-r2:20190818-013720.log
Created attachment 587296 [details] etc.portage.tbz2
Created attachment 587298 [details] logs.tbz2
Created attachment 587300 [details] temp.tbz2
Hi, the problem is dev-db/mysql-connector-c-8.0.17-r3 if you use the old one poco can be emerged dev-db/mysql-connector-c-6.1.11-r2
(In reply to René Fuchs from comment #6) > Hi, > the problem is > dev-db/mysql-connector-c-8.0.17-r3 > > > if you use the old one poco can be emerged > dev-db/mysql-connector-c-6.1.11-r2 dev-libs/poco-0.10.0 suggested in bug 707106 does compile against mysql-connector-c-8 but its patches need some TLC. For one thing, I don't think anyone upstream has tried to build with POCO_UNBUNDLED set because nothing seems to define the ${PocoConfigPackageLocation} used in CMakeLists.txt:453.
Work-around: euse -p dev-libs/poco -E mariadb euse -p dev-libs/poco -D mysql
(In reply to Håkon Alstadheim from comment #8) > Work-around: > euse -p dev-libs/poco -E mariadb > euse -p dev-libs/poco -D mysql Yes, works for me. Thank you.
dev-libs/poco-1.9.0-r2 is not anymore in ::gentoo. dev-libs/poco-1.11.2-r1 builds successfully with mysql support