Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
macOS 11 Big Sur compatibility on Apple Silicon #7857
Comments
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
|
@FigBug Please don't ask us for help while you're running an unsupported version of macOS. |
This comment has been hidden.
This comment has been hidden.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment has been hidden.
This comment has been hidden.
Submit PRs to fix things. Almost every issue we have had so far has been already known. We know things aren't working. We need help fixing things not telling us what isn't working. |
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
|
Could someone verify for me if LastPass-CLI works? |
|
I would like to confirm that |
|
Build succesfully imagemagick, ghostscript, libffi, libde265 , libheif without any problems thanks to the python@3.9 patch #7857 (comment) Also all other dependencies builded fine like: libpng, freetype, jpeg, libtiff, ghostscript, libde265, intltool, autoconf, automake, gdbm, openssl@1.1, readline, sqlite, xz, python@3.9, libxml2, itstool, ninja, meson, gettext, libffi, pcre, glib, docbook, docbook-xsl, gnu-getopt, xmlto, shared-mime-info, sphinx-doc, cmake, x265, libheif, liblqr, libomp, libtool, little-cms2, ilmbase, openexr, bison, doxygen, openjpeg and webp So those can all go to green light @claui ! Even build open-mpi - by just removing the dependency from gcc. Tried building vips but fail because of its dependency of fftw - which really requires gcc only and fails hard with clang |
It won't have Fortran bindings and will fail for some other formulas that depend on it |
|
@jackbm633's formula fix for |
Seems to compile and work fine:
|
|
@jackbm633 @kubkon @guillochon the proper fix, as indicated in Homebrew/homebrew-core#65866 (comment), is to report this bug to the Python projet and find a fix there. 11 is a valid value for Edit: I've reported it to Python: https://bugs.python.org/issue42504 |
|
On the way to build vips - also build succesfully: fontconfig, giflib, imagemagick, libexif, libgsf, libimagequant, szip, ninja, lzo, pixman, cairo, gobject-introspection, libssh2, gdk-pixbuf, fribidi, graphite2, icu4c, harfbuzz, pango, libspng, nasm, mozjpeg, openslide, orc, nspr, nss, libunistring, libidn2, lftp Major blockers are:
Major trouble with Qt!Trying to build it was the first homebrew build to take more than 2% of the cpu and longer dan 15 minutes in build time - but that was because it was building the whole Chrome! There really should be an homebrew option to build qt without the QWebEngine as suggested in Homebrew/homebrew-core#65128 (comment) as it is really not used that often. |
|
@gpetrov Qt workarounds available here: #7857 (comment). Quoting:
@claui kindly answered:
Also related : Homebrew/homebrew-core#65128 Feel free to cherry-pick and PR as needed. If not, we'll PR as promised as soon as we can. |
|
|
|
So I was able to build rust. Somewhere here I read that the rust page says it should compile. There I read "only with newer than 0.48.0". I got always stuck (404) on a curl on a xxx0.47.0.tgz file. |
|
/Users/lewis/.homebrew/homebrew/bin/htop: Mach-O 64-bit executable arm64 |
|
@24naret Rust has upstream support in beta and nightly channels v1.49.0 |
|
The |
|
|
|
Re |
|
|
No, same issue.
|
|
node@12 fails on my M1 :
|
|
I'm curious. Where is openfaas's CLI - https://formulae.brew.sh/formula/faas-cli? |
@24naret I encountered the same issue but fixed it by adding |
|
Are there plans (or would it be wise) to create I began playing around with some arch-conditional branching in a |
|
pkg-config is still hosed. brew install pkg-config
git clone https://github.com/llvm/llvm-project
cd llvm-project;
mkdir build; cd build;
cmake ../llvm
#barfs on linking cmath |
|
@chadbrewbaker, I'm using an arm64 build of Update: yep works: https://pastebin.ubuntu.com/p/Ks2hm8fQ6C/ |
|
@johnalanwoods llvm works. Built it while trying to update the ghc formula. |
|
Sorry for derailing the topic somewhat, but I noticed that a lot of formulas that depend on |
|
@tzakharko switching the reference Fortran compiler from gfortran to flang might be possible one day, for sure. But right now, flang is not production-ready, and Apple does not ship flang as part of its compiler tools. Regarding splitting gcc and gfortran, we have considered it and decided not to. GCC is heavy, but gfortran would not be small either: most of the runtime is shared, anyway. And splitting them would mean twice the build time for people who use both, and largely increased maintenance burden for us. |
|
@fxcoudert thanks for the explanation, it makes perfect sense to me now |
|
@FiloSottile and @fxcoudert I found 2 ways for libgcrypt to pass the
|
Latest news on native ARM compatibility
mkmfinRuby.frameworkresolved (FB7836181).All
brewcommands that depend on that gem, e. g.brew audit, seem to work now./opt/homebrew(once support arrives). See #7857 (comment) for details.A detailed description of the proposed feature
This is an overview of compatibility issues and work items related to native ARM Homebrew installations on macOS 11.0 (Big Sur). Homebrew doesn’t support it right now but we need to track and triage those items nonetheless.
The motivation for the feature
macOS 11.0 (Big Sur) has been released to the public, and our goal is for Homebrew to support it.
How the feature would be relevant to at least 90% of Homebrew users
In the long run, more than 90 % of Homebrew (macOS) users are going to run Apple Silicon hardware.
What alternatives to the feature have been considered
No alternatives.
Major blockers
arm64_big_surbottlesStatus of core formulae
on 11.0
ackadnsadwaita-icon-themeaircrack-ngansibleantopenjdkworksaomapache-sparkapr-utilaprargon2arpackasciidocasdfaspellatkaugeasautoconfautojumpautomakeaws-elasticbeanstalkaws-iam-authenticatorgoworksawsclidistutils.errors.DistutilsClassError, see logs.Possibly related to setuptools: pypa/setuptools#2231
azure-clibash-completionbashmakesays,redefinition of 'sys_siglist' with a different type: 'char *[32]' vs 'const char *const [32]'. Logsbatrustworksbazelopenjdk@11worksbdw-gcberkeley-dbbinutilsbisonblueutilboostbrotlic-arescabal-installghcworkscairocargo-crustprereleases; will work when a stable Rust with Apple Silicon support shipscarthagecaskemacsworksccacheUsed to work, no longer builds. Logs
Says:
ceres-solvercertbotcfitsiocgalqtworkscirclecigoworksclang-formatcloccmakecocoapodsUnrecognized Mach-O load command: 0x80000034inffi_c.bundlecolordiffcomposerconsulgoworkscoreutilscscopectagscunitcurlcurl-opensslcythondav1ddaemontoolsdenollvmandrustworkdepgoworksdialogdirenvgoworksdnsmasqdocbook-xsldocbookdockergoworksdocker-completiondocker-machinegoworksdoctlgoworksdos2unixdoxygendutieigenelasticsearchgradleandopenjdkworkelixirerlangworksemacsgnutlsworksepsilonepstoolghostscriptworkserlangSame with erlang/otp#2687.
exiftoolexpatfastlanefdrustworksffmpeggnutls,libblurayand several other dependencies workfftwgccandopen-mpiworkfig2devghostscriptandnetpbmworkfigletfindutilsfishflacfltkfontconfigfontforgefreetdsfreetypefreexlimplicitly declaring library function 'printf'Logsfrei0rfribidifswatchfzfgawkgcalgcc@iains has some work in progress on https://github.com/iains/gcc-darwin-arm64 to port the GCC backend to Apple Silicon.
Mind that Apple Silicon support is going to require GCC 11 even in the best case. The first stable release of GCC 11 may come out in mid-2021 or later. If you absolutely require a stable GCC, or any formula that depends on it, you may want to hold off your Apple Silicon Mac purchase decisions until it’s clear if or when GCC will support it.
For limited testing on Apple Silicon, Homebrew may consider shipping an unstable GCC 11 but that’s yet to be decided.
gdalexpat,freexl,geos,hdf5and a dozen of other dependencies workgdbmgdbgdk-pixbufgdgeckodrivergeosBasicSegmentStringininlines.ovs.libnoding.a. Logsgettextgflagsghcghc@8.8ghostscriptgiflibgitUndefined symbols for architecture arm64. Possibly related tolibintlandpcre2. Logsgit-flowgit-guigit-lfsgitlab-runnergl2psglewglib-networkingglibglogglpkgmpgnu-getoptgnu-sedgnu-targnupggnutlsworksgnuplotgnutlsgobject-introspectiongoBootstrapped
go(x86_64) is killed at build time. LogsRe-check when upstream 1.16 is released
gpatchgpgmegradleopenjdkworksgrafanagraphicsmagickgraphite2graphvizgtsworksgrepgroongagroovygrpcgsettings-desktop-schemasgslgst-plugins-badgstreamergtk+3gtk+gtk-mac-integrationgtsnetpbmworksguileharfbuzzhdf5gccworkshelmgoworkshelm@2glideandgoworkhicolor-icon-themehighlighthtophttpdhttpiehubgoworkshugogoworkshwlocicu4cideviceinstallerilmbaseimagemagick@6imagemagickghostscript,libheifandlibompworkinetutilsios-deployios-webkit-debug-proxyiperf3ipythonislitstooljanssonjasperjemallocjenkinsopenjdk@11worksjenkins-ltsopenjdk@11worksjenvjmeterjpegjqjson-cjupyterlabpandocworkskafkaopenjdk(or some other form of Java) andzookeeperworkkopskotlinopenjdk(or some other form of Java) workskrb5kubectxkubernetes-cligoworkskustomizelameldnsleptonicalibarchivelibassuanlibasslibb2libblurayopenjdk(or some other form of Java) workslibcborlibcerflibcrocolibdaplibde265libepoxylibeventlibevlibexiflibffilibfido2libgcryptlibgeotifflibgit2libgpg-errorlibheiflibde265workslibiconvlibidn2libidnlibilbclibimobiledevicelibksbaliblqrlibmagiclibmaxminddblibmetalinklibmpclibnetlibogglibompmake installfails while trying to make sense of x86_64 assembly for Linux. Logslibp11libplistlibpnglibpqlibpsllibrdkafkalibressllibrsvglibsampleratelibscryptlibsmilibsndfilelibsodiumlibsouplibsoxrlibspatialitelibspirolibsshlibssh2libtasn1libtermkeylibtifflibtoollibuninameslistlibunistringlibusb-compatlibusbmuxdlibusblibuvlibvidstablibvirtlibvorbislibvpxlibvtermlibwebsocketslibxml2libxsltlibyamllibziplittle-cms2llvmHEADdoes and 11.0.0 will be compatible.lualua@5.1luajitluarockslynxlz4lzomacvimmad/bin/ksh ./config.sub -apple-darwin20.0.0 failedLogsmakemariadbgroongaworksmasmavenopenjdkworksmbedtlsmcryptmecabmecab-ipadicmemcachedmercurialmesonmetismidnight-commanderminikubeminizipmitmproxymkcertmkvtoolnixmonomoshmpfrmpvmsgpackmtrmujsmuttmysqlmysqld_safefails withsyntax error near unexpected token 'then'in line 831.mysql@5.6makeerrors out after building the targetevent_extra. Logsmysql@5.7mysqld_safefails:syntax error near unexpected token 'then'in line 804.mysql-clientnanonasmncduncursesneofetchneovimnetcdfnetpbmsubversionworksnettlenghttp2nginxninjanmapnodePatched for now.
See also nodejs/node#34043 and nodejs/TSC#886 for upstream progress.
node@10node@12node-buildnodebrewnpthnsprnsssoftokn3. Logsntfs-3gnumpynvmocaml4.10 backport in progress, see ocaml/ocaml#10026.
4.10 formula-patches PR: Homebrew/formula-patches#318
octaveonigurumaopamopen-mpigccworksopenblasopenconnectopencore-amropencvopenexropenjdkopenjdk@11openjpegopenldapopensshopensslakaopenssl@1.1Patched for now.
Works well enough until the upstream fix is released.
openvpnopusfileopusorcp11-kitp7zippackergoworkspandoccabal-installandghcworkpangoparallelpcre2pcreperlphp@7.2php. Might want to triage asphp@7.3php. Might want to triage asphppinentrypipenvpixmanpkcs11-helperpkg-configplantumlpopplernssandqtworkpoptportaudiopostgisgdal,geos,gppandsfcgalworkpostgresqlpostgresql@9.6postgresql@10postgresql@11pre-commitprojprotobufprotobuf-cpstoeditpstreepulumiputtypy3cairopyenvpyenv-realpath.dylibas a builtin. Logpyenv-virtualenvpygobject3pyqtpython@3.7python@3.8Patched for now but
brew testfails.Re-check after Homebrew/homebrew-core#64872 is merged.
pythonakapython@3.9brew testcurrently fails.Re-check after Homebrew/homebrew-core#64869 is merged.
qemuqhullqrupdateqtfind_sdk.pylate in the build. (logs, full make log)rabbitmqerlangworksrav1ecargo-candrustworkrbenvrclonereadlineredisrenameripgreprsyncrtmpdumprubberbandruby-buildruby@2.5rubyrustrustup-inits-langs3cmdsbclsbtscalascrcpyscreenresolutionsdl2sdlsfcgalcgalworksshared-mime-infoshellcheckcabal-install,ghc@8.8andpandocworksipskaffoldsnappysocatsource-highlightsoxmadworksspandspspeedtest-clispeexsphinx-docsqlitesqlmapsrt'GLES/gl.h' file not foundduringmake install. Logsssh-copy-idsshfssshpasssshuttlestarshipstokensubversionbrew testfails. Logs.suite-sparsesundialsswagger-codegenswiftformatswiftlintswigsziptbbtcl-tktelnetdtelnetterraformgoworksterragrunttesseracttexinfotfenvtflintthefucktheorathe_silver_searchertidy-html5tigtmuxtomcattortreeuchardetunarunboundunibiliumunixodbcunrarutf8procv8valagraphvizworksvalgrindvapoursynthvaultvdevimvipswatchmanwatchwebpwgetwimlibwinetrickswiresharkwxmacx264x265xcodegenRe-check with upstream version > 2.17.0 once released.
xerces-cxmltoxvidxxhashxzyarayarnyasmyoutube-dlyqgoworkszeromqzimgzlibzookeeperantworkszshzsh-autosuggestionszsh-completionszsh-syntax-highlightingzstdSource
curl -sLS \ 'https://formulae.brew.sh/api/analytics/install/90d.json' \ | jq -r '.items | map(select (.formula | contains("/") | not) | .formula)[:512] | sort | [""] + map("`\(.)`") | map([., "", ""] | @csv) | .[] ' \ | pandoc -f csv -t gfm \ | sed -e 's/\\`/`/g'1 For Works on 11.0, the key is:
brew install -ssucceeds on Apple Silicon. The software works well enough natively.depends_on :arch => [:x86_64, :build]. The software works well enough on Rosetta.depends_on :arch => :x86_64. The software has been deemed to work on Intel only (for now).