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

brew tap cesanta/mos #6

Open
iotechFabio opened this issue Sep 7, 2020 · 8 comments
Open

brew tap cesanta/mos #6

iotechFabio opened this issue Sep 7, 2020 · 8 comments

Comments

@iotechFabio
Copy link

iotechFabio commented Sep 7, 2020

After follow the Mac OS install process, execute brew tap cesanta/mos, I got the error:

(base) MacBook-Pro-de-Fabio:x120_rev_4_v_1_0_0 fabioguimaraes$ brew tap cesanta/mos
Updating Homebrew...
==> Downloading https://homebrew.bintray.com/bottles-portable-ruby/portable-ruby-2.6.3_2.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring portable-ruby-2.6.3_2.yosemite.bottle.tar.gz
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core and homebrew/services).
==> New Formulae
acl2                      colfer                    [email protected]                   kondo                     openstackclient           so
act                       copilot                   ghz                       ksync                     oq                        solidity
airshare                  coredns                   ghz-web                   kubie                     ormolu                    sollya
amp                       cortex                    git-hooks-go              kumactl                   ory-hydra                 sonic
apidoc                    cpio                      gitui                     lanraragi                 osi                       sponge
arb                       cpm                       gluon                     latexindent               osm                       spotify-tui
argo                      cpr                       [email protected]                   lc0                       packetbeat                spotifyd
argocd                    cqlkit                    gocloc                    ldpl                      packr                     sqlite-utils
arrayfire                 croaring                  gofish                    leakcanary-shark          pandoc-include-code       standardese
asimov                    cubejs-cli                golangci-lint             libcouchbase@2            pandocomatic              staticcheck
asuka                     cucumber-ruby             gostatic                  libgnt                    parallel-hashmap          subfinder
athenacli                 datasette                 gradle-profiler           libnetworkit              periscope                 termcolor
austin                    dgraph                    graphql-cli               libolm                    pfetch                    terraform-ls
awsweeper                 diskonaut                 gravity                   liboqs                    pipgrip                   [email protected]
blogc                     dmagnetic                 grpcui                    libpqxx@6                 po4a                      thanos
bombadillo                dnsprobe                  guile@2                   libtorrent-rakshasa       podman                    toot
bond                      doctest                   gulp-cli                  litecli                   promtail                  torchvision
borgbackup                dosbox-staging            hashlink                  lizard-analyzer           protoc-gen-gogo           trailscraper
buildozer                 duckdb                    hasura-cli                localstack                protoc-gen-gogofaster     tre-command
c7n                       duckscript                hdf5-mpi                  logcli                    pwncat                    ugrep
cadence                   duktape                   heksa                     loki                      [email protected]                unum
carton                    earthly                   httpx                     lunchy                    qrcp                      uptoc
cassowary                 eksctl                    hy                        lunchy-go                 rbtools                   usb.ids
castget                   eleventy                  i686-elf-binutils         macos-trash               redo                      uutils-coreutils
cbc                       empty                     i686-elf-gcc              mandown                   reg                       vapor
cddlib                    erlang@22                 idris2                    [email protected]              reorder-python-imports    vcpkg
cdktf                     eva                       immudb                    marked                    rgf                       vgrep
cdo                       fargatecli                inja                      mask                      rqlite                    vlang
cgl                       fava                      inko                      mhonarc                   rtorrent                  vlmcsd
chalk-cli                 fblog                     ioctl                     microplane                rust-analyzer             volk
charge                    fennel                    jerryscript               naabu                     s2n                       vsearch
chart-testing             fetch                     jimtcl                    nanorc                    saltwater                 wasm-pack
choose-rust               field3d                   jinx                      nest                      scw@1                     wgcf
chrony                    flamegraph                jobber                    networkit                 sdns                      wownero
clair                     flank                     jsonnet-bundler           never                     semgrep                   wren
clang-format@8            flarectl                  k9s                       nfpm                      shallow-backup            wren-cli
claws-mail                folderify                 kamel                     ngs                       sheldon                   xxh
cli11                     fpdns                     kde-extra-cmake-modules   notmuch-mutt              silicon                   yj
clip                      fplll                     kde-karchive              numcpp                    simdjson                  z.lua
cloud-nuke                functionalplus            kde-kdoctools             oci-cli                   skylighting               zenith
cloudformation-cli        gateway-go                kde-ki18n                 omake                     sleef                     zoxide
coconut                   gau                       kde-threadweaver          openfast                  smlpkg
code-server               gcc@9                     kona                      openfst                   snap
==> Updated Formulae
Updated 4593 formulae.
==> Renamed Formulae
[email protected] -> elasticsearch@6                                            [email protected] -> kibana@6
interactive-rebase-tool -> git-interactive-rebase-tool                          mkl-dnn -> onednn
jfrog-cli-go -> jfrog-cli
==> Deleted Formulae
python ✔            cargo-completion    deis                [email protected]   i386-elf-grub       marathon-swift      sflowtool           urbit
baidupcs-go         crc                 deisctl             gnome-builder       [email protected]          pijul               tomee-jax-rs        wpscan
biogeme             cryptopp            [email protected]   highlighting-kate   lumo                residualvm          unravel

==> Tapping cesanta/mos
Cloning into '/usr/local/Homebrew/Library/Taps/cesanta/homebrew-mos'...
remote: Enumerating objects: 233, done.
remote: Counting objects: 100% (233/233), done.
remote: Compressing objects: 100% (179/179), done.
remote: Total 1061 (delta 58), reused 229 (delta 54), pack-reused 828
Receiving objects: 100% (1061/1061), 124.28 KiB | 323.00 KiB/s, done.
Resolving deltas: 100% (271/271), done.
Tapped 2 formulae (27 files, 180.2KB).
(base) MacBook-Pro-de-Fabio:x120_rev_4_v_1_0_0 fabioguimaraes$ brew install mos
Updating Homebrew...
==> Installing mos from cesanta/mos
==> Downloading https://homebrew.bintray.com/bottles/confuse-3.3.high_sierra.bottle.tar.gz
######################################################################## 100.0%
==> Downloading https://homebrew.bintray.com/bottles/libusb-1.0.23.high_sierra.bottle.1.tar.gz
######################################################################## 100.0%
==> Downloading https://homebrew.bintray.com/bottles/libftdi-1.5.high_sierra.bottle.tar.gz
######################################################################## 100.0%
==> Downloading https://homebrew.bintray.com/bottles/go-1.15.1.high_sierra.bottle.tar.gz
==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/651e5f5fcb413f5efcb70512954d086afc48a047ec70e23683f2b2fc64fb06c3?response-content-disposition=attach
######################################################################## 100.0%
==> Downloading https://homebrew.bintray.com/bottles/make-4.3.high_sierra.bottle.tar.gz
==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/e7f49884dbeaae3e7ccc9dc3a58fec587c2a594f50314dbc33cde44c6f807f53?response-content-disposition=attach
######################################################################## 100.0%
==> Downloading https://homebrew.bintray.com/bottles/pkg-config-0.29.2_3.high_sierra.bottle.tar.gz
==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/8c6160305abd948b8cf3e0d5c6bb0df192fa765bbb9535dda0b573cb60abbe52?response-content-disposition=attach
######################################################################## 100.0%
==> Downloading https://homebrew.bintray.com/bottles/gdbm-1.18.1_1.high_sierra.bottle.tar.gz
==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/4a644af2fcc2781c3a161209deff7b62d760058bc1bac7c4f91a5ce5738f0798?response-content-disposition=attach
######################################################################## 100.0%
==> Downloading https://homebrew.bintray.com/bottles/openssl%401.1-1.1.1g.high_sierra.bottle.tar.gz
==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/eebad96faa46489dc8bf8502b16ec0192f5ff9d803794c9744ad50352bfca0f7?response-content-disposition=attach
######################################################################## 100.0%
==> Downloading https://homebrew.bintray.com/bottles/readline-8.0.4.high_sierra.bottle.tar.gz
==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/896a3d50ce8962ba56e853bdd590fadeabc00ab36475d143d6c2bea5cc15bb28?response-content-disposition=attach
######################################################################## 100.0%
==> Downloading https://homebrew.bintray.com/bottles/sqlite-3.33.0.high_sierra.bottle.tar.gz
==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/9fd2f150b96a7ca378f84e09a2715c7a87c1b95a3a3a241a25f57d22ab0be781?response-content-disposition=attach
######################################################################## 100.0%
==> Downloading https://homebrew.bintray.com/bottles/xz-5.2.5.high_sierra.bottle.tar.gz
==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/1491b2b20c40c3cb0b990f520768d7e876e4ab4a7dc1da9994d0150da34ba5c6?response-content-disposition=attach
######################################################################## 100.0%
==> Downloading https://homebrew.bintray.com/bottles/python%403.8-3.8.5.high_sierra.bottle.tar.gz
==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/089e6eb9f410d2b8c975734df1633b847e6738f193a999f2d1f6cce82aa260b6?response-content-disposition=attach
######################################################################## 100.0%
==> Downloading https://files.pythonhosted.org/packages/11/74/2c151a13ef41ab9fb43b3c4ff9e788e0496ed7923b2078d42cab30622bdf/virtualenv-16.7.4.tar.gz
######################################################################## 100.0%
==> Downloading https://github.com/mongoose-os/mos/archive/1ec85951e77649f1151bc06a12901faa784a991a.tar.gz
==> Downloading from https://codeload.github.com/mongoose-os/mos/tar.gz/1ec85951e77649f1151bc06a12901faa784a991a
######################################################################## 100.0%
==> Installing dependencies for cesanta/mos/mos: confuse, libusb, libftdi, go, make, pkg-config, gdbm, [email protected], readline, sqlite, xz and python3
==> Installing cesanta/mos/mos dependency: confuse
==> Pouring confuse-3.3.high_sierra.bottle.tar.gz
🍺  /usr/local/Cellar/confuse/3.3: 15 files, 195.9KB
==> Installing cesanta/mos/mos dependency: libusb
==> Pouring libusb-1.0.23.high_sierra.bottle.1.tar.gz
🍺  /usr/local/Cellar/libusb/1.0.23: 26 files, 470.7KB
==> Installing cesanta/mos/mos dependency: libftdi
==> Pouring libftdi-1.5.high_sierra.bottle.tar.gz
Error: An unexpected error occurred during the `brew link` step
The formula built, but is not symlinked into /usr/local
Directory not empty @ dir_s_rmdir - /usr/local/opt/libftdi
Error: Directory not empty @ dir_s_rmdir - /usr/local/opt/libftdi
(base) MacBook-Pro-de-Fabio:x120_rev_4_v_1_0_0 fabioguimaraes$ mos version
-bash: /Users/fabioguimaraes/.mos/bin/mos: No such file or directory
(base) MacBook-Pro-de-Fabio:x120_rev_4_v_1_0_0 fabioguimaraes$ mos -- version
-bash: /Users/fabioguimaraes/.mos/bin/mos: No such file or directory
(base) MacBook-Pro-de-Fabio:x120_rev_4_v_1_0_0 fabioguimaraes$ mos --version
-bash: /Users/fabioguimaraes/.mos/bin/mos: No such file or directory
(base) MacBook-Pro-de-Fabio:x120_rev_4_v_1_0_0 fabioguimaraes$ brew install mos
Updating Homebrew...
==> Installing mos from cesanta/mos
==> Downloading https://homebrew.bintray.com/bottles/go-1.15.1.high_sierra.bottle.tar.gz
Already downloaded: /Users/fabioguimaraes/Library/Caches/Homebrew/downloads/7fb6d9da931a5a208e2944e112d0ab97dab8308e1202a2eeabb2d0274cb24601--go-1.15.1.high_sierra.bottle.tar.gz
==> Downloading https://homebrew.bintray.com/bottles/make-4.3.high_sierra.bottle.tar.gz
Already downloaded: /Users/fabioguimaraes/Library/Caches/Homebrew/downloads/5271beca3548e0247423628c3d9ee6ab244029b0db5af8a9ce0b998b3ad5cb81--make-4.3.high_sierra.bottle.tar.gz
==> Downloading https://homebrew.bintray.com/bottles/pkg-config-0.29.2_3.high_sierra.bottle.tar.gz
Already downloaded: /Users/fabioguimaraes/Library/Caches/Homebrew/downloads/ee726a3b088a649297b8c9a3d61274377a55c7d66b3ae36d81aa5428efc633d7--pkg-config-0.29.2_3.high_sierra.bottle.tar.gz
==> Downloading https://homebrew.bintray.com/bottles/gdbm-1.18.1_1.high_sierra.bottle.tar.gz
Already downloaded: /Users/fabioguimaraes/Library/Caches/Homebrew/downloads/e653b546776001c6c14733b569118271bfd713c3ba164fe38977f138e703154d--gdbm-1.18.1_1.high_sierra.bottle.tar.gz
==> Downloading https://homebrew.bintray.com/bottles/openssl%401.1-1.1.1g.high_sierra.bottle.tar.gz
Already downloaded: /Users/fabioguimaraes/Library/Caches/Homebrew/downloads/f4d1e61cbd0320c46bbc34cb5f14a50df34a634093b8d209a753a952e2dc6447--openssl@1.1-1.1.1g.high_sierra.bottle.tar.gz
==> Downloading https://homebrew.bintray.com/bottles/readline-8.0.4.high_sierra.bottle.tar.gz
Already downloaded: /Users/fabioguimaraes/Library/Caches/Homebrew/downloads/0ae03a9a845409d6d835da4b86fc2240cb67990dea028f135a7d07f54335f518--readline-8.0.4.high_sierra.bottle.tar.gz
==> Downloading https://homebrew.bintray.com/bottles/sqlite-3.33.0.high_sierra.bottle.tar.gz
Already downloaded: /Users/fabioguimaraes/Library/Caches/Homebrew/downloads/211f26da52a46097cfe909a44de3f57f396f45e2e6fb47e190eb7ef058309683--sqlite-3.33.0.high_sierra.bottle.tar.gz
==> Downloading https://homebrew.bintray.com/bottles/xz-5.2.5.high_sierra.bottle.tar.gz
Already downloaded: /Users/fabioguimaraes/Library/Caches/Homebrew/downloads/cdeedc9b7e133aeb86dba4ce47adc328e6dd73387463a0c8bdb1ce91bd4a053a--xz-5.2.5.high_sierra.bottle.tar.gz
==> Downloading https://homebrew.bintray.com/bottles/python%403.8-3.8.5.high_sierra.bottle.tar.gz
Already downloaded: /Users/fabioguimaraes/Library/Caches/Homebrew/downloads/7ec6b87e8098ca63811acce638a33b85dd03d41e03589b0ea6d6c3545fd4f3d0--python@3.8-3.8.5.high_sierra.bottle.tar.gz
==> Downloading https://files.pythonhosted.org/packages/11/74/2c151a13ef41ab9fb43b3c4ff9e788e0496ed7923b2078d42cab30622bdf/virtualenv-16.7.4.tar.gz
Already downloaded: /Users/fabioguimaraes/Library/Caches/Homebrew/downloads/507d2087bf24df82641b681a5fe4da778ef50ebe819a86ea1b584f70788f0f63--virtualenv-16.7.4.tar.gz
==> Downloading https://github.com/mongoose-os/mos/archive/1ec85951e77649f1151bc06a12901faa784a991a.tar.gz
Already downloaded: /Users/fabioguimaraes/Library/Caches/Homebrew/downloads/2d622e33e294895e8efccc15b6ce8417e929e39f2829760f2a086ada4de549da--mos-1ec85951e77649f1151bc06a12901faa784a991a.tar.gz
==> Installing dependencies for cesanta/mos/mos: go, make, pkg-config, gdbm, [email protected], readline, sqlite, xz and python3
==> Installing cesanta/mos/mos dependency: go
==> Pouring go-1.15.1.high_sierra.bottle.tar.gz
🍺  /usr/local/Cellar/go/1.15.1: 9,769 files, 494.3MB
==> Installing cesanta/mos/mos dependency: make
==> Pouring make-4.3.high_sierra.bottle.tar.gz
==> Caveats
GNU "make" has been installed as "gmake".
If you need to use it as "make", you can add a "gnubin" directory
to your PATH from your bashrc like:

    PATH="/usr/local/opt/make/libexec/gnubin:$PATH"
==> Summary
🍺  /usr/local/Cellar/make/4.3: 15 files, 1MB
==> Installing cesanta/mos/mos dependency: pkg-config
==> Pouring pkg-config-0.29.2_3.high_sierra.bottle.tar.gz
🍺  /usr/local/Cellar/pkg-config/0.29.2_3: 11 files, 627.8KB
==> Installing cesanta/mos/mos dependency: gdbm
==> Pouring gdbm-1.18.1_1.high_sierra.bottle.tar.gz
🍺  /usr/local/Cellar/gdbm/1.18.1_1: 25 files, 624.8KB
==> Installing cesanta/mos/mos dependency: [email protected]
==> Pouring [email protected]_sierra.bottle.tar.gz
==> Caveats
A CA file has been bootstrapped using certificates from the system
keychain. To add additional certificates, place .pem files in
  /usr/local/etc/[email protected]/certs

and run
  /usr/local/opt/[email protected]/bin/c_rehash

[email protected] is keg-only, which means it was not symlinked into /usr/local,
because macOS provides LibreSSL.

If you need to have [email protected] first in your PATH run:
  echo 'export PATH="/usr/local/opt/[email protected]/bin:$PATH"' >> /Users/fabioguimaraes/.bash_profile

For compilers to find [email protected] you may need to set:
  export LDFLAGS="-L/usr/local/opt/[email protected]/lib"
  export CPPFLAGS="-I/usr/local/opt/[email protected]/include"

For pkg-config to find [email protected] you may need to set:
  export PKG_CONFIG_PATH="/usr/local/opt/[email protected]/lib/pkgconfig"

==> Summary
🍺  /usr/local/Cellar/[email protected]/1.1.1g: 8,059 files, 18.4MB
==> Installing cesanta/mos/mos dependency: readline
==> Pouring readline-8.0.4.high_sierra.bottle.tar.gz
==> Caveats
readline is keg-only, which means it was not symlinked into /usr/local,
because macOS provides BSD libedit.

For compilers to find readline you may need to set:
  export LDFLAGS="-L/usr/local/opt/readline/lib"
  export CPPFLAGS="-I/usr/local/opt/readline/include"

For pkg-config to find readline you may need to set:
  export PKG_CONFIG_PATH="/usr/local/opt/readline/lib/pkgconfig"

==> Summary
🍺  /usr/local/Cellar/readline/8.0.4: 48 files, 1.5MB
==> Installing cesanta/mos/mos dependency: sqlite
==> Pouring sqlite-3.33.0.high_sierra.bottle.tar.gz
==> Caveats
sqlite is keg-only, which means it was not symlinked into /usr/local,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.

If you need to have sqlite first in your PATH run:
  echo 'export PATH="/usr/local/opt/sqlite/bin:$PATH"' >> /Users/fabioguimaraes/.bash_profile

For compilers to find sqlite you may need to set:
  export LDFLAGS="-L/usr/local/opt/sqlite/lib"
  export CPPFLAGS="-I/usr/local/opt/sqlite/include"

For pkg-config to find sqlite you may need to set:
  export PKG_CONFIG_PATH="/usr/local/opt/sqlite/lib/pkgconfig"

==> Summary
🍺  /usr/local/Cellar/sqlite/3.33.0: 11 files, 4MB
==> Installing cesanta/mos/mos dependency: xz
==> Pouring xz-5.2.5.high_sierra.bottle.tar.gz
🍺  /usr/local/Cellar/xz/5.2.5: 92 files, 1.1MB
==> Installing cesanta/mos/mos dependency: python3
==> Pouring [email protected]_sierra.bottle.tar.gz
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink bin/2to3
Target /usr/local/bin/2to3
already exists. You may want to remove it:
  rm '/usr/local/bin/2to3'

To force the link and overwrite all conflicting files:
  brew link --overwrite [email protected]

To list all files that would be deleted:
  brew link --overwrite --dry-run [email protected]

Possible conflicting files are:
/usr/local/bin/2to3 -> /Library/Frameworks/Python.framework/Versions/3.8/bin/2to3
/usr/local/bin/2to3-3.8 -> /Library/Frameworks/Python.framework/Versions/3.8/bin/2to3-3.8
/usr/local/bin/idle3 -> /Library/Frameworks/Python.framework/Versions/3.8/bin/idle3
/usr/local/bin/idle3.8 -> /Library/Frameworks/Python.framework/Versions/3.8/bin/idle3.8
/usr/local/bin/pydoc3 -> /Library/Frameworks/Python.framework/Versions/3.8/bin/pydoc3
/usr/local/bin/pydoc3.8 -> /Library/Frameworks/Python.framework/Versions/3.8/bin/pydoc3.8
/usr/local/bin/python3 -> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3
/usr/local/bin/python3-config -> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3-config
/usr/local/bin/python3.8 -> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8
/usr/local/bin/python3.8-config -> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8-config
==> /usr/local/Cellar/[email protected]/3.8.5/bin/python3 -s setup.py --no-user-cfg install --force --verbose --install-scripts=/usr/local/Cellar/[email protected]/3.8.5/bin
==> /usr/local/Cellar/[email protected]/3.8.5/bin/python3 -s setup.py --no-user-cfg install --force --verbose --install-scripts=/usr/local/Cellar/[email protected]/3.8.5/bin
==> /usr/local/Cellar/[email protected]/3.8.5/bin/python3 -s setup.py --no-user-cfg install --force --verbose --install-scripts=/usr/local/Cellar/[email protected]/3.8.5/bin
==> Caveats
Python has been installed as
  /usr/local/bin/python3

Unversioned symlinks `python`, `python-config`, `pip` etc. pointing to
`python3`, `python3-config`, `pip3` etc., respectively, have been installed into
  /usr/local/opt/[email protected]/libexec/bin

You can install Python packages with
  pip3 install <package>
They will install into the site-package directory
  /usr/local/lib/python3.8/site-packages

See: https://docs.brew.sh/Homebrew-and-Python
==> Summary
🍺  /usr/local/Cellar/[email protected]/3.8.5: 4,331 files, 66.8MB
==> Installing cesanta/mos/mos
==> make mos
Last 15 lines from /Users/fabioguimaraes/Library/Logs/Homebrew/mos/01.make:
warning: ignoring symlink /private/tmp/mos-20200906-11245-uobd7r/mos-1ec85951e77649f1151bc06a12901faa784a991a/cli/manifest_parser/test_manifests/testset_06_build_vars_overriding/test_03_extend_with_cli/libs
warning: ignoring symlink /private/tmp/mos-20200906-11245-uobd7r/mos-1ec85951e77649f1151bc06a12901faa784a991a/cli/manifest_parser/test_manifests/testset_08_conds_with_libs/test_01_app_cond_adds_lib/libs
warning: ignoring symlink /private/tmp/mos-20200906-11245-uobd7r/mos-1ec85951e77649f1151bc06a12901faa784a991a/cli/manifest_parser/test_manifests/testset_08_conds_with_libs/test_02_lib_cond_adds_lib/libs
warning: ignoring symlink /private/tmp/mos-20200906-11245-uobd7r/mos-1ec85951e77649f1151bc06a12901faa784a991a/cli/manifest_parser/test_manifests/testset_08_conds_with_libs/test_03_lib_and_app_conds_add_same_lib/libs
warning: ignoring symlink /private/tmp/mos-20200906-11245-uobd7r/mos-1ec85951e77649f1151bc06a12901faa784a991a/cli/manifest_parser/test_manifests/testset_08_conds_with_libs/test_04_lib_conds_recursive/libs
go version go1.15.1 darwin/amd64
GOOS= GOARCH= CC= CXX= \
	  go build -mod=vendor -tags '' -ldflags '-s -w ''' -o mos github.com/mongoose-os/mos/cli
# github.com/mongoose-os/mos/cli/flash/cc3200
In file included from cli/flash/cc3200/ftdi_darwin.go:24:
/usr/local/include/ftdi.h:20:10: fatal error: 'usb.h' file not found
#include <usb.h>
         ^~~~~~~
1 error generated.
make: *** [build-mos] Error 2

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
  https://github.com/cesanta/homebrew-mos/issues
@rojer
Copy link
Collaborator

rojer commented Sep 7, 2020

try installing libusb-compat: brew install libusb-compat

@chuckinSpace
Copy link

very similar issue here when trying to brew install mos
I'm on a MacBook pro M1, so that might have something to do?

Last 15 lines from /Users/carlosmoyano/Library/Logs/Homebrew/mos/01.make:
In file included from vendor/github.com/zserge/webview/webview.go:27:
./webview.h:2252:16: error: too many arguments to function call, expected 0, have 3
objc_msgSend(app, sel_registerName("terminate:"), app);

/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/objc/message.h:62:1: note: 'objc_msgSend' declared here
OBJC_EXPORT void
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/objc/objc-api.h:242:25: note: expanded from macro 'OBJC_EXPORT'
#   define OBJC_EXPORT  OBJC_EXTERN OBJC_VISIBLE
                      ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/objc/objc-api.h:231:28: note: expanded from macro 'OBJC_EXTERN'
#       define OBJC_EXTERN extern
                         ^
141 errors generated.
make: *** [build-mos] Error 2

Do not report this issue to Homebrew/brew or Homebrew/core!

These open issues may also help:
brew tap cesanta/mos https://github.com/cesanta/homebrew-mos/issues/6

@rojer
Copy link
Collaborator

rojer commented Jan 28, 2021

i'll remove dependency on webview

rojer pushed a commit to mongoose-os/mos that referenced this issue Jan 28, 2021
Build is broken on latest macOS and it's too much hassle.

cesanta/homebrew-mos#6
rojer added a commit to mongoose-os/mos that referenced this issue Jan 28, 2021
Build is broken on latest macOS and it's too much hassle.

cesanta/homebrew-mos#6
@rojer
Copy link
Collaborator

rojer commented Jan 28, 2021

should be fixed now

@hmojito
Copy link

hmojito commented Feb 1, 2021

Hi rojer,
I have tried this morning and I have still the same problem :

hmojito~ % brew install mos
==> Installing mos from cesanta/mos
==> Downloading https://github.com/mongoose-os/mos/archive/b8341b5dca25fe86d6e22ce3e574a9413bab9f74.tar.gz
==> Downloading from https://codeload.github.com/mongoose-os/mos/tar.gz/b8341b5dca25fe86d6e22ce3e574a9413bab9f74
   #-=#=-#    #
==> make mos
Last 15 lines from /Users/hmartin/Library/Logs/Homebrew/mos/01.make:
In file included from vendor/github.com/zserge/webview/webview.go:27:
./webview.h:2252:16: error: too many arguments to function call, expected 0, have 3
  objc_msgSend(app, sel_registerName("terminate:"), app);
  ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/objc/message.h:62:1: note: 'objc_msgSend' declared here
OBJC_EXPORT void
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/objc/objc-api.h:242:25: note: expanded from macro 'OBJC_EXPORT'
#   define OBJC_EXPORT  OBJC_EXTERN OBJC_VISIBLE
                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/objc/objc-api.h:231:28: note: expanded from macro 'OBJC_EXTERN'
#       define OBJC_EXTERN extern
                           ^
141 errors generated.
make: *** [build-mos] Error 2

Do not report this issue to Homebrew/brew or Homebrew/core!

These open issues may also help:
brew tap cesanta/mos https://github.com/cesanta/homebrew-mos/issues/6

@berkus
Copy link

berkus commented Mar 20, 2021

I'm getting a slightly different issue, am I missing some SDK pieces here?

==> Installing cesanta/mos/mos
==> make mos
Last 15 lines from /Users/berkus/Library/Logs/Homebrew/mos/01.make:
warning: ignoring symlink /private/tmp/mos-20210320-28583-1fh7bp/mos-9bf406d90c65fca0b377220940735015dcfbb76c/cli/manifest_parser/test_manifests/testset_06_build_vars_overriding/test_02_override_with_cli/libs
warning: ignoring symlink /private/tmp/mos-20210320-28583-1fh7bp/mos-9bf406d90c65fca0b377220940735015dcfbb76c/cli/manifest_parser/test_manifests/testset_06_build_vars_overriding/test_03_extend_with_cli/libs
warning: ignoring symlink /private/tmp/mos-20210320-28583-1fh7bp/mos-9bf406d90c65fca0b377220940735015dcfbb76c/cli/manifest_parser/test_manifests/testset_08_conds_with_libs/test_01_app_cond_adds_lib/libs
warning: ignoring symlink /private/tmp/mos-20210320-28583-1fh7bp/mos-9bf406d90c65fca0b377220940735015dcfbb76c/cli/manifest_parser/test_manifests/testset_08_conds_with_libs/test_02_lib_cond_adds_lib/libs
warning: ignoring symlink /private/tmp/mos-20210320-28583-1fh7bp/mos-9bf406d90c65fca0b377220940735015dcfbb76c/cli/manifest_parser/test_manifests/testset_08_conds_with_libs/test_03_lib_and_app_conds_add_same_lib/libs
warning: ignoring symlink /private/tmp/mos-20210320-28583-1fh7bp/mos-9bf406d90c65fca0b377220940735015dcfbb76c/cli/manifest_parser/test_manifests/testset_08_conds_with_libs/test_04_lib_conds_recursive/libs
go version go1.16.2 darwin/arm64
GOOS= GOARCH= CC= CXX= \
	  go build -mod=vendor -tags '' -ldflags '-s -w ''' -o mos github.com/mongoose-os/mos/cli
# github.com/cesanta/hid
vendor/github.com/cesanta/hid/hid_darwin.go:6:10: fatal error: 'IOKit/hid/IOHIDManager.h' file not found
#include <IOKit/hid/IOHIDManager.h>
         ^~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make: *** [build-mos] Error 2

@berkus
Copy link

berkus commented Mar 21, 2021

Looks like a problem on big sur/m1 as IOHIDManager.h only exists in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IOKit.framework/Versions/A/Headers/hid/IOHIDManager.h

@berkus
Copy link

berkus commented Mar 21, 2021

Created #8 to track separately.

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

5 participants