#134 Easyinstall: failed - distutils.errors.DistutilsError: Setup script exited with error: SandboxViolation: mkdir('/etc/odcs', 511) {}
Closed Opened by jscotka.

in travis, we had enabled project MTF and We've wanted to add there support for ODCS, and it causes violation and installation failed. see full log:
https://travis-ci.org/fedora-modularity/meta-test-family/builds/305690050?utm_source=github_status&utm_medium=notification

Processing /home/travis/build/fedora-modularity/meta-test-family
    Complete output from command python setup.py egg_info:
    warning: no previously-included files matching '*.pyo' found anywhere in distribution
    warning: no files found matching '*' under directory 'fedmsg.d'
    warning: no files found matching '*' under directory 'contrib'
    warning: no files found matching '*.txt' under directory 'docs'
    warning: no files found matching '*.rst' under directory 'docs'
    warning: no files found matching '*.md' under directory 'docs'
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-ZARICT-build/setup.py", line 107, in <module>
        install_requires=open('requirements.txt').read().splitlines()
      File "/usr/lib/python2.7/distutils/core.py", line 111, in setup
        _setup_distribution = dist = klass(attrs)
      File "/usr/local/lib/python2.7/dist-packages/setuptools/dist.py", line 325, in __init__
        self.fetch_build_eggs(attrs['setup_requires'])
      File "/usr/local/lib/python2.7/dist-packages/setuptools/dist.py", line 446, in fetch_build_eggs
        replace_conflicting=True,
      File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 855, in resolve
        dist = best[req.key] = env.best_match(req, ws, installer)
      File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1127, in best_match
        return self.obtain(req, installer)
      File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1139, in obtain
        return installer(requirement)
      File "/usr/local/lib/python2.7/dist-packages/setuptools/dist.py", line 518, in fetch_build_egg
        return cmd.easy_install(req)
      File "/usr/local/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 672, in easy_install
        return self.install_item(spec, dist.location, tmpdir, deps)
      File "/usr/local/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 698, in install_item
        dists = self.install_eggs(spec, download, tmpdir)
      File "/usr/local/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 879, in install_eggs
        return self.build_and_install(setup_script, setup_base)
      File "/usr/local/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 1118, in build_and_install
        self.run_setup(setup_script, setup_base, args)
      File "/usr/local/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 1106, in run_setup
        raise DistutilsError("Setup script exited with %s" % (v.args[0],))
    distutils.errors.DistutilsError: Setup script exited with error: SandboxViolation: mkdir('/etc/odcs', 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.

I've just uploaded new version 0.1.4. It should be fixed there, can you try it?

Any feedback @jscotka?

Metadata Update from @jkaluza:
- Issue status updated to: Closed (was: Open)

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/pungi/odcs/issues/134

Please continue any further discussion there.

Metadata