[mythtv] MariaDB build failure

Richard Shaw hobbes1069 at gmail.com
Mon Aug 7 19:02:52 UTC 2017


I was building the latest fixes/0.28 for RPM Fusion and ran into this error:

g++ -c -pipe -O2 -g -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong
--param=ssp-buffer-size=4 -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8
-mtune=power8 -fomit-frame-pointer -fno-devirtualize
-fomit-frame-pointer -fPIC -DQT_DISABLE_DEPRECATED_BEFORE=0x050000
-maltivec -mabi=altivec -pthread -g -Wall -Wpointer-arith
-D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS
-fvisibility-inlines-hidden -Wmissing-declarations -Wno-switch
-Woverloaded-virtual -funit-at-a-time -fomit-frame-pointer
-std=gnu++11 -Wall -W -fPIC -D_GNU_SOURCE -DPREFIX="/usr"
-Dusing_libcec -D_FILE_OFFSET_BITS=64 -Dlinux -I. -isystem
/usr/include/libxml2 -isystem /usr/include/X11
-I/builddir/build/BUILD/mythtv-0.28.1/fakeroot/usr/include
-I/usr/lib64/qt5/mkspecs/linux-g++ -o zmserver.o zmserver.cpp
zmserver.cpp: In function 'void connectToDatabase()':
zmserver.cpp:186:14: error: 'MYSQL {aka struct st_mysql}' has no
member named 'reconnect'
     g_dbConn.reconnect = 1;
              ^~~~~~~~~
make[2]: *** [Makefile:380: zmserver.o] Error 1

This was for Fedora Rawhide (future F27) which has mariadb 10.2.7 but my
local build in Fedora 25 completed with mariadb 10.1.25...

Any known issue with 10.2.X?

Thanks,
Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-dev/attachments/20170807/607cce1c/attachment.html>


More information about the mythtv-dev mailing list