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

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

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

Hyukjin Kwon resolved SPARK-38488.
----------------------------------
    Fix Version/s: 3.4.0
       Resolution: Fixed

Issue resolved by pull request 35918
[https://github.com/apache/spark/pull/35918]

> 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
>             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.1#820001)

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