Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 375063 - =dev-db/mysql-5.1.58: bad include and lib dir */mysql/mysql, no patches applied
Summary: =dev-db/mysql-5.1.58: bad include and lib dir */mysql/mysql, no patches applied
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: Normal normal with 1 vote (vote)
Assignee: Jorge Manuel B. S. Vicetto
URL:
Whiteboard:
Keywords: InVCS
: 375077 375079 375083 375103 375235 375271 375273 375307 375525 375749 376931 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-07-13 10:54 UTC by Stephan Friedrichs
Modified: 2014-10-07 08:49 UTC (History)
26 users (show)

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


Attachments
Build log (1310553687-install-media-sound_amarok-2.4.1:4::gentoo.out,138.33 KB, text/plain)
2011-07-13 10:55 UTC, Stephan Friedrichs
Details
cave info amarok (cave-info,18.13 KB, text/plain)
2011-07-13 10:56 UTC, Stephan Friedrichs
Details
build.log (build.log,137.88 KB, text/plain)
2011-07-14 16:27 UTC, Alex Barker
Details
build.log of amarok (build.log,138.24 KB, text/x-log)
2011-07-14 19:21 UTC, hand1977
Details
Install log (mysql.log,39.96 KB, text/plain)
2011-07-28 21:45 UTC, godmachine (Lance Poore)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Friedrichs 2011-07-13 10:54:25 UTC
Compiling media-sound/amarok-2.4.1 against dev-db/mysql-5.1.58 fails; mysql.h is not found:

 95%] [32mBuilding CXX object src/services/magnatune/CMakeFiles/amarok_service_magnatunestore.dir/MagnatuneDatabaseWorker.o
[0m/var/tmp/paludis/media-sound-amarok-2.4.1/work/amarok-2.4.1/src/core-impl/collections/db/sql/mysqlservercollection/MySqlServerCollection.cpp:30:19: fatal error: mysql.h: No such file or directory
compilation terminated.
make[2]: *** [src/core-impl/collections/db/sql/mysqlservercollection/CMakeFiles/amarok_collection-mysqlservercollection.dir/MySqlServerCollection.o] Error 1
make[1]: *** [src/core-impl/collections/db/sql/mysqlservercollection/CMakeFiles/amarok_collection-mysqlservercollection.dir/all] Error 2

But mysql.h is located in /usr/include/mysql/mysql (note the double "mysql/", maybe that's the problem). I have the same error with mysql-5.1.57, but didn't have the time to try other versions, yet. Full build log is following.

Reproducible: Always

Steps to Reproduce:
install amarok[embedded]
Comment 1 Stephan Friedrichs 2011-07-13 10:55:31 UTC
Created attachment 279959 [details]
Build log
Comment 2 Stephan Friedrichs 2011-07-13 10:56:26 UTC
Created attachment 279961 [details]
cave info amarok
Comment 3 hand1977 2011-07-13 12:29:08 UTC
Hi all,

...same Problem here...
 (after revdep-rebuild)

[ 97%] /var/tmp/portage/media-sound/amarok-2.4.1/work/amarok-2.4.1/src/core-impl/collections/db/sql/mysql-shared/MySqlStorage.cpp:31:19: schwerwiegender Fehler: mysql.h: Datei oder Verzeichnis nicht gefunden
Kompilierung beendet.
make[2]: *** [src/core-impl/collections/db/sql/mysqlecollection/CMakeFiles/amarok_collection-mysqlecollection.dir/__/mysql-shared/MySqlStorage.o] Fehler 1
make[1]: *** [src/core-impl/collections/db/sql/mysqlecollection/CMakeFiles/amarok_collection-mysqlecollection.dir/all] Fehler 2
make[1]: *** Warte auf noch nicht beendete Prozesse...
Building CXX object src/services/magnatune/CMakeFiles/amarok_service_magnatunestore.dir/MagnatuneRedownloadHandler.o
[ 97%] Scanning dependencies of target amarok_collection-mysqlservercollection                                                       
Building CXX object src/services/magnatune/CMakeFiles/amarok_service_magnatunestore.dir/MagnatuneSqlCollection.o                     
Linking CXX shared module ../../../../../../../lib/amarok_device_nfs.so                                                              
[ 97%] Linking CXX shared module ../../../../../../../lib/amarok_device_smb.so                                                       
Building CXX object src/core-impl/collections/db/sql/mysqlservercollection/CMakeFiles/amarok_collection-mysqlservercollection.dir/amarok_collection-mysqlservercollection_automoc.o                                                                                       
[ 97%] Building CXX object src/services/magnatune/CMakeFiles/amarok_service_magnatunestore.dir/MagnatuneStore.o                      
[ 97%] Building CXX object src/core-impl/collections/db/sql/mysqlservercollection/CMakeFiles/amarok_collection-mysqlservercollection.dir/__/mysql-shared/MySqlStorage.o                                                                                                   
[ 97%] /var/tmp/portage/media-sound/amarok-2.4.1/work/amarok-2.4.1/src/core-impl/collections/db/sql/mysql-shared/MySqlStorage.cpp:31:19: schwerwiegender Fehler: mysql.h: Datei oder Verzeichnis nicht gefunden
Kompilierung beendet.
make[2]: *** [src/core-impl/collections/db/sql/mysqlservercollection/CMakeFiles/amarok_collection-mysqlservercollection.dir/__/mysql-shared/MySqlStorage.o] Fehler 1
make[1]: *** [src/core-impl/collections/db/sql/mysqlservercollection/CMakeFiles/amarok_collection-mysqlservercollection.dir/all] Fehler 2
Built target amarok_device_nfs
[ 98%] [ 98%] [ 98%] Building CXX object src/services/magnatune/CMakeFiles/amarok_service_magnatunestore.dir/MagnatuneUrlRunner.o
Built target amarok_device_smb                                                                                                       
Building CXX object src/services/magnatune/CMakeFiles/amarok_service_magnatunestore.dir/MagnatuneXmlParser.o
Linking CXX shared module ../../../lib/amarok_service_magnatunestore.so                                                              
[ 98%] Built target amarok_service_magnatunestore                                                                                    
make: *** [all] Fehler 2
emake failed
Comment 4 hand1977 2011-07-13 13:37:01 UTC
Portage 2.1.10.5 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.2, glibc-2.13-r4, 2.6.39-gentoo-r3 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.39-gentoo-r3-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-2.0.3
Timestamp of tree: Wed, 13 Jul 2011 12:45:01 +0000
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2, 3.2
dev-util/cmake:           2.8.5
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1
sys-devel/gcc:            4.5.2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=generic -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -mtune=generic -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""                                                                                                                                                                          
GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo"                                                                                                                    
LANG="de_DE.UTF-8"                                                                                                                                                                 
LDFLAGS="-Wl,-O1 -Wl,--as-needed"                                                                                                                                                  
LINGUAS="de"                                                                                                                                                                       
MAKEOPTS="-j9"                                                                                                                                                                     
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync1.de.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi aiglx alsa amd64 aoss apng asf avi bdf berkdb bidi bluetooth branding bzip2 cairo cdda cdio cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvb dvd dvdr embedded emboss encode exif fam fancy ffmpeg firefox flac fontconfig fontforge fortran freetype gd gdbm gdu gif gimp gnutls gpm gstreamer gtk httpd iconv icu ieee1394 ios ipafont ipod ipv6 java jpeg kde kipi lcms ldap libnotify live lua mad matroska mmx mng modules mozilla mp3 mp4 mpeg mudflap multilib mysql ncurses new-login nls nptl nptlonly nsplugin nvidia ogg oggvorbis opengl openmp pam pango pcre pdf perl phonon php plasma png policykit ppds pppd psf python qt3 qt3support qt4 quicktime rar raw rdesktop readline samba scanner sdl semantic-desktop session slp smp snmp spell sqlite sse sse2 ssl startup-notification stream svg symlink sysfs taamey tcpd theora threads tiff truetype udev unicode usb vcd vlc vlm vorbis wxwindows x x264 xcb xcomposite xinerama xml xorg xscreensaver xulrunner xv xvid xvmc 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="sanebackend" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

media-sound/amarok-2.4.1 was built with the following:
USE="cdda (consolekit) embedded ipod (multilib) opengl player (policykit) semantic-desktop utils -daap -debug -handbook (-kdeenablefinal) -lastfm -mp3tunes -mtp -playdar -upnp" LINGUAS="de -bg -ca -cs -da -en_GB -es -et -eu -fi -fr -hu -it -ja -km -nb -nds -nl -pa -pl -pt -pt_BR -ru -sl -sr -sr@latin -sv -th -tr -uk -wa -zh_TW"









Linking CXX shared module ../../../../../../../lib/amarok_device_nfs.so                                                                                                            
/var/tmp/portage/media-sound/amarok-2.4.1/work/amarok-2.4.1/src/core-impl/collections/db/sql/mysql-shared/MySqlStorage.cpp:31:19: schwerwiegender Fehler: mysql.h: Datei oder Verzeichnis nicht gefunden
Kompilierung beendet.
make[2]: *** [src/core-impl/collections/db/sql/mysqlecollection/CMakeFiles/amarok_collection-mysqlecollection.dir/__/mysql-shared/MySqlStorage.o] Fehler 1
make[1]: *** [src/core-impl/collections/db/sql/mysqlecollection/CMakeFiles/amarok_collection-mysqlecollection.dir/all] Fehler 2
make[1]: *** Warte auf noch nicht beendete Prozesse...
[ 94%] Building CXX object src/services/magnatune/CMakeFiles/amarok_service_magnatunestore.dir/MagnatuneDownloadInfo.o
[ 94%] Built target amarok_service_jamendo                                                                                                                                         
[ 94%] Building CXX object src/services/magnatune/CMakeFiles/amarok_service_magnatunestore.dir/MagnatuneInfoParser.o
[ 95%] Building CXX object src/services/opmldirectory/CMakeFiles/amarok_service_opmldirectory.dir/OpmlDirectoryInfoParser.o                                                        
[ 95%] Built target amarok_device_nfs                                                                                                                                              
[ 95%] Building CXX object src/services/magnatune/CMakeFiles/amarok_service_magnatunestore.dir/MagnatuneMeta.o
Linking CXX shared module ../../../../../../../lib/amarok_device_smb.so                                                                                                            
[ 95%] Linking CXX shared module ../../../../lib/amarok_appletscript_simple_javascript.so                                                                                          
Building CXX object src/core-impl/collections/db/sql/mysqlservercollection/CMakeFiles/amarok_collection-mysqlservercollection.dir/amarok_collection-mysqlservercollection_automoc.o
[ 95%] Building CXX object src/core-impl/collections/db/sql/mysqlservercollection/CMakeFiles/amarok_collection-mysqlservercollection.dir/__/mysql-shared/MySqlStorage.o            
[ 95%] Building CXX object src/services/opmldirectory/CMakeFiles/amarok_service_opmldirectory.dir/OpmlDirectoryModel.o                                                             
/var/tmp/portage/media-sound/amarok-2.4.1/work/amarok-2.4.1/src/core-impl/collections/db/sql/mysql-shared/MySqlStorage.cpp:31:19: schwerwiegender Fehler: mysql.h: Datei oder Verzeichnis nicht gefunden
Kompilierung beendet.
make[2]: *** [src/core-impl/collections/db/sql/mysqlservercollection/CMakeFiles/amarok_collection-mysqlservercollection.dir/__/mysql-shared/MySqlStorage.o] Fehler 1
make[1]: *** [src/core-impl/collections/db/sql/mysqlservercollection/CMakeFiles/amarok_collection-mysqlservercollection.dir/all] Fehler 2
[ 95%] Built target amarok_device_smb
[ 95%] [ 95%] Building CXX object src/services/magnatune/CMakeFiles/amarok_service_magnatunestore.dir/MagnatuneDownloadHandler.o
Building CXX object src/services/magnatune/CMakeFiles/amarok_service_magnatunestore.dir/MagnatuneRedownloadDialog.o                                                                
[ 95%] Built target amarok_appletscript_simple_javascript                                                                                                                          
[ 95%] Building CXX object src/services/opmldirectory/CMakeFiles/amarok_service_opmldirectory.dir/OpmlDirectoryView.o
[ 95%] Building CXX object src/services/magnatune/CMakeFiles/amarok_service_magnatunestore.dir/MagnatuneRedownloadHandler.o                                                        
[ 95%] Building CXX object src/services/magnatune/CMakeFiles/amarok_service_magnatunestore.dir/MagnatuneSqlCollection.o                                                            
[ 95%] Building CXX object src/services/magnatune/CMakeFiles/amarok_service_magnatunestore.dir/MagnatuneStore.o                                                                    
[ 96%] [ 96%] Building CXX object src/services/magnatune/CMakeFiles/amarok_service_magnatunestore.dir/MagnatuneUrlRunner.o                                                         
Building CXX object src/services/magnatune/CMakeFiles/amarok_service_magnatunestore.dir/MagnatuneXmlParser.o                                                                       
Linking CXX shared module ../../../lib/amarok_service_opmldirectory.so                                                                                                             
[ 96%] Built target amarok_service_opmldirectory                                                                                                                                   
Linking CXX shared module ../../../lib/amarok_service_magnatunestore.so
[ 96%] Built target amarok_service_magnatunestore                                                                                                                                  
make: *** [all] Fehler 2
emake failed
 * ERROR: media-sound/amarok-2.4.1 failed (compile phase):
 *   Make failed!
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 4127:  Called kde4-base_src_compile
 *   environment, line 3213:  Called cmake-utils_src_compile
 *   environment, line 1381:  Called _execute_optionaly 'src_compile'
 *   environment, line  764:  Called enable_cmake-utils_src_compile
 *   environment, line 1632:  Called cmake-utils_src_make
 *   environment, line 1400:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "Make failed!";
 * 
 * If you need support, post the output of 'emerge --info =media-sound/amarok-2.4.1',
 * the complete build log and the output of 'emerge -pqv =media-sound/amarok-2.4.1'.
 * The complete build log is located at '/var/tmp/portage/media-sound/amarok-2.4.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-sound/amarok-2.4.1/temp/environment'.
 * S: '/var/tmp/portage/media-sound/amarok-2.4.1/work/amarok-2.4.1'

>>> Failed to emerge media-sound/amarok-2.4.1, Log file:

>>>  '/var/tmp/portage/media-sound/amarok-2.4.1/temp/build.log'

 * Messages for package media-sound/amarok-2.4.1:

 * ERROR: media-sound/amarok-2.4.1 failed (compile phase):
 *   Make failed!
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 4127:  Called kde4-base_src_compile
 *   environment, line 3213:  Called cmake-utils_src_compile
 *   environment, line 1381:  Called _execute_optionaly 'src_compile'
 *   environment, line  764:  Called enable_cmake-utils_src_compile
 *   environment, line 1632:  Called cmake-utils_src_make
 *   environment, line 1400:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "Make failed!";
 * 
 * If you need support, post the output of 'emerge --info =media-sound/amarok-2.4.1',
 * the complete build log and the output of 'emerge -pqv =media-sound/amarok-2.4.1'.
 * The complete build log is located at '/var/tmp/portage/media-sound/amarok-2.4.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-sound/amarok-2.4.1/temp/environment'.
 * S: '/var/tmp/portage/media-sound/amarok-2.4.1/work/amarok-2.4.1'
Comment 5 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-07-13 13:52:15 UTC
This is an issue with the definition of the include dir in the mysql eclasses.
I know what's going on, so there's no need for more confirmation notes.
Comment 6 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-07-13 16:08:06 UTC
I've applied a patch to the mysql_fx eclass on the mysql overlay that should fix this. I'll apply this to the tree when I get back tonight.
Comment 7 Alex Barker 2011-07-13 17:46:18 UTC
(In reply to comment #6)
> I've applied a patch to the mysql_fx eclass on the mysql overlay that should
> fix this. I'll apply this to the tree when I get back tonight.

I applied what I'm guessing is your patch and it DID NOT solve the issue.

http://git.overlays.gentoo.org/gitweb/?p=proj/mysql.git;a=commitdiff;h=11a56eab2c09e38d4313e19dd4d904119ec4aabd
Comment 8 Robert Förster 2011-07-13 19:18:02 UTC
its working fine with that patch, assuming you did recompile mysql and not something else.
Comment 9 Alex Barker 2011-07-13 20:38:22 UTC
(In reply to comment #8)
> its working fine with that patch, assuming you did recompile mysql and not
> something else.

Well I rebuilt mysql and amarok still fails to link.  

ld: cannot find -lmysqld
Comment 10 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-07-14 01:04:18 UTC
(In reply to comment #9)
> (In reply to comment #8)
> > its working fine with that patch, assuming you did recompile mysql and not
> > something else.
> 
> Well I rebuilt mysql and amarok still fails to link.  
> 
> ld: cannot find -lmysqld

That's another issue.
Please attach your build log for amarok (after rebuilding mysql with the patch).
Comment 11 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-07-14 01:43:16 UTC
(In reply to comment #10)
> (In reply to comment #9)
> > (In reply to comment #8)
> > > its working fine with that patch, assuming you did recompile mysql and not
> > > something else.
> > 
> > Well I rebuilt mysql and amarok still fails to link.  
> > 
> > ld: cannot find -lmysqld
> 
> That's another issue.
> Please attach your build log for amarok (after rebuilding mysql with the
> patch).

Ok, never mind. I see I need to do the same to the libdir.
I'm currently testing a 2nd patch and will commit it to the overlay and the complete fix to the tree asap.
Comment 12 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-07-14 02:23:09 UTC
This should now be fixed in the tree and in the overlay.
Feel free to reopen if you hit this again after rebuilding mysql with the updated mysql_fx.eclass[1]

 [1] - http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/mysql_fx.eclass?revision=1.24&view=markup
Comment 13 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-07-14 04:58:28 UTC
*** Bug 375083 has been marked as a duplicate of this bug. ***
Comment 14 georgi 2011-07-14 07:09:34 UTC
I rebuilt mysql and then amarok. Amarok fails with the linker error in comment
9:

Linking CXX shared module
../../../../../../lib/amarok_collection-mysqlecollection.so
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../x86_64-pc-linux-gnu/bin/ld:
cannot find -lmysqld                                                   
collect2: ld returned 1 exit status

Please reopen.
Comment 15 hand1977 2011-07-14 09:52:53 UTC
yes...still the same problem
Comment 16 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-07-14 12:30:14 UTC
Please attach to the bug the full build log so we can see what's going on.
Comment 17 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-07-14 12:32:44 UTC
This move into the tree isn't running too well.
Give me sometime as mysql-5.1.58 isn't applying the libmysqld patch so it doesn't install libmysqld.so.
Comment 18 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-07-14 13:49:00 UTC
*** Bug 375103 has been marked as a duplicate of this bug. ***
Comment 19 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-07-14 13:52:01 UTC
I need to respin the patches for mysql-5.1.58 as the ebuild wasn't applying any of the patches. This is why there was no libmysqld.so making amarok[embedded] fail to build.
Comment 20 Alex Barker 2011-07-14 16:27:09 UTC
Created attachment 280057 [details]
build.log

apparently you can never have to much log file.
Comment 21 hand1977 2011-07-14 19:21:38 UTC
Created attachment 280067 [details]
build.log of amarok

here is the build.log
Comment 22 Pacho Ramos gentoo-dev 2011-07-15 09:49:38 UTC
*** Bug 375077 has been marked as a duplicate of this bug. ***
Comment 23 Pacho Ramos gentoo-dev 2011-07-15 09:49:48 UTC
*** Bug 375079 has been marked as a duplicate of this bug. ***
Comment 24 Pacho Ramos gentoo-dev 2011-07-15 09:50:24 UTC
*** Bug 375235 has been marked as a duplicate of this bug. ***
Comment 25 Marc Schiffbauer gentoo-dev 2011-07-15 11:41:25 UTC
*** Bug 375271 has been marked as a duplicate of this bug. ***
Comment 26 Marc Schiffbauer gentoo-dev 2011-07-15 11:42:16 UTC
*** Bug 375273 has been marked as a duplicate of this bug. ***
Comment 27 Zbyněk Kocur 2011-07-16 07:50:00 UTC
(In reply to comment #17)
> This move into the tree isn't running too well.
> Give me sometime as mysql-5.1.58 isn't applying the libmysqld patch so it
> doesn't install libmysqld.so.

The same problem is in mysql-5.1.57. The libmysqld.so library is not created.
Comment 28 Zbyněk Kocur 2011-07-16 07:53:57 UTC
(In reply to comment #27)
> (In reply to comment #17)
> > This move into the tree isn't running too well.
> > Give me sometime as mysql-5.1.58 isn't applying the libmysqld patch so it
> > doesn't install libmysqld.so.
> 
> The same problem is in mysql-5.1.57. The libmysqld.so library is not created.

The mysql-5.1.56 works fine.
Comment 29 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-07-16 19:01:40 UTC
*** Bug 375307 has been marked as a duplicate of this bug. ***
Comment 30 Marco Napetti 2011-07-17 19:41:33 UTC
Same problem here

emerge --info
Portage 2.1.10.6 (default/linux/amd64/10.0, gcc-4.5.2, glibc-2.13-r4, 2.6.39-gentoo-r3 x86_64)
=================================================================
System uname: Linux-2.6.39-gentoo-r3-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5600+-with-gentoo-2.0.3
Timestamp of tree: Sun, 17 Jul 2011 13:00:01 +0000
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.1-r1, 3.2
dev-util/cmake:           2.8.5
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1
sys-devel/gcc:            4.4.5, 4.5.2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo bircoph roslin x-portage
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA skype-eula dlj-1.1 PUEL AdobeFlash-10.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -pipe -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -pipe -O2"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="assume-digests binpkg-logs candy distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="it"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/home"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/bircoph /var/lib/layman/roslin /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib acl addbookmarks alias alsa amd64 amr amuled apache2 audiofile autoreplace avi bash-completion berkdb bluetooth boost branding browserplugin bzip2 cdaudio cdb cdda cddb cdinstall cdio cdparanoia cdr cleartype cli clucene codecs connectionstatus contactnotes cpudetection cracklib crypt css ctype cups curl custom-optimization cxx dbus decibel dga divx4linux dlloader dri dts dv dvb dvd dvdr dvdread dxr3 edl emul-linux-x86 encode exif extensions faad fam fame ffmpeg filter firefox flac fontconfig fortran ftp gadu gcj gd gdbm ggi gif gimp gimpprint git glib glitz gnutls gpm groupwise gstreamer highlight history hou iconv idn ieee1394 imagemagick imap imlib inquisitio insecure-drivers ipv6 irc ithreads jack java javascript jingle jpeg jpeg2k kde lame lcd lcdfilter libcaca libnotify live lm_sensors lzo mad matroska messenger mikmod mime mjpeg mmx mmxext modules monkey moodbar mozbranding mozdevelop mozilla mp3 mp4 mpeg msn msword mudflap multilib musepack musicbrainz mysql mysqli mythtv ncurses nepomuk netmeeting nls nodrm nowin nowlistening nptl nptlonly nsplugin objc objc++ objc-gc offensive ogg oggvorbis opengl openmp pam pcre pdf perl phonon php plasma png ppds pppd python qt qt-copy qt3support qt4 quicktime rar rdesktop readline remote replytolist samba sametime scanner sdl semantic-desktop sensord session slp smp sms sndfile sou sound speex sqlite sse sse2 ssl startup-notification statistics subversion svg sysfs taglib tcpd telepathy texteffect tga theora threads tidy tiff tokenizer translator truetype truetype-fonts udev unicode upnp usb v4l v4l2 vcd video videos visualization vnc vorbis wavpack webdav webpresence wifi winpopup wlm xanim xattr xcb xcomposite xine xinerama xml xmlpatterns xmlreader xmlwriter xorg xscreensaver xv xvid xvmc yahoo zip zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DVB_CARDS="tda10046" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" LIRC_DEVICES="livedrive_midi" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="epson2" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 31 Eray Aslan gentoo-dev 2011-07-18 04:35:04 UTC
*** Bug 375525 has been marked as a duplicate of this bug. ***
Comment 32 .:deadhead:. 2011-07-18 14:32:52 UTC
I fixed downgrading to mysql-5.1.56-r1, after being biten with 5.1.58

Portage 2.1.10.6 (default/linux/amd64/10.0, gcc-4.4.5, glibc-2.12.2-r0, 2.6.38-gentoo-r6-joan x86_64)
=================================================================
System uname: Linux-2.6.38-gentoo-r6-joan-x86_64-Pentium-R-_Dual-Core_CPU_T4300_@_2.10GHz-with-gentoo-2.0.2
Timestamp of tree: Mon, 18 Jul 2011 07:15:01 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.1-r1, 3.1.3-r1
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.2
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.20.1-r1
sys-devel/gcc:            4.4.5
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.2.10
sys-devel/make:           3.82
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories:

gentoo
    location: /usr/portage
    sync: rsync://rsync.europe.gentoo.org/gentoo-portage
    priority: -1000

ogo-lu_zero
    location: /var/lib/layman/lu_zero
    masters: gentoo
    priority: 0

sunrise
    location: /var/lib/layman/sunrise
    masters: gentoo
    priority: 1

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 2

ABI="amd64"
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
ACCEPT_PROPERTIES="*"
ALSA_CARDS="hda-intel"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol"
APACHE2_MODULES="authz_host dir mime log_config alias rewrite autoindex auth_basic authn_file authz_user status info proxy"
ARCH="amd64"
ASFLAGS_x86="--32"
AUTOCLEAN="yes"
CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words"
CAMERAS="ptp2 directory"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CFLAGS_x86="-m32"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x86="i686-pc-linux-gnu"
CLEAN_DELAY="5"
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
COLLISION_IGNORE="/lib/modules"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CVS_RSH="ssh"
CXXFLAGS="-march=native -O2 -pipe"
DEFAULT_ABI="amd64"
DISPLAY=":0"
DISTDIR="/usr/portage/distfiles"
EDITOR="/usr/bin/vim"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="-Dtv --with-bdeps y"
EMERGE_WARNING_DELAY="10"
EPREFIX=""
EROOT="/"
FCFLAGS=""
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans"
FETCHCOMMAND="/usr/bin/curl -L --retry 5 -o ${DISTDIR}/${FILE} ${URI}"
FETCHCOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}""
FETCHCOMMAND_SFTP="bash -c "x=\${2#sftp://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec sftp -P \${port} \"\${host}:/\${x#*/}\" \"\$1\"" sftp "${DISTDIR}/${FILE}" "${URI}""
FETCHCOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec rsync --rsh=\"ssh -p\${port}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}""
FFLAGS=""
GCC_SPECS=""
GDK_USE_XFT="1"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ http://distfiles.gentoo.org"
GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx"
GSETTINGS_BACKEND="gconf"
HG="/usr/bin/hg"
HOME="/root"
INFOPATH="/usr/share/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.20.1/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.5/info"
INPUT_DEVICES="synaptics evdev"
JAVAC="/etc/java-config-2/current-system-vm/bin/javac"
JAVA_HOME="/etc/java-config-2/current-system-vm"
JDK_HOME="/etc/java-config-2/current-system-vm"
KERNEL="linux"
LANG="it_IT.UTF-8"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LC_COLLATE="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LDFLAGS_x86="-m elf_i386"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LIBDIR_amd64="lib64"
LIBDIR_amd64_fbsd="lib64"
LIBDIR_ppc="lib32"
LIBDIR_ppc64="lib64"
LIBDIR_s390="lib32"
LIBDIR_s390x="lib64"
LIBDIR_sparc32="lib32"
LIBDIR_sparc64="lib64"
LIBDIR_x86="lib32"
LIBDIR_x86_fbsd="lib32"
LIBGL_DRIVERS_PATH="/usr/lib64/dri:/usr/lib32/dri"
LINGUAS="it"
LOGNAME="root"
LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:"
MAKEOPTS="-j3"
MANPATH="/etc/java-config-2/current-system-vm/man:/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.20.1/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.5/man:/etc/java-config/system-vm/man/:/usr/lib64/php5.3/man/"
MM_CHARSET="UTF-8"
MULTILIB_ABIS="amd64 x86"
MULTILIB_STRICT_DENY="64-bit.*shared object"
MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib /usr/X11R6/lib32 /usr/X11R6/lib"
MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|binutils|eclipse-3|debug|portage|udev)"
NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml"
OPENGL_PROFILE="ati"
PAGER="/usr/bin/most"
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.4.5"
PHP_TARGETS="php5-3"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="ppc sparc64-freebsd ppc-openbsd x86-openbsd ppc64 x86-winnt x86-fbsd ppc-aix alpha arm x86-freebsd s390 amd64 arm-linux x86-macos x64-openbsd ia64-hpux hppa x86-netbsd x86-cygwin amd64-linux ia64-linux x86 sparc-solaris x64-freebsd sparc64-solaris x86-linux x64-macos sparc m68k-mint ia64 mips ppc-macos x86-interix hppa-hpux amd64-fbsd x64-solaris mips-irix m68k sh x86-solaris sparc-fbsd"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/usr/lib64/portage/bin"
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="warn error log"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="250"
PORTAGE_GPG_SIGNING_COMMAND="gpg --sign --clearsign --yes --default-key "${PORTAGE_GPG_KEY}" --homedir "${PORTAGE_GPG_DIR}" "${FILE}""
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_PYM_PATH="/usr/lib64/portage/pym"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_RSYNC_RETRIES="-1"
PORTAGE_SANDBOX_COMPAT_LEVEL="16"
PORTAGE_SYNC_STALE="30"
PORTAGE_TMPDIR="/home"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/lu_zero /var/lib/layman/sunrise /usr/local/portage"
PRELINK_PATH_MASK="/usr/lib64/libfreebl3.so:/usr/lib64/libnssdbm3.so:/usr/lib64/libsoftokn3.so"
PROFILE_ONLY_VARIABLES="ARCH ELIBC KERNEL USERLAND"
PWD="/root"
PYTHONDONTWRITEBYTECODE="1"
QEMU_SOFTMMU_TARGETS="i386 x86_64"
QEMU_USER_TARGETS="i386 x86_64"
QT_PLUGIN_PATH="/usr/lib64/kde4/plugins"
RESUMECOMMAND="/usr/bin/curl -L -C - --retry 5 -o ${DISTDIR}/${FILE} ${URI}"
RESUMECOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}""
RESUMECOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec rsync --rsh=\"ssh -p\${port}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}""
ROOT="/"
ROOTPATH="/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.4.5"
RPMDIR="/usr/portage/rpm"
RUBY_TARGETS="ruby18"
SHELL="/bin/bash"
SHLVL="1"
STAGE1_USE="multilib nptl nptlonly unicode"
SYMLINK_LIB="yes"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
TERM="xterm"
TMP="/tmp/.private/root"
TMPDIR="/tmp/.private/root"
USE="64bit 7zip X a52 aac acl acpi alsa amd64 asf audiofile bash-completion bzip2 cairo cdda cddb cdparanoia cdr cli consolekit cracklib css cups curl curlwrappers dbus djvu dri dts dv dvd dvdr dvdread encode exif faac faad fam ffmpeg firefox flac foomaticdb ftp geoip gif gpm gs hunspell iconv idn imagemagick imap inotify ithreads jabber java jbig jpeg jpeg2k kde lcms libsamplerate live logitech-mouse lzma mad maildir matroska midi mmx mng modules mp3 mp4 mpeg mplayer mudflap multilib musepack ncurses network network-cron nls nocxx nptl nptlonly nsplugin ogg openexr opengl oscar pam pcre pdf php plotutils png policykit posix pppd qt3support qt4 quicktime rar readline samba sdl semantic-desktop session smp sndfile speex sse sse2 sse3 ssl ssse3 startup-notification svg sysfs system-sqlite taglib theora threads tiff truetype udev unicode urandom usb utempter vcd vhosts vorbis vpx wavpack webdav wicd wma wmf x264 xcb xine xinerama xorg xpm xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authz_host dir mime log_config alias rewrite autoindex auth_basic authn_file authz_user status info proxy" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2 directory" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fglrx radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
USER="root"
USERLAND="GNU"
USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CALLIGRA_FEATURES CAMERAS COLLECTD_PLUGINS CROSSCOMPILE_OPTS DRACUT_MODULES DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS GPSD_PROTOCOLS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS NETBEANS_MODULES NGINX_MODULES_HTTP NGINX_MODULES_MAIL OFED_DRIVERS PHP_TARGETS QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS RUBY_TARGETS SANE_BACKENDS USERLAND VIDEO_CARDS XFCE_PLUGINS XTABLES_ADDONS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults:pkginternal:repo:env.d"
VBOX_APP_HOME="/opt/VirtualBox"
VIDEO_CARDS="fglrx radeon"
XAUTHORITY="/root/.xauthiRt36w"
XDG_CONFIG_DIRS="/etc/xdg"
XDG_DATA_DIRS="/usr/local/share:/usr/share"
XSESSION="KDE4"
XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
_="/usr/bin/emerge"
Comment 33 georgi 2011-07-20 21:33:07 UTC
*** Bug 375749 has been marked as a duplicate of this bug. ***
Comment 34 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-07-21 06:08:41 UTC
All the issues with 5.1.58 should now be fixed on mysql-5.1.58-r1.
Feel free to reopen if you still hit any issue.
Comment 35 Arne Flagge 2011-07-21 12:10:28 UTC
Works. Thanks for your hard work.
Comment 36 godmachine (Lance Poore) 2011-07-28 21:05:34 UTC
I know this is suppose to be fixed, but I have mysql-5.1.58-r1 version installed and now the header files are in /usr/include instead of /usr/include/mysql/  I noticed this when I tried to upgrade my asterisk install and was getting mysql/mysql.h not found.  To resolve the matter I copied the needed header files to /usr/include/mysql/ .  This is similar to the problem that is supposed to be fixed, just curious as to why the files got put in /usr/include instead of /usr/include/mysql if thats where applications look at compile time or is Asterisk the only thing looking in /usr/include/mysql ?  Was it actually fixed and the issue with Asterisk looking in the wrong directory or is it suppose to be /usr/include/mysql  ??
Comment 37 godmachine (Lance Poore) 2011-07-28 21:06:14 UTC
I know this is suppose to be fixed, but I have mysql-5.1.58-r1 version installed and now the header files are in /usr/include instead of /usr/include/mysql/  I noticed this when I tried to upgrade my asterisk install and was getting mysql/mysql.h not found.  To resolve the matter I copied the needed header files to /usr/include/mysql/ .  This is similar to the problem that is supposed to be fixed, just curious as to why the files got put in /usr/include instead of /usr/include/mysql if thats where applications look at compile time or is Asterisk the only thing looking in /usr/include/mysql ?  Was it actually fixed and the issue with Asterisk looking in the wrong directory or is it suppose to be /usr/include/mysql  ??
Comment 38 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-07-28 21:12:49 UTC
(In reply to comment #37)
> I know this is suppose to be fixed, but I have mysql-5.1.58-r1 version
> installed and now the header files are in /usr/include instead of
> /usr/include/mysql/  I noticed this when I tried to upgrade my asterisk install
> and was getting mysql/mysql.h not found.  To resolve the matter I copied the
> needed header files to /usr/include/mysql/ .  This is similar to the problem
> that is supposed to be fixed, just curious as to why the files got put in
> /usr/include instead of /usr/include/mysql if thats where applications look at
> compile time or is Asterisk the only thing looking in /usr/include/mysql ?  Was
> it actually fixed and the issue with Asterisk looking in the wrong directory or
> is it suppose to be /usr/include/mysql  ??

The files should be installed under /usr/include/mysql not /usr/include.
Please attach the build.log to this bug report.
Comment 39 godmachine (Lance Poore) 2011-07-28 21:45:58 UTC
Created attachment 281359 [details]
Install log

As you can see it is still putting the headers in /usr/include instead of /usr/include/mysql    Do you need more of the build log to determine why?
Comment 40 godmachine (Lance Poore) 2011-07-28 21:48:34 UTC
Portage 2.1.10.7 (default/linux/amd64/10.0/desktop, gcc-4.5.2, glibc-2.13-r4, 3.0.0 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.0.0-x86_64-AMD_Phenom-tm-_II_X6_1100T_Processor-with-gentoo-2.0.3
Timestamp of tree: Thu, 28 Jul 2011 19:00:01 +0000
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.4.6, 2.7.2-r2, 3.2-r2
dev-util/cmake:           2.8.5-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1
sys-devel/gcc:            4.5.2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo sunrise floppym x-portage
ACCEPT_KEYWORDS="amd64 ~amd64 ~x86"
ACCEPT_LICENSE="* -@EULA PUEL"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -mtune=amdfam10 -msse4a -O3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.2/ext-active/ /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.2/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.2/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=amdfam10 -mtune=amdfam10 -msse4a -O3"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo http://gentoo.mirrors.hoobly.com/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/floppym /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 ao bash-completion berkdb blas bluetooth branding bzip2 cairo cdda cddb cdparanoia cdr cli consolekit cracklib crypt cups cxx dbus dri dts dv dvd dvdr emboss encode exif fam fbcon ffmpeg firefox flac fortran gdbm gdu gif glut gnome gpm gtk iconv ipv6 jpeg lame lcms ldap libnotify lm_sensors mad mmx mng modules mp3 mp4 mpeg mplayer mudflap multilib mysql mysqli ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf perl php png policykit ppds pppd pulseaudio python qt3support qt4 readline sasl sdl seamonkey session smartcard spell sqlite sqlite3 sse sse2 ssl startup-notification svg symlink sysfs syslog tcpd tiff truetype udev unicode usb v4l v4l2 vcd vorbis wavpack wifi x264 xcb xcomposite xml xorg xulrunner xv xvid 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fglrx" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

dev-db/mysql-5.1.58-r1 was built with the following:
USE="berkdb community (multilib) perl ssl -big-tables -cluster -debug -embedded -extraengine -latin1 -max-idx-128 -minimal -pbxt -profiling (-selinux) -static -test -xtradb"
CFLAGS="-march=amdfam10 -mtune=amdfam10 -msse4a -O3 -DHAVE_ERRNO_AS_DEFINE=1 -fno-strict-aliasing"
CXXFLAGS="-march=amdfam10 -mtune=amdfam10 -msse4a -O3 -DHAVE_ERRNO_AS_DEFINE=1 -fno-exceptions -fno-strict-aliasing -felide-constructors -fno-rtti -fno-implicit-templates -fno-strict-aliasing"
Comment 41 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-07-29 02:51:44 UTC
Reopening.

I've reverted the test for mariadb and now set include and lib dir to usr/*/mysql for both mysql and mariadb[1].
As I hit the original issue reported here and could reproduce it, but can't any more, I'd like to ask all of you that hit the /mysql/mysql issue to sync the tree or overlay and test mysql-5.1.58-r1 again to see if it works now for you or if you still get the /mysql/mysql issue.

 [1] - http://git.overlays.gentoo.org/gitweb/?p=proj/mysql.git;a=commitdiff;h=8d3e6216d5a32a14c0fe5618b1cf6c8c2d499a0d
Comment 42 Account removed 2011-08-02 19:22:07 UTC
rebuilt mysql (5.1.58-r1) and the headers are in /usr/include/mysql/ now.
I don't use amarok, but the commit and rebuild of mysql helps to emerge xbmc (9999) successfully. So thank you very much for the fix!
btw the xbmc bug is here:

https://bugs.gentoo.org/show_bug.cgi?id=376931
Comment 43 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-08-02 19:32:35 UTC
*** Bug 376931 has been marked as a duplicate of this bug. ***
Comment 44 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-08-19 20:37:27 UTC
I'm closing this as fixed.
Feel free to reopen if you hit this again.
Comment 45 gentooer 2014-10-07 08:47:15 UTC
I hit this bug again with amarok 2.8.0 and mysql 5.6.21

Linking CXX shared module ../../../../../../lib/amarok_collection-mysqlecollection.so
cd /var/tmp/portage/media-sound/amarok-2.8.0-r3/work/amarok-2.8.0_build/src/core-impl/collections/db/sql/mysqlecollection && /usr/bin/cmake -E cmake_link_script CMakeFiles/amarok_collection-mysqlecollection.dir/link.txt --ver
bose=1
/usr/bin/x86_64-pc-linux-gnu-g++  -fPIC -O2 -march=native -pipe -fomit-frame-pointer  -fmessage-length=0 -Wl,--as-needed -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wform
at-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -Wl,--enable-new-dtags -Wl,--no-undefined -lc  -Wl,-O1 -Wl
,--as-needed -shared -Wl,-soname,amarok_collection-mysqlecollection.so -o ../../../../../../lib/amarok_collection-mysqlecollection.so CMakeFiles/amarok_collection-mysqlecollection.dir/amarok_collection-mysqlecollection_automo
c.o CMakeFiles/amarok_collection-mysqlecollection.dir/__/mysql-shared/MySqlStorage.o CMakeFiles/amarok_collection-mysqlecollection.dir/MySqlEmbeddedCollection.o CMakeFiles/amarok_collection-mysqlecollection.dir/MySqlEmbeddedS
torage.o  -L/var/tmp/portage/media-sound/amarok-2.8.0-r3/work/amarok-2.8.0_build/lib  -L/usr/lib64/qt4 ../../../../../../lib/libamarok-sqlcollection.so.1.0.0 ../../../../../../lib/libamarokcore.so.1.0.0 ../../../../../../lib/
libamaroklib.so.1.0.0 /usr/lib64/libkdecore.so.5.14.1 /usr/lib64/qt4/libQtCore.so -lpthread /usr/lib64/qt4/libQtGui.so -L./lib64/mysql -lmysqld -lpthread -lz -lm -lssl -lcrypto -ldl -lcrypt -laio -lpthread -ldl -lz -lcrypt -l
pthread ../../../../../../lib/libamarokcore.so.1.0.0 /usr/lib64/qt4/libQtGui.so /usr/lib64/libkdecore.so.5.14.1 -lpthread /usr/lib64/qt4/libQtDBus.so /usr/lib64/qt4/libQtCore.so -Wl,-rpath,/usr/lib64/mysql -Wl,-rpath-link,/va
r/tmp/portage/media-sound/amarok-2.8.0-r3/work/amarok-2.8.0_build/lib
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lmysqld
collect2: Fehler: ld gab 1 als Ende-Status zurück
src/core-impl/collections/db/sql/mysqlecollection/CMakeFiles/amarok_collection-mysqlecollection.dir/build.make:172: recipe for target 'lib/amarok_collection-mysqlecollection.so' failed
make[2]: *** [lib/amarok_collection-mysqlecollection.so] Error 1
make[2]: Leaving directory '/var/tmp/portage/media-sound/amarok-2.8.0-r3/work/amarok-2.8.0_build'
CMakeFiles/Makefile2:1970: recipe for target 'src/core-impl/collections/db/sql/mysqlecollection/CMakeFiles/amarok_collection-mysqlecollection.dir/all' failed
make[1]: *** [src/core-impl/collections/db/sql/mysqlecollection/CMakeFiles/amarok_collection-mysqlecollection.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/media-sound/amarok-2.8.0-r3/work/amarok-2.8.0_build'
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

emerge --info
sys-apps/openrc:          0.13.1
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.12.6, 1.13.4, 1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.6.3, 4.7.3-r1, 4.8.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo hasufell x-portage
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/up
dmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-or
phans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/hasufell /usr/local/portage"
USE="3dnow 3dnowext X a52 aac aalib acl acpi alsa amd64 ao audiofile bash-completion berkdb bluetooth branding bzip2 cairo calendar cdda cddb cdparanoia cdr cli consolekit cpudetection cracklib crypt css cups cxx dbus declara
tive disable-watermark djvu dri dts dvd dvdr egl embedded emboss emovix encode exif fam ffmpeg fftw firefox flac fontconfig fortran g3dvl gallium gdbm gensplash gif glamor glew glut google gphoto2 gpm gpssync gsl gstreamer gt
k gzip handbook hbci iconv icq imagemagick imap ios ipod ipv6 jabber java jpeg jpeg2k kde kdepim kipi kontact lame lastfm latex lcms libnotify lm_sensors lzma mad marble matroska mmx mmxext mng modemmanager modules mozilla mp
3 mp3tunes mp4 mpeg mplayer mtp multilib musepack musicbrainz mysql ncurses nepomuk networkmanager nfs nls nptl nsplugin nss ofa ofx ogg openal openbabel openexr opengl openmp pam pango panorama pcre pdf phonon plasma png pol
icykit ppds pulseaudio python qt3support qt4 rdesktop readline samba sdl semantic-desktop session sift sndfile sox spell sse sse2 ssl ssse3 startup-notification svg syslog taglib tcpd telepathy tiff truetype udev udisks udisk
s2 unicode upnp upower usb vaapi vcd vdpau vlc vnc vorbis wav win32codecs wmf wxwidgets x264 xcb xcomposite xinerama xml xmp xscreensaver xv xvid xvmc zeroconf zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-m
odem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions al
ias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expire
s ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheet
s stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock it
rax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz
633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_T
ARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="x86_64 arm" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy conditi
on tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON

equery h embedded
 * Searching for USE flag embedded ...
[IP-] [  ] dev-db/mysql-5.6.21:0
[IP-] [  ] dev-perl/DBD-mysql-4.20.0-r1:0
[IP-] [  ] media-sound/amarok-2.8.0-r2:4
[IP-] [  ] virtual/mysql-5.6-r2:0/18
Comment 46 gentooer 2014-10-07 08:49:16 UTC
Sorry, here the error in English:

Linking CXX shared module ../../../../../../lib/amarok_collection-mysqlecollection.so
cd /var/tmp/portage/media-sound/amarok-2.8.0-r3/work/amarok-2.8.0_build/src/core-impl/collections/db/sql/mysqlecollection && /usr/bin/cmake -E cmake_link_script CMakeFiles/amarok_collection-mysqlecollection.dir/link.txt --ver
bose=1
/usr/bin/x86_64-pc-linux-gnu-g++  -fPIC -O2 -march=native -pipe -fomit-frame-pointer  -fmessage-length=0 -Wl,--as-needed -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wform
at-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -Wl,--enable-new-dtags -Wl,--no-undefined -lc  -Wl,-O1 -Wl
,--as-needed -shared -Wl,-soname,amarok_collection-mysqlecollection.so -o ../../../../../../lib/amarok_collection-mysqlecollection.so CMakeFiles/amarok_collection-mysqlecollection.dir/amarok_collection-mysqlecollection_automo
c.o CMakeFiles/amarok_collection-mysqlecollection.dir/__/mysql-shared/MySqlStorage.o CMakeFiles/amarok_collection-mysqlecollection.dir/MySqlEmbeddedCollection.o CMakeFiles/amarok_collection-mysqlecollection.dir/MySqlEmbeddedS
torage.o  -L/var/tmp/portage/media-sound/amarok-2.8.0-r3/work/amarok-2.8.0_build/lib  -L/usr/lib64/qt4 ../../../../../../lib/libamarok-sqlcollection.so.1.0.0 ../../../../../../lib/libamarokcore.so.1.0.0 ../../../../../../lib/
libamaroklib.so.1.0.0 /usr/lib64/libkdecore.so.5.14.1 /usr/lib64/qt4/libQtCore.so -lpthread /usr/lib64/qt4/libQtGui.so -L./lib64/mysql -lmysqld -lpthread -lz -lm -lssl -lcrypto -ldl -lcrypt -laio -lpthread -ldl -lz -lcrypt -l
pthread ../../../../../../lib/libamarokcore.so.1.0.0 /usr/lib64/qt4/libQtGui.so /usr/lib64/libkdecore.so.5.14.1 -lpthread /usr/lib64/qt4/libQtDBus.so /usr/lib64/qt4/libQtCore.so -Wl,-rpath,/usr/lib64/mysql -Wl,-rpath-link,/va
r/tmp/portage/media-sound/amarok-2.8.0-r3/work/amarok-2.8.0_build/lib
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lmysqld
collect2: error: ld returned 1 exit status
src/core-impl/collections/db/sql/mysqlecollection/CMakeFiles/amarok_collection-mysqlecollection.dir/build.make:172: recipe for target 'lib/amarok_collection-mysqlecollection.so' failed
make[2]: *** [lib/amarok_collection-mysqlecollection.so] Error 1
make[2]: Leaving directory '/var/tmp/portage/media-sound/amarok-2.8.0-r3/work/amarok-2.8.0_build'
CMakeFiles/Makefile2:1970: recipe for target 'src/core-impl/collections/db/sql/mysqlecollection/CMakeFiles/amarok_collection-mysqlecollection.dir/all' failed
make[1]: *** [src/core-impl/collections/db/sql/mysqlecollection/CMakeFiles/amarok_collection-mysqlecollection.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/media-sound/amarok-2.8.0-r3/work/amarok-2.8.0_build'
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2