Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81229 - libbonobo-2.8.0 does not compile with usersandbox/userpriv enabled
Summary: libbonobo-2.8.0 does not compile with usersandbox/userpriv enabled
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: Low normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-08 05:39 UTC by Joe Breuer
Modified: 2005-07-03 14:22 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Breuer 2005-02-08 05:39:59 UTC
During installation of a new gentoo system, libbonobo-2.8.0 could not be compiled. I did not save the exact compiler output (was in a hurry, console-only system without gpm - is there a way to recover compilation logs?), but looking at it I diagnosed the problem as follows:
libbonobo-2.8.0 tries to build examples as part of its build process.
As I have userpriv and usersandbox enabled, I assume that the core libbonobo library could not be found to be linked against the examples.
Emerging with 'FEATURES="-userpriv -usersandbox -sandbox" emerge libbonobo' worked.

Reproducible: Always
Steps to Reproduce:
1. New gentoo installation, make.conf with gnome in USE and userpriv and usersandbox in FEATURES
2. /etc/make.profile -> 2005.0
3. emerge -av gnome xscreensaver

Actual Results:  
compilation aborted with unresolved symbols in Bonobo_Sample_Echo-stubs.o



Portage 2.0.51-r15 (default-linux/x86/2005.0, gcc-3.3.5,
glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 3.40GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  7 2005, 20:37:39)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -Os -momit-leaf-frame-pointer -pipe -fforce-addr
-falign-functions=4"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -Os -momit-leaf-frame-pointer -pipe -fforce-addr
-falign-functions=4"
DISTDIR="/var/portage-distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache digest distcc distlocks
fixpackages sandbox sfperms userpriv usersandbox"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/
ftp://pandemonium.tiscali.de/pub/gentoo/
http://gd.tuwien.ac.at/opsys/linux/gentoo/
ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ http://gentoo.eliteitminds.com"
LANG="en_US"
MAKEOPTS="-j7"
PKGDIR="/var/portage-packages/genp4"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d a52 acl acpi acpi4linux alsa apache2 apm auctex autofs avi
berkdb bitmap-fonts cjk crypt cups dga divx4linux dvd dvdr encode esd evo f77
faad fam fame fastcgi flash foomaticdb fortran freetype gb gd gdbm gif glut
gnome gphoto2 gpm gtk gtk2 gtkhtml imap imlib innodb ipv6 java jikes jpeg lcms
leim libg++ libgda libwww lzo mad mbox mikmod mjpeg mldonkeypango mmx mmx2 motif
mpeg mule ncurses network nls nvidia offensive oggvorbis opengl oss pam pcap
pcmcia pda pdflib perl pic plotutils png pnp ppds python qt qtmt quicktime
readline real sasl sdl slp spell sse ssl svga tcltx tcpd tetex tiff truetype
truetype-fonts trusted type1-fonts unicode wmf xml2 xmms xv xvid xvmc zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
Comment 1 Leonardo Boshell (RETIRED) gentoo-dev 2005-06-04 12:53:17 UTC
Can you still reproduce this?
If so, please attach the complete output from the emerge process. Also, try
using more conservative CFLAGS.
Comment 2 Nathaniel McCallum (RETIRED) gentoo-dev 2005-07-03 14:22:02 UTC
Closing due to exsessive CFLAGS and lack of response.  If you are still able to
reproduce this with more conservative CFLAGS, please reopen.