[MacPorts] #64568: spdlog @1.9.2: binary package installing arm64 binaries on x86_64

MacPorts noreply at macports.org
Mon Jan 31 02:35:31 UTC 2022


#64568: spdlog @1.9.2: binary package installing arm64 binaries on x86_64
-----------------------------+----------------------
  Reporter:  viniciusferrao  |      Owner:  judaew
      Type:  defect          |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:
Resolution:                  |   Keywords:
      Port:  spdlog          |
-----------------------------+----------------------

Old description:

> 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.

New description:

 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.

--

Comment (by ryandesign):

 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.

-- 
Ticket URL: <https://trac.macports.org/ticket/64568#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list