Opened 5 years ago

Closed 5 years ago

#58542 closed defect (worksforme)

qemu: build error with +target_arm

Reported by: rochaferraz (Douglas Rocha Ferraz) Owned by: raimue (Rainer Müller)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: qemu

Description

Hi, I'm trying to install QEMU with support for the ARM architecture, but it fails to build. Logs below Command called is sudo port install qemu +target_arm

Error: Port qemu is still broken after rebuilding it more than 3 times.
Error: Please run port -d -y rev-upgrade and use the output to report a bug.
Error: rev-upgrade failed: Port qemu still broken after rebuilding 3 times
Error: Follow https://guide.macports.org/#project.tickets to report a bug.

---

DEBUG: Copying /Users/drf/Library/Preferences/com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences
--->  Scanning binaries for linking errors
DEBUG: skipping ppc in /opt/local/share/cmake-3.14/Modules/CPack.OSXScriptLauncher.in since this system can't run it anyway
Could not open libfdt.dylib.1: Error opening or reading file (referenced from /opt/local/bin/qemu-system-aarch64)
libfdt.dylib.1 seems to be referenced using a relative path. This may be a problem with its canonical library name and require the use of install_name_tool(1) to fix.
DEBUG: Marking /opt/local/bin/qemu-system-aarch64 as broken
DEBUG: Marking /opt/local/bin/qemu-system-arm as broken
DEBUG: Marking /opt/local/bin/qemu-system-i386 as broken
DEBUG: Marking /opt/local/bin/qemu-system-x86_64 as broken
--->  Found 4 broken files, matching files to ports
--->  Found 1 broken port, determining rebuild order
DEBUG: Broken: qemu
DEBUG: Processing port qemu @0:3.0.0_1 +cocoa+target_arm+target_i386+target_x86_64+usb
You can always run 'port rev-upgrade' again to fix errors.
The following ports will be rebuilt: qemu @3.0.0+cocoa+target_arm+target_i386+target_x86_64+usb
Continue? [Y/n]:
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: qemu 3.0.0_1 exists in the ports tree
DEBUG: qemu 3.0.0_1 +cocoa+target_arm+target_i386+target_x86_64+usb is the latest installed
DEBUG: qemu 3.0.0_1 +cocoa+target_arm+target_i386+target_x86_64+usb is active
DEBUG: Merging existing variants '+cocoa+target_arm+target_i386+target_x86_64+usb' into variants
DEBUG: new fully merged portvariants: target_i386 + target_x86_64 + cocoa + usb + target_arm +
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/emulators/qemu
DEBUG: OS darwin/18.5.0 (Mac OS X 10.14) arch i386
DEBUG: universal_variant is false, so not adding the default universal variant
DEBUG: Executing variant target_i386 provides target_i386
DEBUG: Executing variant target_x86_64 provides target_x86_64
DEBUG: Executing variant target_arm provides target_arm
DEBUG: Executing variant cocoa provides cocoa
DEBUG: Executing variant usb provides usb
DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Finished running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Finished running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Running callback portstartupitem::add_notes
DEBUG: Finished running callback portstartupitem::add_notes
DEBUG: rev-upgrade override ... upgrading!
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: curl 7.64.1_0 exists in the ports tree
DEBUG: curl 7.64.1_0 +ssl is the latest installed
DEBUG: curl 7.64.1_0 +ssl is active
DEBUG: Merging existing variants '+ssl' into variants
DEBUG: new fully merged portvariants: ssl +
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/net/curl
DEBUG: OS darwin/18.5.0 (Mac OS X 10.14) arch i386
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Executing variant ssl provides ssl
DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Finished running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Finished running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Running callback portstartupitem::add_notes
DEBUG: Finished running callback portstartupitem::add_notes
DEBUG: No need to upgrade! curl 7.64.1_0 >= curl 7.64.1_0
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: libidn2 2.2.0_0 exists in the ports tree
DEBUG: libidn2 2.2.0_0  is the latest installed
DEBUG: libidn2 2.2.0_0  is active
DEBUG: Merging existing variants '' into variants
DEBUG: new fully merged portvariants:
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/mail/libidn2
DEBUG: OS darwin/18.5.0 (Mac OS X 10.14) arch i386
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Finished running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Finished running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Running callback portstartupitem::add_notes
DEBUG: Finished running callback portstartupitem::add_notes
DEBUG: No need to upgrade! libidn2 2.2.0_0 >= libidn2 2.2.0_0
DEBUG: epoch: in tree: 2 installed: 2
DEBUG: gettext 0.19.8.1_2 exists in the ports tree
DEBUG: gettext 0.19.8.1_2  is the latest installed
DEBUG: gettext 0.19.8.1_2  is active
DEBUG: Merging existing variants '' into variants
DEBUG: new fully merged portvariants:
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/gettext
DEBUG: OS darwin/18.5.0 (Mac OS X 10.14) arch i386
DEBUG: Sourcing PortGroup compiler_blacklist_versions 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/compiler_blacklist_versions-1.0.tcl
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: compiler clang 1001.0.46.4 not blacklisted because it doesn't match {clang < 211.10.1}
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Finished running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Finished running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Running callback portstartupitem::add_notes
DEBUG: Finished running callback portstartupitem::add_notes
DEBUG: No need to upgrade! gettext 0.19.8.1_2 >= gettext 0.19.8.1_2
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: libiconv 1.16_0 exists in the ports tree
DEBUG: libiconv 1.16_0  is the latest installed
DEBUG: libiconv 1.16_0  is active
DEBUG: Merging existing variants '' into variants
DEBUG: new fully merged portvariants:
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/textproc/libiconv
DEBUG: OS darwin/18.5.0 (Mac OS X 10.14) arch i386
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Finished running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Finished running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Running callback portstartupitem::add_notes
DEBUG: Finished running callback portstartupitem::add_notes
DEBUG: No need to upgrade! libiconv 1.16_0 >= libiconv 1.16_0
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: ncurses 6.1_0 exists in the ports tree
DEBUG: ncurses 6.1_0  is the latest installed
DEBUG: ncurses 6.1_0  is active
DEBUG: Merging existing variants '' into variants
DEBUG: new fully merged portvariants:
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/ncurses
DEBUG: OS darwin/18.5.0 (Mac OS X 10.14) arch i386
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Finished running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Finished running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Running callback portstartupitem::add_notes
DEBUG: Finished running callback portstartupitem::add_notes
DEBUG: No need to upgrade! ncurses 6.1_0 >= ncurses 6.1_0
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: libunistring 0.9.10_0 exists in the ports tree
DEBUG: libunistring 0.9.10_0  is the latest installed
DEBUG: libunistring 0.9.10_0  is active
DEBUG: Merging existing variants '' into variants
DEBUG: new fully merged portvariants:
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/textproc/libunistring
DEBUG: OS darwin/18.5.0 (Mac OS X 10.14) arch i386
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Finished running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Finished running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Running callback portstartupitem::add_notes
DEBUG: Finished running callback portstartupitem::add_notes
DEBUG: No need to upgrade! libunistring 0.9.10_0 >= libunistring 0.9.10_0
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: libpsl 0.21.0-20190419_0 exists in the ports tree
DEBUG: libpsl 0.21.0-20190419_0  is the latest installed
DEBUG: libpsl 0.21.0-20190419_0  is active
DEBUG: Merging existing variants '' into variants
DEBUG: new fully merged portvariants:
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/net/libpsl
DEBUG: OS darwin/18.5.0 (Mac OS X 10.14) arch i386
DEBUG: Sourcing PortGroup github 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/github-1.0.tcl
DEBUG: Re-registering default for livecheck.regex
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Finished running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Finished running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Running callback portstartupitem::add_notes
DEBUG: Finished running callback portstartupitem::add_notes
DEBUG: No need to upgrade! libpsl 0.21.0-20190419_0 >= libpsl 0.21.0-20190419_0
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: glib2 2.58.3_0 exists in the ports tree
DEBUG: glib2 2.58.3_0 +x11 is the latest installed
DEBUG: glib2 2.58.3_0 +x11 is active
DEBUG: Merging existing variants '+x11' into variants
DEBUG: new fully merged portvariants: x11 +
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/glib2
DEBUG: OS darwin/18.5.0 (Mac OS X 10.14) arch i386
DEBUG: Sourcing PortGroup compiler_blacklist_versions 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/compiler_blacklist_versions-1.0.tcl
DEBUG: compiler clang 1001.0.46.4 not blacklisted because it doesn't match {clang < 600}
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: adding the default universal variant
DEBUG: Executing variant x11 provides x11
DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Finished running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Finished running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Running callback portstartupitem::add_notes
DEBUG: Finished running callback portstartupitem::add_notes
DEBUG: No need to upgrade! glib2 2.58.3_0 >= glib2 2.58.3_0
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: libffi 3.2.1_0 exists in the ports tree
DEBUG: libffi 3.2.1_0  is the latest installed
DEBUG: libffi 3.2.1_0  is active
DEBUG: Merging existing variants '' into variants
DEBUG: new fully merged portvariants:
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/libffi
DEBUG: OS darwin/18.5.0 (Mac OS X 10.14) arch i386
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Finished running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Finished running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Running callback portstartupitem::add_notes
DEBUG: Finished running callback portstartupitem::add_notes
DEBUG: No need to upgrade! libffi 3.2.1_0 >= libffi 3.2.1_0
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: pcre 8.43_0 exists in the ports tree
DEBUG: pcre 8.43_0  is the latest installed
DEBUG: pcre 8.43_0  is active
DEBUG: Merging existing variants '' into variants
DEBUG: new fully merged portvariants:
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/pcre
DEBUG: OS darwin/18.5.0 (Mac OS X 10.14) arch i386
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Finished running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Finished running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Running callback portstartupitem::add_notes
DEBUG: Finished running callback portstartupitem::add_notes
DEBUG: No need to upgrade! pcre 8.43_0 >= pcre 8.43_0
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: bzip2 1.0.6_0 exists in the ports tree
DEBUG: bzip2 1.0.6_0  is the latest installed
DEBUG: bzip2 1.0.6_0  is active
DEBUG: Merging existing variants '' into variants
DEBUG: new fully merged portvariants:
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/archivers/bzip2
DEBUG: OS darwin/18.5.0 (Mac OS X 10.14) arch i386
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Finished running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Finished running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Running callback portstartupitem::add_notes
DEBUG: Finished running callback portstartupitem::add_notes
DEBUG: No need to upgrade! bzip2 1.0.6_0 >= bzip2 1.0.6_0
DEBUG: epoch: in tree: 20090923 installed: 20090923
DEBUG: libedit 20190324-3.1_0 exists in the ports tree
DEBUG: libedit 20190324-3.1_0  is the latest installed
DEBUG: libedit 20190324-3.1_0  is active
DEBUG: Merging existing variants '' into variants
DEBUG: new fully merged portvariants:
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/libedit
DEBUG: OS darwin/18.5.0 (Mac OS X 10.14) arch i386
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Finished running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Finished running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Running callback portstartupitem::add_notes
DEBUG: Finished running callback portstartupitem::add_notes
DEBUG: No need to upgrade! libedit 20190324-3.1_0 >= libedit 20190324-3.1_0
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: zlib 1.2.11_0 exists in the ports tree
DEBUG: zlib 1.2.11_0  is the latest installed
DEBUG: zlib 1.2.11_0  is active
DEBUG: Merging existing variants '' into variants
DEBUG: new fully merged portvariants:
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/archivers/zlib
DEBUG: OS darwin/18.5.0 (Mac OS X 10.14) arch i386
DEBUG: Sourcing PortGroup xcodeversion 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/xcodeversion-1.0.tcl
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Finished running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Finished running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Running callback portstartupitem::add_notes
DEBUG: Finished running callback portstartupitem::add_notes
DEBUG: No need to upgrade! zlib 1.2.11_0 >= zlib 1.2.11_0
DEBUG: epoch: in tree: 1 installed: 1
DEBUG: openssl 1.0.2s_0 exists in the ports tree
DEBUG: openssl 1.0.2s_0  is the latest installed
DEBUG: openssl 1.0.2s_0  is active
DEBUG: Merging existing variants '' into variants
DEBUG: new fully merged portvariants:
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/openssl
DEBUG: OS darwin/18.5.0 (Mac OS X 10.14) arch i386
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Finished running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Finished running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Running callback portstartupitem::add_notes
DEBUG: Finished running callback portstartupitem::add_notes
DEBUG: No need to upgrade! openssl 1.0.2s_0 >= openssl 1.0.2s_0
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: curl-ca-bundle 7.64.1_0 exists in the ports tree
DEBUG: curl-ca-bundle 7.64.1_0  is the latest installed
DEBUG: curl-ca-bundle 7.64.1_0  is active
DEBUG: Merging existing variants '' into variants
DEBUG: new fully merged portvariants:
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/net/curl
DEBUG: OS darwin/18.5.0 (Mac OS X 10.14) arch i386
DEBUG: universal_variant is false, so not adding the default universal variant
DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Finished running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Finished running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Running callback portstartupitem::add_notes
DEBUG: Finished running callback portstartupitem::add_notes
DEBUG: No need to upgrade! curl-ca-bundle 7.64.1_0 >= curl-ca-bundle 7.64.1_0
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: libpixman 0.38.0_0 exists in the ports tree
DEBUG: libpixman 0.38.0_0  is the latest installed
DEBUG: libpixman 0.38.0_0  is active
DEBUG: Merging existing variants '' into variants
DEBUG: new fully merged portvariants:
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/graphics/libpixman
DEBUG: OS darwin/18.5.0 (Mac OS X 10.14) arch i386
DEBUG: Sourcing PortGroup compiler_blacklist_versions 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/compiler_blacklist_versions-1.0.tcl
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: compiler clang 1001.0.46.4 not blacklisted because it doesn't match {clang < 211.10.1}
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Finished running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Finished running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Running callback portstartupitem::add_notes
DEBUG: Finished running callback portstartupitem::add_notes
DEBUG: No need to upgrade! libpixman 0.38.0_0 >= libpixman 0.38.0_0
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: libusb 1.0.22_0 exists in the ports tree
DEBUG: libusb 1.0.22_0  is the latest installed
DEBUG: libusb 1.0.22_0  is active
DEBUG: Merging existing variants '' into variants
DEBUG: new fully merged portvariants:
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/libusb
DEBUG: OS darwin/18.5.0 (Mac OS X 10.14) arch i386
DEBUG: Sourcing PortGroup github 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/github-1.0.tcl
DEBUG: Re-registering default for livecheck.regex
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Finished running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Finished running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Running callback portstartupitem::add_notes
DEBUG: Finished running callback portstartupitem::add_notes
DEBUG: No need to upgrade! libusb 1.0.22_0 >= libusb 1.0.22_0
Skipping deactivate qemu @3.0.0_1+cocoa+target_arm+target_i386+target_x86_64+usb (dry run)
Skipping activate qemu @3.0.0_1+cocoa+target_arm+target_i386+target_x86_64+usb (dry run)
DEBUG: Rebuilding port qemu finished with status 0
Warning: If this was no dry run, rev-upgrade would now run the checks again to find unresolved and newly created problems

Change History (5)

comment:1 Changed 5 years ago by mf2k (Frank Schima)

In the future, please fill in the Port field and add the port maintainer(s) to Cc (port info --maintainers qemu), if any.

Last edited 5 years ago by mf2k (Frank Schima) (previous) (diff)

comment:2 Changed 5 years ago by mf2k (Frank Schima)

Owner: set to raimue
Port: qemu added
Status: newassigned

comment:3 Changed 5 years ago by mf2k (Frank Schima)

Summary: Port QEMU fails to build with target_armqemu: build error with +target_arm

comment:4 Changed 5 years ago by raimue (Rainer Müller)

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)

comment:5 Changed 5 years ago by kencu (Ken)

Resolution: worksforme
Status: assignedclosed

qemu with the ARM target builds and works on Darwin. No reply from the OP. Closing. Please re-open if you have more information.

Note: See TracTickets for help on using tickets.