Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

charm-tools 2.8.1 osx build failure #597

Open
chenrui333 opened this issue Jan 28, 2021 · 0 comments
Open

charm-tools 2.8.1 osx build failure #597

chenrui333 opened this issue Jan 28, 2021 · 0 comments

Comments

@chenrui333
Copy link
Contributor

馃憢 trying to build the latest release, but run into some build issue. The error log is as below:

build failure
Processing /private/tmp/charm-tools--jsonschema-20210128-47353-1guqt1m/jsonschema-2.5.1
  Created temporary directory: /private/tmp/pip-req-build-ufwrjsjd
  Added file:///private/tmp/charm-tools--jsonschema-20210128-47353-1guqt1m/jsonschema-2.5.1 to build tracker '/private/tmp/pip-req-tracker-qitpz9d6'
    Running setup.py (path:/private/tmp/pip-req-build-ufwrjsjd/setup.py) egg_info for package from file:///private/tmp/charm-tools--jsonschema-20210128-47353-1guqt1m/jsonschema-2.5.1
    Created temporary directory: /private/tmp/pip-pip-egg-info-pmflgwij
    Running command python setup.py egg_info
    WARNING: The wheel package is not available.
      ERROR: Command errored out with exit status 1:
       command: /usr/local/Cellar/charm-tools/2.8.1/libexec/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/tmp/pip-wheel-eku__4bj/vcversioner/setup.py'"'"'; __file__='"'"'/private/tmp/pip-wheel-eku__4bj/vcversioner/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/tmp/pip-wheel-62_lnytw
           cwd: /private/tmp/pip-wheel-eku__4bj/vcversioner/
      Complete output (6 lines):
      usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
         or: setup.py --help [cmd1 cmd2 ...]
         or: setup.py --help-commands
         or: setup.py cmd --help

      error: invalid command 'bdist_wheel'
      ----------------------------------------
      ERROR: Failed building wheel for vcversioner
    ERROR: Failed to build one or more wheels
    Traceback (most recent call last):
      File "/usr/local/Cellar/charm-tools/2.8.1/libexec/lib/python3.8/site-packages/setuptools/installer.py", line 128, in fetch_build_egg
        subprocess.check_call(cmd)
      File "/usr/local/opt/python@3.8/Frameworks/Python.framework/Versions/3.8/lib/python3.8/subprocess.py", line 364, in check_call
        raise CalledProcessError(retcode, cmd)
    subprocess.CalledProcessError: Command '['/usr/local/Cellar/charm-tools/2.8.1/libexec/bin/python3.8', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/private/tmp/tmp8gnvsxf0', '--quiet', 'vcversioner']' returned non-zero exit status 1.

    The above exception was the direct cause of the following exception:

    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/tmp/pip-req-build-ufwrjsjd/setup.py", line 30, in <module>
        setup(
      File "/usr/local/Cellar/charm-tools/2.8.1/libexec/lib/python3.8/site-packages/setuptools/__init__.py", line 164, in setup
        _install_setup_requires(attrs)
      File "/usr/local/Cellar/charm-tools/2.8.1/libexec/lib/python3.8/site-packages/setuptools/__init__.py", line 159, in _install_setup_requires
        dist.fetch_build_eggs(dist.setup_requires)
      File "/usr/local/Cellar/charm-tools/2.8.1/libexec/lib/python3.8/site-packages/setuptools/dist.py", line 699, in fetch_build_eggs
        resolved_dists = pkg_resources.working_set.resolve(
      File "/usr/local/Cellar/charm-tools/2.8.1/libexec/lib/python3.8/site-packages/pkg_resources/__init__.py", line 779, in resolve
        dist = best[req.key] = env.best_match(
      File "/usr/local/Cellar/charm-tools/2.8.1/libexec/lib/python3.8/site-packages/pkg_resources/__init__.py", line 1064, in best_match
        return self.obtain(req, installer)
      File "/usr/local/Cellar/charm-tools/2.8.1/libexec/lib/python3.8/site-packages/pkg_resources/__init__.py", line 1076, in obtain
        return installer(requirement)
      File "/usr/local/Cellar/charm-tools/2.8.1/libexec/lib/python3.8/site-packages/setuptools/dist.py", line 758, in fetch_build_egg
        return fetch_build_egg(self, req)
      File "/usr/local/Cellar/charm-tools/2.8.1/libexec/lib/python3.8/site-packages/setuptools/installer.py", line 130, in fetch_build_egg
        raise DistutilsError(str(e)) from e
    distutils.errors.DistutilsError: Command '['/usr/local/Cellar/charm-tools/2.8.1/libexec/bin/python3.8', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/private/tmp/tmp8gnvsxf0', '--quiet', 'vcversioner']' returned non-zero exit status 1.
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Full build log is in here, https://github.com/Homebrew/homebrew-core/runs/1787018218
relates to Homebrew/homebrew-core#69939

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant