Opened 3 years ago

Closed 3 years ago

#63447 closed defect (fixed)

catch2: build failure

Reported by: raw-bin (Robin Randhawa) Owned by: jwhowarth
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: bigsur arm64 Cc:
Port: catch2

Description (last modified by reneeotten (Renee Otten))

❯ sudo port install catch2
--->  Computing dependencies for catch2
--->  Fetching archive for catch2
--->  Attempting to fetch catch2-2.12.1_0.darwin_20.arm64.tbz2 from https://mse.uk.packages.macports.org/catch2
--->  Attempting to fetch catch2-2.12.1_0.darwin_20.arm64.tbz2 from https://packages.macports.org/catch2
--->  Attempting to fetch catch2-2.12.1_0.darwin_20.arm64.tbz2 from https://fra.de.packages.macports.org/catch2
--->  Fetching distfiles for catch2
--->  Attempting to fetch catch2-2.12.1.tar.gz from https://distfiles.macports.org/catch2
--->  Verifying checksums for catch2
--->  Extracting catch2
--->  Configuring catch2
--->  Building catch2
Error: Failed to build catch2: command execution failed
Error: See /opt/local/var/macports/logs/_opt_mports_macports-ports_devel_catch2/catch2/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port catch2 failed

Attachments (1)

main.log (92.8 KB) - added by raw-bin (Robin Randhawa) 3 years ago.

Download all attachments as: .zip

Change History (5)

Changed 3 years ago by raw-bin (Robin Randhawa)

Attachment: main.log added

comment:1 Changed 3 years ago by reneeotten (Renee Otten)

Cc: jwhowarth removed
Description: modified (diff)
Owner: set to jwhowarth
Status: newassigned
Summary: catch2 build failure on Apple M1 Silicon based MacBook Pro 13 running macOS Big Sur 11.5.2 and up to date macports (git)catch2: build failure
Version: 2.7.992.7.1

perhaps updating to the latest upstream version (v2.13.7) would resolve this?

comment:2 Changed 3 years ago by reneeotten (Renee Otten)

I just updated the port to its latest upstream version (2.13.7). Please try whether this resolves your build issues (i.e., sudo port -dv selfupdate && sudo port clean --all catch2 && sudo port install catch2). It might take a while though before the change has been propagated to the mirrors, so if it doesn't work immediately please check whether you're having the latest Portfile (i.e., port info --version catch2 should show 2.13.7). If that doesn't work, please add a new log file here.

comment:3 Changed 3 years ago by raw-bin (Robin Randhawa)

Thanks!

That's fixed the build! :)

$ sudo port -dv selfupdate && sudo port clean --all catch2 && sudo port install catch2
.
.
.
Total number of ports parsed:   117
Ports successfully parsed:      117
Ports failed:                   0
Up-to-date ports skipped:       26748

--->  MacPorts base is probably master or a release candidate
DEBUG: Setting MacPorts sources ownership to root

The ports tree has been updated. To upgrade your installed ports, you should run
  port upgrade outdated
--->  Cleaning catch2
--->  Computing dependencies for catch2
--->  Fetching archive for catch2
--->  Attempting to fetch catch2-2.13.7_0.darwin_20.arm64.tbz2 from https://mse.uk.packages.macports.org/catch2
--->  Attempting to fetch catch2-2.13.7_0.darwin_20.arm64.tbz2 from https://packages.macports.org/catch2
--->  Attempting to fetch catch2-2.13.7_0.darwin_20.arm64.tbz2 from https://fra.de.packages.macports.org/catch2
--->  Fetching distfiles for catch2
--->  Attempting to fetch catch2-2.13.7.tar.gz from https://distfiles.macports.org/catch2
--->  Attempting to fetch catch2-2.13.7.tar.gz from https://mse.uk.distfiles.macports.org/catch2
--->  Attempting to fetch catch2-2.13.7.tar.gz from https://fra.de.distfiles.macports.org/catch2
--->  Attempting to fetch catch2-2.13.7.tar.gz from https://github.com/catchorg/catch2/tarball/v2.13.7
--->  Verifying checksums for catch2
--->  Extracting catch2
--->  Configuring catch2
--->  Building catch2
--->  Staging catch2 into destroot
--->  Installing catch2 @2.13.7_0
--->  Activating catch2 @2.13.7_0
--->  Cleaning catch2
--->  Scanning binaries for linking errors
--->  No broken files found.
--->  No broken ports found.

comment:4 Changed 3 years ago by reneeotten (Renee Otten)

Resolution: fixed
Status: assignedclosed

fixed in this commit (I mistyped the URL...)

Note: See TracTickets for help on using tickets.