#67246 closed defect (fixed)

Aseprite @1.2.37: Failed to fetch distfiles

Reported by: grilled-rare Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc:
Port: Aseprite

Description

I've been trying to install the open-source animation tool Aseprite, but I get the same error even after many trouble-shooting attempts. My Xcode version is 14.2, Build version 14C18, xcode-select version 2395, MacOS version 12.6.5, python version python310. The error reads as follows:

Samuel-Macbook-Air ~ % sudo port install Aseprite
--->  Computing dependencies for Aseprite
--->  Fetching archive for Aseprite
--->  Attempting to fetch Aseprite-1.2.37_3.darwin_21.x86_64.tbz2 from https://packages.macports.org/Aseprite
--->  Attempting to fetch Aseprite-1.2.37_3.darwin_21.x86_64.tbz2 from http://jog.id.packages.macports.org/macports/packages/Aseprite
--->  Attempting to fetch Aseprite-1.2.37_3.darwin_21.x86_64.tbz2 from https://kmq.jp.packages.macports.org/Aseprite
--->  Fetching distfiles for Aseprite
Error: Failed to fetch 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

I went through some old tickets related to the Aseprite port, but did not find anything related to the fetching of distfiles or Processing of the port failing. The log that the error message refers to is attatched to this ticket.

Attachments (1)

main.log (141.1 KB) - added by grilled-rare 19 months ago.

Download all attachments as: .zip

Change History (6)

Changed 19 months ago by grilled-rare

Attachment: main.log added

comment:1 Changed 19 months ago by grilled-rare

Summary: Aseprite 1.2.37: Failed to fetch Aseprite (distfiles maybe?), command execution failed.Aseprite 1.2.37: Failed to fetch distfiles and process Aseprite.

comment:2 Changed 19 months ago by reneeotten (Renee Otten)

Cc: grilled-rare removed
Keywords: Aseprite removed
Owner: set to ryandesign
Status: newassigned
Summary: Aseprite 1.2.37: Failed to fetch distfiles and process Aseprite.Aseprite 1.2.37: Failed to fetch distfiles

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

Status: assignedaccepted
Summary: Aseprite 1.2.37: Failed to fetch distfilesAseprite @1.2.37: Failed to fetch distfiles

Thanks for reporting this.

A quick workaround is to edit the portfile (sudo port edit Aseprite, or open port file Aseprite in your favorite editor), locate this section:

    system -W ${workpath} "git clone --config advice.detachedHead=false --depth 300\
        --no-checkout https://chromium.googlesource.com/chromium/tools/depot_tools"

and remove --depth 300 (but leave the \).

comment:4 Changed 19 months ago by grilled-rare

Thank you very much. I made the changes and the rest was smooth.

comment:5 Changed 19 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: acceptedclosed

In 17cfecc1c587471df05995f115316d30efd6e32b/macports-ports (master):

Aseprite: Fetch only the depot_tools commit we want

Closes: #67246

Note: See TracTickets for help on using tickets.