Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 318107 - app-doc/heirloom-doctools and vim/vim-core cause sandbox violation
Summary: app-doc/heirloom-doctools and vim/vim-core cause sandbox violation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-02 09:18 UTC by Martin Väth
Modified: 2011-01-24 07:57 UTC (History)
3 users (show)

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 Martin Väth 2010-05-02 09:18:21 UTC
This might be an issue of either the vim-core and vim ebuilds (all versions)
or of app-doc/heirloom-doctools:

I am using the latter as a replacement for groff.
When installing vim-core or vim, I receive reproducable after
the configure phase the appended sandbox violation (sandbox-2.2).
Of course, the problem is easily "solved" with FEATURES='-usersandbox',
but perhaps the vim or heirloom-doctools maintainers want to know that
something is wrong:

[...]
>>> Source configured.
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE "/var/log/sandbox/sandbox-9756.log"

VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: chmod
S: deny
P: notty
A: /usr/share/man/notty
R: /usr/share/man/notty
C: /usr/bin/nroff -mg -msafe -mpadj -mandoc

F: chmod
S: deny
P: notty
A: /usr/share/man/notty
R: /usr/share/man/notty
C: /usr/bin/nroff -mg -msafe -mpadj -mandoc
Comment 1 Panagiotis Christopoulos (RETIRED) gentoo-dev 2010-05-05 13:36:08 UTC
Please paste your "emerge --info" and emerge -pv heirloom-doctools vim vim-core" output.
Comment 2 Martin Väth 2010-05-05 17:36:26 UTC
Sure; just let me note that I tried also with FEATURES=-ccache
(i.e. the current experimental ccache is not the cuplrit),
and IIRC the problem existed already with earlier gcc versions.

Portage 2.2_rc67 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.0,
glibc-2.11.1-r0, 2.6.33-martin-r3 x86_64)
=================================================================
System uname: Linux-2.6.33-martin-r3-x86_64-Intel-R-_Pentium-R-_Dual_CPU_E2200_@_2.20GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 04 May 2010 16:15:01 +0000
ccache version 3.0pre0 [enabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4-r1
dev-util/ccache:     3.0_pre0
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.10.3, 1.11.1
sys-devel/binutils:  2.20.1
sys-devel/gcc:       4.5.0
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ABI="amd64"
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* DOOM3 PUEL RTCW RTCW-ETEULA"
ACCEPT_PROPERTIES="*"
ALSA_CARDS="seqdummy serialmidi virmidi bt87x hda-intel mpu401 serial-u16550 usb-audio"
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"
ANT_HOME="/usr/share/ant"
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"
ARCH="amd64"
ASFLAGS_x86="--32"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CCACHE_BASEDIR="/var/tmp/portage"
CCACHE_SIZE="4G"
CDEFINE_amd64="__x86_64__"
CDEFINE_x86="__i386__"
CFLAGS="-march=native -O2 -fno-ident -pipe"
CFLAGS_x86="-m32"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x86="i686-pc-linux-gnu"
CLEAN_DELAY="5"
COLLISION_IGNORE="/lib/modules /gentoo32/lib/modules /gentoo64/lib/modules /usr/src /gentoo32/usr/src /gentoo64/usr/src"
CONFIG_PROTECT="/etc /home/gentoo /usr/share/X11/xkb /usr/share/config /usr/share/emacs/site-lisp/site-start.el /usr/share/fonts/misc/fonts.alias /var/lib/alsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CVS_RSH="ssh"
CXXFLAGS="-march=native -O2 -fno-ident -pipe"
DEFAULT_ABI="amd64"
DISTDIR=<path manually removed>
EBEEP_IGNORE="true"
ECVS_OFFLINE="1"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--verbose --nospinner --ask-enter-invalid --unordered-display --oneshot --with-bdeps y --keep-going"
EMERGE_WARNING_DELAY="10"
EPAUSE_IGNORE="true"
EPREFIX=""
EROOT="/"
ESCM_OFFLINE="1"
FEATURES="assume-digests candy ccache collision-protect distlocks fixpackages multilib-strict news sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg"
FETCHCOMMAND=<manually removed>
FLTK_DOCDIR="/usr/share/doc/fltk-2.0_pre6786-r1/html"
FOO2ZJS_DEVICES="hpp1505"
FRACTDIR="/usr/share/xfractint"
GCC_SPECS=""
GDK_USE_XFT="1"
GENTOO_MIRRORS=<manually removed>
INFOPATH="/usr/share/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.20.1/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.0/info:/usr/share/info/emacs-23"
INPUT_DEVICES="evdev keyboard mouse"
JAVACC_HOME="/usr/share/javacc/"
KDE_MALLOC="1"
KDE_NO_IPV6="1"
KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LDFLAGS="-Wl,--hash-style=gnu -Wl,--sort-common -Wl,-O9 -Wl,--enable-new-dtags"
LDFLAGS_x86="-m elf_i386"
LESS="-sFR -iMX --shift 5"
LESSOPEN="|lesspipe.sh %s"
LIBDIR_amd64="lib64"
LIBDIR_amd64_fbsd="lib64"
LIBDIR_ppc="lib32"
LIBDIR_ppc64="lib64"
LIBDIR_sparc32="lib32"
LIBDIR_sparc64="lib64"
LIBDIR_x86="lib32"
LIBDIR_x86_fbsd="lib32"
LINGUAS="en en_US de de_DE"
LIRC_DEVICES="pctv"
MAKEOPTS="-j3 --no-print-directory"
MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.20.1/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.0/man:/etc/java-config/system-vm/man/:/opt/opera/share/man"
MULTILIB_ABIS="amd64 x86"
MULTILIB_STRICT_DENY="64-bit.*shared object"
MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib /usr/X11R6/lib32 /usr/X11R6/lib"
MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|binutils|eclipse-3|debug|portage)"
MY_RSYNC_EXCLUDEFROM="/home/gentoo/various/etc/portage/rsync_excludes"
NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml"
NOCOLOR="true"
OPENGL_PROFILE="nvidia"
PATH="/home/gentoo/various/bin:/home/bin:/home/bin/perl:/usr/local/bin:/usr/local/sbin:/usr/lib/colorgcc/bin:/usr/lib/cw:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.0:/root/b"
PKGDIR="/big/gentoo/x86_64"
PORTAGE_ARCHLIST="ppc x86-openbsd ppc-openbsd ppc64 x86-winnt x86-fbsd ppc-aix alpha arm x86-freebsd s390 amd64 arm-linux x86-macos x64-openbsd ia64-hpux hppa x86-netbsd amd64-linux ia64-linux x86 sparc-solaris x64-freebsd sparc64-solaris x86-linux x64-macos sparc m68k-mint ia64 mips ppc-macos x86-interix hppa-hpux amd64-fbsd x64-solaris mips-irix m68k sh x86-solaris sparc-fbsd"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/usr/lib64/portage/bin"
PORTAGE_COMPRESS="/home/bin/xzbest"
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="log warn error"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="echo save"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="250"
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_IONICE_COMMAND="ionice -c 3 -p ${PID}"
PORTAGE_NICENESS="9"
PORTAGE_PYM_PATH="/usr/lib64/portage/pym"
PORTAGE_RSYNC_EXTRA_OPTS="-P --exclude=/.unionfs --exclude-from=/home/gentoo/various/etc/portage/rsync_excludes"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_RSYNC_RETRIES="3"
PORTAGE_STRIP_FLAGS="--strip-all --discard-all -R .comment -R .note -R .note.ABI-tag"
PORTAGE_SYNC_STALE="30"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR=<manually removed>
PORTDIR_OVERLAY=<manually removed>
PORT_LOGDIR="/var/log/portage"
PROFILE_ONLY_VARIABLES="ARCH ELIBC KERNEL USERLAND"
PYTHONDOCS="/usr/share/doc/python-docs-2.6.4/html/library"
PYTHONDOCS_2_6="/usr/share/doc/python-docs-2.6.4/html/library"
PYTHONDONTWRITEBYTECODE="1"
QUICKPKG_DEFAULT_OPTS="--umask=022 --include-config=y --include-unmodified-config=y"
RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
ROOT="/"
ROOTPATH="/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.0"
RPMDIR="/usr/portage/rpm"
RUBY_TARGETS="ruby18"
SANE_BACKENDS="mustek_pp"
STAGE1_USE="multilib nptl nptlonly unicode"
SYMLINK_LIB="yes"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
TRICKYLOG="/var/tmp/portage/trickyfetch.log"
USE="64bit X a52 aac acpi aften alsa amd64 amr archive branding bzip2 cdda cdparanoia cdr cg chipcard crypt css cuda custom-cflags custom-cpuopts custom-optimization cxx dga dirac djvu double-precision dri dts dv dvd dvdnav dvdr dynamic emboss encode faac faad ffmpeg firefox flac fortran gif gmp gpm gsm gtk hal handbook hardened hbci idea jbig jpeg jpeg2k kde kpathsea latex lirc logrotate lzma mad metric mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib musepack ncurses nptl nptlonly nvidia nxclient octave ogg opengl openmp otr pcre pdf pic png posix pppd qt3support qt4 quicktime rar readline reflection resolvconf rle schroedinger sdl shout sid sip speex spell spl sse sse2 sse3 ssl ssp ssse3 sysfs theora tiff timidity unicode usb v4l2 vcd vdpau vorbis x264 xine xorg xulrunner xv xvid xvmc zip zlib zsh-completion zvbi" ALSA_CARDS="seqdummy serialmidi virmidi bt87x hda-intel mpu401 serial-u16550 usb-audio" 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" FOO2ZJS_DEVICES="hpp1505" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US de de_DE" LIRC_DEVICES="pctv" RUBY_TARGETS="ruby18" SANE_BACKENDS="mustek_pp" USERLAND="GNU" VIDEO_CARDS="nv nvidia v4l" 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" 
USERLAND="GNU"
USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CAMERAS CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS NETBEANS_MODULES NGINX_MODULES_HTTP NGINX_MODULES_MAIL QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS RUBY_TARGETS SANE_BACKENDS USERLAND VIDEO_CARDS XTABLES_ADDONS"
USE_EXPAND_HIDDEN=""
USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d"
VESA="no"
VIDEO_CARDS="nv nvidia v4l"
XDG_CONFIG_DIRS="/etc/xdg"
XDG_DATA_DIRS="/usr/local/share:/usr/share"
XERCESC_NLS_HOME="/usr/share/xerces-c/msg"
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"


The same error occurs at least also for vim-core-7.2.411, presumably also
for all other versions of vim, vim-core.

[ebuild   R   ] app-editors/vim-core-7.2.303  USE="-acl -bash-completion -livecd -nls" 0 kB
[ebuild   R   ] app-doc/heirloom-doctools-080407-r2  USE="-cxx" 0 kB
[ebuild   R   ] app-editors/vim-7.2.303  USE="gpm -acl -bash-completion -cscope -debug -minimal -nls -perl -python -ruby -vim-pager -vim-with-x" 0 kB
Comment 3 Torsten Veller (RETIRED) gentoo-dev 2011-01-24 07:57:20 UTC
The package was removed from the tree.