Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B buck
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 201
    • Issues 201
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 22
    • Merge requests 22
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • buck
  • Issues
  • #2635
Closed
Open
Issue created Aug 07, 2021 by Administrator@rootContributor

make_pex.py failed on Building in WSL:Ubuntu

Created by: mh884

Build the project by using ./bin/buck build --show-output buck it throw error common.py should handle the permission but for some reason there is something is not right
Python 3.8.5 buck version 87135f8e0de092a6be12736c5254c0c125a2b238

`Building: finished in 4.1 sec (100%) 202/1853 jobs, 77 updated Total time: 4.1 sec Command failed with exit code 1.

command: [/usr/bin/python3, /mnt/c/buck/ant-out/buck-modules-resources/python/make_pex.py, --python-shebang=/usr/bin/env python3, --python, /usr/bin/python3, --python-version, CPython 3.8, --entry-point, programs.gen_buck_info, buck-out/gen/ce9b6f2e/programs/gen_buck_info.pex]

stderr: Traceback (most recent call last): File "/mnt/c/buck/ant-out/buck-modules-resources/python/make_pex.py", line 193, in sys.exit(main()) File "/mnt/c/buck/ant-out/buck-modules-resources/python/make_pex.py", line 190, in main pex_builder.build(output) File "/mnt/c/buck/third-party/py/pex/pex/pex_builder.py", line 418, in build chmod_plus_x(filename) File "/mnt/c/buck/third-party/py/pex/pex/common.py", line 153, in chmod_plus_x os.chmod(path, path_mode) PermissionError: [Errno 1] Operation not permitted: 'buck-out/gen/ce9b6f2e/programs/gen_buck_info.pex'

When running <pex>.
When building rule //programs:gen_buck_info.`
Assignee
Assign to
Time tracking