Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 447958 - media-tv/xbmc-11.0-r1[profile]: build fails when CFLAGS has -fomit-frame-pointer
Summary: media-tv/xbmc-11.0-r1[profile]: build fails when CFLAGS has -fomit-frame-pointer
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Xbox project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-20 15:20 UTC by blackd
Modified: 2012-12-20 22:33 UTC (History)
0 users

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


Attachments
build.log (build.log,17.03 KB, text/plain)
2012-12-20 15:22 UTC, blackd
Details
emerge --info '=media-tv/xbmc-11.0-r1' (emerge --info media-tv_xbmc-11.0-r1.log,5.95 KB, text/plain)
2012-12-20 15:24 UTC, blackd
Details
emerge --info (file_447958.txt,4.87 KB, text/plain)
2012-12-20 17:00 UTC, Vicente Olivert Riera (RETIRED)
Details
config.log (config.log,300.92 KB, text/plain)
2012-12-20 22:23 UTC, blackd
Details

Note You need to log in before you can comment on or make changes to this bug.
Description blackd 2012-12-20 15:20:15 UTC
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
Comment 1 blackd 2012-12-20 15:22:25 UTC
Created attachment 332796 [details]
build.log
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-12-20 15:23:53 UTC
!!! 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.
Comment 3 blackd 2012-12-20 15:24:07 UTC
Created attachment 332798 [details]
emerge --info '=media-tv/xbmc-11.0-r1'
Comment 4 blackd 2012-12-20 15:25:07 UTC
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"
Comment 5 blackd 2012-12-20 15:28:20 UTC
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
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2012-12-20 15:30:29 UTC
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
Comment 7 Vicente Olivert Riera (RETIRED) gentoo-dev 2012-12-20 15:35:16 UTC
(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
Comment 8 blackd 2012-12-20 15:40:41 UTC
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
Comment 9 Vicente Olivert Riera (RETIRED) gentoo-dev 2012-12-20 16:16:47 UTC
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?
Comment 10 blackd 2012-12-20 16:19:59 UTC
From the official. And there were no packages from the overlays intalled.
Comment 11 Vicente Olivert Riera (RETIRED) gentoo-dev 2012-12-20 17:00:30 UTC
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
Comment 12 blackd 2012-12-20 19:11:31 UTC
I'll start a new install in a vm to see if it works.
Comment 13 blackd 2012-12-20 21:24:50 UTC
It compiled with stable fine.

I'll start updating individual packages to see if something breaks it.
Comment 14 SpanKY gentoo-dev 2012-12-20 22:16:18 UTC
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
Comment 15 blackd 2012-12-20 22:23:34 UTC
Created attachment 332850 [details]
config.log

Sorry I thought I've uploaded that already.
Comment 16 SpanKY gentoo-dev 2012-12-20 22:33:10 UTC
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