XBMC 10.1 fails due to mysql header files missing. Reproducible: Always Steps to Reproduce: 1. emerge xbmc 2. build fails Actual Results: Build fails due to mysql header files missing Expected Results: XBMC should compile and install properly desktop mike # emerge -pqv =media-tv/xbmc-10.1 [ebuild N ] media-tv/xbmc-10.1 USE="alsa avahi pulseaudio sse sse2 udev webserver xrandr (-altivec) -css -debug -joystick -midi -profile -rtmp -vaapi -vdpau" Error: make[1]: Entering directory `/var/tmp/portage/media-tv/xbmc-10.1/work/xbmc-10.1/xbmc' x86_64-pc-linux-gnu-g++ -MD -c -march=core2 -O2 -pipe -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG=1 -march=core2 -O2 -pipe -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG=1 -march=core2 -O2 -pipe -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG=1 -D_LINUX -D_FILE_DEFINED -D__STDC_CONSTANT_MACROS -DBIN_INSTALL_PATH="\"/usr/lib64/xbmc\"" -DINSTALL_PATH="\"/usr/share/xbmc\"" -D'GIT_REV="Unknown"' -DHAVE_CONFIG_H -I../ -I. -Ilinux -Icores -I../guilib -Iutils -IFileSystem -I/usr/include/freetype2 -Icores/dvdplayer -Ilib/libUPnP/Platinum/Source/Core -Ilib/libUPnP/Platinum/Source/Platinum -Ilib/libUPnP/Platinum/Source/Devices/MediaServer -Ilib/libUPnP/Platinum/Source/Devices/MediaConnect -Ilib/libUPnP/Platinum/Source/Devices/MediaRenderer -Ilib/libUPnP/Neptune/Source/System/Posix -Ilib/libUPnP/Neptune/Source/Core -Ilib/libcdio/libcdio/include -I../lib/jsoncpp/jsoncpp/include -Ilib/cpluff/libcpluff -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include -I/usr/include/ -I/usr/include/SDL -I/usr/include/alsa -I/usr/include/dbus-1.0 -I/usr/include/freetype2 -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/include/libpng14 -I/usr/include/lzo -I/usr/lib64/dbus-1.0/include -I/usr/lib64/glib-2.0/include -I/var/tmp/portage/media-tv/xbmc-10.1/work/xbmc-10.1 Application.cpp -o Application.o In file included from Database.h:25, from TextureDatabase.h:24, from TextureCache.h:26, from Application.cpp:76: lib/sqLite/mysqldataset.h:30:25: error: mysql/mysql.h: No such file or directory In file included from Database.h:25, from TextureDatabase.h:24, from TextureCache.h:26, from Application.cpp:76: lib/sqLite/mysqldataset.h:42: error: ISO C++ forbids declaration of ‘MYSQL’ with no type lib/sqLite/mysqldataset.h:42: error: expected ‘;’ before ‘*’ token lib/sqLite/mysqldataset.h:56: error: ISO C++ forbids declaration of ‘MYSQL’ with no type lib/sqLite/mysqldataset.h:56: error: expected ‘;’ before ‘*’ token lib/sqLite/mysqldataset.h:58: error: expected ‘;’ before ‘virtual’ lib/sqLite/mysqldataset.h:119: error: ISO C++ forbids declaration of ‘MYSQL’ with no type lib/sqLite/mysqldataset.h:119: error: expected ‘;’ before ‘*’ token make[1]: *** [Application.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-tv/xbmc-10.1/work/xbmc-10.1/xbmc' make: *** [xbmc/xbmc.a] Error 2 emake failed * ERROR: media-tv/xbmc-10.1 failed (compile phase): * emake failed * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 5461: Called _eapi2_src_compile * ebuild.sh, line 667: Called die * The specific snippet of code: * emake || die "emake failed"
Created attachment 281453 [details] emerge --info
Please add full build log as attachment.
might this be a duplicate of bug 375063 ?
seems so. rebuilding mysql after a fresh sync (see https://bugs.gentoo.org/show_bug.cgi?id=375063#c41) leads to headers located in /usr/include/mysql and xbmc merges again.
I'm reassigning this to us (mysql) as this was my fault. @xbox, if you want, feel free to retake the bug. *** This bug has been marked as a duplicate of bug 375063 ***
Thank you. Sorry for my lack on involvement in this bug, I've been really busy recently. Compiling an older version of mysql fixes it. In order to attach a full build log I would have had to recompile the latest mysql then xbmc...which I sadly have not had time for. Currently, emerging dev-db/mysql-5.1.51 allows xbmc to compile fully, which leads me to believe this is more of a mysql issue. Thank you for merging the bug.