Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 267120 - sys-apps/sandbox-1.9 compile error when /proc isnt mounted
Summary: sys-apps/sandbox-1.9 compile error when /proc isnt mounted
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Sandbox Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-22 17:03 UTC by MrSnivvel
Modified: 2009-04-24 05:03 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 MrSnivvel 2009-04-22 17:03:32 UTC
sys-apps/sandbox-1.9 compile during install.



Reproducible: Always




Making all in libsbutil
 CC  get_sandbox_lib.lo
 CC  get_sandbox_conf.lo
 CC  get_sandbox_rc.lo
 CC  get_sandbox_log.lo
 CC  get_tmp_dir.lo
 CC  is_env_on.lo
 CC  is_env_off.lo
 CC  sb_open.lo
 CC  sb_read.lo
 CC  sb_write.lo
 CC  sb_close.lo
 CC  sb_printf.lo
 CC  sb_memory.lo
 CC  debug.lo
 CC  string.lo
 CC  file.lo
 CC  config.lo
 CC  dynbuf.lo
 CCLD  libsbutil.la
Making all in libsandbox
 CC  libsandbox_la-eqawarn.lo
 GEN libsandbox.map
 GEN symbols.h
 CC  libsandbox_la-lock.lo
 CC  libsandbox_la-memory.lo
 GEN trace_syscalls.h
 CC  libsandbox_la-canonicalize.lo
 GEN sb_nr.h
 CC  libsandbox_la-wrappers.lo
 CC  libsandbox_la-libsandbox.lo
 CC  libsandbox_la-trace.lo
../../sandbox-1.9/libsandbox/libsandbox.c:123:3: error: #error "how do i access a proc's fd/ tree ?"
../../sandbox-1.9/libsandbox/libsandbox.c:130:3: error: #error "how do i access a proc's cmdline ?"
../../sandbox-1.9/libsandbox/libsandbox.c: In function 'sb_get_fd_dir':
../../sandbox-1.9/libsandbox/libsandbox.c:125: warning: control reaches end of non-void function
make[2]: *** [libsandbox_la-libsandbox.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Portage 2.1.6.11 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.24-gentoo-r7 x86_64)
=================================================================
System uname: Linux-2.6.24-gentoo-r7-x86_64-with-gentoo-1.12.11.1
Timestamp of tree: Tue, 21 Apr 2009 16:20:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 2.1.7
dev-lang/python:     2.4.4-r13, 2.6.2
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=core2 -mtune=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="candy distcc distlocks fixpackages parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j16"
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"
SYNC="rsync://192.168.1.193/gentoo-portage"
USE="X acl amd64 apache2 avahi bash-completion berkdb bzip2 cairo cli cracklib crypt cups dbus debug dms dmx dri fam fontforge fortran gdbm git gnome gnome-keyring gnutls gpm gtk hal iconv ipv6 isdnlog ithreads java java6 jpeg kerberos ldap midi mmx mono mudflap multilib mysql ncurses nptl nptlonly openmp overlays pam pcre perl php png postgres ppds pppd python readline reflection samba sdl session sockets spl sse sse2 ssl subversion svg sysfs tcpd test threads tiff unicode utils vim-syntax vim-with-x xcb xinerama xml xorg xsl 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 MrSnivvel 2009-04-23 19:01:07 UTC
I remount partitions and the virtual filesystems, re-chrooted, and it was able to compile.
Comment 2 SpanKY gentoo-dev 2009-04-24 05:03:17 UTC
if you dont have /proc mounted, then configure wont be able to detect capabilities properly and then you'll hit errors like that