Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 556160 - dev-lang/orc-0.4.24 - sandbox violation
Summary: dev-lang/orc-0.4.24 - sandbox violation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: GStreamer package maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-28 20:00 UTC by Kobboi
Modified: 2015-07-29 12:51 UTC (History)
0 users

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


Attachments
build.log (build.log,186.11 KB, text/plain)
2015-07-28 20:01 UTC, Kobboi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kobboi 2015-07-28 20:00:37 UTC
$ sudo cat /var/log/sandbox/sandbox-3590.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
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: 
F: mkstempmkstemp
S: 
S: denydeny
P: 
P: /run/user/0/orcexec.XXXXXX/run/user/0/orcexec.XXXXXX
A: 
A: /run/user/0/orcexec.XXXXXX/run/user/0/orcexec.XXXXXX
R: 
R: /run/user/0/orcexec.XXXXXX/run/user/0/orcexec.XXXXXX
C: 
C: 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: mkstemp
S: deny/var/tmp/portage/dev-lang/orc-0.4.24/work/orc-0.4.24-abi_x86_32.x86/tools/.libs/orcc --implementation -o example2orc.c /var/tmp/portage/dev-lang/orc-0.4.24/work/orc-0.4.24/examples/example2orc.orc /var/tmp/portage/dev-lang/orc-0.4.24/work/orc-0.4.24-abi_x86_32.x86/tools/.libs/orcc --implementation -o example1orc.c /var/tmp/portage/dev-lang/orc-0.4.24/work/orc-0.4.24/examples/example1orc.orc 
P: /run/user/0/orcexec.XXXXXX
A: /run/user/0/orcexec.XXXXXX
R: 

/run/user/0/orcexec.XXXXXX
C: 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: mkstemp/var/tmp/portage/dev-lang/orc-0.4.24/work/orc-0.4.24-abi_x86_32.x86/tools/.libs/orcc --implementation -o mt19937arorc.c /var/tmp/portage/dev-lang/orc-0.4.24/work/orc-0.4.24/examples/mt19937arorc.orc 
S: deny
P: /run/user/0/orcexec.XXXXXX

A: /run/user/0/orcexec.XXXXXX
R: /run/user/0/orcexec.XXXXXX
C: /var/tmp/portage/dev-lang/orc-0.4.24/work/orc-0.4.24-abi_x86_32.x86/tools/.libs/orcc --implementation -o example3orc.c /var/tmp/portage/dev-lang/orc-0.4.24/work/orc-0.4.24/examples/example3orc.orc 

F: mkstemp
S: deny
P: /run/user/0/orcexec.XXXXXX
A: /run/user/0/orcexec.XXXXXX
R: /run/user/0/orcexec.XXXXXX
C: /var/tmp/portage/dev-lang/orc-0.4.24/work/orc-0.4.24-abi_x86_64.amd64/tools/.libs/orcc --implementation -o example1orc.c /var/tmp/portage/dev-lang/orc-0.4.24/work/orc-0.4.24/examples/example1orc.orc 

F: mkstemp
S: deny
P: /run/user/0/orcexec.XXXXXX
A: /run/user/0/orcexec.XXXXXX
R: /run/user/0/orcexec.XXXXXX
C: /var/tmp/portage/dev-lang/orc-0.4.24/work/orc-0.4.24-abi_x86_64.amd64/tools/.libs/orcc --implementation -o mt19937arorc.c /var/tmp/portage/dev-lang/orc-0.4.24/work/orc-0.4.24/examples/mt19937arorc.orc 

F: mkstemp
S: deny
P: /run/user/0/orcexec.XXXXXX
A: /run/user/0/orcexec.XXXXXX
R: /run/user/0/orcexec.XXXXXX
C: /var/tmp/portage/dev-lang/orc-0.4.24/work/orc-0.4.24-abi_x86_64.amd64/tools/.libs/orcc --implementation -o example2orc.c /var/tmp/portage/dev-lang/orc-0.4.24/work/orc-0.4.24/examples/example2orc.orc 

F: mkstemp
S: deny
P: /run/user/0/orcexec.XXXXXX
A: /run/user/0/orcexec.XXXXXX
R: /run/user/0/orcexec.XXXXXX
C: /var/tmp/portage/dev-lang/orc-0.4.24/work/orc-0.4.24-abi_x86_64.amd64/tools/.libs/orcc --implementation -o example3orc.c /var/tmp/portage/dev-lang/orc-0.4.24/work/orc-0.4.24/examples/example3orc.orc 


Reproducible: Always
Comment 1 Kobboi 2015-07-28 20:01:01 UTC
Created attachment 407822 [details]
build.log
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2015-07-28 20:29:37 UTC
Attach your emerge --info please, we need to see your make.conf FEATURES.
Comment 3 Kobboi 2015-07-28 20:39:01 UTC
Portage 2.2.20 (python 2.7.10-final-0, default/linux/amd64/13.0/desktop/gnome/systemd, gcc-4.9.3, glibc-2.21-r1, 4.1.3-gentoo x86_64)
=================================================================
System uname: Linux-4.1.3-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_930_@_2.80GHz-with-gentoo-2.2
KiB Mem:     8168232 total,    128356 free
KiB Swap:    8388604 total,   8298892 free
Timestamp of repository gentoo: Tue, 28 Jul 2015 13:30:01 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.25.1 p1.0) 2.25.1
app-shells/bash:          4.3_p39::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.22.0::gentoo
dev-lang/python:          2.7.10::gentoo, 3.3.5-r1::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.3.0::gentoo
dev-util/pkgconfig:       0.28-r3::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.10.3-r1::gentoo, 1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           3.82-r4::gentoo
sys-kernel/linux-headers: 4.1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:

gentoo
    location: /var/cache/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

funtoo-gambas
    location: /var/lib/layman/funtoo-gambas
    sync-type: laymansync
    sync-uri: https://github.com/damex/funtoo-gambas.git
    masters: gentoo
    priority: 50

sunrise
    location: /var/lib/layman/sunrise
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/sunrise-reviewed.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /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"
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
DISTDIR="/var/cache/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/var/cache/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth bzip2 cairo cdda cdr cli colord cracklib crypt cups cxx dbus dri dts dvd dvdr eds egl emboss encode evo examples exif fam ffmpeg firefox flac fortran gdbm gif glamor gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv introspection ipv6 jpeg lcms ldap libass libnotify libsecret mad mmx mmxext mng modemmanager modules mp3 mp4 mpeg mtp multilib nautilus ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt3support qt4 readline samba sdl session spell sse sse2 ssl startup-notification svg systemd tcpd tiff tracker truetype udev udisks unicode upnp upower usb vdpau vorbis wayland wxwidgets x264 xcb xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3 sse4" 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 ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 4 Pacho Ramos gentoo-dev 2015-07-28 21:08:46 UTC
Maybe this needs to inherit gnome2-utils eclass and call gnome2_environment_reset at src_prepare :|
Comment 5 Alexandre Rostovtsev (RETIRED) gentoo-dev 2015-07-29 12:51:13 UTC
(In reply to Pacho Ramos from comment #4)
> Maybe this needs to inherit gnome2-utils eclass and call
> gnome2_environment_reset at src_prepare :|

You are right, it's the same as in bug #543364

+  29 Jul 2015; Alexandre Rostovtsev <tetromino@gentoo.org> orc-0.4.23.ebuild,
+  orc-0.4.24.ebuild:
+  Fix sandbox violation when USE=examples and XDG_RUNTIME_DIR doesn't match
+  portage user (bug #556160, thanks to Kobboi and Pacho Ramos).