Skip to content

DjangoBench: Add Ubuntu 24.04 aarch64 support and fix proxygen_binding runtime errors (#550)#550

Open
marziehlenjaniMeta wants to merge 1 commit intofacebookresearch:v2-betafrom
marziehlenjaniMeta:export-D97857317-to-v2-beta
Open

DjangoBench: Add Ubuntu 24.04 aarch64 support and fix proxygen_binding runtime errors (#550)#550
marziehlenjaniMeta wants to merge 1 commit intofacebookresearch:v2-betafrom
marziehlenjaniMeta:export-D97857317-to-v2-beta

Conversation

@marziehlenjaniMeta
Copy link
Copy Markdown

@marziehlenjaniMeta marziehlenjaniMeta commented Mar 30, 2026

Summary:

DjangoBench fails to install and run on Ubuntu 24.04 aarch64 (Phoenix CRB). This diff
fixes three issues:

  1. Install fails — no Python 3.10 on Ubuntu 24.04

The install dispatcher routes all Ubuntu aarch64 installs to the Ubuntu 22.04 script,
which expects python3.10 as a system package. Ubuntu 24.04 ships Python 3.12 and has
no python3.10 package.

Fix: Added install_django_workload_aarch64_ubuntu24.sh which builds Python 3.10 from
source, skips Cinder (ARM jobs use interpreter=cpython with use_jit=0), and handles
Ubuntu 24.04 package differences. Updated the dispatcher to detect Ubuntu major
version ≥24 and route accordingly.

  1. Runtime crash — shared libraries not found

After install, run.sh fails because LD_LIBRARY_PATH doesn't include the proxygen and
boost library directories. The proxygen_binding.so can't locate its dynamic
dependencies (libfolly, libboost, etc.).

Fix: Added proxygen/staging/lib, proxygen/proxygen/_build/deps/lib, and
proxygen/proxygen/_build/deps/lib64 to LD_LIBRARY_PATH in run.sh.

  1. Runtime crash — undefined symbol boost::match_results::maybe_assign

proxygen_binding.cpython-310-aarch64-linux-gnu.so fails to import with an undefined
boost::regex symbol. The boost_regex library is built by build_proxygen.sh (via
--with-libraries=...regex...) but was never linked into the extension.

Reviewed By: excelle08

Differential Revision: D97857317

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Mar 30, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync bot commented Mar 30, 2026

@marziehlenjaniMeta has exported this pull request. If you are a Meta employee, you can view the originating Diff in D97857317.

…g runtime errors (facebookresearch#550)

Summary:

DjangoBench fails to install and run on Ubuntu 24.04 aarch64 (Phoenix CRB). This diff
  fixes three issues:

  1. Install fails — no Python 3.10 on Ubuntu 24.04

  The install dispatcher routes all Ubuntu aarch64 installs to the Ubuntu 22.04 script,
  which expects python3.10 as a system package. Ubuntu 24.04 ships Python 3.12 and has
  no python3.10 package.

  Fix: Added install_django_workload_aarch64_ubuntu24.sh which builds Python 3.10 from
  source, skips Cinder (ARM jobs use interpreter=cpython with use_jit=0), and handles
  Ubuntu 24.04 package differences. Updated the dispatcher to detect Ubuntu major
  version ≥24 and route accordingly.

  2. Runtime crash — shared libraries not found

  After install, run.sh fails because LD_LIBRARY_PATH doesn't include the proxygen and
  boost library directories. The proxygen_binding.so can't locate its dynamic
  dependencies (libfolly, libboost, etc.).

  Fix: Added proxygen/staging/lib, proxygen/proxygen/_build/deps/lib, and
  proxygen/proxygen/_build/deps/lib64 to LD_LIBRARY_PATH in run.sh.

  3. Runtime crash — undefined symbol boost::match_results::maybe_assign

  proxygen_binding.cpython-310-aarch64-linux-gnu.so fails to import with an undefined
  boost::regex symbol. The boost_regex library is built by build_proxygen.sh (via
  --with-libraries=...regex...) but was never linked into the extension.

Reviewed By: excelle08

Differential Revision: D97857317
@meta-codesync meta-codesync bot changed the title DjangoBench: Add Ubuntu 24.04 aarch64 support and fix proxygen_binding runtime errors DjangoBench: Add Ubuntu 24.04 aarch64 support and fix proxygen_binding runtime errors (#550) Apr 1, 2026
@marziehlenjaniMeta marziehlenjaniMeta force-pushed the export-D97857317-to-v2-beta branch from ee26ccc to e1f7ecc Compare April 1, 2026 16:44
meta-codesync bot pushed a commit that referenced this pull request Apr 1, 2026
…g runtime errors (#550)

Summary:
Pull Request resolved: #550

DjangoBench fails to install and run on Ubuntu 24.04 aarch64 (Phoenix CRB). This diff
  fixes three issues:

  1. Install fails — no Python 3.10 on Ubuntu 24.04

  The install dispatcher routes all Ubuntu aarch64 installs to the Ubuntu 22.04 script,
  which expects python3.10 as a system package. Ubuntu 24.04 ships Python 3.12 and has
  no python3.10 package.

  Fix: Added install_django_workload_aarch64_ubuntu24.sh which builds Python 3.10 from
  source, skips Cinder (ARM jobs use interpreter=cpython with use_jit=0), and handles
  Ubuntu 24.04 package differences. Updated the dispatcher to detect Ubuntu major
  version ≥24 and route accordingly.

  2. Runtime crash — shared libraries not found

  After install, run.sh fails because LD_LIBRARY_PATH doesn't include the proxygen and
  boost library directories. The proxygen_binding.so can't locate its dynamic
  dependencies (libfolly, libboost, etc.).

  Fix: Added proxygen/staging/lib, proxygen/proxygen/_build/deps/lib, and
  proxygen/proxygen/_build/deps/lib64 to LD_LIBRARY_PATH in run.sh.

  3. Runtime crash — undefined symbol boost::match_results::maybe_assign

  proxygen_binding.cpython-310-aarch64-linux-gnu.so fails to import with an undefined
  boost::regex symbol. The boost_regex library is built by build_proxygen.sh (via
  --with-libraries=...regex...) but was never linked into the extension.

Reviewed By: excelle08

Differential Revision: D97857317

fbshipit-source-id: e2809c28ea1b48fe0a09a5530126520cff417bcc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant