Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • cerbero cerbero
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 100
    • Issues 100
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 35
    • Merge requests 35
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GStreamer
  • cerberocerbero
  • Merge requests
  • !861

cerbero: Also add build-tools/local/bin to PATH on Linux

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Nirbheek Chauhan requested to merge nirbheek/cerbero:fix-python-install-py10-f36-debian into main May 17, 2022
  • Overview 4
  • Commits 1
  • Pipelines 12
  • Changes 1

Some distros have changed the default sysconfig scheme to manually add 'local' to all install dirs for setuptools. Reverting this is far too much work and will be fragile as heck, so just accept it and move on.

Fedora: https://src.fedoraproject.org/rpms/python3.10/blob/f36/f/00251-change-user-install-location.patch

Debian: https://salsa.debian.org/cpython-team/python3/-/blob/3.10.4-4/debian/patches/sysconfig-debian-schemes.diff

If in the future we need to work around this, there are two ways:

  1. Change the default sysconfig scheme on Debian from posix_prefix to deb_system and on Fedora from posix_local to posix_prefix (and find a way to run setup.py install in-process), or
  2. Set RPM_BUILD_ROOT=1 on Fedora and DEB_PYTHON_INSTALL_LAYOUT=deb_system on Debian and pray that it doesn't break anything else.
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: fix-python-install-py10-f36-debian