#68852 closed defect (invalid)
arm64 aspell install fails, alleging x86_64 only libtool
Reported by: | jhfrontz (Jeff Frontz) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | larryv (Lawrence Velázquez), michaelld (Michael Dickens), jokuha (Jochen) | |
Port: | libtool aspell |
Description
$ PATH=/opt/local/bin:$PATH arch -arm64e sudo port install aspell Error: Cannot install aspell for the arch 'arm64' because Error: its dependency libtool is only installed for the arch 'x86_64' Error: and the configured universal_archs '' are not sufficient. Error: Unable to execute port: architecture mismatch
However...
$ PATH=/opt/local/bin:$PATH arch -arm64e sudo port install libtool ---> Cleaning libtool ---> Scanning binaries for linking errors ---> No broken files found. ---> No broken ports found.
I tried selfupdate
but the problem persists.
% uname -a Darwin tElektrum-M2.local 22.6.0 Darwin Kernel Version 22.6.0: Wed Oct 4 21:26:43 PDT 2023; root:xnu-8796.141.3.701.17~4/RELEASE_ARM64_T8112 arm64
Change History (5)
comment:1 Changed 11 months ago by jmroot (Joshua Root)
Cc: | larryv michaelld jokuha added |
---|---|
Keywords: | aspell removed |
Port: | libtool aspell added |
comment:2 Changed 11 months ago by jhfrontz (Jeff Frontz)
$ PATH=/opt/local/bin:$PATH arch -arm64e sudo port -v installed libtool The following ports are currently installed: libtool @2.4.7_0 requested_variants='' platform='darwin 22' archs='x86_64' date='2023-05-09T19:15:12-0400' libtool @2.4.7_1 (active) requested_variants='' platform='darwin 22' archs='x86_64' date='2023-11-12T17:39:10-0500' $ PATH=/opt/local/bin:$PATH arch -arm64e lipo -info /opt/local/lib/libltdl.7.dylib Non-fat file: /opt/local/lib/libltdl.7.dylib is architecture: x86_64
comment:3 Changed 11 months ago by jmroot (Joshua Root)
OK, so libtool is indeed installed for x86_64. If you migrated this MacPorts installation from an Intel machine, you will need to follow the wiki:Migration instructions.
If it's somehow just libtool that is not installed for the architecture you want, double check your build_arch setting in macports.conf, and if it's set to arm64, simply uninstalling and installing libtool should correct the issue.
comment:4 Changed 11 months ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:5 Changed 10 months ago by jhfrontz (Jeff Frontz)
Just to follow-up (sorry: holidays), I don't recall having migrated from an Intel machine, but I have been using exec arch -x86_64 ${SHELL}
to work around an odd bug in the arm64 portion of the stock ksh (universal) binary (I then use PATH=/opt/local/bin:$PATH arch -arm64e
as a prefix to any port
command).
I've since upgraded to Sonoma and did a complete "migration"; I no longer have the problem.
What output do these commands give?