[MacPorts] #62446: Failed to build ossp-uuid on macOS Big Sur and Apples M1 CPU: no suitable image found
MacPorts
noreply at macports.org
Sat Mar 13 19:05:46 UTC 2021
#62446: Failed to build ossp-uuid on macOS Big Sur and Apples M1 CPU: no suitable
image found
---------------------+--------------------
Reporter: dzhub | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Resolution: | Keywords:
Port: |
---------------------+--------------------
Old description:
> Hi all :-)
>
> I just once again tried "port upgrade outdated", and now got this error:
>
> :info:build Can't load '/opt/local/lib/perl5/vendor_perl/5.26/darwin-
> thread-multi-2level/auto/Cwd/Cwd.bundle' for module Cwd:
> dlopen(/opt/local/lib/perl5/vendor_perl/5.26/darwin-thread-multi-
> 2level/auto/Cwd/Cwd.bundle, 1): no suitable image found. Did find:
>
> Please see the log for all the details.
New description:
Hi all :-)
I just once again tried "port upgrade outdated", and now got this error:
{{{
:info:build Can't load '/opt/local/lib/perl5/vendor_perl/5.26/darwin-
thread-multi-2level/auto/Cwd/Cwd.bundle' for module Cwd:
dlopen(/opt/local/lib/perl5/vendor_perl/5.26/darwin-thread-multi-
2level/auto/Cwd/Cwd.bundle, 1): no suitable image found. Did find:
}}}
Please see the log for all the details.
--
Comment (by ryandesign):
The log says:
{{{
:info:build Can't load '/opt/local/lib/perl5/vendor_perl/5.26/darwin-
thread-multi-2level/auto/Cwd/Cwd.bundle' for module Cwd:
dlopen(/opt/local/lib/perl5/vendor_perl/5.26/darwin-thread-multi-
2level/auto/Cwd/Cwd.bundle, 1): no suitable image found. Did find:
:info:build /opt/local/lib/perl5/vendor_perl/5.26/darwin-thread-multi-
2level/auto/Cwd/Cwd.bundle: mach-o, but wrong architecture
:info:build /opt/local/lib/perl5/vendor_perl/5.26/darwin-thread-multi-
2level/auto/Cwd/Cwd.bundle: mach-o, but wrong architecture at
/opt/local/lib/perl5/5.26/XSLoader.pm line 99.
}}}
We can see that you're trying to build ossp-uuid for arm64. For what arch
was /opt/local/lib/perl5/vendor_perl/5.26/darwin-thread-multi-
2level/auto/Cwd/Cwd.bundle built? To find out, run:
{{{
lipo -info /opt/local/lib/perl5/vendor_perl/5.26/darwin-thread-multi-
2level/auto/Cwd/Cwd.bundle
}}}
--
Ticket URL: <https://trac.macports.org/ticket/62446#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list