Opened 3 years ago

Last modified 3 years ago

#64568 closed defect

spdlog @1.9.2: binary package installing arm64 binaries on x86_64 — at Version 2

Reported by: viniciusferrao (Vinícius Ferrão) Owned by: judaew (Vadym-Valdis Yudaiev)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: XNephila (X Nephila)
Port: spdlog

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

When installing spdlog using binaries it installs wrong architecture files on macOS 12 on x86_64:

ld: warning: ignoring file /opt/local/lib/libspdlog.a, building for macOS-x86_64 but attempting to link with file built for macOS-arm64

If the port is installed -s option, which builds the port, everything works as expected.

Change History (2)

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

Cc: XNephila added
Owner: set to judaew
Port: spdlog added
Status: newassigned
Summary: spdlog@1.9.2: binary package installing arm64 binaries on x86_64spdlog @1.9.2: binary package installing arm64 binaries on x86_64

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

Description: modified (diff)

Clearly the comment # only header files are installed and the designation supported_archs noarch are erroneous and need to be removed from the Portfile, and the revision needs to be increased.

Note: See TracTickets for help on using tickets.