Package dev-libs/tinyxml2-1.0.1_p20120531 pulled by media-video/mediainfo-0.7.58 fails during configuration phase. Bellow is my build log and "emerge --info" output. # emerge -av mediainfo These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] dev-libs/tinyxml2-1.0.1_p20120531 USE="-static-libs -test" 0 kB [ebuild U ] media-libs/libmediainfo-0.7.58 [0.7.56] USE="curl mms -doc -static-libs" 0 kB [ebuild U ] media-video/mediainfo-0.7.58 [0.7.56] USE="curl mms wxwidgets" 0 kB Total: 3 packages (2 upgrades, 1 new), Size of downloads: 0 kB Would you like to merge these packages? [Yes/No] y >>> Verifying ebuild manifests >>> Starting parallel fetch >>> Emerging (1 of 3) dev-libs/tinyxml2-1.0.1_p20120531 * tinyxml2-1.0.1_p20120531.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking tinyxml2-1.0.1_p20120531.tar.bz2 to /var/tmp/portage/dev-libs/tinyxml2-1.0.1_p20120531/work >>> Source unpacked in /var/tmp/portage/dev-libs/tinyxml2-1.0.1_p20120531/work >>> Preparing source in /var/tmp/portage/dev-libs/tinyxml2-1.0.1_p20120531/work/tinyxml2-1.0.1_p20120531 ... * Applying tinyxml2-1.0.1_p20120531-test.patch ... [ ok ] * Applying tinyxml2-1.0.1_p20120531-test-return-status.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-libs/tinyxml2-1.0.1_p20120531/work/tinyxml2-1.0.1_p20120531 ... >>> Working in BUILD_DIR: "/var/tmp/portage/dev-libs/tinyxml2-1.0.1_p20120531/work/tinyxml2-1.0.1_p20120531_build" cmake --no-warn-unused-cli -C /var/tmp/portage/dev-libs/tinyxml2-1.0.1_p20120531/work/tinyxml2-1.0.1_p20120531_build/gentoo_common_config.cmake -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_STATIC_LIBS=OFF -DBUILD_TEST=OFF -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/dev-libs/tinyxml2-1.0.1_p20120531/work/tinyxml2-1.0.1_p20120531_build/gentoo_rules.cmake /var/tmp/portage/dev-libs/tinyxml2-1.0.1_p20120531/work/tinyxml2-1.0.1_p20120531 Not searching for unused variables given on the command line. loading initial cache file /var/tmp/portage/dev-libs/tinyxml2-1.0.1_p20120531/work/tinyxml2-1.0.1_p20120531_build/gentoo_common_config.cmake -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done CMake Error at CMakeLists.txt:5 (include): include could not find load file: GNUInstallDirs CMake Error at CMakeLists.txt:75 (install): install FILES given no DESTINATION! -- <<< Gentoo configuration >>> Build type Gentoo Install path /usr Compiler flags: C -march=core2 -mtune=generic -O2 -pipe C++ -march=core2 -mtune=generic -O2 -pipe Linker flags: Executable -Wl,-O1 -Wl,--as-needed Module -Wl,-O1 -Wl,--as-needed Shared -Wl,-O1 -Wl,--as-needed -- Configuring incomplete, errors occurred! * ERROR: dev-libs/tinyxml2-1.0.1_p20120531 failed (configure phase): * cmake failed * * Call stack: * ebuild.sh, line 85: Called src_configure * environment, line 2660: Called cmake-utils_src_configure * environment, line 679: Called _execute_optionaly 'src_configure' * environment, line 201: Called enable_cmake-utils_src_configure * environment, line 980: Called die * The specific snippet of code: * "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed"; * * If you need support, post the output of `emerge --info '=dev-libs/tinyxml2-1.0.1_p20120531'`, * the complete build log and the output of `emerge -pqv '=dev-libs/tinyxml2-1.0.1_p20120531'`. * The complete build log is located at '/var/tmp/portage/dev-libs/tinyxml2-1.0.1_p20120531/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/tinyxml2-1.0.1_p20120531/temp/environment'. * Working directory: '/var/tmp/portage/dev-libs/tinyxml2-1.0.1_p20120531/work/tinyxml2-1.0.1_p20120531_build' * S: '/var/tmp/portage/dev-libs/tinyxml2-1.0.1_p20120531/work/tinyxml2-1.0.1_p20120531' >>> Failed to emerge dev-libs/tinyxml2-1.0.1_p20120531, Log file: >>> '/var/tmp/portage/dev-libs/tinyxml2-1.0.1_p20120531/temp/build.log' * Messages for package dev-libs/tinyxml2-1.0.1_p20120531: * ERROR: dev-libs/tinyxml2-1.0.1_p20120531 failed (configure phase): * cmake failed * * Call stack: * ebuild.sh, line 85: Called src_configure * environment, line 2660: Called cmake-utils_src_configure * environment, line 679: Called _execute_optionaly 'src_configure' * environment, line 201: Called enable_cmake-utils_src_configure * environment, line 980: Called die * The specific snippet of code: * "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed"; * * If you need support, post the output of `emerge --info '=dev-libs/tinyxml2-1.0.1_p20120531'`, * the complete build log and the output of `emerge -pqv '=dev-libs/tinyxml2-1.0.1_p20120531'`. * The complete build log is located at '/var/tmp/portage/dev-libs/tinyxml2-1.0.1_p20120531/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/tinyxml2-1.0.1_p20120531/temp/environment'. * Working directory: '/var/tmp/portage/dev-libs/tinyxml2-1.0.1_p20120531/work/tinyxml2-1.0.1_p20120531_build' * S: '/var/tmp/portage/dev-libs/tinyxml2-1.0.1_p20120531/work/tinyxml2-1.0.1_p20120531' # emerge --info =media-video/mediainfo-0.7.58 Portage 2.1.11.9 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.3, glibc-2.12.2, 3.0.6-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.0.6-gentoo-x86_64-Intel-R-_Core-TM-_i3_CPU_540_@_3.07GHz-with-gentoo-2.1 Timestamp of tree: Mon, 13 Aug 2012 08:15:01 +0000 app-shells/bash: 4.2_p20 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.3-r2, 3.1.5 dev-util/cmake: 2.8.4-r1 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.1-r1 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.22-r1 sys-devel/gcc: 4.4.5, 4.5.3-r2 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r3 sys-kernel/linux-headers: 2.6.39 (virtual/os-headers) sys-libs/glibc: 2.12.2 Repositories: gentoo ACCEPT_KEYWORDS="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 /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/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" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://gentoo.tups.lv/source/ http://ftp.ds.karen.hj.se/gentoo/ ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://mirror.elen.ktu.lt/gentoo/" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j3" 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="" SYNC="rsync://rsync.lv.gentoo.org/gentoo-portage" USE="X a52 aac acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm iconv ipv6 jpeg jpeg2k kde kipi lcms libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nsplugin ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pppd qt3support qt4 readline scanner sdl semantic-desktop session spell sse sse2 ssl startup-notification svg tcpd threads tiff truetype udev udisks unicode upower usb vim-syntax vorbis wxwidgets x264 xcb xcomposite xinerama xml xscreensaver 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="kexi words flow plan sheets stage tables krita karbon braindump" 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" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" SANE_BACKENDS="pixma" USERLAND="GNU" VIDEO_CARDS="nvidia fbdev intel vesa" 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, USE_PYTHON
It appears that your installed cmake package is either missing files or altered in some way. It should include the file "/usr/share/cmake/Modules/GNUInstallDirs.cmake" which the error specifies is missing. Try re-emerging cmake to see if that fixes the issue.
Thank you! Upgrading from dev-util/cmake-2.8.4-r1 to dev-util/cmake-2.8.7-r5 did the trick, however dev-libs/tinyxml2 was the only package that refused to emerge with the old version of cmake.