Skip to content

pyre.bin does not work on Debian Bullseye (glibc 2.31) #922

Open
@filbranden

Description

Pyre Bug

Bug description
Latest pyre versions 0.9.21 and 0.9.22 from PyPI do not work on Debian Bullseye with glibc 2.31

Reproduction steps

$ sudo pip install pyre-check==0.9.21
$ pyre.bin
pyre.bin: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by pyre.bin)
pyre.bin: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by pyre.bin)
pyre.bin: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by pyre.bin)

Expected behavior
Expecting the binary to work, as it does on 0.9.19

$ sudo pip install pyre-check==0.9.19
$ pyre.bin
pyre: required COMMAND name is missing, must be one of 'analyze', 'check', 'code-navigation', 'infer', 'newanalyze', 'newcheck', 'newinfer', 'newserver', 'no-daemon-query' or 'server'.
Usage: pyre COMMAND …
Try 'pyre --help' for more information.

Logs

Output of pyre rage:

Versions
========
Client version: 0.9.21
Binary version: None

Configuration
=============
{
  "global_root": "/home/filipe",
  "dot_pyre_directory": "None",
  "only_check_paths": [],
  "excludes": [],
  "extensions": [],
  "ignore_all_errors": [],
  "other_critical_files": [],
  "search_path": [],
  "optional_search_path": [],
  "site_package_search_strategy": "none",
  "site_roots": [],
  "strict": false,
  "taint_models_path": [],
  "use_buck2": false
}

Watchman Watch-list
===================
{
    "version": "4.9.0",
    "roots": []
}

Additional context

Probably related to a build environment or ocaml compiler used during builds, regression seemed to be introduced between 0.9.19 and 0.9.21

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions