Opened 2 years ago

Closed 2 years ago

#65072 closed defect (fixed)

Aseprite @1.2.34.1: Script returned non-zero exit code

Reported by: hua3467 (Aaron Yang) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: monterey Cc: hgsgl
Port: Aseprite

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I received the following information when finishing the installation of Asperite. OS: macOS Monterey, Version 12.3.1

--->  Configuring Aseprite
Error: Failed to configure Aseprite: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_Aseprite/Aseprite/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there
is a bug.
Error: Processing of port Aseprite failed

Attachments (1)

main.log (309.7 KB) - added by hua3467 (Aaron Yang) 2 years ago.
The log file of the installation

Download all attachments as: .zip

Change History (4)

Changed 2 years ago by hua3467 (Aaron Yang)

Attachment: main.log added

The log file of the installation

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

Owner: set to ryandesign
Port: Aseprite added
Status: newassigned

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

Cc: hgsgl added
Description: modified (diff)
Keywords: monterey added
Status: assignedaccepted
Summary: Failed to configure Aseprite: command execution failedAseprite @1.2.34.1: Script returned non-zero exit code

Thanks for the report. Looks like the problem is:

:info:configure ERROR at //BUILD.gn:968:7: Script returned non-zero exit code.
:info:configure       exec_script("gn/checkpath.py",
:info:configure       ^----------
:info:configure Current dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_Aseprite/Aseprite/work/skia/out/Release/
:info:configure Command: python /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_Aseprite/Aseprite/work/skia/gn/checkpath.py ../../third_party/externals/libgifcodec/libgifcodec.gni
:info:configure Returned 127.

127 means "command not found". It's trying to run python which Apple used to include with macOS but removed in macOS 12.3. I need to update the port to use a MacPorts python instead. (The port already uses a MacPorts python 3, but there used to be parts of the build system that required python 2 and therefore it used the python 2 provided by macOS. I need to check if we can now use python 3 for everything or whether we still need to bring in a python 2.)

I think this was previously reported in #64895 but there was not enough information provided in that ticket to determine what the problem was.

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

Resolution: fixed
Status: acceptedclosed

In 5850ad09cb4e049079d744266e2082f53d791361/macports-ports (master):

Aseprite: Use only MacPorts python 3

Don't use macOS python 2 for parts of the build anymore. Fixes build on
macOS 12.3 and later from which Apple removed python 2.

Closes: #65072

Note: See TracTickets for help on using tickets.