sys-block/thin-provisioning-tools-0.4.0::gentoo (testing version) fails to compile. Reproducible: Always Steps to Reproduce: 1.check the packages in RDEPEND dev-libs/expat dev-libs/libaio are installed 2.emerge -v sys-block/thin-provisioning-tools Actual Results: [LD] bin/pdata_tools block-cache/block_cache.o: In function `bcache::block_cache::wait_io()': /var/tmp/portage/sys-block/thin-provisioning-tools-0.4.1/work/thin-provisioning-tools-0.4.1/block-cache/block_cache.cc:202: undefined reference to `io_getevents' collect2: error: ld returned 1 exit status Makefile:139: recipe for target 'bin/pdata_tools' failed make: *** [bin/pdata_tools] Error 1 * ERROR: sys-block/thin-provisioning-tools-0.4.0::gentoo failed (compile phase): * emake failed Expected Results: Build emerge --info '=sys-block/thin-provisioning-tools-0.4.0::gentoo' Portage 2.2.14 (python 3.3.5-final-0, default/linux/amd64/13.0, gcc-4.8.2, glibc-2.19-r1, 3.6.11-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.6.11-gentoo-x86_64-Intel-R-_Core-TM-_i7-3520M_CPU_@_2.90GHz-with-gentoo-2.2 KiB Mem: 8049816 total, 1022788 free KiB Swap: 0 total, 0 free Timestamp of tree: Fri, 12 Dec 2014 08:00:01 +0000 ld GNU ld (Gentoo 2.24 p1.4) 2.24 ccache version 3.1.9 [enabled] app-shells/bash: 4.2_p53 dev-java/java-config: 2.2.0 dev-lang/perl: 5.20.1-r3 dev-lang/python: 2.7.7, 3.2.5-r3, 3.3.5-r1 dev-util/ccache: 3.1.9-r3 dev-util/cmake: 2.8.12.2-r1 dev-util/pkgconfig: 0.28-r1 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.12.4 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.9.6-r3, 1.11.6-r1, 1.12.6, 1.13.4 sys-devel/binutils: 2.24-r3 sys-devel/gcc: 4.7.3, 4.8.1-r1, 4.8.2, 4.9.0, 4.9.2 sys-devel/gcc-config: 1.7.3 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 critter ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe -flto" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -O2 -pipe -flto" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS=" --autounmask=y --autounmask-write=y --autounmask-unrestricted-atoms " FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs buildpkg ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://gentoo.osuosl.org/" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j4" 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="/usr/portage/local" USE="X a52 aac aalib acl acpi alsa amarok amd64 amr ao apache2 bash-completion berkdb bindist branding bzip2 cdb cdrom cli consolekit cracklib crypt css cups curl cxx dbus device-mapper dga directfb dri dts dv dvb dynamicplugin eap-sim embedded exif fbcon fbcondecor ffmpeg flac flash flatfile fortran gcj gd gdbm ggi gimp gphoto2 gsm hpijs iconv id3tag imagemagick ipod jack jpeg jpeg2k kde latex libcaca libsamplerate libwww live madwifi matroska mmx modemmanager modules mount mozilla mp3 mp3rtp mp3tunes mp4 mp4live mpeg2 mplayer mtp multilib musepack nas ncurses nls npp nptl nsplugin odbc openmp pam pam_ssh pcmcia pcntl pcre php pmu png pnm policykit postgres radio rar readline realmedia savedconfig scanner screen session sndfile sound sql sse sse2 ssl tao tcpd tftp thumbnail thunar tiff truetype udev unicode usb utouch v4l wifi wimax win32codecs wma wmp wps xanim xinerama xml xpm xvid zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="actions alias cgi cgid 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 loop-aes 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 authn_core authz_core unixd socache_shmcb" CALLIGRA_FEATURES="kexi words flow plan sheets 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 itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="intel" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Attach build log (and it just might be that a verbose version of it will be needed).
Please attach the entire build log to this bug report.