seemoo-lab / internalblue

Bluetooth experimentation framework for Broadcom and Cypress chips.
678 stars 85 forks source link

pip install -e .\[macoscore,binutils\] fails with "ERROR: Failed building wheel for unicorn" on macOS Mojave #70

Closed jsmif closed 1 year ago

jsmif commented 1 year ago

Describe the bug

pip install -e .[macoscore,binutils] fails with "ERROR: Failed building wheel for unicorn" on macOS Mojave

Hardware and operating system

MacOS Mojave (10.14.6), with Mac Mini Late 2014 -> BCM20702B0

To Reproduce

 brew install binutils-arm.rb
Running `brew update --auto-update`...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> New Formulae
forgit                                                                                                                         gitoxide

Error: Failed to load cask: binutils-arm.rb
Cask 'binutils-arm' is unreadable: wrong constant name #<Class:0x00007f887240f4a0>
Warning: Treating binutils-arm.rb as a formula.
Warning: You are using macOS 10.14.
We (and Apple) do not provide support for this old version.
It is expected behaviour that some formulae will fail to build in this old version.
It is expected behaviour that Homebrew will be buggy and slow.
Do not create any issues about this on Homebrew's GitHub repositories.
Do not create any issues even if you think this message is unrelated.
Any opened issues will be immediately closed without response.
Do not ask for help from Homebrew or its maintainers on social media.
You may ask for help in Homebrew's discussions but are unlikely to receive a response.
Try to figure out the problem yourself and submit a fix as a pull request.
We will review it but may or may not accept it.

==> Fetching binutils-arm
==> Downloading https://ftpmirror.gnu.org/binutils/binutils-2.38.tar.gz
Already downloaded: /Users/user/Library/Caches/Homebrew/downloads/48422b8a58563d53727c87f6122970e3af0ed66fa8d19c6668f447c0f89227fb--binutils-2.38.tar.gz
Warning: A newer Command Line Tools release is available.
Update them from Software Update in System Preferences.

If that doesn't show you any updates, run:
  sudo rm -rf /Library/Developer/CommandLineTools
  sudo xcode-select --install

Alternatively, manually download them from:
  https://developer.apple.com/download/all/.
You should download the Command Line Tools for Xcode 11.3.1.

==> ./configure --prefix=/usr/local/Cellar/binutils-arm/2.38 --target=arm-unknown-linux-gnu --disable-static --disable-multilib --disable-nls --disable-werror
==> make MAKEINFO=true -j
==> make MAKEINFO=true install
==> rm -rf /usr/local/Cellar/binutils-arm/2.38/share/info
🍺  /usr/local/Cellar/binutils-arm/2.38: 139 files, 15.7MB, built in 3 minutes 11 seconds
==> Running `brew cleanup binutils-arm`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
(venv) umm:internalblue user$ pip install -e .\[macoscore,binutils\]
Obtaining file:///Users/user/Downloads/internalblue
  Preparing metadata (setup.py) ... done
Requirement already satisfied: future in ./venv/lib/python3.11/site-packages (from internalblue==0.4) (0.18.3)
Requirement already satisfied: cmd2 in ./venv/lib/python3.11/site-packages (from internalblue==0.4) (2.4.3)
Requirement already satisfied: pure-python-adb in ./venv/lib/python3.11/site-packages (from internalblue==0.4) (0.3.0.dev0)
Collecting pwntools>=4.0.1 (from internalblue==0.4)
  Downloading pwntools-4.9.0-py2.py3-none-any.whl (11.7 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.7/11.7 MB 1.0 MB/s eta 0:00:00
Collecting pyelftools (from internalblue==0.4)
  Downloading pyelftools-0.29-py2.py3-none-any.whl (174 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 174.3/174.3 kB 622.6 kB/s eta 0:00:00
Requirement already satisfied: pyobjc in ./venv/lib/python3.11/site-packages (from internalblue==0.4) (9.1.1)
Collecting paramiko>=1.15.2 (from pwntools>=4.0.1->internalblue==0.4)
  Downloading paramiko-3.1.0-py3-none-any.whl (211 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 211.2/211.2 kB 702.3 kB/s eta 0:00:00
Collecting mako>=1.0.0 (from pwntools>=4.0.1->internalblue==0.4)
  Downloading Mako-1.2.4-py3-none-any.whl (78 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.7/78.7 kB 402.4 kB/s eta 0:00:00
Collecting capstone>=3.0.5rc2 (from pwntools>=4.0.1->internalblue==0.4)
  Downloading capstone-5.0.0rc2.tar.gz (2.6 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.6/2.6 MB 1.0 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
Collecting ropgadget>=5.3 (from pwntools>=4.0.1->internalblue==0.4)
  Downloading ROPGadget-7.3-py3-none-any.whl (32 kB)
Collecting pyserial>=2.7 (from pwntools>=4.0.1->internalblue==0.4)
  Downloading pyserial-3.5-py2.py3-none-any.whl (90 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.6/90.6 kB 479.2 kB/s eta 0:00:00
Collecting requests>=2.0 (from pwntools>=4.0.1->internalblue==0.4)
  Downloading requests-2.29.0-py3-none-any.whl (62 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.5/62.5 kB 328.6 kB/s eta 0:00:00
Requirement already satisfied: pip>=6.0.8 in ./venv/lib/python3.11/site-packages (from pwntools>=4.0.1->internalblue==0.4) (23.1.2)
Collecting pygments>=2.0 (from pwntools>=4.0.1->internalblue==0.4)
  Downloading Pygments-2.15.1-py3-none-any.whl (1.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 981.5 kB/s eta 0:00:00
Collecting pysocks (from pwntools>=4.0.1->internalblue==0.4)
  Downloading PySocks-1.7.1-py3-none-any.whl (16 kB)
Collecting python-dateutil (from pwntools>=4.0.1->internalblue==0.4)
  Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 kB 643.1 kB/s eta 0:00:00
Collecting packaging (from pwntools>=4.0.1->internalblue==0.4)
  Downloading packaging-23.1-py3-none-any.whl (48 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.9/48.9 kB 219.8 kB/s eta 0:00:00
Collecting psutil>=3.3.0 (from pwntools>=4.0.1->internalblue==0.4)
  Downloading psutil-5.9.5-cp36-abi3-macosx_10_9_x86_64.whl (245 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 245.3/245.3 kB 622.6 kB/s eta 0:00:00
Collecting intervaltree>=3.0 (from pwntools>=4.0.1->internalblue==0.4)
  Downloading intervaltree-3.1.0.tar.gz (32 kB)
  Preparing metadata (setup.py) ... done
Collecting sortedcontainers (from pwntools>=4.0.1->internalblue==0.4)
  Downloading sortedcontainers-2.4.0-py2.py3-none-any.whl (29 kB)
Collecting unicorn>=1.0.2rc1 (from pwntools>=4.0.1->internalblue==0.4)
  Downloading unicorn-2.0.1.post1.tar.gz (2.8 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.8/2.8 MB 1.0 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
Collecting six>=1.12.0 (from pwntools>=4.0.1->internalblue==0.4)
  Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting rpyc (from pwntools>=4.0.1->internalblue==0.4)
  Downloading rpyc-5.3.1-py3-none-any.whl (74 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 74.0/74.0 kB 422.2 kB/s eta 0:00:00
Collecting colored-traceback (from pwntools>=4.0.1->internalblue==0.4)
  Downloading colored-traceback-0.3.0.tar.gz (3.8 kB)
  Preparing metadata (setup.py) ... done
Requirement already satisfied: attrs>=16.3.0 in ./venv/lib/python3.11/site-packages (from cmd2->internalblue==0.4) (23.1.0)
Requirement already satisfied: pyperclip>=1.6 in ./venv/lib/python3.11/site-packages (from cmd2->internalblue==0.4) (1.8.2)
Requirement already satisfied: wcwidth>=0.1.7 in ./venv/lib/python3.11/site-packages (from cmd2->internalblue==0.4) (0.2.6)
Requirement already satisfied: pyobjc-core==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-AddressBook==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-AppleScriptKit==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-ApplicationServices==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-Automator==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-CFNetwork==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-Cocoa==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-CoreAudio==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-CoreAudioKit==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-CoreData==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-CoreMIDI==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-CoreServices==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-CoreText==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-DiscRecording==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-DiscRecordingUI==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-DiskArbitration==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-DVDPlayback==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-ExceptionHandling==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-InstallerPlugins==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-IOBluetooth==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-IOBluetoothUI==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-LatentSemanticMapping==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-LaunchServices==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-OSAKit==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-PreferencePanes==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-Quartz==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-ScreenSaver==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-Security==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-SecurityFoundation==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-SecurityInterface==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-SearchKit==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-SyncServices==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-SystemConfiguration==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-WebKit==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-AppleScriptObjC==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-CoreLocation==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-CoreWLAN==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-ImageCaptureCore==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-IOSurface==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-NetFS==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-OpenDirectory==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-ServiceManagement==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-iTunesLibrary==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-AVFoundation==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-CoreMedia==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-CoreMediaIO==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-IMServicePlugIn==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-StoreKit==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-SceneKit==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-libdispatch==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-libxpc==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-AudioVideoBridging==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-Accounts==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-EventKit==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-GameCenter==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-Social==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-GameKit==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-VideoToolbox==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-AVKit==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-GameController==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-MapKit==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-MediaAccessibility==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-MediaLibrary==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-MediaToolbox==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-SpriteKit==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-CloudKit==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-CoreBluetooth==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-CryptoTokenKit==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-FinderSync==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-LocalAuthentication==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-MultipeerConnectivity==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-NotificationCenter==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-Contacts==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-ContactsUI==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-Metal==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-MetalKit==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-ModelIO==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-NetworkExtension==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-Photos==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-PhotosUI==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-SafariServices==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-GameplayKit==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-Intents==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-MediaPlayer==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-ColorSync==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-CoreML==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-CoreSpotlight==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-ExternalAccessory==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-MetalPerformanceShaders==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-Vision==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-AdSupport==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-BusinessChat==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-NaturalLanguage==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-Network==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-UserNotifications==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-VideoSubscriberAccount==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-CalendarStore==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-Collaboration==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-DictionaryServices==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-FSEvents==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-InputMethodKit==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-InstantMessage==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Requirement already satisfied: pyobjc-framework-ScriptingBridge==9.1.1 in ./venv/lib/python3.11/site-packages (from pyobjc->internalblue==0.4) (9.1.1)
Collecting MarkupSafe>=0.9.2 (from mako>=1.0.0->pwntools>=4.0.1->internalblue==0.4)
  Downloading MarkupSafe-2.1.2-cp311-cp311-macosx_10_9_x86_64.whl (13 kB)
Collecting bcrypt>=3.2 (from paramiko>=1.15.2->pwntools>=4.0.1->internalblue==0.4)
  Downloading bcrypt-4.0.1-cp36-abi3-macosx_10_10_universal2.whl (473 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 473.4/473.4 kB 879.8 kB/s eta 0:00:00
Collecting cryptography>=3.3 (from paramiko>=1.15.2->pwntools>=4.0.1->internalblue==0.4)
  Downloading cryptography-40.0.2-cp36-abi3-macosx_10_12_x86_64.whl (2.8 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.8/2.8 MB 1.0 MB/s eta 0:00:00
Collecting pynacl>=1.5 (from paramiko>=1.15.2->pwntools>=4.0.1->internalblue==0.4)
  Downloading PyNaCl-1.5.0-cp36-abi3-macosx_10_10_universal2.whl (349 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 349.9/349.9 kB 797.6 kB/s eta 0:00:00
Collecting charset-normalizer<4,>=2 (from requests>=2.0->pwntools>=4.0.1->internalblue==0.4)
  Downloading charset_normalizer-3.1.0-cp311-cp311-macosx_10_9_x86_64.whl (123 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 123.7/123.7 kB 546.9 kB/s eta 0:00:00
Collecting idna<4,>=2.5 (from requests>=2.0->pwntools>=4.0.1->internalblue==0.4)
  Downloading idna-3.4-py3-none-any.whl (61 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 314.4 kB/s eta 0:00:00
Collecting urllib3<1.27,>=1.21.1 (from requests>=2.0->pwntools>=4.0.1->internalblue==0.4)
  Downloading urllib3-1.26.15-py2.py3-none-any.whl (140 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 140.9/140.9 kB 615.6 kB/s eta 0:00:00
Collecting certifi>=2017.4.17 (from requests>=2.0->pwntools>=4.0.1->internalblue==0.4)
  Downloading certifi-2022.12.7-py3-none-any.whl (155 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 155.3/155.3 kB 664.5 kB/s eta 0:00:00
Collecting plumbum (from rpyc->pwntools>=4.0.1->internalblue==0.4)
  Downloading plumbum-1.8.1-py3-none-any.whl (126 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 126.7/126.7 kB 524.8 kB/s eta 0:00:00
Collecting cffi>=1.12 (from cryptography>=3.3->paramiko>=1.15.2->pwntools>=4.0.1->internalblue==0.4)
  Downloading cffi-1.15.1-cp311-cp311-macosx_10_9_x86_64.whl (179 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 179.2/179.2 kB 646.2 kB/s eta 0:00:00
Collecting pycparser (from cffi>=1.12->cryptography>=3.3->paramiko>=1.15.2->pwntools>=4.0.1->internalblue==0.4)
  Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 kB 543.1 kB/s eta 0:00:00
Building wheels for collected packages: capstone, intervaltree, unicorn, colored-traceback
  Building wheel for capstone (setup.py) ... done
  Created wheel for capstone: filename=capstone-5.0.0rc2-py3-none-macosx_10_14_x86_64.whl size=2306126 sha256=fcf4d8ac4ab1daf7f76a405b634fe9c2a97a3a4c69887e49498680b11624c547
  Stored in directory: /Users/user/Library/Caches/pip/wheels/44/52/03/d5d67f9fdb666e1997c2f0991575ce8b14e45fecfd9b398ede
  Building wheel for intervaltree (setup.py) ... done
  Created wheel for intervaltree: filename=intervaltree-3.1.0-py2.py3-none-any.whl size=26099 sha256=a688ee6c48e644c69164983ac3a01f5ed9f3c89bb18ccef1f00f983a2b5c8799
  Stored in directory: /Users/user/Library/Caches/pip/wheels/31/d7/d9/eec6891f78cac19a693bd40ecb8365d2f4613318c145ec9816
  Building wheel for unicorn (setup.py) ... error
  error: subprocess-exited-with-error

  Γ— python setup.py bdist_wheel did not run successfully.
  β”‚ exit code: 1
  ╰─> [1 lines of output]
      error: [Errno 2] No such file or directory: 'cmake'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for unicorn
  Running setup.py clean for unicorn
  Building wheel for colored-traceback (setup.py) ... done
  Created wheel for colored-traceback: filename=colored_traceback-0.3.0-py3-none-any.whl size=4608 sha256=f163bda109e202f98f740940d6fac5ba38ccf1e68df728fd2532de97a41abe35
  Stored in directory: /Users/user/Library/Caches/pip/wheels/45/a9/5f/635d7d8d70eb182fd22f2b0bebce713206e172769bea9f106a
Successfully built capstone intervaltree colored-traceback
Failed to build unicorn
ERROR: Could not build wheels for unicorn, which is required to install pyproject.toml-based projects

Additional context

While the brew install had warnings, the "pip install -e .[macoscore,binutils] " seemed to be going fine, until it ran into the unicorn issue.

Note, I had successfully run "pip install -e .[macoscore]" without binutils and run internal blue previously, but then I went back and wanted to try to remove the warning about no pwntools.

jsmif commented 1 year ago

This seems to be correctable by installing "cmake" with brew. It'd recommend adding that to the macOS documentation, and then you can close this.

jsmif commented 1 year ago

Made a PR to fix: https://github.com/seemoo-lab/internalblue/pull/72/files