Bulding media-tv/xbmc-11.0-r1 fails when the configure script is executed. with several errors like this (will attach full log): configure: WARNING: sys/inotify.h: present but cannot be compiled configure: WARNING: sys/inotify.h: check for missing prerequisite headers? configure: WARNING: sys/inotify.h: see the Autoconf documentation configure: WARNING: sys/inotify.h: section "Present But Cannot Be Compiled" configure: WARNING: sys/inotify.h: proceeding with the compiler's result configure: WARNING: ## ----------------------------------- ## configure: WARNING: ## Report this to http://trac.xbmc.org ## configure: WARNING: ## ----------------------------------- ## checking for sys/inotify.h... no checking boost/shared_ptr.hpp usability... no checking boost/shared_ptr.hpp presence... yes configure: WARNING: boost/shared_ptr.hpp: present but cannot be compiled configure: WARNING: boost/shared_ptr.hpp: check for missing prerequisite headers? configure: WARNING: boost/shared_ptr.hpp: see the Autoconf documentation configure: WARNING: boost/shared_ptr.hpp: section "Present But Cannot Be Compiled" configure: WARNING: boost/shared_ptr.hpp: proceeding with the compiler's result configure: WARNING: ## ----------------------------------- ## configure: WARNING: ## Report this to http://trac.xbmc.org ## configure: WARNING: ## ----------------------------------- ## checking for boost/shared_ptr.hpp... no configure: error: Could not find a required library. Please see the README for your platform. !!! Please attach the following file when seeking support: !!! /var/tmp/portage/media-tv/xbmc-11.0-r1/work/xbmc-11.0/config.log * ERROR: media-tv/xbmc-11.0-r1 failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 93: Called src_configure * environment, line 5665: Called econf '--docdir=/usr/share/doc/xbmc-11.0-r1' '--disable-ccache' '--disable-optimizations' '--enable-external-libraries' '--enable-gl' '--enable-airplay' '--disable-avahi' '--enable-libbluray' '--enable-libcec' '--enable-dvdcss' '--enable-debug' '--enable-goom' '--disable-hal' '--enable-joystick' '--enable-mid' '--enable-mysql' '--enable-profiling' '--enable-projectm' '--enable-pulse' '--enable-mythtv' '--enable-rsxs' '--enable-rtmp' '--enable-samba' '--enable-vaapi' '--enable-vdpau' '--enable-webserver' '--enable-xrandr' * phase-helpers.sh, line 505: Called die * The specific snippet of code: * die "econf failed" Reproducible: Always Steps to Reproduce: 1. emerge xmbc Actual Results: emerge fails
Created attachment 332796 [details] build.log
!!! Please attach the following file when seeking support: !!! /var/tmp/portage/media-tv/xbmc-11.0-r1/work/xbmc-11.0/config.log 1) Please attach that file to this bug report. 2) Please post your `emerge --info' output in a comment.
Created attachment 332798 [details] emerge --info '=media-tv/xbmc-11.0-r1'
merge -pqv '=media-tv/xbmc-11.0-r1' [ebuild N ] media-tv/xbmc-11.0-r1 USE="airplay alsa bluetooth bluray cec css debug goom joystick midi mysql profile projectm pulseaudio pvr rsxs rtmp samba sse sse2 udev vaapi vdpau webserver xrandr (-altivec) -avahi"
if I run: ebuild xbmc-11.0-r1.ebuild compile it fails but if I run configure directly like this: PYTHON_VERSION=2.7 ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-dependency-tracking --docdir=/usr/share/doc/xbmc-11.0-r1 --disable-ccache --disable-optimizations --enable-external-libraries --enable-gl --enable-airplay --disable-avahi --enable-libbluray --enable-libcec --enable-dvdcss --enable-debug --enable-goom --disable-hal --enable-joystick --enable-mid --enable-mysql --enable-profiling --enable-projectm --enable-pulse --enable-mythtv --enable-rsxs --enable-rtmp --enable-samba --enable-vaapi --enable-vdpau --enable-webserver --enable-xrandr it works
Try 'emerge -C dev-libs/boost dev-util/boost-build eselect-boost' followed by 'emerge -1 boost' and verifying the old eselect boost module is not installed The file should be in /usr/include/boost/shared_ptr.hpp and is installed by version 1.52.0-r4 just fine here
(In reply to comment #6) It's installed by the current stable version too (1.49.0-r2): # ls /usr/include/boost/serialization/shared_ptr.hpp /usr/include/boost/serialization/shared_ptr.hpp # qlist -Iev dev-libs/boost dev-libs/boost-1.49.0-r2
this is fresh gentoo install for today # merge -Cvp eselect-boost dev-libs/boost dev-util/boost-build .... --- Couldn't find 'eselect-boost' to unmerge. dev-libs/boost selected: 1.52.0-r5 protected: none omitted: none dev-util/boost-build selected: 1.52.0-r1 protected: none omitted: none # qlist -Iev dev-libs/boost dev-libs/boost-1.52.0-r5 # ls /usr/include/boost/serialization/shared_ptr.hpp /usr/include/boost/serialization/shared_ptr.hpp
I can't reproduce it here. I have seen that you have two overlays installed. Are you trying to install =media-tv/xbmc-11.0-r1 from one of the overlays, or is it the one in the official portage tree?
From the official. And there were no packages from the overlays intalled.
Created attachment 332802 [details] emerge --info You are using ~amd64, so, a lot of things are different from my system, for example: sandbox, automake, binutils, libtool, make, linux-headers, glibc ... I don't know where could be the problem, but, if you want to try, I have attached my emerge --info
I'll start a new install in a vm to see if it works.
It compiled with stable fine. I'll start updating individual packages to see if something breaks it.
like both the log & Jeroen said: !!! Please attach the following file when seeking support: !!! /var/tmp/portage/media-tv/xbmc-11.0-r1/work/xbmc-11.0/config.log
Created attachment 332850 [details] config.log Sorry I thought I've uploaded that already.
configure:18649: x86_64-pc-linux-gnu-gcc -c -march=core2 -mtune=core2 -pipe -O2 -fomit-frame-pointer -msse -msse2 -msse3 -mmmx -msse4 -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -pg -D_DEBUG -Wall conftest.c >&5 x86_64-pc-linux-gnu-gcc: -pg and -fomit-frame-pointer are incompatible pick one: USE=profile or CFLAGS=-fomit-frame-pointer