Opened 2 years ago

Closed 2 years ago

#66260 closed defect (fixed)

libffi @3.4.3_0 Failed to be built on macOS 13.0 Ventura with variant "+universal"

Reported by: water137780117 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.8.0
Keywords: +universal libffi Cc:
Port: libffi

Description

After upgrading to macOS 13.0 Ventura, libffi can't be built with variant "+universal" anymore. This leads to some other ports which depends on libffi, such as python270, python310, and etc., can't be built with variant "+universal" as well. Everything went ok on macOS 12.6 Monterey.

sudo port install libffi +universal
Password:
--->  Fetching archive for libffi
--->  Attempting to fetch libffi-3.4.3_0+universal.darwin_22.arm64-x86_64.tbz2 from https://pek.cn.packages.macports.org/macports/packages/libffi
--->  Attempting to fetch libffi-3.4.3_0+universal.darwin_22.arm64-x86_64.tbz2 from https://kmq.jp.packages.macports.org/libffi
--->  Attempting to fetch libffi-3.4.3_0+universal.darwin_22.arm64-x86_64.tbz2 from https://packages.macports.org/libffi
--->  Fetching distfiles for libffi
--->  Verifying checksums for libffi
--->  Extracting libffi
--->  Applying patches to libffi
--->  Configuring libffi
--->  Building libffi
--->  Staging libffi into destroot
Error: Failed to destroot libffi: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_mirrors.tuna.tsinghua.edu.cn_macports_release_devel_libffi/libffi/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there
is a bug.
Error: Processing of port libffi failed

Attachments (1)

main.log (165.6 KB) - added by water137780117 2 years ago.

Download all attachments as: .zip

Change History (4)

Changed 2 years ago by water137780117

Attachment: main.log added

comment:1 Changed 2 years ago by kencu (Ken)

I fixed this recently.

If you clean libffi, update your ports tree, and then try again, you should pick up the fixes.

comment:2 in reply to:  1 Changed 2 years ago by water137780117

Replying to kencu:

I fixed this recently.

If you clean libffi, update your ports tree, and then try again, you should pick up the fixes.

Thanks a lot. libffi was built successfully after upgrading the ports tree.

comment:3 Changed 2 years ago by kencu (Ken)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.