Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please support MacOS Monterey #48

Closed
ivaquero opened this issue Dec 9, 2021 · 4 comments · Fixed by JuliaPackaging/Yggdrasil#4055
Closed

Please support MacOS Monterey #48

ivaquero opened this issue Dec 9, 2021 · 4 comments · Fixed by JuliaPackaging/Yggdrasil#4055

Comments

@ivaquero
Copy link

ivaquero commented Dec 9, 2021

I am using M1 Pro MacOS Monterey. I came across a building error, saying "Invalid configuration arm64-apple-darwin20.0.0': machine arm64-apple' not recognized".

The full output is as below.

(@v1.7) pkg> build ChaosTools
    Building TimeZones → `~/.julia/scratchspaces/44cfe95a-1eb2-52ea-b672-e2afdf69b78f/a5688ffdbd849a98503c6650effe79fe89a41252/build.log`
    Building CRlibm ───→ `~/.julia/scratchspaces/44cfe95a-1eb2-52ea-b672-e2afdf69b78f/9d1c22cff9c04207f336b8e64840d0bd40d86e0e/build.log`
ERROR: Error building `CRlibm`:
Invalid configuration `arm64-apple-darwin20.0.0': machine `arm64-apple' not recognized
configure: error: /bin/sh ./config.sub arm64-apple-darwin20.0.0 failed
ERROR: LoadError: failed process: Process(`./configure --silent 'CFLAGS=-fpic -w'`, ProcessExited(1)) [1]

Stacktrace:
 [1] pipeline_error
   @ ./process.jl:531 [inlined]
 [2] run(::Cmd; wait::Bool)
   @ Base ./process.jl:446
 [3] run(::Cmd)
   @ Base ./process.jl:444
 [4] top-level scope
   @ ~/.julia/packages/CRlibm/NFCH5/deps/build.jl:23
 [5] include(fname::String)
   @ Base.MainInclude ./client.jl:451
 [6] top-level scope
   @ none:5
in expression starting at ~/.julia/packages/CRlibm/NFCH5/deps/build.jl:23
Working in ~.julia/packages/CRlibm/NFCH5/deps/src/crlibm-1.0beta4
@dpsanders
Copy link
Member

I think this will require compiling the JLL for that architecture. Maybe @giordano can give some insight.

@giordano
Copy link
Member

Fixed by JuliaPackaging/Yggdrasil#4055, wait a few minutes for JuliaRegistries/General#50332 to be merged.

@dpsanders while we're here, could you please have a look at #47? 🙂

@giordano
Copy link
Member

Although I don't quite understand the error reported by @ivaquero: there is no deps/build.jl script in the latest stable version of this package, are you using an older version?

@ivaquero
Copy link
Author

@giordano Thank you all. I updated the package, the problem was solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants