[MacPorts] #66301: Error: Failed to destroot expat

MacPorts noreply at macports.org
Mon Nov 21 05:54:24 UTC 2022


#66301: Error: Failed to destroot expat
---------------------------------------------+--------------------
  Reporter:  wealthychef1                    |      Owner:  (none)
      Type:  defect                          |     Status:  new
  Priority:  Normal                          |  Milestone:
 Component:  ports                           |    Version:
Resolution:                                  |   Keywords:
      Port:  expat diffutils-for-muniversal  |
---------------------------------------------+--------------------

Comment (by wealthychef1):

 Replying to [comment:4 jmroot]:
 > {{{
 > :info:destroot sh: /opt/local/libexec/diffutils/bin/diff: Bad CPU type
 in executable
 > }}}
 > What is the CPU type of that executable?

 This is related to a toolchain issue I had because I had homebrew
 installed.  In particular, I built diffutils-for-muniversal using part of
 the homebrew compile toolchain.  So I blew away homebrew and rebuilt
 diffutils, but when I did, I got the following scary warning/error:
 {{{
 root at rcook-iMac (part 1 (main)): port install diffutils-for-muniversal
 diffutils-for-muniversal is known to fail. Try to install anyway? [y/N]: y
 }}}
 I said "y" and it installed and now expat does build correctly.
 So I think right now, it's just a bug in the diffutils installer, but
 definitely does not appear to be an expat problem.

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


More information about the macports-tickets mailing list