/usr/bin/x86_64-pc-linux-gnu-gcc -I/usr/include/mysql -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DNDEBUG -Wall -Wno-deprecated-declarations -Wunused -Wwrite-strings -Wno-strict-aliasing -Wextra -Wshadow -O2 -pipe -march=native -Wall -I/usr/include/mysql -I/usr/include/mysql/.. -o CMakeFiles/mydumper.dir/mydumper.c.o -c /var/tmp/portage/dev-db/mydumper-0.6.2/work/mydumper-0.6.2/mydumper.c /var/tmp/portage/dev-db/mydumper-0.6.2/work/mydumper-0.6.2/mydumper.c: In function ‘main’: /var/tmp/portage/dev-db/mydumper-0.6.2/work/mydumper-0.6.2/mydumper.c:674:61: error: ‘MYSQL_SERVER_VERSION’ undeclared (first use in this function) g_print("mydumper %s, built against MySQL %s\n", VERSION, MYSQL_SERVER_VERSION); ^~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/dev-db/mydumper-0.6.2/work/mydumper-0.6.2/mydumper.c:674:61: note: each undeclared identifier is reported only once for each function it appears in ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 13.0-desktop_libressl_20170903-100751 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-6.4.0 * llvm-config: 3.9.1 Available Python interpreters, in order of preference: [1] python3.4 [2] python2.7 (fallback) java-config: The following VMs are available for generation-2: *) IcedTea JDK 7.2.6.11 [icedtea-bin-7] 2) IcedTea JDK 3.5.1 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-7 system-vm [2] icedtea-bin-8 emerge -qpv dev-db/mydumper [ebuild N ] dev-db/mydumper-0.6.2 USE="-doc"
Created attachment 494262 [details] emerge-info.txt
Created attachment 494264 [details] dev-db:mydumper-0.6.2:20170912-181350.log
Created attachment 494266 [details] emerge-history.txt
Created attachment 494268 [details] environment
Created attachment 494270 [details] etc.portage.tbz2
Created attachment 494272 [details] logs.tbz2
Created attachment 494274 [details] temp.tbz2
https://github.com/gentoo/gentoo/pull/5873
https://github.com/gentoo/gentoo/commit/9a32f45addb90b07db95b4d0e232d26874131604
Please fix MYSQL_SERVER_VERSION errors as such. A quick fix can be: #if defined MARIADB_CLIENT_VERSION_STR && !defined MYSQL_SERVER_VERSION #define MYSQL_SERVER_VERSION MARIADB_CLIENT_VERSION_STR #endif Ultimately, MYSQL_SERVER_VERSION should be removed and use the MYSQL_VERSION_ID integer for version identification.