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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

snap builds failing on s390x, arm #521

Closed
adam-stokes opened this issue May 17, 2019 · 0 comments · Fixed by #548
Closed

snap builds failing on s390x, arm #521

adam-stokes opened this issue May 17, 2019 · 0 comments · Fixed by #548
Assignees

Comments

@adam-stokes
Copy link

[01/May/2019:14:51:36 +0000] "CONNECT pypi.org:443 HTTP/1.0" 200 83881 "-" "-"
[01/May/2019:14:51:36 +0000] "CONNECT files.pythonhosted.org:443 HTTP/1.0" 200 622287 "-" "-"
  ERROR: Complete output from command /build/charm/parts/charm-tools/install/usr/bin/python3 /build/charm/parts/charm-tools/install/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmpksc_uhbe:
  ERROR: Traceback (most recent call last):
    File "/build/charm/parts/charm-tools/install/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py", line 207, in <module>
      main()
    File "/build/charm/parts/charm-tools/install/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py", line 197, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/build/charm/parts/charm-tools/install/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py", line 48, in get_requires_for_build_wheel
      backend = _build_backend()
    File "/build/charm/parts/charm-tools/install/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py", line 39, in _build_backend
      obj = getattr(obj, path_part)
  AttributeError: module 'setuptools.build_meta' has no attribute '__legacy__'
  ----------------------------------------
  Getting requirements to build wheel: finished with status 'error'
ERROR: Command "/build/charm/parts/charm-tools/install/usr/bin/pytho

https://launchpadlibrarian.net/421791178/buildlog_snap_ubuntu_bionic_s390x_681cc7a9b635a1e50b11af9067b472ad_BUILDING.txt.gz

Google searching led me to pypa/setuptools#1694

Is this a possible cause? I need updated charm-tools for alt arches

johnsca added a commit that referenced this issue Sep 20, 2019
Snap builds for several arches have been failing for a long time due to
the setuptools / pip `__legacy__` attribute issue.  This fixes that by
removing unnecessary system packages during the build

Fixes #521
johnsca added a commit that referenced this issue Sep 20, 2019
Snap builds for several arches have been failing for a long time due to
the setuptools / pip `__legacy__` attribute issue.  This fixes that by
removing unnecessary system packages during the build

Fixes #521
timClicks pushed a commit to timClicks/charm-tools that referenced this issue May 6, 2020
Snap builds for several arches have been failing for a long time due to
the setuptools / pip `__legacy__` attribute issue.  This fixes that by
removing unnecessary system packages during the build

Fixes juju#521
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

Successfully merging a pull request may close this issue.

2 participants