-
Notifications
You must be signed in to change notification settings - Fork 13
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
Build failing on Mac OS 10.12.2 Sierra #32
Comments
I'm seeing the same thing on 10.11.6. |
Same here. Also, 10.12.2 $ brew install --HEAD libtoxcore toxic [f776dde]
==> Installing libtoxcore from tox/tox
==> Installing dependencies for tox/tox/libtoxcore: libsodium, check, opus, libvpx
==> Installing tox/tox/libtoxcore dependency: libsodium
==> Downloading https://homebrew.bintray.com/bottles/libsodium-1.0.11.sierra.bottle.tar
######################################################################## 100.0%
==> Pouring libsodium-1.0.11.sierra.bottle.tar.gz
🍺 /usr/local/Cellar/libsodium/1.0.11: 66 files, 1.1M
==> Installing tox/tox/libtoxcore dependency: check
==> Downloading https://homebrew.bintray.com/bottles/check-0.10.0.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring check-0.10.0.sierra.bottle.tar.gz
🍺 /usr/local/Cellar/check/0.10.0: 43 files, 843.0K
==> Installing tox/tox/libtoxcore dependency: opus
==> Downloading https://homebrew.bintray.com/bottles/opus-1.1.3.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring opus-1.1.3.sierra.bottle.tar.gz
🍺 /usr/local/Cellar/opus/1.1.3: 15 files, 857.3K
==> Installing tox/tox/libtoxcore dependency: libvpx
==> Downloading https://homebrew.bintray.com/bottles/libvpx-1.6.0.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libvpx-1.6.0.sierra.bottle.tar.gz
🍺 /usr/local/Cellar/libvpx/1.6.0: 16 files, 1.4M
==> Installing tox/tox/libtoxcore --HEAD
==> Cloning git://github.com/irungentoo/toxcore
Cloning into '/Users/taowang/Library/Caches/Homebrew/libtoxcore--git'...
remote: Counting objects: 207, done.
remote: Compressing objects: 100% (206/206), done.
remote: Total 207 (delta 10), reused 58 (delta 0), pack-reused 0
Receiving objects: 100% (207/207), 476.19 KiB | 286.00 KiB/s, done.
Resolving deltas: 100% (10/10), done.
==> Checking out branch master
==> autoreconf -if
==> ./configure --prefix=/usr/local/Cellar/libtoxcore/HEAD-dcf2aaa --disable-testing
==> make
==> make install
==> Caveats
libtoxcore has no UI. If you want to make use of it, try Toxic for a CLI:
brew install --HEAD toxic
or uTox for a GUI (X11):
brew install --HEAD utox
==> Summary
🍺 /usr/local/Cellar/libtoxcore/HEAD-dcf2aaa: 24 files, 1.1M, built in 57 seconds
==> Installing toxic from tox/tox
==> Tapping homebrew/dupes
Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-dupes'...
remote: Counting objects: 39, done.
remote: Compressing objects: 100% (39/39), done.
remote: Total 39 (delta 0), reused 6 (delta 0), pack-reused 0
Unpacking objects: 100% (39/39), done.
Tapped 35 formulae (98 files, 116.8K)
==> Installing dependencies for tox/tox/toxic: homebrew/dupes/ncurses, freealut, libconfig, qrencode
==> Installing tox/tox/toxic dependency: homebrew/dupes/ncurses
==> Using the sandbox
==> Downloading https://ftpmirror.gnu.org/ncurses/ncurses-6.0.tar.gz
==> Downloading from http://gnu.uberglobalmirror.com/ncurses/ncurses-6.0.tar.gz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/ncurses/6.0_2 --enable-pc-files --with-pkg-c
==> make
==> make install
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local.
macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:
LDFLAGS: -L/usr/local/opt/ncurses/lib
CPPFLAGS: -I/usr/local/opt/ncurses/include
PKG_CONFIG_PATH: /usr/local/opt/ncurses/lib/pkgconfig
==> Summary
🍺 /usr/local/Cellar/ncurses/6.0_2: 3,828 files, 10.4M, built in 3 minutes 43 seconds
==> Installing tox/tox/toxic dependency: freealut
==> Downloading https://homebrew.bintray.com/bottles/freealut-1.1.0.sierra.bottle.tar.g
######################################################################## 100.0%
==> Pouring freealut-1.1.0.sierra.bottle.tar.gz
🍺 /usr/local/Cellar/freealut/1.1.0: 12 files, 140.5K
==> Installing tox/tox/toxic dependency: libconfig
==> Downloading https://homebrew.bintray.com/bottles/libconfig-1.6.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libconfig-1.6.sierra.bottle.tar.gz
🍺 /usr/local/Cellar/libconfig/1.6: 21 files, 517.7K
==> Installing tox/tox/toxic dependency: qrencode
==> Downloading https://homebrew.bintray.com/bottles/qrencode-3.4.4.sierra.bottle.tar.g
######################################################################## 100.0%
==> Pouring qrencode-3.4.4.sierra.bottle.tar.gz
🍺 /usr/local/Cellar/qrencode/3.4.4: 12 files, 174.5K
==> Installing tox/tox/toxic --HEAD
==> Cloning git://github.com/Tox/toxic
Cloning into '/Users/taowang/Library/Caches/Homebrew/toxic--git'...
remote: Counting objects: 118, done.
remote: Compressing objects: 100% (117/117), done.
remote: Total 118 (delta 21), reused 24 (delta 0), pack-reused 0
Receiving objects: 100% (118/118), 1.11 MiB | 168.00 KiB/s, done.
Resolving deltas: 100% (21/21), done.
==> Checking out branch master
==> make PREFIX='/usr/local/Cellar/toxic/HEAD-7a7402f' DISABLE_DESKTOP_NOTIFY=YES DISAB
Last 15 lines from /Users/taowang/Library/Logs/Homebrew/toxic/01.make:
^
2 errors generated.
make: *** [/private/tmp/toxic-20170110-91471-1xv0i6i/build/autocomplete.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from /private/tmp/toxic-20170110-91471-1xv0i6i/src/avatars.c:27:
In file included from /private/tmp/toxic-20170110-91471-1xv0i6i/src/misc_tools.h:27:
In file included from /private/tmp/toxic-20170110-91471-1xv0i6i/src/windows.h:37:
/private/tmp/toxic-20170110-91471-1xv0i6i/src/toxic.h:119:52: error: unknown type name 'TOX_CONFERENCE_TYPE'
void on_groupinvite(Tox *m, uint32_t friendnumber, TOX_CONFERENCE_TYPE type, const uint8_t *group_pub_key,
^
/private/tmp/toxic-20170110-91471-1xv0i6i/src/toxic.h:121:81: error: unknown type name 'TOX_CONFERENCE_STATE_CHANGE'
void on_group_namelistchange(Tox *m, uint32_t groupnumber, uint32_t peernumber, TOX_CONFERENCE_STATE_CHANGE change,
^
2 errors generated.
make: *** [/private/tmp/toxic-20170110-91471-1xv0i6i/build/avatars.o] Error 1
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/tox/homebrew-tox/issues |
Ah. I get the |
This is the problem. It should be toktok/c-toxcore. I don't use OSX nor know anything about homebrew, so it might be better to heed the advice:
|
At https://github.com/Tox/homebrew-tox/blob/master/Formula/toxic.rb#L7: depends_on "libtoxcore" And at https://github.com/Tox/homebrew-tox/blob/master/Formula/libtoxcore.rb#L4: head "git://github.com/irungentoo/toxcore", :using => :git I think that's the reason why it's cloning @JFreegman should I submit a PR for update that link? |
Created a PR #34 for this issue. |
How do I run the formula? |
|
closing this because #37 should have fixed it. please re-open this if it has not :) |
Still no luck, but I have only 5 errors now:
|
@stal888 Requesting issue reopen. |
Looking at your logs from the previous run there was an issue with linking libfilteraudio. |
Executed both commands, now brew doctor output is clean, but problem persists:
Also attaching full build logs in this gist: https://gist.github.com/Snawoot/a388f49fe8f1f19b3b6a8a2910231ff4 |
Hm I've run the install on my machine and it ran fine (So the brew formula itself is working, so I think it is something specific to your machine). Besides a /cc @stal888 Do you have any other ideas? 🤔 |
Unfortunately, |
Is it possible you don't have the latest changes in this repo? Try re-tapping the repo |
Actually never mind that. You need to update the dependency because they are versioned by git. i.e need to be recompiled manually. So |
Thank you, it works! Command |
Confirmed that |
I can also confirm that |
Console output:
libtoxcore
is already installed on this system.The text was updated successfully, but these errors were encountered: