[ 
https://issues.apache.org/jira/browse/SPARK-38488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated SPARK-38488:
-----------------------------------
    Labels: pull-request-available  (was: )

> 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, 3.4.0
>            Reporter: Yikun Jiang
>            Assignee: Yikun Jiang
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.4.0
>
>
>  
> {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.
>  
> related: https://github.com/ffi/ffi/issues/864



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to