Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 536536 - dev-python/osprofiler-0.3.0 - setuptools.sandbox.SandboxViolation: SandboxViolation: mkdir('/var/tmp/portage/dev-python/osprofiler-0.3.0/work/osprofiler-0.3.0-python3_3/pbr.egg-info', 511) {}
Summary: dev-python/osprofiler-0.3.0 - setuptools.sandbox.SandboxViolation: SandboxVio...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-13 22:05 UTC by Toralf Förster
Modified: 2015-01-29 05:45 UTC (History)
1 user (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 Toralf Förster gentoo-dev 2015-01-13 22:05:32 UTC
These are the packages that would be merged, in reverse order:

Calculating dependencies  ... done!
[ebuild  N     ] dev-python/osprofiler-0.3.0  PYTHON_TARGETS="python2_7 python3_3 -python3_4" 
[ebuild  N     ]  dev-python/six-1.9.0  USE="-doc {-test}" PYTHON_TARGETS="python2_7 python3_3 -pypy -pypy3 -python3_4" 
[ebuild  N     ]  dev-python/webob-1.4  USE="-doc {-test}" PYTHON_TARGETS="python2_7 python3_3 -pypy -python3_4" 

>>> Verifying ebuild manifests
>>> Jobs: 0 of 3 complete, 1 running                Load avg: 12.5, 12.0, 11.8
>>> Emerging (1 of 3) dev-python/webob-1.4::gentoo
>>> Jobs: 0 of 3 complete, 1 running                Load avg: 12.5, 12.0, 11.8
>>> Installing (1 of 3) dev-python/webob-1.4::gentoo
>>> Jobs: 0 of 3 complete, 1 running                Load avg: 12.4, 11.9, 11.8
>>> Jobs: 0 of 3 complete                           Load avg: 12.4, 11.9, 11.8
>>> Jobs: 1 of 3 complete                           Load avg: 12.3, 11.9, 11.8
>>> Jobs: 1 of 3 complete, 1 running                Load avg: 12.3, 11.9, 11.8
>>> Emerging (2 of 3) dev-python/six-1.9.0::gentoo
>>> Jobs: 1 of 3 complete, 1 running                Load avg: 12.3, 11.9, 11.8
>>> Installing (2 of 3) dev-python/six-1.9.0::gentoo
>>> Jobs: 1 of 3 complete, 1 running                Load avg: 12.1, 11.9, 11.8
>>> Jobs: 1 of 3 complete                           Load avg: 12.1, 11.9, 11.8
>>> Jobs: 2 of 3 complete                           Load avg: 12.2, 11.9, 11.8
>>> Jobs: 2 of 3 complete, 1 running                Load avg: 12.2, 11.9, 11.8
>>> Emerging (3 of 3) dev-python/osprofiler-0.3.0::gentoo
>>> Jobs: 2 of 3 complete, 1 running                Load avg: 12.2, 11.9, 11.8
>>> Failed to emerge dev-python/osprofiler-0.3.0, Log file:
>>> Jobs: 2 of 3 complete, 1 running                Load avg: 12.2, 11.9, 11.8
>>>  '/var/log/portage/dev-python:osprofiler-0.3.0:20150113-214515.log'
>>> Jobs: 2 of 3 complete, 1 running                Load avg: 12.2, 11.9, 11.8
>>> Jobs: 2 of 3 complete, 1 running, 1 failed      Load avg: 12.2, 11.9, 11.8
>>> Jobs: 2 of 3 complete, 1 failed                 Load avg: 12.2, 11.9, 11.8

 * Package:    dev-python/osprofiler-0.3.0
 * Repository: gentoo
 * Maintainer: prometheanfire@gentoo.org openstack@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_3 userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking osprofiler-0.3.0.tar.gz to /var/tmp/portage/dev-python/osprofiler-0.3.0/work
>>> Source unpacked in /var/tmp/portage/dev-python/osprofiler-0.3.0/work
>>> Preparing source in /var/tmp/portage/dev-python/osprofiler-0.3.0/work/osprofiler-0.3.0 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/osprofiler-0.3.0/work/osprofiler-0.3.0 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/osprofiler-0.3.0/work/osprofiler-0.3.0 ...
 * python3_3: running distutils-r1_run_phase distutils-r1_python_compile
/usr/bin/python3.3 setup.py build
/usr/lib64/python3.3/site-packages/pkg_resources/__init__.py:2449: PEP440Warning: 'pbr (0.5.2.5.g5b3e942)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
  PEP440Warning,
Traceback (most recent call last):
  File "/usr/lib64/python3.3/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib64/python3.3/distutils/dist.py", line 930, in run_commands
    self.run_command(cmd)
  File "/usr/lib64/python3.3/distutils/dist.py", line 949, in run_command
    cmd_obj.run()
  File "/usr/lib64/python3.3/site-packages/setuptools/command/bdist_egg.py", line 152, in run
    self.run_command("egg_info")
  File "/usr/lib64/python3.3/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/lib64/python3.3/distutils/dist.py", line 949, in run_command
    cmd_obj.run()
  File "/usr/lib64/python3.3/site-packages/setuptools/command/egg_info.py", line 164, in run
    self.mkpath(self.egg_info)
  File "/usr/lib64/python3.3/distutils/cmd.py", line 339, in mkpath
    dir_util.mkpath(name, mode, dry_run=self.dry_run)
  File "/usr/lib64/python3.3/distutils/dir_util.py", line 70, in mkpath
    os.mkdir(head, mode)
  File "/usr/lib64/python3.3/site-packages/setuptools/sandbox.py", line 234, in wrap
    path = self._remap_input(name,path,*args,**kw)
  File "/usr/lib64/python3.3/site-packages/setuptools/sandbox.py", line 373, in _remap_input
    self._violation(operation, os.path.realpath(path), *args, **kw)
  File "/usr/lib64/python3.3/site-packages/setuptools/sandbox.py", line 329, in _violation
    raise SandboxViolation(operation, args, kw)
setuptools.sandbox.SandboxViolation: SandboxViolation: mkdir('/var/tmp/portage/dev-python/osprofiler-0.3.0/work/osprofiler-0.3.0-python3_3/pbr.egg-info', 511) {}

The package setup script has attempted to modify files on your system
that are not within the EasyInstall build area, and has been aborted.

This package cannot be safely installed by EasyInstall, and may not
support alternate installation locations even if you run its setup
script by hand.  Please inform the package's author and the EasyInstall
maintainers to find out if a fix or workaround is available.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib64/python3.3/site-packages/setuptools/command/easy_install.py", line 1045, in run_setup
    run_setup(setup_script, args)
  File "/usr/lib64/python3.3/site-packages/setuptools/sandbox.py", line 180, in run_setup
    DirectorySandbox(setup_dir).run(runner)
  File "/usr/lib64/python3.3/site-packages/setuptools/sandbox.py", line 211, in run
    return func()
  File "/usr/lib64/python3.3/site-packages/setuptools/sandbox.py", line 179, in runner
    _execfile(setup_script, ns)
  File "/usr/lib64/python3.3/site-packages/setuptools/sandbox.py", line 44, in _execfile
    exec(code, globals, locals)
  File "/var/tmp/portage/dev-python/osprofiler-0.3.0/temp/easy_install-g8dkf2/pbr-0.10.7/setup.py", line 22, in <module>
  File "/usr/lib64/python3.3/distutils/core.py", line 165, in setup
    raise SystemExit("error: " + str(msg))
SystemExit: error: SandboxViolation: mkdir('/var/tmp/portage/dev-python/osprofiler-0.3.0/work/osprofiler-0.3.0-python3_3/pbr.egg-info', 511) {}

The package setup script has attempted to modify files on your system
that are not within the EasyInstall build area, and has been aborted.

This package cannot be safely installed by EasyInstall, and may not
support alternate installation locations even if you run its setup
script by hand.  Please inform the package's author and the EasyInstall
maintainers to find out if a fix or workaround is available.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "setup.py", line 7, in <module>
    pbr=True)
  File "/usr/lib64/python3.3/distutils/core.py", line 109, in setup
    _setup_distribution = dist = klass(attrs)
  File "/usr/lib64/python3.3/site-packages/setuptools/dist.py", line 266, in __init__
    self.fetch_build_eggs(attrs['setup_requires'])
  File "/usr/lib64/python3.3/site-packages/setuptools/dist.py", line 312, in fetch_build_eggs
    replace_conflicting=True,
  File "/usr/lib64/python3.3/site-packages/pkg_resources/__init__.py", line 753, in resolve
    dist = best[req.key] = env.best_match(req, ws, installer)
  File "/usr/lib64/python3.3/site-packages/pkg_resources/__init__.py", line 1005, in best_match
    return self.obtain(req, installer)
  File "/usr/lib64/python3.3/site-packages/pkg_resources/__init__.py", line 1017, in obtain
    return installer(requirement)
  File "/usr/lib64/python3.3/site-packages/setuptools/dist.py", line 379, in fetch_build_egg
    return cmd.easy_install(req)
  File "/usr/lib64/python3.3/site-packages/setuptools/command/easy_install.py", line 618, in easy_install
    return self.install_item(spec, dist.location, tmpdir, deps)
  File "/usr/lib64/python3.3/site-packages/setuptools/command/easy_install.py", line 648, in install_item
    dists = self.install_eggs(spec, download, tmpdir)
  File "/usr/lib64/python3.3/site-packages/setuptools/command/easy_install.py", line 838, in install_eggs
    return self.build_and_install(setup_script, setup_base)
  File "/usr/lib64/python3.3/site-packages/setuptools/command/easy_install.py", line 1060, in build_and_install
    self.run_setup(setup_script, setup_base, args)
  File "/usr/lib64/python3.3/site-packages/setuptools/command/easy_install.py", line 1048, in run_setup
    raise DistutilsError("Setup script exited with %s" % (v.args[0],))
distutils.errors.DistutilsError: Setup script exited with error: SandboxViolation: mkdir('/var/tmp/portage/dev-python/osprofiler-0.3.0/work/osprofiler-0.3.0-python3_3/pbr.egg-info', 511) {}

The package setup script has attempted to modify files on your system
that are not within the EasyInstall build area, and has been aborted.

This package cannot be safely installed by EasyInstall, and may not
support alternate installation locations even if you run its setup
script by hand.  Please inform the package's author and the EasyInstall
maintainers to find out if a fix or workaround is available.
 * ERROR: dev-python/osprofiler-0.3.0::gentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_compile
 *   environment, line 3619:  Called distutils-r1_src_compile
 *   environment, line 1037:  Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
 *   environment, line  260:  Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 3212:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2340:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2338:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line  711:  Called distutils-r1_run_phase 'distutils-r1_python_compile'
 *   environment, line 1028:  Called distutils-r1_python_compile
 *   environment, line  909:  Called esetup.py 'build'
 *   environment, line 1509:  Called die
 * The specific snippet of code:
 *       "${@}" || die
 * 
 * If you need support, post the output of `emerge --info '=dev-python/osprofiler-0.3.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/osprofiler-0.3.0::gentoo'`.
 * The complete build log is located at '/var/log/portage/dev-python:osprofiler-0.3.0:20150113-214515.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/osprofiler-0.3.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/osprofiler-0.3.0/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/osprofiler-0.3.0/work/osprofiler-0.3.0'
 * S: '/var/tmp/portage/dev-python/osprofiler-0.3.0/work/osprofiler-0.3.0'

 * GNU info directory index is up-to-date.


! ! !  This is a build bot chroot located at a hardened amd64 host ! ! !

Portage 2.2.15 (python 2.7.9-final-0, default/linux/amd64/13.0, gcc-4.8.4, glibc-2.20-r1, 3.17.7-hardened-r1 x86_64)
=================================================================
System uname: Linux-3.17.7-hardened-r1-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16166924 total,   1229736 free
KiB Swap:   16777212 total,  16762812 free
Timestamp of tree: Tue, 13 Jan 2015 16:15:01 +0000
sh bash 4.3_p33
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.3_p33
dev-lang/perl:            5.20.1-r4
dev-lang/python:          2.7.9-r1, 3.3.5-r1
dev-util/cmake:           3.0.2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.6
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.15
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.4
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.4
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.18 (virtual/os-headers)
sys-libs/glibc:           2.20-r1
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-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/php/apache2-php5.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner --tree --quiet-build --deep --jobs 1"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs 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://mirror.leaseweb.com/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
PKGDIR="/usr/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"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="acl amd64 berkdb bindist bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 mbox mmx modules multilib ncurses nls nptl openmp pam pax_kernel pcre readline session sse sse2 ssl tcpd unicode zlib" ABI_X86="64" 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" 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" 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_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy 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"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2015-01-29 05:45:47 UTC
Was missing pbr from depends, added now.  Thanks