How to install HHVM on Ubuntu 15.10? - hhvm

I've followed the instructions in the Hack Documentation for 15.10 but that is not working for me --
dddddd#~$ sudo apt-get install software-properties-common
[sudo] password for dddddd:
Reading package lists... Done
Building dependency tree
Reading state information... Done
software-properties-common is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
dddddd#~$ sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0x5a16e7281be7a449
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.jQ1p1f6X1y --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0x5a16e7281be7a449
gpg: requesting key 1BE7A449 from hkp server keyserver.ubuntu.com
gpg: key 1BE7A449: public key "Paul Tarjan " imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
dddddd#~$ sudo add-apt-repository 'deb http://dl.hhvm.com/ubuntu $(lsb_release -sc) main'
dddddd#~$ sudo apt-get update
Ign http://dl.hhvm.com $(lsb_release InRelease
Hit http://us.archive.ubuntu.com wily InRelease
Hit http://security.ubuntu.com wily-security InRelease
Ign http://dl.hhvm.com $(lsb_release Release.gpg
Ign http://dl.hhvm.com $(lsb_release Release
Hit http://us.archive.ubuntu.com wily-updates InRelease
Hit http://us.archive.ubuntu.com wily/main Sources
Hit http://security.ubuntu.com wily-security/main Sources
Hit http://us.archive.ubuntu.com wily/restricted Sources
Hit http://security.ubuntu.com wily-security/restricted Sources
Hit http://us.archive.ubuntu.com wily/universe Sources
Hit http://security.ubuntu.com wily-security/universe Sources
Hit http://us.archive.ubuntu.com wily/multiverse Sources
Hit http://security.ubuntu.com wily-security/multiverse Sources
Hit http://us.archive.ubuntu.com wily/main amd64 Packages
Hit http://security.ubuntu.com wily-security/main amd64 Packages
Hit http://us.archive.ubuntu.com wily/restricted amd64 Packages
Hit http://security.ubuntu.com wily-security/restricted amd64 Packages
Hit http://us.archive.ubuntu.com wily/universe amd64 Packages
Hit http://security.ubuntu.com wily-security/universe amd64 Packages
Hit http://us.archive.ubuntu.com wily/multiverse amd64 Packages
Hit http://security.ubuntu.com wily-security/multiverse amd64 Packages
Hit http://us.archive.ubuntu.com wily/main i386 Packages
Hit http://security.ubuntu.com wily-security/main i386 Packages
Hit http://us.archive.ubuntu.com wily/restricted i386 Packages
Hit http://security.ubuntu.com wily-security/restricted i386 Packages
Hit http://us.archive.ubuntu.com wily/universe i386 Packages
Hit http://security.ubuntu.com wily-security/universe i386 Packages
Hit http://us.archive.ubuntu.com wily/multiverse i386 Packages
Hit http://security.ubuntu.com wily-security/multiverse i386 Packages
Hit http://us.archive.ubuntu.com wily/main Translation-en
Hit http://security.ubuntu.com wily-security/main Translation-en
Hit http://us.archive.ubuntu.com wily/multiverse Translation-en
Hit http://security.ubuntu.com wily-security/multiverse Translation-en
Hit http://us.archive.ubuntu.com wily/restricted Translation-en
Hit http://security.ubuntu.com wily-security/restricted Translation-en
Hit http://us.archive.ubuntu.com wily/universe Translation-en
Hit http://security.ubuntu.com wily-security/universe Translation-en
Hit http://us.archive.ubuntu.com wily-updates/main Sources
Hit http://us.archive.ubuntu.com wily-updates/restricted Sources
Hit http://us.archive.ubuntu.com wily-updates/universe Sources
Hit http://us.archive.ubuntu.com wily-updates/multiverse Sources
Hit http://us.archive.ubuntu.com wily-updates/main amd64 Packages
Hit http://us.archive.ubuntu.com wily-updates/restricted amd64 Packages
Err http://dl.hhvm.com $(lsb_release/-sc) amd64 Packages
404 Not Found [IP: 64.50.236.52 80]
Hit http://us.archive.ubuntu.com wily-updates/universe amd64 Packages
Err http://dl.hhvm.com $(lsb_release/main amd64 Packages
404 Not Found [IP: 64.50.236.52 80]
Err http://dl.hhvm.com $(lsb_release/-sc) i386 Packages
404 Not Found [IP: 64.50.236.52 80]
Hit http://us.archive.ubuntu.com wily-updates/multiverse amd64 Packages
Err http://dl.hhvm.com $(lsb_release/main i386 Packages
404 Not Found [IP: 64.50.236.52 80]
Hit http://us.archive.ubuntu.com wily-updates/main i386 Packages
Ign http://dl.hhvm.com $(lsb_release/-sc) Translation-en_US
Ign http://dl.hhvm.com $(lsb_release/-sc) Translation-en
Hit http://us.archive.ubuntu.com wily-updates/restricted i386 Packages
Ign http://dl.hhvm.com $(lsb_release/main Translation-en_US
Hit http://us.archive.ubuntu.com wily-updates/universe i386 Packages
Ign http://dl.hhvm.com $(lsb_release/main Translation-en
Hit http://us.archive.ubuntu.com wily-updates/multiverse i386 Packages
Hit http://us.archive.ubuntu.com wily-updates/main Translation-en
Hit http://us.archive.ubuntu.com wily-updates/multiverse Translation-en
Hit http://us.archive.ubuntu.com wily-updates/restricted Translation-en
Hit http://us.archive.ubuntu.com wily-updates/universe Translation-en
W: Failed to fetch http://dl.hhvm.com/ubuntu/dists/$(lsb_release/-sc)/binary-amd64/Packages 404 Not Found [IP: 64.50.236.52 80]
W: Failed to fetch http://dl.hhvm.com/ubuntu/dists/$(lsb_release/main/binary-amd64/Packages 404 Not Found [IP: 64.50.236.52 80]
W: Failed to fetch http://dl.hhvm.com/ubuntu/dists/$(lsb_release/-sc)/binary-i386/Packages 404 Not Found [IP: 64.50.236.52 80]
W: Failed to fetch http://dl.hhvm.com/ubuntu/dists/$(lsb_release/main/binary-i386/Packages 404 Not Found [IP: 64.50.236.52 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
dddddd#~$ sudo apt-get install hhvm
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package hhvm is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'hhvm' has no installation candidate
I've followed the instructions in the Hack Documentation for 15.04 but that is not working for me --
dddddd#x64:~$ sudo apt-get install software-properties-common
[sudo] password for dddddd:
Reading package lists... Done
Building dependency tree
Reading state information... Done
software-properties-common is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
dddddd#x64:~$ sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0x5a16e7281be7a449
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.UWfZBZeE4j --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0x5a16e7281be7a449
gpg: requesting key 1BE7A449 from hkp server keyserver.ubuntu.com
gpg: key 1BE7A449: "Paul Tarjan " not changed
gpg: Total number processed: 1
gpg: unchanged: 1
dddddd#x64:~$ sudo add-apt-repository 'deb http://dl.hhvm.com/ubuntu $(lsb_release -sc) main'
dddddd#x64:~$ sudo apt-get update
Ign http://dl.hhvm.com $(lsb_release InRelease
Hit http://us.archive.ubuntu.com wily InRelease
Get:1 http://security.ubuntu.com wily-security InRelease [64.4 kB]
Ign http://dl.hhvm.com $(lsb_release Release.gpg
Get:2 http://us.archive.ubuntu.com wily-updates InRelease [64.4 kB]
Ign http://dl.hhvm.com $(lsb_release Release
Hit http://us.archive.ubuntu.com wily/main Sources
Get:3 http://security.ubuntu.com wily-security/main Sources [18.9 kB]
Hit http://us.archive.ubuntu.com wily/restricted Sources
Hit http://us.archive.ubuntu.com wily/universe Sources
Hit http://us.archive.ubuntu.com wily/multiverse Sources
Get:4 http://security.ubuntu.com wily-security/restricted Sources [2,854 B]
Hit http://us.archive.ubuntu.com wily/main amd64 Packages
Get:5 http://security.ubuntu.com wily-security/universe Sources [5,896 B]
Hit http://us.archive.ubuntu.com wily/restricted amd64 Packages
Get:6 http://security.ubuntu.com wily-security/multiverse Sources [1,922 B]
Hit http://us.archive.ubuntu.com wily/universe amd64 Packages
Get:7 http://security.ubuntu.com wily-security/main amd64 Packages [58.0 kB]
Hit http://us.archive.ubuntu.com wily/multiverse amd64 Packages
Hit http://us.archive.ubuntu.com wily/main i386 Packages
Get:8 http://security.ubuntu.com wily-security/restricted amd64 Packages [10.9 kB]
Hit http://us.archive.ubuntu.com wily/restricted i386 Packages
Get:9 http://security.ubuntu.com wily-security/universe amd64 Packages [28.9 kB]
Hit http://us.archive.ubuntu.com wily/universe i386 Packages
Get:10 http://security.ubuntu.com wily-security/multiverse amd64 Packages [5,859 B]
Hit http://us.archive.ubuntu.com wily/multiverse i386 Packages
Get:11 http://security.ubuntu.com wily-security/main i386 Packages [56.9 kB]
Hit http://us.archive.ubuntu.com wily/main Translation-en
Hit http://us.archive.ubuntu.com wily/multiverse Translation-en
Get:12 http://security.ubuntu.com wily-security/restricted i386 Packages [10.8 kB]
Hit http://us.archive.ubuntu.com wily/restricted Translation-en
Get:13 http://security.ubuntu.com wily-security/universe i386 Packages [28.9 kB]
Hit http://us.archive.ubuntu.com wily/universe Translation-en
Get:14 http://security.ubuntu.com wily-security/multiverse i386 Packages [6,052 B]
Hit http://security.ubuntu.com wily-security/main Translation-en
Get:15 http://us.archive.ubuntu.com wily-updates/main Sources [31.7 kB]
Hit http://security.ubuntu.com wily-security/multiverse Translation-en
Get:16 http://us.archive.ubuntu.com wily-updates/restricted Sources [3,741 B]
Hit http://security.ubuntu.com wily-security/restricted Translation-en
Get:17 http://us.archive.ubuntu.com wily-updates/universe Sources [7,766 B]
Hit http://security.ubuntu.com wily-security/universe Translation-en
Get:18 http://us.archive.ubuntu.com wily-updates/multiverse Sources [1,922 B]
Get:19 http://us.archive.ubuntu.com wily-updates/main amd64 Packages [89.0 kB]
Err http://dl.hhvm.com $(lsb_release/-sc) amd64 Packages
404 Not Found [IP: 64.50.236.52 80]
Err http://dl.hhvm.com $(lsb_release/main amd64 Packages
404 Not Found [IP: 64.50.236.52 80]
Err http://dl.hhvm.com $(lsb_release/-sc) i386 Packages
404 Not Found [IP: 64.50.236.52 80]
Err http://dl.hhvm.com $(lsb_release/main i386 Packages
404 Not Found [IP: 64.50.236.52 80]
Ign http://dl.hhvm.com $(lsb_release/-sc) Translation-en_US
Get:20 http://us.archive.ubuntu.com wily-updates/restricted amd64 Packages [13.3 kB]
Ign http://dl.hhvm.com $(lsb_release/-sc) Translation-en
Get:21 http://us.archive.ubuntu.com wily-updates/universe amd64 Packages [38.0 kB]
Ign http://dl.hhvm.com $(lsb_release/main Translation-en_US
Ign http://dl.hhvm.com $(lsb_release/main Translation-en
Get:22 http://us.archive.ubuntu.com wily-updates/multiverse amd64 Packages [5,859 B]
Get:23 http://us.archive.ubuntu.com wily-updates/main i386 Packages [87.6 kB]
Get:24 http://us.archive.ubuntu.com wily-updates/restricted i386 Packages [13.4 kB]
Get:25 http://us.archive.ubuntu.com wily-updates/universe i386 Packages [38.0 kB]
Get:26 http://us.archive.ubuntu.com wily-updates/multiverse i386 Packages [6,052 B]
Hit http://us.archive.ubuntu.com wily-updates/main Translation-en
Hit http://us.archive.ubuntu.com wily-updates/multiverse Translation-en
Hit http://us.archive.ubuntu.com wily-updates/restricted Translation-en
Hit http://us.archive.ubuntu.com wily-updates/universe Translation-en
Fetched 701 kB in 8s (81.8 kB/s)
W: Failed to fetch http://dl.hhvm.com/ubuntu/dists/$(lsb_release/-sc)/binary-amd64/Packages 404 Not Found [IP: 64.50.236.52 80]
W: Failed to fetch http://dl.hhvm.com/ubuntu/dists/$(lsb_release/main/binary-amd64/Packages 404 Not Found [IP: 64.50.236.52 80]
W: Failed to fetch http://dl.hhvm.com/ubuntu/dists/$(lsb_release/-sc)/binary-i386/Packages 404 Not Found [IP: 64.50.236.52 80]
W: Failed to fetch http://dl.hhvm.com/ubuntu/dists/$(lsb_release/main/binary-i386/Packages 404 Not Found [IP: 64.50.236.52 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
dddddd#x64:~$ sudo apt-get install hhvm
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package hhvm is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'hhvm' has no installation candidate

Those directions don't work since they're the wrong distro. Binary packages are intimately tied to the distro they're built on, and so trying to cross this over until we provide packages just isn't going to work. We don't yet provide binaries for 15.10 but have an open issue about it, and I hope we can start doing so this week.
However, following another distro's instructions when building from source might have more luck? You can try to follow our docs for building from source; the 15.04 directions there might work, and are your best bet. Or you can wait for official support with binaries -- building from source takes several hours and many gigabytes of RAM.

Related

Trouble in installing zipline

I faced this error in installing zipline using pip command - note that I upgraded numpy as well but the problem remains:
1 error generated.
error: Command "clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -Ibuild/src.macosx-10.9-universal2-3.1/numpy/core/src/npymath -Inumpy/core/include -Ibuild/src.macosx-10.9-universal2-3.1/numpy/core/include/numpy -Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10 -Ibuild/src.macosx-10.9-universal2-3.1/numpy/core/src/private -Ibuild/src.macosx-10.9-universal2-3.1/numpy/core/src/npymath -Ibuild/src.macosx-10.9-universal2-3.1/numpy/core/src/private -Ibuild/src.macosx-10.9-universal2-3.1/numpy/core/src/npymath -Ibuild/src.macosx-10.9-universal2-3.1/numpy/core/src/private -Ibuild/src.macosx-10.9-universal2-3.1/numpy/core/src/npymath -c numpy/core/src/npymath/npy_math.c -o build/temp.macosx-10.9-universal2-3.10/numpy/core/src/npymath/npy_math.o -MMD -MF build/temp.macosx-10.9-universal2-3.10/numpy/core/src/npymath/npy_math.o.d" failed with exit status 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> numpy
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Will be thankful if anyone can help.

I'm getting below error to build docker Image for app, using node 10.24.1-strentch image & trying to apt-get update & install Powershell

Ign:1 http://security.debian.org/debian-security stretch/updates InRelease
Ign:2 http://deb.debian.org/debian stretch InRelease
Ign:3 http://security.debian.org/debian-security stretch/updates Release
Ign:4 http://deb.debian.org/debian stretch-updates InRelease
Ign:5 http://deb.debian.org/debian stretch Release
Ign:6 http://security.debian.org/debian-security stretch/updates/main all Packages
Ign:7 http://deb.debian.org/debian stretch-updates Release
Ign:8 http://security.debian.org/debian-security stretch/updates/main amd64 Packages
Ign:9 http://deb.debian.org/debian stretch/main all Packages
Ign:6 http://security.debian.org/debian-security stretch/updates/main all Packages
Ign:10 http://deb.debian.org/debian stretch/main amd64 Packages
Ign:8 http://security.debian.org/debian-security stretch/updates/main amd64 Packages
Ign:11 http://deb.debian.org/debian stretch-updates/main all Packages
Ign:6 http://security.debian.org/debian-security stretch/updates/main all Packages
Ign:12 http://deb.debian.org/debian stretch-updates/main amd64 Packages
Ign:8 http://security.debian.org/debian-security stretch/updates/main amd64 Packages
Ign:9 http://deb.debian.org/debian stretch/main all Packages
Ign:6 http://security.debian.org/debian-security stretch/updates/main all Packages
Ign:10 http://deb.debian.org/debian stretch/main amd64 Packages
Ign:8 http://security.debian.org/debian-security stretch/updates/main amd64 Packages
Ign:11 http://deb.debian.org/debian stretch-updates/main all Packages
Ign:6 http://security.debian.org/debian-security stretch/updates/main all Packages
Ign:12 http://deb.debian.org/debian stretch-updates/main amd64 Packages
Ign:8 http://security.debian.org/debian-security stretch/updates/main amd64 Packages
Ign:9 http://deb.debian.org/debian stretch/main all Packages
Ign:6 http://security.debian.org/debian-security stretch/updates/main all Packages
Ign:10 http://deb.debian.org/debian stretch/main amd64 Packages
Err:8 http://security.debian.org/debian-security stretch/updates/main amd64 Packages
503 Service Unavailable
Ign:11 http://deb.debian.org/debian stretch-updates/main all Packages
Ign:12 http://deb.debian.org/debian stretch-updates/main amd64 Packages
Ign:9 http://deb.debian.org/debian stretch/main all Packages
Ign:10 http://deb.debian.org/debian stretch/main amd64 Packages
Ign:11 http://deb.debian.org/debian stretch-updates/main all Packages
Ign:12 http://deb.debian.org/debian stretch-updates/main amd64 Packages
Ign:9 http://deb.debian.org/debian stretch/main all Packages
Ign:10 http://deb.debian.org/debian stretch/main amd64 Packages
Ign:11 http://deb.debian.org/debian stretch-updates/main all Packages
Ign:12 http://deb.debian.org/debian stretch-updates/main amd64 Packages
Ign:9 http://deb.debian.org/debian stretch/main all Packages
Err:10 http://deb.debian.org/debian stretch/main amd64 Packages
503 Service Unavailable
Ign:11 http://deb.debian.org/debian stretch-updates/main all Packages
Err:12 http://deb.debian.org/debian stretch-updates/main amd64 Packages
503 Service Unavailable
Reading package lists...
W: The repository 'http://security.debian.org/debian-security stretch/updates Release' does not have a Release file.
W: The repository 'http://deb.debian.org/debian stretch Release' does not have a Release file.
***
W: The repository 'http://deb.debian.org/debian stretch-updates
Release' does not have a Release file.
E: Failed to fetch http://security.debian.org/debian-security/dists/stretch/updates/main/binary-amd64/Packages
503 Service Unavailable
E: Failed to fetch http://deb.debian.org/debian/dists/stretch/main/binary-amd64/Packages
503 Service Unavailable
E: Failed to fetch http://deb.debian.org/debian/dists/stretch-updates/main/binary-amd64/Packages
503 Service Unavailable
E: Some index files failed to download. They have been ignored, or old ones used instead.
The command '/bin/sh -c apt-get update -y' returned a non-zero code: 100

Installing fbsimctl in Travis

I'm working on a new build travis which integrates e2e tests on iOS but I'm having problems installing fbsimctl. I want to use detox, and this is one of the prerequisites to use it.
This is the log when trying to install it:
$ brew install fbsimctl --HEAD
==> Installing fbsimctl from facebook/fb
==> Installing dependencies for facebook/fb/fbsimctl: carthage
==> Installing facebook/fb/fbsimctl dependency: carthage
==> Downloading https://homebrew.bintray.com/bottles/carthage-0.26.2.sierra.bottle.tar.gz
==> Pouring carthage-0.26.2.sierra.bottle.tar.gz
==> Caveats
Bash completion has been installed to:
/usr/local/etc/bash_completion.d
zsh completions have been installed to:
/usr/local/share/zsh/site-functions
==> Summary
🍺 /usr/local/Cellar/carthage/0.26.2: 75 files, 25.9MB
==> Installing facebook/fb/fbsimctl --HEAD
==> Cloning https://github.com/facebook/FBSimulatorControl.git
Cloning into '/Users/travis/Library/Caches/Homebrew/fbsimctl--git'...
remote: Counting objects: 1136, done.
remote: Compressing objects: 100% (993/993), done.
remote: Total 1136 (delta 278), reused 372 (delta 123), pack-reused 0
Receiving objects: 100% (1136/1136), 1.19 MiB | 794.00 KiB/s, done.
Resolving deltas: 100% (278/278), done.
Checking out files: 100% (1004/1004), done.
==> Checking out branch master
==> ./build.sh fbsimctl build /usr/local/Cellar/fbsimctl/HEAD-e6f8e6b
Last 15 lines from /Users/travis/Library/Logs/Homebrew/fbsimctl/01.build.sh:
dispatch_source_set_timer(dispatchSource, dispatch_time(DISPATCH_TIME_NOW, timeInterval), timeInterval, 0);
~~~~~~~~~~~~~ ^~~~~~~~~~~~
1 error generated.
CompileC build/Build/Intermediates/FBSimulatorControl.build/Debug/FBControlCore.build/Objects-normal/x86_64/FBTaskConfiguration.o FBControlCore/Tasks/FBTaskConfiguration.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /tmp/fbsimctl-20171128-6651-1lg5ws
export LANG=en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -gmodules -fmodules-cache-path=/tmp/fbsimctl-20171128-6651-1lg5ws/build/ModuleCache -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/tmp/fbsimctl-20171128-6651-1lg5ws/build/ModuleCache/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Xclang -fmodule-implementation-of -Xclang FBControlCore -Wno-trigraphs -fpascal-strings -O0 -fno-common -Werror -Werror=incompatible-pointer-types -Werror-implicit-function-declaration -Wmissing-field-initializers -Wmissing-prototypes -Wdocumentation -Wunreachable-code -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-arc-repeated-use-of-weak -Wimplicit-retain-self -Wmissing-braces -Wparentheses -Wswitch -Wunused-function -Wunused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wunknown-pragmas -Wshadow -Wfour-char-constants -Wconversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wsign-compare -Wshorten-64-to-32 -Wpointer-sign -Wnewline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wdeprecated-implementations -DDEBUG=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mmacosx-version-min=10.10 -g -Wsign-conversion -Winfinite-recursion -iquote /tmp/fbsimctl-20171128-6651-1lg5ws/build/Build/Intermediates/FBSimulatorControl.build/Debug/FBControlCore.build/FBControlCore-generated-files.hmap -I/tmp/fbsimctl-20171128-6651-1lg5ws/build/Build/Intermediates/FBSimulatorControl.build/Debug/FBControlCore.build/FBControlCore-own-target-headers.hmap -I/tmp/fbsimctl-20171128-6651-1lg5ws/build/Build/Intermediates/FBSimulatorControl.build/Debug/FBControlCore.build/FBControlCore-all-non-framework-target-headers.hmap -ivfsoverlay /tmp/fbsimctl-20171128-6651-1lg5ws/build/Build/Intermediates/FBSimulatorControl.build/all-product-headers.yaml -iquote /tmp/fbsimctl-20171128-6651-1lg5ws/build/Build/Intermediates/FBSimulatorControl.build/Debug/FBControlCore.build/FBControlCore-project-headers.hmap -I/tmp/fbsimctl-20171128-6651-1lg5ws/build/Build/Products/Debug/include -I/tmp/fbsimctl-20171128-6651-1lg5ws/PrivateHeaders -I/tmp/fbsimctl-20171128-6651-1lg5ws/build/Build/Intermediates/FBSimulatorControl.build/Debug/FBControlCore.build/DerivedSources/x86_64 -I/tmp/fbsimctl-20171128-6651-1lg5ws/build/Build/Intermediates/FBSimulatorControl.build/Debug/FBControlCore.build/DerivedSources -F/tmp/fbsimctl-20171128-6651-1lg5ws/build/Build/Products/Debug -F/Applications/Xcode.app/Contents/Developer/../Frameworks -F/Applications/Xcode.app/Contents/Developer/../PlugIns -F/Applications/Xcode.app/Contents/Developer/../OtherFrameworks -F/Applications/Xcode.app/Contents/Developer/../SharedFrameworks -F/Applications/Xcode.app/Contents/Developer/Library/PrivateFrameworks -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/PrivateFrameworks -F/Library/Developer/PrivateFrameworks -MMD -MT dependencies -MF /tmp/fbsimctl-20171128-6651-1lg5ws/build/Build/Intermediates/FBSimulatorControl.build/Debug/FBControlCore.build/Objects-normal/x86_64/FBTaskConfiguration.d --serialize-diagnostics /tmp/fbsimctl-20171128-6651-1lg5ws/build/Build/Intermediates/FBSimulatorControl.build/Debug/FBControlCore.build/Objects-normal/x86_64/FBTaskConfiguration.dia -c /tmp/fbsimctl-20171128-6651-1lg5ws/FBControlCore/Tasks/FBTaskConfiguration.m -o /tmp/fbsimctl-20171128-6651-1lg5ws/build/Build/Intermediates/FBSimulatorControl.build/Debug/FBControlCore.build/Objects-normal/x86_64/FBTaskConfiguration.o
** BUILD FAILED **
The following build commands failed:
CompileC build/Build/Intermediates/FBSimulatorControl.build/Debug/FBControlCore.build/Objects-normal/x86_64/FBDispatchSourceNotifier.o FBControlCore/Utility/FBDispatchSourceNotifier.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/facebook/homebrew-fb/issues
The command "brew install fbsimctl --HEAD" failed and exited with 1 during .
The cache permissions I've granted are these:
cache:
yarn: true
directories:
- node_modules
- $HOME/Library/Caches/Homebrew
- $HOME/Library/Caches
- $HOME/Library/Caches/carthage
- /usr/local/Cellar/fbsimctl
- /usr/local/Cellar
But I don't know what else do I need.
Thanks
Fbsimctl is no longer a dependency of Detox since we had lots of trouble with it, mainly because it is not always stable and there's no way of getting a stable version.
If you have issues with Fbsimctl, open an issue in fbsimctl's GitHub page.
Unrelated to Detox, if you still want to install Fbsimctl, you can install the latest stable version 0.4.0 (Apr 2017) by brew install fbsimctl#0.4.0

Getting Error While Installing Heroku Toolbelt on Ubuntu

I am Trying to install Heroku on Ubuntu i am getting following error and while installing i am getting error please check i am new to rails project
wget -qO- https://toolbelt.heroku.com/install-ubuntu.sh | sh
This script requires superuser access to install apt packages.
You will be prompted for your password by sudo.
[sudo] password for giri:
--2016-04-11 23:56:12-- https://toolbelt.heroku.com/apt/release.key
Resolving toolbelt.heroku.com (toolbelt.heroku.com)... 23.21.68.222, 23.23.160.223, 107.20.233.51
Connecting to toolbelt.heroku.com (toolbelt.heroku.com)|23.21.68.222|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1737 (1.7K) [application/octet-stream]
Saving to: ‘STDOUT’
100%[======================================>] 1,737 --.-K/s in 0s
2016-04-11 23:56:14 (148 MB/s) - written to stdout [1737/1737]
OK
Ign http://dl.google.com stable InRelease
Hit http://dl.google.com stable Release.gpg
Hit http://dl.google.com stable Release
Hit http://security.ubuntu.com trusty-security InRelease
Hit http://security.ubuntu.com trusty-security/main Sources
Hit http://security.ubuntu.com trusty-security/restricted Sources
Ign http://toolbelt.heroku.com ./ InRelease
Hit http://security.ubuntu.com trusty-security/universe Sources
Hit http://security.ubuntu.com trusty-security/multiverse Sources
Hit http://toolbelt.heroku.com ./ Release.gpg
Hit http://security.ubuntu.com trusty-security/main i386 Packages
Hit http://security.ubuntu.com trusty-security/restricted i386 Packages
Hit http://toolbelt.heroku.com ./ Release
Hit http://security.ubuntu.com trusty-security/universe i386 Packages
Hit http://security.ubuntu.com trusty-security/multiverse i386 Packages
Hit http://toolbelt.heroku.com ./ Packages
Hit http://security.ubuntu.com trusty-security/main Translation-en
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en
Hit http://security.ubuntu.com trusty-security/restricted Translation-en
Hit http://security.ubuntu.com trusty-security/universe Translation-en
Hit http://ppa.launchpad.net trusty InRelease
Ign http://extras.ubuntu.com trusty InRelease
Ign http://in.archive.ubuntu.com trusty InRelease
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://extras.ubuntu.com trusty Release.gpg
Hit http://in.archive.ubuntu.com trusty-updates InRelease
Hit http://extras.ubuntu.com trusty Release
Hit http://in.archive.ubuntu.com trusty-backports InRelease
Ign http://toolbelt.heroku.com ./ Translation-en_IN
Hit http://in.archive.ubuntu.com trusty Release.gpg
Hit http://extras.ubuntu.com trusty/main Sources
Hit http://in.archive.ubuntu.com trusty-updates/main Sources
Hit http://extras.ubuntu.com trusty/main i386 Packages
Ign http://toolbelt.heroku.com ./ Translation-en
Hit http://in.archive.ubuntu.com trusty-updates/restricted Sources
Hit http://in.archive.ubuntu.com trusty-updates/universe Sources
Hit http://in.archive.ubuntu.com trusty-updates/multiverse Sources
Hit http://in.archive.ubuntu.com trusty-updates/main i386 Packages
Hit http://in.archive.ubuntu.com trusty-updates/restricted i386 Packages
Hit http://in.archive.ubuntu.com trusty-updates/universe i386 Packages
Hit http://in.archive.ubuntu.com trusty-updates/multiverse i386 Packages
Hit http://in.archive.ubuntu.com trusty-updates/main Translation-en
Hit http://in.archive.ubuntu.com trusty-updates/multiverse Translation-en
Ign http://extras.ubuntu.com trusty/main Translation-en_IN
Hit http://in.archive.ubuntu.com trusty-updates/restricted Translation-en
Ign http://extras.ubuntu.com trusty/main Translation-en
Hit http://in.archive.ubuntu.com trusty-updates/universe Translation-en
Hit http://in.archive.ubuntu.com trusty-backports/main Sources
Hit http://in.archive.ubuntu.com trusty-backports/restricted Sources
Hit http://in.archive.ubuntu.com trusty-backports/universe Sources
Hit http://in.archive.ubuntu.com trusty-backports/multiverse Sources
Hit http://in.archive.ubuntu.com trusty-backports/main i386 Packages
Hit http://in.archive.ubuntu.com trusty-backports/restricted i386 Packages
Hit http://in.archive.ubuntu.com trusty-backports/universe i386 Packages
Hit http://in.archive.ubuntu.com trusty-backports/multiverse i386 Packages
Hit http://in.archive.ubuntu.com trusty-backports/main Translation-en
Hit http://in.archive.ubuntu.com trusty-backports/multiverse Translation-en
Hit http://in.archive.ubuntu.com trusty-backports/restricted Translation-en
Hit http://in.archive.ubuntu.com trusty-backports/universe Translation-en
Hit http://in.archive.ubuntu.com trusty Release
Hit http://in.archive.ubuntu.com trusty/main Sources
Hit http://in.archive.ubuntu.com trusty/restricted Sources
Hit http://in.archive.ubuntu.com trusty/universe Sources
Hit http://in.archive.ubuntu.com trusty/multiverse Sources
Hit http://in.archive.ubuntu.com trusty/main i386 Packages
Hit http://in.archive.ubuntu.com trusty/restricted i386 Packages
Hit http://in.archive.ubuntu.com trusty/universe i386 Packages
Hit http://in.archive.ubuntu.com trusty/multiverse i386 Packages
Hit http://in.archive.ubuntu.com trusty/main Translation-en
Hit http://in.archive.ubuntu.com trusty/multiverse Translation-en
Hit http://in.archive.ubuntu.com trusty/restricted Translation-en
Hit http://in.archive.ubuntu.com trusty/universe Translation-en
Ign http://in.archive.ubuntu.com trusty/main Translation-en_IN
Ign http://in.archive.ubuntu.com trusty/multiverse Translation-en_IN
Ign http://in.archive.ubuntu.com trusty/restricted Translation-en_IN
Ign http://in.archive.ubuntu.com trusty/universe Translation-en_IN
W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release Unable to find expected entry 'main/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)
E: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
heroku
The following NEW packages will be installed:
heroku heroku-toolbelt
0 upgraded, 2 newly installed, 0 to remove and 678 not upgraded.
Need to get 0 B/1,828 kB of archives.
After this operation, 0 B of additional disk space will be used.
Selecting previously unselected package heroku.
(Reading database ... 211926 files and directories currently installed.)
Preparing to unpack .../heroku_3.42.50_all.deb ...
Unpacking heroku (3.42.50) ...
Selecting previously unselected package heroku-toolbelt.
Preparing to unpack .../heroku-toolbelt_3.42.50_all.deb ...
Unpacking heroku-toolbelt (3.42.50) ...
Setting up heroku (3.42.50) ...
Setting up heroku-toolbelt (3.42.50) ...
After installation get check version i get error like this
giri#giri:~$ heroku -v
! Heroku client internal error.
! Search for help at: https://help.heroku.com
! Or report a bug at: https://github.com/heroku/heroku/issues/new
Error: undefined method `[]' for nil:NilClass (NoMethodError)
Command: heroku -v
Version: heroku-toolbelt/3.42.50 (i686-linux) ruby/1.9.3
Error ID: 59e2f7f1adc64081af2a4ab6a95becdb
More information in /home/giri/.heroku/error.log
#user5065277 try this "The mirror in your software sources might not be up-to-date"(...)

How to compile source which needs -lopencv_contrib on Ubuntu?

I want to compile this code
I installed glut via sudo apt-get install freeglut3 freeglut3-dev
To install OpenCV, i run a script from this page, went to build subfolder of OpenCV and run make install
I got an error
gcc -Wall -O3 -o cvglsl *.c -lglut -lGLU -lopencv_core -lopencv_contrib -lopencv_flann -lopencv_features2d -lopencv_highgui -lopencv_imgproc -lopencv_gpu
/usr/bin/ld: cannot find -lopencv_contrib
/usr/bin/ld: cannot find -lopencv_gpu
The I followed instructions from a contrib repo:
1)I cloned the repo to a build folder.
2)Inside build I run cmake -DOPENCV_EXTRA_MODULES_PATH=./opencv_contrib/modules ..
3)Inside build I used make install once again
The error persists. How can I install opencv_contrib properly?

Resources