Opened 3 years ago
Last modified 3 years ago
#64630 assigned defect
julia @1.7.0_0+gccdevel: Fails to start on M1 Macs
Reported by: | hnarayanan (Harish Narayanan) | Owned by: | essandess (Steve Smith) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.1 |
Keywords: | Cc: | smeingast (Stefan Meingast) | |
Port: | julia |
Description
After installing Julia on an M1 (Pro) Mac, attempting to run it results in the application being killed immediately.
$ julia [1] 3232 killed julia
From the installation log, it appears as if it is fetching and installing a binary rather than compiling locally.
$ sudo port install julia ---> Computing dependencies for julia ---> Fetching archive for julia ---> Attempting to fetch julia-1.7.0_0+gccdevel.darwin_21.arm64.tbz2 from https://packages.macports.org/julia ---> Attempting to fetch julia-1.7.0_0+gccdevel.darwin_21.arm64.tbz2.rmd160 from https://packages.macports.org/julia ---> Installing julia @1.7.0_0+gccdevel ---> Activating julia @1.7.0_0+gccdevel ---> Cleaning julia ---> Scanning binaries for linking errors ---> No broken files found. ---> No broken ports found.
I do not know how to provide more logging to pinpoint the problem but if someone can tell me how to, I would be happy to provide more information.
I have uninstalled, cleaned and re-installed the package and the error still persists. I have independently built this port on an older Intel Mac and it works fine there.
Attachments (3)
Change History (9)
comment:1 Changed 3 years ago by jmroot (Joshua Root)
Owner: | set to essandess |
---|---|
Status: | new → assigned |
comment:2 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Changed 3 years ago by hnarayanan (Harish Narayanan)
Attachment: | julia-2022-02-10-200629.ips added |
---|
Crash Log
comment:3 Changed 3 years ago by hnarayanan (Harish Narayanan)
The crash log I've shared above was from the binary downloaded from your servers.
In addition, I followed a variant of your instructions to build Julia from source:
$ sudo port uninstall julia $ sudo port install -ns julia
And this version built on my machine also crashes.
$ julia [1] 40924 killed julia
I will attach another log below.
Changed 3 years ago by hnarayanan (Harish Narayanan)
Attachment: | julia-compiled-2022-02-10-201952.ips added |
---|
Crash Log (Compiled Locally)
comment:4 Changed 3 years ago by smeingast (Stefan Meingast)
Cc: | smeingast added |
---|
Changed 3 years ago by smeingast (Stefan Meingast)
Attachment: | julia-2022-05-05-211438.ips added |
---|
If it is crashing, a crash log would have been generated in ~/Library/Logs/DiagnosticReports. If so, attaching it here may help us pinpoint the problem.
If you would like to test whether compiling on your own machine (rather than using a binary compiled on our machine) would help, you can run
sudo port -ns upgrade --force julia
.