Opened 3 years ago

Last modified 3 years ago

#62413 closed defect

Error: Failed to build stellarium: command execution failed — at Version 2

Reported by: petrvokac Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version:
Keywords: arm64 Cc:
Port: stellarium

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

pmm:~ pet$ sudo port install stellarium
Warning: The macOS 11.2 SDK does not appear to be installed. Ports may not build correctly.
Warning: You can install it as part of the Xcode Command Line Tools package by running `xcode-select --install'.
--->  Computing dependencies for stellarium
--->  Fetching archive for stellarium
--->  Attempting to fetch stellarium-0.20.4_1.darwin_20.arm64.tbz2 from https://packages.macports.org/stellarium
--->  Attempting to fetch stellarium-0.20.4_1.darwin_20.arm64.tbz2 from https://cph.dk.packages.macports.org/stellarium
--->  Attempting to fetch stellarium-0.20.4_1.darwin_20.arm64.tbz2 from https://lil.fr.packages.macports.org/stellarium
--->  Fetching distfiles for stellarium
--->  Verifying checksums for stellarium
--->  Extracting stellarium
--->  Applying patches to stellarium
--->  Configuring stellarium
--->  Building stellarium
Error: Failed to build stellarium: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_stellarium/stellarium/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port stellarium failed

pmm:~ pet$ uname -a
Darwin pmm.local 20.3.0 Darwin Kernel Version 20.3.0: Thu Jan 21 00:06:51 PST 2021; root:xnu-7195.81.3~1/RELEASE_ARM64_T8101 arm64

Change History (3)

Changed 3 years ago by petrvokac

Attachment: main.log added

build log

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

it is trying to build stellarium as x86_64 on arm64 and fails as all the supporting libraries are arm64.

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

Description: modified (diff)
Keywords: stellarium removed
Owner: set to michaelld
Status: newassigned

MacPorts hasn't specified any -arch flags in the environment variables. Not sure why. And somehow -arch x86_64 flags have materialized out of nowhere during the build. Not sure why. I don't see anything about it in the portfile so maybe it is a defect in the qt5 portgroup or the qt5 ports.

Note: See TracTickets for help on using tickets.