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)

julia-2022-02-10-200629.ips (9.3 KB) - added by hnarayanan (Harish Narayanan) 3 years ago.
Crash Log
julia-compiled-2022-02-10-201952.ips (9.3 KB) - added by hnarayanan (Harish Narayanan) 3 years ago.
Crash Log (Compiled Locally)
julia-2022-05-05-211438.ips (8.7 KB) - added by smeingast (Stefan Meingast) 3 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 Changed 3 years ago by jmroot (Joshua Root)

Owner: set to essandess
Status: newassigned

comment:2 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

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.

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)

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

comment:5 Changed 3 years ago by smeingast (Stefan Meingast)

Same problem (log attached to ticket)

comment:6 Changed 3 years ago by evanmiller (Evan Miller)

Duplicate of #64306

Note: See TracTickets for help on using tickets.