[MacPorts] #58542: qemu: build error with +target_arm

MacPorts noreply at macports.org
Sun Jun 2 19:51:31 UTC 2019


#58542: qemu: build error with +target_arm
--------------------------+----------------------
  Reporter:  rochaferraz  |      Owner:  raimue
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:  qemu         |
--------------------------+----------------------

Comment (by raimue):

 Most relevant log output:
 {{{
 Could not open libfdt.dylib.1: Error opening or reading file (referenced
 from /opt/local/bin/qemu-system-aarch64)
 }}}

 I cannot reproduce the problem. The binary is linked correctly and works
 fine on my machine. Do you have any other `libfdt.dylib` on your machine
 and if so, is it provided by a port? The qemu build is supposed to use the
 internal copy, but it could pick it up from somewhere else.

 Could you please share the information about linked libraries as shown
 below?

 {{{
 $ port -q installed qemu and active
   qemu @3.0.0_1+cocoa+target_arm+target_i386+target_x86_64+usb (active)
 $ otool -L /opt/local/bin/qemu-system-aarch64
 /opt/local/bin/qemu-system-aarch64:
 /System/Library/Frameworks/Hypervisor.framework/Versions/A/Hypervisor
 (compatibility version 1.0.0, current version 1.0.0)
 /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
 (compatibility version 150.0.0, current version 1349.93.0)
         /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
 (compatibility version 1.0.0, current version 275.0.0)
 /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
 (compatibility version 1.0.0, current version 1.0.0)
         /opt/local/lib/libusb-1.0.0.dylib (compatibility version 2.0.0,
 current version 2.0.0)
         /opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current
 version 1.2.11)
         /opt/local/lib/libxml2.2.dylib (compatibility version 12.0.0,
 current version 12.9.0)
         /opt/local/lib/libcurl.4.dylib (compatibility version 10.0.0,
 current version 10.0.0)
         /opt/local/lib/libbz2.1.0.dylib (compatibility version 1.0.0,
 current version 1.0.6)
         /opt/local/lib/libpixman-1.0.dylib (compatibility version 39.0.0,
 current version 39.0.0)
         /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
 (compatibility version 1.0.0, current version 22.0.0)
         /opt/local/lib/libgthread-2.0.0.dylib (compatibility version
 5801.0.0, current version 5801.3.0)
         /opt/local/lib/libglib-2.0.0.dylib (compatibility version
 5801.0.0, current version 5801.3.0)
         /opt/local/lib/libintl.8.dylib (compatibility version 10.0.0,
 current version 10.5.0)
         /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current
 version 307.5.0)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
 version 1238.60.2)
         /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
 (compatibility version 45.0.0, current version 1504.83.101)
 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
 (compatibility version 1.0.0, current version 48.0.0)
 /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
 (compatibility version 64.0.0, current version 1070.22.1)
 /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
 (compatibility version 300.0.0, current version 1349.92.0)
         /usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current
 version 228.0.0)
 }}}

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


More information about the macports-tickets mailing list