Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 376931 - media-tv/xbmc-10.1: build fails on mysql
Summary: media-tv/xbmc-10.1: build fails on mysql
Status: RESOLVED DUPLICATE of bug 375063
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-29 14:04 UTC by Mike
Modified: 2011-08-02 22:35 UTC (History)
2 users (show)

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


Attachments
emerge --info (emerge info,5.41 KB, text/plain)
2011-07-29 14:04 UTC, Mike
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike 2011-07-29 14:04:14 UTC
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"
Comment 1 Mike 2011-07-29 14:04:44 UTC
Created attachment 281453 [details]
emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2011-07-29 18:10:50 UTC
Please add full build log as attachment.
Comment 3 Craig Andrews gentoo-dev 2011-07-30 22:18:49 UTC
might this be a duplicate of bug 375063 ?
Comment 4 Account removed 2011-08-02 19:24:26 UTC
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.
Comment 5 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-08-02 19:32:35 UTC
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 ***
Comment 6 Mike 2011-08-02 22:35:35 UTC
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.