Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 131111 - media-sound/mp3kult-0.7-r3 fails to compile (mysql-4.1.14-r1)
Summary: media-sound/mp3kult-0.7-r3 fails to compile (mysql-4.1.14-r1)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
: 22003 (view as bug list)
Depends on:
Blocks: 125951
  Show dependency tree
 
Reported: 2006-04-24 09:15 UTC by David Morgan
Modified: 2007-09-15 12:39 UTC (History)
1 user (show)

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


Attachments
Fixes the old mysql functions with the newer ones (mp3kult-0.7.FIXOLDMYSQL.patch,2.40 KB, patch)
2007-07-07 08:49 UTC, rokstar
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Morgan 2006-04-24 09:15:27 UTC
Looks a lot like bug 22003 (https://bugs.gentoo.org/show_bug.cgi?id=22003), but must be a different issue


                 from mydb.cpp:21:
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/g++-v3/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
mydb.cpp: In member function `bool MyDb::dbConnect(const char*, const char*, const char*, const char*)':
mydb.cpp:59: error: `mysql_connect' was not declared in this scope
mydb.cpp: In member function `bool MyDb::dbCreate(const char*, const char*, const char*, const char*, const char*, const char*)':
mydb.cpp:83: error: `mysql_connect' was not declared in this scope
mydb.cpp:91: error: `mysql_connect' was not declared in this scope
make[3]: *** [mydb.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/mp3kult-0.7-r3/work/mp3kult-0.7/mp3kult'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/mp3kult-0.7-r3/work/mp3kult-0.7/mp3kult'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mp3kult-0.7-r3/work/mp3kult-0.7'
make: *** [all] Error 2

!!! ERROR: media-sound/mp3kult-0.7-r3 failed.
!!! Function kde_src_compile, Line 226, Exitcode 2
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, NOT this status message.

emerge --info
Portage 2203-svn (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.5-r3, 2.6.16-gentoo-r3 i686)
=================================================================
System uname: 2.6.16-gentoo-r3 i686 Intel(R) Pentium(R) M processor 1.86GHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://gentoo.blueyonder.co.uk http://mirrors.blueyonder.co.uk/mirrors/gentoo"
LC_ALL="en_GB.utf8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib acpi alsa asf audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdda cddb cdparanoia cdr cjk cli crypt cscope cups curl daap dbus dlloader dri dvd dvdr emboss encode exif expat fam fbcon ffmpeg firefox flac foomaticdb fortran ftp gd gdbm gif glut graphviz gstreamer gtk2 hal idn imagemagick imap isdnlog jack jpeg lcms libcaca libg++ libwww live lua mad maildir matroska mbox mikmod mmx mng motif mp3 mp4 mpeg mysql ncurses nls nptl ogg opengl pam pcre pdf pdflib perl png pppd python quicktime readline real reflection ruby samba sdl session spell spl sse sse2 ssl svg svga tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vcd vidix vorbis win32codecs x264 xine xorg xv xvid xvmc zlib video_cards_radeon video_cards_fglrx video_cards_vesa video_cards_ati input_devices_keyboard input_devices_mouse userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LDFLAGS, LINGUAS
Comment 1 flow 2007-01-18 21:00:44 UTC
Also with mysql 5.0.32. ‘mysql_connect’ was not declared in this scope


emerge --info mp3kult
Portage 2.1.2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r5 i686)
=================================================================
                        System Settings
=================================================================
System uname: 2.6.18-gentoo-r5 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.12.5
Timestamp of tree: Wed, 17 Jan 2007 18:30:01 +0000
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -mno-tls-direct-seg-refs -m32 -mmmx -pipe -fomit-frame-pointer -falign-functions=16 -fno-align-jumps -fno-align-labels -falign-loops=4 -fprefetch-loop-arrays"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/share/config/kdm/ /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -mno-tls-direct-seg-refs -m32 -mmmx -pipe -fomit-frame-pointer -falign-functions=16 -fno-align-jumps -fno-align-labels -falign-loops=4 -fprefetch-loop-arrays -fvisibility-inlines-hidden"
DISTDIR="/usr/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s"
LINGUAS="en_GB ja"
MAKEOPTS="-j2 -s "
PKGDIR="/usr/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sabayon"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7Zip X a52 aac accessibility acl acpi ada aiglx aim alsa amarok apache2 arts artswrappersuid asf audiofile automount avahi berkdb bidi bitmap-fonts cairo cdda cddb chm cjk clearcase cli commercial config_wizard cpudetection cracklib crypt css cups dbus dga divx4linux dlloader dri dts dv dvb dvd dvdr dvdread dxr3 eds effects emboss encode esd ethereal evo exscalibar ext-man ext-rtf ext-tex extraicons extramodules fame fat ffmpeg fftw firefox flac flash foomatic-db foomaticdb fortran freetype gcj gdbm gif gimpprint glitz gnokii gnutls gphoto2 gpm gs gstreamer gtk gtk2 hal hfs iconv icq imap imlib inkjar ipod ipv6 irc irda isdnlog jabber jack java jfs joystick jpeg kde kdeenablefinal kdehiddenvisibility kerberos kipi kqemu krb4 ladspa lcd ldap ldapsam libao libcaca libclamav libg++ libwww live lj lm_sensors logitech-mouse lzo mad mail matroska mikmod mjpeg mmx mod mono motif moznocompose moznoirc moznomail mp3 mpeg mplayer msn musepack musicbrainz mysql mysqli mythtv ncurses network new-login nls nptl nptlonly nsplugin ntfs nvidia ogg ole openexr opengl pam pam_console pascal pcmcia pcre pda pdf perl php plugin png postgres povray ppds pppd pwdb python qt qt3 qt4 quicktime quotas rar rdesktop readline real reflection reiser4 reiserfs rss ruby samba scanner sdl session skins slp sms sndfile speech speex spell spl spreadsheet sql sse ssl stream streams subversion svg swat switch_all_desktops sysfs tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vcd visualization voice vorbis weather webservices win32codecs winbind wmf wxwindows x264 x86 xfs xine xinerama xml xorg xosd xpm xprint xscreensaver xsl xv xvid xvmc yahoo zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse joystick penmount vmmouse void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB ja" USERLAND="GNU" VIDEO_CARDS="nv nvidia v4l vesa vga vmware"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 rokstar 2007-07-07 08:49:29 UTC
Created attachment 124118 [details, diff]
Fixes the old mysql functions with the newer ones

mysql_connect is deprecated and now mysql_real_connect is suppose to be used.  The above patch updates the connection process and allows the program to compile and run.  FYI: this is my first patch, be gentle.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2007-08-04 07:11:40 UTC
*** Bug 22003 has been marked as a duplicate of this bug. ***
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2007-08-11 14:32:46 UTC
(In reply to comment #2)
> Created an attachment (id=124118) [edit]
> Fixes the old mysql functions with the newer ones
> 
> mysql_connect is deprecated and now mysql_real_connect is suppose to be used. 
> The above patch updates the connection process and allows the program to
> compile and run.  FYI: this is my first patch, be gentle.
> 

Thanks, but a question first.. does it compile without a patch if you say:

CXXFLAGS="-DUSE_OLD_FUNCTIONS=1" emerge =media-sound/mp3kult-0.7-r3
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2007-08-19 20:11:27 UTC
Tested with both, -DUSE.. and provided patch, none of that worked. I'm masking this removal, as upstream seems to be dead.
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2007-09-15 12:39:02 UTC
Gone.