Using recommended CLAGS in /etc/make.conf per the use flag wiki -fomit-frame-pointer in global is incompatible with local CFLAG -pg in the package's work directory Makefile Strange as -fomit-... is recommended for the specific CPU architecture on quite a few x86 cpus. And this package uses -pg and the two cannot run together.
1) Please post your `emerge --info' output in a comment. 2) Please attach the entire app-mobilephone/obex-data-server build log to this bug report.
The important section from my emerge --info is in the CFLAGS line CFLAGS "-march=pentium-m -O2 -pipe -fomit-frame-pointer" The line that causes the bug in build is i686-pc-linux-gnu-gcc: -pg and -fomit-frame-pointer are incompatible i686-pc-linux-gnu-gcc --version i686-pc-linux-gnu-gcc (Gentoo 4.5.3-r2 p1.1, pie-0.4.7) 4.5.3 Copyright (C) 2010 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Here is my complete emerge --info http://pastebin.com/24V84d2X Here is my complete log http://pastebin.com/9FueR75D Now, I want to let you know, I took out the "debug" USE flag, and it started building, and the package's local Makefile did NOT add neither -g nor -pg to the local CFLAGS while honouring the global -fomit-frame-pointer All other packages I have built have compiled fine except this one with the "debug" USE.
(In reply to comment #1) > 1) Please post your `emerge --info' output in a comment. > 2) Please attach the entire app-mobilephone/obex-data-server build log to > this > bug report.
emerge --info Portage 2.1.10.44 (default/linux/x86/10.0/desktop, gcc-4.5.3, glibc-2.13-r4, 3.2.1-gentoo-r2 i686) ================================================================= System uname: Linux-3.2.1-gentoo-r2-i686-Intel-R-_Pentium-R-_M_processor_1.73GHz-with-gentoo-2.0.3 Timestamp of tree: Sat, 17 Mar 2012 20:45:01 +0000 app-shells/bash: 4.1_p9 dev-lang/python: 2.7.2-r3, 3.2.2 dev-util/cmake: 2.8.6-r4 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.0.3 sys-apps/openrc: 0.9.8.4 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.68 sys-devel/automake: 1.9.6-r3, 1.11.1 sys-devel/binutils: 2.21.1-r1 sys-devel/gcc: 4.5.3-r2 sys-devel/gcc-config: 1.5-r2 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r1 sys-kernel/linux-headers: 3.1 (virtual/os-headers) sys-libs/glibc: 2.13-r4 Repositories: gentoo ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" 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" CXXFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="ftp://ftp.gtlib.gatech.edu/pub/gentoo" LDFLAGS="-Wl,-O1 -Wl,--as-needed" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync3.us.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi aim alsa audiofile bash-completion berkdb bluetooth branding bzip2 cairo cdda cddb cdparanoia cdr cli consolekit cracklib crypt cups curl curlwrappers cvs cxx dbus debug directfb dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fontconfig fortran ftp fusefs gdbm gdu ghoto2 gif gimp glut gpm gstreamer gtk gtkhtml gzip hddtemp iconv ieee1394 imagemagick ipod ipv6 jabber jack java java6 javascript jingle joystick jpeg jpeg2k lame latex lcms ldap libcaca libnotify libsamplerate lock lzma mad matrox memlimit mmx mng modplug modules mp3 mp4 mpeg mplayer mudflap ncurses networkmanager nls nptl nptlonly ogg opengl openmp oscar oss pam pango pcmcia pcre pdf png policykit ppds pppd pulseaudio qt3support qt4 raw rdesktop readline samba sdl session sharedmem socks5 sound speex spell ssl startup-notification subversion svg sysfs tcpd threads thunar tiff tokenizer truetype udev unicode usb vcd vnc vorbis wavpack win32codecs wxwidgets x264 x86 xattr xcb xine xinerama xml xmlrpc xorg xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 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="synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS app-mobilephone/obex-data-server build log [32;01m * [39;49;00mPackage: app-mobilephone/obex-data-server-0.4.5 [32;01m * [39;49;00mRepository: gentoo [32;01m * [39;49;00mMaintainer: mobile@gentoo.org [32;01m * [39;49;00mUSE: debug elibc_glibc gtk imagemagick kernel_linux usb userland_GNU x86 [32;01m * [39;49;00mFEATURES: sandbox >>> Unpacking source... >>> Unpacking obex-data-server-0.4.5.tar.gz to /var/tmp/portage/app-mobilephone/obex-data-server-0.4.5/work >>> Source unpacked in /var/tmp/portage/app-mobilephone/obex-data-server-0.4.5/work >>> Preparing source in /var/tmp/portage/app-mobilephone/obex-data-server-0.4.5/work/obex-data-server-0.4.5 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-mobilephone/obex-data-server-0.4.5/work/obex-data-server-0.4.5 ... ./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-bip=gdk-pixbuf --disable-system-config --enable-debug checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of i686-pc-linux-gnu-gcc... gcc3 checking for a BSD-compatible install... /usr/bin/install -c checking for a sed that does not truncate output... /bin/sed checking for i686-pc-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for glib-genmarshal... /usr/bin/glib-genmarshal checking for dbus-binding-tool... /usr/bin/dbus-binding-tool checking for BIP... yes checking for USB... yes checking for more warnings... no checking for GLIB... yes checking for DBUS... yes checking for BLUEZ... yes checking for sdp_extract_seqtype_safe in -lbluetooth... no checking for OPENOBEX... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands obex-data-server 0.4.5 ============================= prefix: /usr compiler: i686-pc-linux-gnu-gcc cflags: -march=pentium-m -O2 -pipe -fomit-frame-pointer -g -pg BIP imaging support: gdk-pixbuf USB support: yes >>> Source configured. >>> Compiling source in /var/tmp/portage/app-mobilephone/obex-data-server-0.4.5/work/obex-data-server-0.4.5 ... make /usr/bin/dbus-binding-tool --prefix=ods_manager \ --mode=glib-server --output=src/ods-manager-dbus-glue.h src/ods-manager.xml /usr/bin/dbus-binding-tool --prefix=ods_server \ --mode=glib-server --output=src/ods-server-dbus-glue.h src/ods-server.xml /usr/bin/dbus-binding-tool --prefix=ods_server_session \ --mode=glib-server --output=src/ods-server-session-dbus-glue.h src/ods-server-session.xml /usr/bin/dbus-binding-tool --prefix=ods_session \ --mode=glib-server --output=src/ods-session-dbus-glue.h src/ods-session.xml make --no-print-directory all-am depbase=`echo src/ods-bluez.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng15 -pthread -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=pentium-m -O2 -pipe -fomit-frame-pointer -g -pg -MT src/ods-bluez.o -MD -MP -MF $depbase.Tpo -c -o src/ods-bluez.o src/ods-bluez.c &&\ mv -f $depbase.Tpo $depbase.Po i686-pc-linux-gnu-gcc: -pg and -fomit-frame-pointer are incompatible make[1]: *** [src/ods-bluez.o] Error 1 make: *** [all] Error 2 emake failed [31;01m*[0m ERROR: app-mobilephone/obex-data-server-0.4.5 failed (compile phase): [31;01m*[0m emake failed [31;01m*[0m [31;01m*[0m Call stack: [31;01m*[0m ebuild.sh, line 85: Called src_compile [31;01m*[0m environment, line 112: Called _eapi2_src_compile [31;01m*[0m phase-helpers.sh, line 577: Called die [31;01m*[0m The specific snippet of code: [31;01m*[0m emake || die "emake failed" [31;01m*[0m [31;01m*[0m If you need support, post the output of 'emerge --info =app-mobilephone/obex-data-server-0.4.5', [31;01m*[0m the complete build log and the output of 'emerge -pqv =app-mobilephone/obex-data-server-0.4.5'. [31;01m*[0m The complete build log is located at '/var/tmp/portage/app-mobilephone/obex-data-server-0.4.5/temp/build.log'. [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/app-mobilephone/obex-data-server-0.4.5/temp/environment'. [31;01m*[0m S: '/var/tmp/portage/app-mobilephone/obex-data-server-0.4.5/work/obex-data-server-0.4.5'