Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 692432 - dev-libs/poco-1.9.0-r2 : /.../client_plugin.h:108:8: error: using typedef-name MYSQL after struct
Summary: dev-libs/poco-1.9.0-r2 : /.../client_plugin.h:108:8: error: using typedef-nam...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: David
URL: https://github.com/pocoproject/poco/i...
Whiteboard:
Keywords:
Depends on: 707106
Blocks: mysql-8
  Show dependency tree
 
Reported: 2019-08-18 07:56 UTC by Toralf Förster
Modified: 2021-04-27 03:46 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.90 KB, text/plain)
2019-08-18 07:56 UTC, Toralf Förster
Details
dev-libs:poco-1.9.0-r2:20190818-013720.log (dev-libs:poco-1.9.0-r2:20190818-013720.log,628.14 KB, text/plain)
2019-08-18 07:56 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,10.55 KB, application/x-bzip)
2019-08-18 07:57 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,4.51 KB, application/x-bzip)
2019-08-18 07:58 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,37.97 KB, application/x-bzip)
2019-08-18 07:58 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-08-18 07:56:34 UTC
                 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"
Comment 1 Toralf Förster gentoo-dev 2019-08-18 07:56:37 UTC
Created attachment 587292 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-08-18 07:56:39 UTC
Created attachment 587294 [details]
dev-libs:poco-1.9.0-r2:20190818-013720.log
Comment 3 Toralf Förster gentoo-dev 2019-08-18 07:57:58 UTC
Created attachment 587296 [details]
etc.portage.tbz2
Comment 4 Toralf Förster gentoo-dev 2019-08-18 07:58:12 UTC
Created attachment 587298 [details]
logs.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-08-18 07:58:15 UTC
Created attachment 587300 [details]
temp.tbz2
Comment 6 René Fuchs 2019-10-09 08:08:56 UTC
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
Comment 7 Jouni Kosonen 2020-02-01 22:33:12 UTC
(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.
Comment 8 Håkon Alstadheim 2020-03-24 18:57:09 UTC
Work-around: 
euse -p dev-libs/poco -E mariadb
euse -p dev-libs/poco -D mysql
Comment 9 Joerg Neikes 2020-04-21 08:10:50 UTC
(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.