Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 461260 - dev-db/mariadb-5.5.29 - /lib64/libaio.so.1: undefined reference to `io_getevents'
Summary: dev-db/mariadb-5.5.29 - /lib64/libaio.so.1: undefined reference to `io_geteve...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-10 14:07 UTC by Randy Andy
Modified: 2013-03-10 20:25 UTC (History)
0 users

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


Attachments
mariadb-5.5.29_build.log (mariadb-5.5.29_build.log.tar.gz,69.21 KB, application/gzip)
2013-03-10 16:09 UTC, Randy Andy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Randy Andy 2013-03-10 14:07:33 UTC
Although I have installed mariadb-5.5.29 since 13.02.2013, I can't recompile it again successfully since three days of trying.
I tried it with gcc-4.6.3 and 4.7.2

emerge --info =dev-db/mariadb-5.5.29
Portage 2.2.0_alpha166 (default/linux/amd64/13.0/desktop/kde, gcc-4.6.3, glibc-2.16.0, 3.7.10-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.7.10-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.2
KiB Mem:     8169660 total,   1514216 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Sun, 10 Mar 2013 11:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p42
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/cmake:           2.8.10.2-r1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.13.1
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3, 4.7.2-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.8 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo betagarden
Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=core2 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions"
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/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -mtune=core2 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n --keep-going --autounmask-write"
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-orphans userfetch xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.tiscali.nl/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
LANG="de_DE.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --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/betagarden"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aacs aalib accessibility acpi additions addressbook aften alsa amd64 amr animgif apm apng audiofile autoipd autotrace avahi bash-completion berkdb binary-drivers binfilter bluetooth bluray branding bzip2 c++0x cairo canvas ccache cdda cddb cdio cdparanoia cdr cdrdao cdrom cgi chipcard chroot cjk clamav cli clucene compressed-lumas consolekit corefonts cover cracklib crypt css cups custom-cpuopts cvs cvsgraph cxx daemon dar64 dbus dc1394 declarative dhcpcd dia dirac disk-partition djbfft djvu dri dts dv dvd dvdnav dvdr dvi dynamic editor emboss emovix enca encode enscript excel exif extensions extrafilters extras fam fame fat ffmpeg fftw finger firefox firefox3 flac flash flv fmod fontconfig foomaticdb fortran fortran2003 fpx frei0r fuse g3dvl gallium gcj gd gdbm geolocation gif gimp glew glib glut gnokii gpac gphoto2 gpm graphviz gsl gstreamer gtk gtk3 gzip hddtemp hdri howl-compat html http httpd iconv icq id3 id3tag ieee1394 image imagemagick imap imlib inkjar inotify introspection ipc iptv ipv6 irc ivtv jabber java java6 javacomm javascript jbig jce jingle joystick jpeg juju kde kdepim kdm kexiv2 kig-scripting kino kipi kmail kontact ladspa lame lcdfilter lcms ldap lensfun libcaca libnotify librrd libsamplerate libv4l libv4l2 libvisual lightning live llvm lm_sensors logrotate logwatch loop-aes lua lzma lzo mad marble math matroska mdnsresponder-compat melt metric midi mikmod mime mjpeg mmx mng modplug modules mono mouse mozdevelop mozilla mp3 mp3rtp mp4 mpd mpeg mpg123 mpi mpi-threads mplayer mpu401 mtp mudflap muine multilib multimedia multiprocess musepack music musicbrainz mysql mysqli nano-syntax nas ncurses network network-cron nfs nfsv4 nls nntp normalize nptl nsplugin nss ntfs nut nuv obex ocean odk ofa ogg ogg123 ogm okular opencl openctl openexr opengl openmedia openmp openssl opensslcrypt oss pam pango pch pcm pcre pda pdf pdfimport perforce perl pg-intdatetime phonon php physfs pipe plasma player plotutils pmount pmu png pnm podcast policykit pop postgis postproc ppds prison private-headers profile profiler proj ps pstoedit pvr python python3 q32 qalculate qos qt3support qt4 quesoglc quicktime quodlibet radio rar raw readline redeyes rle romio rsh rss rtc rtmp rtsp ruby scale0tilt scanner schedule schroedinger sdl sdl-image sdl-sound sdlaudio search secure-delete semantic-desktop sensord session sftp shaders shine shorten shout sift skins slideshow smp sms sndfile sound soundextract soundtouch soup source spamassassin speex spell sql srt srtp sse sse2 sse2check ssh ssl ssse3 startup-notification statistics stats stk stream suid svg svgz sysfs syslog szip t1lib tbb tcl tcmalloc tcpd teletext templates tga tgif themes theora threads threadsafe thumbnail thumbnails tiff timidity tk toolame tools transcode tremor truetype tv_check tv_combiner tv_pick_cgi twolame type3 udev udisks umfpack unicode unzip upower urlpicpreview usb utempter utils uudeview v4l v4l2 vaapi vamp vcd vcdinfo vcdx vdpau vdr video vim vim-syntax virtuoso visibility vlm vorbis vpx vrml vxml wav wavpack weather-metar weather-xoap webcam webdav webgl webkit webp windeco winpopup wma wma-fixed wmf word-perfect wordperfect wxwidgets wxwindows x11vnc x264 xanim xattr xcb xcf xcomposite xface xforms xine xinerama xml xmlreader xmlwriter xmp xorg xpm xscreensaver xsl xslt xterm xulrunner xv xvid xvmc xwax_decoders_aac xwax_decoders_cd xwax_decoders_flac xwax_decoders_misc xwax_decoders_mp3 xwax_decoders_ogg youtube yv12 zeroconf zip zlib zvbi" ABI_X86="64" 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="authn_core authz_core socache_shmcb unixd 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="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="*" 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" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en de_DE" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" SANE_BACKENDS="plustek" USERLAND="GNU" VIDEO_CARDS="nvidia v4l2" 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, USE_PYTHON

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

dev-db/mariadb-5.5.29 was built with the following:
USE="berkdb community (consolekit) embedded (multilib) pam perl (policykit) ssl tcmalloc -cluster -debug -extraengine -jemalloc -latin1 -max-idx-128 -minimal -oqgraph -pbxt -profiling (-selinux) -sphinx -static -systemtap -test" ABI_X86="64"
CFLAGS="-march=core2 -mtune=core2 -O2 -pipe -fno-strict-aliasing"
CXXFLAGS="-march=core2 -mtune=core2 -O2 -pipe -fno-exceptions -fno-strict-aliasing -felide-constructors -fno-rtti -fno-implicit-templates -fno-strict-aliasing"


Reproducible: Always

Steps to Reproduce:
1. emerge -av1 mariadb
2.
3.


Expected Results:  
Should compile successful as before, don't know what has been changed after lots of different system world updates since then.

Linking CXX static library libsql.a
cd /var/tmp/portage/dev-db/mariadb-5.5.29/work/mariadb-5.5.29_build/sql && /usr/bin/cmake -P CMakeFiles/sql.dir/cmake_clean_target.cmake
cd /var/tmp/portage/dev-db/mariadb-5.5.29/work/mariadb-5.5.29_build/sql && /usr/bin/cmake -E cmake_link_script CMakeFiles/sql.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-ar cr libsql.a  CMakeFiles/sql.dir/__/sql-common/client.c.o CMakeFiles/sql.dir/derror.cc.o CMakeFiles/sql.dir/des_key_file.cc.o CMakeFiles/sql.dir/discover.cc.o CMakeFiles/sql.dir/__/libmysql/errmsg.c.o CMakeFiles/sql.dir/field.cc.o CMakeFiles/sql.dir/field_conv.cc.o CMakeFiles/sql.dir/filesort.cc.o CMakeFiles/sql.dir/gstream.cc.o CMakeFiles/sql.dir/sha2.cc.o CMakeFiles/sql.dir/signal_handler.cc.o CMakeFiles/sql.dir/handler.cc.o CMakeFiles/sql.dir/hostname.cc.o CMakeFiles/sql.dir/init.cc.o CMakeFiles/sql.dir/item.cc.o CMakeFiles/sql.dir/item_buff.cc.o CMakeFiles/sql.dir/item_cmpfunc.cc.o CMakeFiles/sql.dir/item_create.cc.o CMakeFiles/sql.dir/item_func.cc.o CMakeFiles/sql.dir/item_geofunc.cc.o CMakeFiles/sql.dir/item_row.cc.o CMakeFiles/sql.dir/item_strfunc.cc.o CMakeFiles/sql.dir/item_subselect.cc.o CMakeFiles/sql.dir/item_sum.cc.o CMakeFiles/sql.dir/item_timefunc.cc.o CMakeFiles/sql.dir/key.cc.o CMakeFiles/sql.dir/log.cc.o CMakeFiles/sql.dir/lock.cc.o CMakeFiles/sql.dir/log_event.cc.o CMakeFiles/sql.dir/rpl_record.cc.o CMakeFiles/sql.dir/rpl_reporting.cc.o CMakeFiles/sql.dir/log_event_old.cc.o CMakeFiles/sql.dir/rpl_record_old.cc.o CMakeFiles/sql.dir/mf_iocache.cc.o CMakeFiles/sql.dir/my_decimal.cc.o CMakeFiles/sql.dir/__/sql-common/my_time.c.o CMakeFiles/sql.dir/mysqld.cc.o CMakeFiles/sql.dir/net_serv.cc.o CMakeFiles/sql.dir/keycaches.cc.o CMakeFiles/sql.dir/__/sql-common/client_plugin.c.o CMakeFiles/sql.dir/opt_range.cc.o CMakeFiles/sql.dir/opt_sum.cc.o CMakeFiles/sql.dir/__/sql-common/pack.c.o CMakeFiles/sql.dir/parse_file.cc.o CMakeFiles/sql.dir/password.c.o CMakeFiles/sql.dir/procedure.cc.o CMakeFiles/sql.dir/protocol.cc.o CMakeFiles/sql.dir/records.cc.o CMakeFiles/sql.dir/repl_failsafe.cc.o CMakeFiles/sql.dir/rpl_filter.cc.o CMakeFiles/sql.dir/set_var.cc.o CMakeFiles/sql.dir/slave.cc.o CMakeFiles/sql.dir/sp.cc.o CMakeFiles/sql.dir/sp_cache.cc.o CMakeFiles/sql.dir/sp_head.cc.o CMakeFiles/sql.dir/sp_pcontext.cc.o CMakeFiles/sql.dir/sp_rcontext.cc.o CMakeFiles/sql.dir/spatial.cc.o CMakeFiles/sql.dir/sql_acl.cc.o CMakeFiles/sql.dir/sql_analyse.cc.o CMakeFiles/sql.dir/sql_base.cc.o CMakeFiles/sql.dir/sql_cache.cc.o CMakeFiles/sql.dir/sql_class.cc.o CMakeFiles/sql.dir/sql_client.cc.o CMakeFiles/sql.dir/sql_crypt.cc.o CMakeFiles/sql.dir/sql_cursor.cc.o CMakeFiles/sql.dir/sql_db.cc.o CMakeFiles/sql.dir/sql_delete.cc.o CMakeFiles/sql.dir/sql_derived.cc.o CMakeFiles/sql.dir/sql_do.cc.o CMakeFiles/sql.dir/sql_error.cc.o CMakeFiles/sql.dir/sql_handler.cc.o CMakeFiles/sql.dir/sql_help.cc.o CMakeFiles/sql.dir/sql_insert.cc.o CMakeFiles/sql.dir/sql_lex.cc.o CMakeFiles/sql.dir/sql_list.cc.o CMakeFiles/sql.dir/sql_load.cc.o CMakeFiles/sql.dir/sql_manager.cc.o CMakeFiles/sql.dir/sql_parse.cc.o CMakeFiles/sql.dir/sql_partition.cc.o CMakeFiles/sql.dir/sql_plugin.cc.o CMakeFiles/sql.dir/sql_prepare.cc.o CMakeFiles/sql.dir/sql_rename.cc.o CMakeFiles/sql.dir/debug_sync.cc.o CMakeFiles/sql.dir/sql_repl.cc.o CMakeFiles/sql.dir/sql_select.cc.o CMakeFiles/sql.dir/sql_show.cc.o CMakeFiles/sql.dir/sql_state.c.o CMakeFiles/sql.dir/sql_string.cc.o CMakeFiles/sql.dir/sql_table.cc.o CMakeFiles/sql.dir/sql_test.cc.o CMakeFiles/sql.dir/sql_trigger.cc.o CMakeFiles/sql.dir/sql_udf.cc.o CMakeFiles/sql.dir/sql_union.cc.o CMakeFiles/sql.dir/sql_update.cc.o CMakeFiles/sql.dir/sql_view.cc.o CMakeFiles/sql.dir/strfunc.cc.o CMakeFiles/sql.dir/table.cc.o CMakeFiles/sql.dir/thr_malloc.cc.o CMakeFiles/sql.dir/sql_time.cc.o CMakeFiles/sql.dir/tztime.cc.o CMakeFiles/sql.dir/uniques.cc.o CMakeFiles/sql.dir/unireg.cc.o CMakeFiles/sql.dir/item_xmlfunc.cc.o CMakeFiles/sql.dir/rpl_tblmap.cc.o CMakeFiles/sql.dir/sql_binlog.cc.o CMakeFiles/sql.dir/event_scheduler.cc.o CMakeFiles/sql.dir/event_data_objects.cc.o CMakeFiles/sql.dir/event_queue.cc.o CMakeFiles/sql.dir/event_db_repository.cc.o CMakeFiles/sql.dir/sql_tablespace.cc.o CMakeFiles/sql.dir/events.cc.o CMakeFiles/sql.dir/__/sql-common/my_user.c.o CMakeFiles/sql.dir/partition_info.cc.o CMakeFiles/sql.dir/rpl_utility.cc.o CMakeFiles/sql.dir/rpl_injector.cc.o CMakeFiles/sql.dir/sql_locale.cc.o CMakeFiles/sql.dir/rpl_rli.cc.o CMakeFiles/sql.dir/rpl_mi.cc.o CMakeFiles/sql.dir/sql_servers.cc.o CMakeFiles/sql.dir/sql_audit.cc.o CMakeFiles/sql.dir/sql_connect.cc.o CMakeFiles/sql.dir/scheduler.cc.o CMakeFiles/sql.dir/sql_partition_admin.cc.o CMakeFiles/sql.dir/sql_profile.cc.o CMakeFiles/sql.dir/event_parse_data.cc.o CMakeFiles/sql.dir/sql_alter.cc.o CMakeFiles/sql.dir/sql_signal.cc.o CMakeFiles/sql.dir/rpl_handler.cc.o CMakeFiles/sql.dir/mdl.cc.o CMakeFiles/sql.dir/sql_admin.cc.o CMakeFiles/sql.dir/transaction.cc.o CMakeFiles/sql.dir/sys_vars.cc.o CMakeFiles/sql.dir/sql_truncate.cc.o CMakeFiles/sql.dir/datadict.cc.o CMakeFiles/sql.dir/sql_reload.cc.o CMakeFiles/sql.dir/sql_join_cache.cc.o CMakeFiles/sql.dir/create_options.cc.o CMakeFiles/sql.dir/multi_range_read.cc.o CMakeFiles/sql.dir/opt_index_cond_pushdown.cc.o CMakeFiles/sql.dir/opt_subselect.cc.o CMakeFiles/sql.dir/opt_table_elimination.cc.o CMakeFiles/sql.dir/sql_expression_cache.cc.o CMakeFiles/sql.dir/gcalc_slicescan.cc.o CMakeFiles/sql.dir/gcalc_tools.cc.o CMakeFiles/sql.dir/threadpool_common.cc.o CMakeFiles/sql.dir/__/sql-common/mysql_async.c.o CMakeFiles/sql.dir/sql_yacc.cc.o CMakeFiles/sql.dir/sql_builtin.cc.o CMakeFiles/sql.dir/threadpool_unix.cc.o
/usr/bin/x86_64-pc-linux-gnu-ranlib libsql.a
make[2]: Leaving directory `/var/tmp/portage/dev-db/mariadb-5.5.29/work/mariadb-5.5.29_build'
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/dev-db/mariadb-5.5.29/work/mariadb-5.5.29_build/CMakeFiles  61 62 63 64 65 66 67 68 69 70 71
[100%] Built target sql
make[1]: Leaving directory `/var/tmp/portage/dev-db/mariadb-5.5.29/work/mariadb-5.5.29_build'
make: *** [all] Fehler 2
 * ERROR: dev-db/mariadb-5.5.29 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=dev-db/mariadb-5.5.29'`,
 * the complete build log and the output of `emerge -pqv '=dev-db/mariadb-5.5.29'`.
 * The complete build log is located at '/var/tmp/portage/dev-db/mariadb-5.5.29/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-db/mariadb-5.5.29/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-db/mariadb-5.5.29/work/mariadb-5.5.29_build'
 * S: '/var/tmp/portage/dev-db/mariadb-5.5.29/work/mysql'

>>> Failed to emerge dev-db/mariadb-5.5.29, Log file:

>>>  '/var/tmp/portage/dev-db/mariadb-5.5.29/temp/build.log'
 * 
 * The following package has failed to build or install:
 * 
 *  (dev-db/mariadb-5.5.29::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/dev-db/mariadb-5.5.29/temp/build.log'
Comment 1 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-03-10 14:41:44 UTC
Please attach the complete build.log.
Comment 2 Randy Andy 2013-03-10 16:09:09 UTC
Created attachment 341552 [details]
mariadb-5.5.29_build.log
Comment 3 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-03-10 19:56:35 UTC
See bug #459716, did you compile libaio with -fLTO?
Comment 4 Randy Andy 2013-03-10 20:25:42 UTC
Thanks Tom,

sadly the answer is yes. I thought I've tried it the last time without these flag, but this library I've overlooked.

Without these flag mariadb compiles fine, what solves the case for me.

Best regards, Andy.