Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup unsuccessful on managed Mac #93

Closed
himanshunamdeo opened this issue Jan 28, 2021 · 4 comments
Closed

Setup unsuccessful on managed Mac #93

himanshunamdeo opened this issue Jan 28, 2021 · 4 comments

Comments

@himanshunamdeo
Copy link

Hi,
I am trying to setup STF iOS on my organisation managed Mac, but after running ./init on terminal the process is stopping after giving following warnings:

Could not fix pkgconfig for libplist; could not locate installed pc file in Cellar
Could not fix pkgconfig for libusbmuxd; could not locate installed pc file in Cellar.

Below are the terminal logs:

vivek1.sinha@A356KMLZYA6LUYA stf_ios_support % ./init.sh
Xcode 12.0 installed
find: /usr/local/Cellar: No such file or directory
Installing missing packages:
jq
graphicsmagick
zeromq
protobuf
yasm
pkg-config
carthage
automake
autoconf
libtool
wget
go
node@12
libsodium
czmq
jpeg-turbo
nanomsg
libgcrypt
gnutls
mobiledeviceUpdating Homebrew...
==> Auto-updated Homebrew!
Updated Homebrew from bca4804a9 to f7a718c1f.
Updated 2 taps (homebrew/core and homebrew/cask).
==> New Formulae
aliddns cloudflare-wrangler crane hexo luv nuclei parliament vsh
ansible@2.9 cpplint crcany ko msc-generator osmcoastline vitess
==> Updated Formulae
Updated 543 formulae.
==> Renamed Formulae
prest -> prestd
==> New Casks
brewlet kieler pokemon-trading-card-game-online ptpwebcam spotter
f-bar lightkey prezi-video signet
==> Homebrew was updated to version 2.7.5
The changelog can be found at:
https://github.com/Homebrew/brew/releases/tag/2.7.5
Warning: jq 1.6 is already installed and up-to-date.
To reinstall 1.6, run:
brew reinstall jq
Warning: graphicsmagick 1.3.36 is already installed and up-to-date.
To reinstall 1.3.36, run:
brew reinstall graphicsmagick
Warning: protobuf 3.14.0 is already installed and up-to-date.
To reinstall 3.14.0, run:
brew reinstall protobuf
Warning: yasm 1.3.0_2 is already installed and up-to-date.
To reinstall 1.3.0_2, run:
brew reinstall yasm
Warning: pkg-config 0.29.2_3 is already installed and up-to-date.
To reinstall 0.29.2_3, run:
brew reinstall pkg-config
Warning: automake 1.16.3 is already installed and up-to-date.
To reinstall 1.16.3, run:
brew reinstall automake
Warning: autoconf 2.69 is already installed and up-to-date.
To reinstall 2.69, run:
brew reinstall autoconf
Warning: libtool 2.4.6_2 is already installed and up-to-date.
To reinstall 2.4.6_2, run:
brew reinstall libtool
Warning: node@12 12.20.1 is already installed and up-to-date.
To reinstall 12.20.1, run:
brew reinstall node@12
Warning: libsodium 1.0.18_1 is already installed and up-to-date.
To reinstall 1.0.18_1, run:
brew reinstall libsodium
Warning: czmq 4.2.0 is already installed and up-to-date.
To reinstall 4.2.0, run:
brew reinstall czmq
Warning: jpeg-turbo 2.0.6 is already installed, it's just not linked.
To link this version, run:
brew link jpeg-turbo
Warning: nanomsg 1.1.5 is already installed and up-to-date.
To reinstall 1.1.5, run:
brew reinstall nanomsg
Warning: libgcrypt 1.8.7_1 is already installed and up-to-date.
To reinstall 1.8.7_1, run:
brew reinstall libgcrypt
Warning: gnutls 3.6.15 is already installed and up-to-date.
To reinstall 3.6.15, run:
brew reinstall gnutls
Warning: mobiledevice 2.0.0 is already installed and up-to-date.
To reinstall 2.0.0, run:
brew reinstall mobiledevice
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/zeromq-4.3.4.catalina.bottle.tar.gz
######################################################################## 100.0%
==> Pouring zeromq-4.3.4.catalina.bottle.tar.gz
🍺 /Users/vivek1.sinha/Work/Tools/Brew/brew-master/Cellar/zeromq/4.3.4: 83 files, 6.0MB
Removing: /Users/vivek1.sinha/Library/Caches/Homebrew/zeromq--4.3.3_1.catalina.bottle.tar.gz... (1.6MB)
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/carthage-0.36.1.catalina.bottle.tar.gz
######################################################################## 100.0%
Error: carthage 0.36.0 is already installed
To upgrade to 0.36.1, run:
brew upgrade carthage
Warning: Building wget from source as the bottle needs:

  • HOMEBREW_CELLAR: /usr/local/Cellar (yours is /Users/vivek1.sinha/Work/Tools/Brew/brew-master/Cellar)
  • HOMEBREW_PREFIX: /usr/local (yours is /Users/vivek1.sinha/Work/Tools/Brew/brew-master)
    ==> Downloading https://ftp.gnu.org/gnu/wget/wget-1.21.1.tar.gz
    ######################################################################## 100.0%
    Warning: Your Xcode (12.0) is outdated.
    Please update to Xcode 12.3 (or delete it).
    Xcode can be updated from the App Store.

Error: wget 1.21 is already installed
To upgrade to 1.21.1, run:
brew upgrade wget
Warning: Building go from source as the bottle needs:

==> Installing dependencies for czmq: python@3.9, boost, source-highlight, asciidoc, docbook-xsl, gnu-getopt and xmlto
==> Installing czmq dependency: python@3.9
Warning: Your Xcode (12.0) is outdated.
Please update to Xcode 12.3 (or delete it).
Xcode can be updated from the App Store.

==> ./configure --prefix=/Users/vivek1.sinha/Work/Tools/Brew/brew-master/Cellar/python@3.9/3.9.1_6 --enable-ipv6 --datarootdir=/Users/vivek1.sinha/Work/Tools/Brew/brew-master/Cellar/python@3.9/3.9.1_6/share --datadir=/Users/vivek1.sinha/Wo
Last 15 lines from /Users/vivek1.sinha/Library/Logs/Homebrew/python@3.9/01.configure:
checking for dup2... yes
checking for strdup... yes
checking for getpgrp... yes
checking for setpgrp... (cached) yes
checking for library containing crypt... none required
checking for library containing crypt_r... no
checking for crypt_r... no
checking for clock_gettime... yes
checking for clock_getres... yes
checking for clock_settime... yes
checking for major... yes
checking for getaddrinfo... yes
checking getaddrinfo bug... yes
Fatal: You must get working getaddrinfo() function.
or you can specify "--disable-ipv6".
Do not report this issue to Homebrew/brew or Homebrew/core!

These open issues may also help:
python@3.9: update pip, setuptools Homebrew/homebrew-core#69668
Test and build failures found during python 3.9 testing Homebrew/homebrew-core#66450

Error: Your Xcode (12.0) is outdated.
Please update to Xcode 12.3 (or delete it).
Xcode can be updated from the App Store.

libplist - Installing HEAD
Updating Homebrew...
Warning: libplist HEAD-275cecd is already installed and up-to-date.
To reinstall HEAD, run:
brew reinstall libplist
Could not fix pkgconfig for libplist; could not locate installed pc file in Cellar
libusbmuxd - Installing HEAD
Warning: libusbmuxd HEAD-c56e112 is already installed and up-to-date.
To reinstall HEAD, run:
brew reinstall libusbmuxd
Could not fix pkgconfig for libusbmuxd; could not locate installed pc file in Cellar

@nanoscopic
Copy link
Collaborator

Yeah libimobiledevice and it's various bits have been a pain to get installed on MacOS properly. They keep changing how it works. For the most park you can just install it directly via brew now and then delete the bits of the Makefile and it's related scripts that attempt to install it.

My suggestion is to move to Control Floor instead as it stabilizes. See #94

Control Floor doesn't use libimobiledevice, because it's too flaky imo. It also doesn't use ZeroMQ. Or NodeJS. Essentially it uses 1/40th the amount of various stuffs used by stf_ios_support and STF.

@koltevinod1
Copy link

@nanoscopic how can we integrate control floor withh stf??

@koltevinod1
Copy link

@himanshunamdeo do you got solution for this issue??

@himanshunamdeo
Copy link
Author

@koltevinod1 I wasn't able to figure out this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants