You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yikun Jiang (Jira)" <ji...@apache.org> on 2022/03/10 02:27:00 UTC

[jira] [Created] (SPARK-38488) Spark doc build not work on Mac OS M1

Yikun Jiang created SPARK-38488:
-----------------------------------

             Summary: Spark doc build not work on Mac OS M1
                 Key: SPARK-38488
                 URL: https://issues.apache.org/jira/browse/SPARK-38488
             Project: Spark
          Issue Type: Bug
          Components: Project Infra
    Affects Versions: 3.3.0
            Reporter: Yikun Jiang


 
{code:java}
diff --git a/docs/.bundle/config b/docs/.bundle/config
index b13821f801..68c1ee493a 100644
--- a/docs/.bundle/config
+++ b/docs/.bundle/config
@@ -1,2 +1,3 @@
 ---
 BUNDLE_PATH: ".local_ruby_bundle"
+BUNDLE_BUILD__FFI: "--enable-libffi-alloc"
diff --git a/docs/Gemfile b/docs/Gemfile
index f991622708..6c35201296 100644
--- a/docs/Gemfile
+++ b/docs/Gemfile
@@ -17,6 +17,7 @@
 source "https://rubygems.org"
+gem "ffi", "1.15.5"
 gem "jekyll", "4.2.1"
 gem "rouge", "3.26.0"
 gem "jekyll-redirect-from", "0.16.0"
{code}

After above patch redo `bundle install`, then it works, you could see this as ref if you meet the same issue.

will take a deep look to solve this.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org