Opened 3 years ago

Closed 2 years ago

#62863 closed defect (fixed)

auto-multiple-choice-devel: perl5.28 crashes using gobject-introspection on Apple Silicon

Reported by: nortcele Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version:
Keywords: arm64 Cc: evanmiller (Evan Miller)
Port: auto-multiple-choice-devel, gobject-introspection

Description (last modified by nortcele)

A auto-multiple-choice-devel user tell me that the program crash at launch on a mac with Apple Silicon. I received a crash log and I saw that the problem seems to be related to Perl 5.28 and perhaps gobject-introspection.

I don't have a Apple Silicon machine to test. I see that Macport version of gobject-introspection is not at the latest version. Homebrew report the latest version of gobject-introspection compatible with Apple Silicon.

So I tryed to create a local gobject-introspection port with the last version and tested it on an Intel Macbook pro with macOS 11.3 20E232, Xcode 12.5 12E262 and MacPorts 2.6.4. The installation from a clean Macport of all dependencies went fine and auto-multiple-choice-devel worked perfectly. auto-multiple-choice-devel use GTK3 and gobject-introspection. I think that I can't go any further without an Apple Silicon machine.

Attached are the crash log and the portfile I used for gobject-introspection. The portfile don't use any patch and is a mixture of the old version and the informations from Homebrew. I kept the following lines from the old version but I don't know if they are needed.

PortGroup           active_variants 1.1
…
depends_lib         …
                    port:py39-mako \
                    port:py39-markdown
…
depends_run         bin:glibtool:libtool

configure.python    ${prefix}/bin/python3.9

Attachments (2)

crashLogp5.28.crash (64.7 KB) - added by nortcele 3 years ago.
auto-multiple-choice-devel crash log on Apple Silicon
Portfile (1.6 KB) - added by nortcele 3 years ago.
gobject-introspection @1.68.0 portfile

Download all attachments as: .zip

Change History (8)

Changed 3 years ago by nortcele

Attachment: crashLogp5.28.crash added

auto-multiple-choice-devel crash log on Apple Silicon

Changed 3 years ago by nortcele

Attachment: Portfile added

gobject-introspection @1.68.0 portfile

comment:1 Changed 3 years ago by nortcele

Description: modified (diff)

comment:2 Changed 3 years ago by nortcele

Summary: auto-multiple-choice-devl crash on mac with Apple Siliconauto-multiple-choice-devel crash on mac with Apple Silicon

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

Keywords: arm64 added
Summary: auto-multiple-choice-devel crash on mac with Apple Siliconauto-multiple-choice-devel: perl5.28 crashes using gobject-introspection on Apple Silicon

comment:4 Changed 2 years ago by evanmiller (Evan Miller)

In 54761193303aba7b45e0b48a13cab520810a620c/macports-ports (master):

gobject-introspection-devel: update to 1.70.0

See: #43079
See: #45448
See: #53699
See: #59940
See: #62863

comment:5 Changed 2 years ago by mascguy (Christopher Nielsen)

Cc: evanmiller added; dbevans removed
Owner: set to mascguy
Status: newassigned

comment:6 Changed 2 years ago by mascguy (Christopher Nielsen)

Resolution: fixed
Status: assignedclosed

Fixed in commit:

gobject-introspection: update to 1.70.0

https://github.com/macports/macports-ports/commit/3eec87eed585dfa681320de08bf4c71421152e00

Credit To: @evanmiller

Note: See TracTickets for help on using tickets.