[ https://issues.apache.org/jira/browse/SPARK-38488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17503960#comment-17503960 ]
Hyukjin Kwon commented on SPARK-38488: -------------------------------------- [~yikunkero] please go ahead for a PR. > 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 > Priority: Major > > > {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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org