[Bug 243766] lang/rust: Fails to build when Python (lang/python37) environment has no lzma module

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Apr 28 04:34:33 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243766

--- Comment #11 from commit-hook at freebsd.org ---
A commit references this bug:

Author: tobik
Date: Tue Apr 28 04:33:36 UTC 2020
New revision: 533234
URL: https://svnweb.freebsd.org/changeset/ports/533234

Log:
  lang/rust: Let the framework extract the bootstraps

  It is possible for lang/python37 to be built in such a way that it
  installs an unloadable lzma module which then causes Rust to fallback
  to trying to fetch/extract the tar.gz bootstraps instead.

  As a workaround and since it also simplifies some things, let the
  ports framework extract the bootstraps and "install" them under
  WRKDIR.  We point the build to them in config.toml.  This is similar
  to how things are hooked up in lang/rust-bootstrap and Rust will
  then not try to fetch and extract the bootstraps on its own.

  PR:           243766
  Reviewed by:  mikael
  Differential Revision:        https://reviews.freebsd.org/D24582

Changes:
  head/lang/rust/Makefile

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-python mailing list