Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • pypy pypy
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 654
    • Issues 654
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 13
    • Merge requests 13
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PyPy
  • pypypypy
  • Issues
  • #2053

Closed
Open
Created May 26, 2015 by Bitbucket Importer@bitbucket_importerMaintainer

lib_pypy/gdbm.py: package.py produces binary on OS X with hard-coded path

Created originally on Bitbucket by Former user

Prior to CFFI 1.0, gdbm.py would be compiled on first import of the module on OS X, causing either a descriptive exception or a successful compilation against the user's installed version.

However, OS X does not ship with GDBM, one must install if from Homebrew (/usr/local/lib), MacPorts (/opt/local/lib), pkgsrc (/usr/pkg/lib) or one of the various custom binaries around. A subsequent run of package.py will produce a gdbm.so with a load command hard-wired to the path to GDBM on the build machine.

Perhaps consider disabling static compilation of GDBM on OS X? I think the remaining alternative is to require a specific GDBM distribution, or bundle GDBM with PyPy, which probably presents some fun licensing issue.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking