Skip to content

Instantly share code, notes, and snippets.

@dawidd6
Last active November 24, 2019 23:19
Show Gist options
  • Save dawidd6/9d543b0497edf922bc82d65918d8807a to your computer and use it in GitHub Desktop.
Save dawidd6/9d543b0497edf922bc82d65918d8807a to your computer and use it in GitHub Desktop.
==> Downloading https://github.com/tsl0922/ttyd/archive/1.5.2.tar.gz
Already downloaded: /home/linuxbrew/.cache/Homebrew/downloads/e412539941286e7dbfed4b3426710b1840005be6357d75d68c2dfb8c481db727--ttyd-1.5.2.tar.gz
==> Verifying e412539941286e7dbfed4b3426710b1840005be6357d75d68c2dfb8c481db727--ttyd-1.5.2.tar.gz checksum
tar xof /home/linuxbrew/.cache/Homebrew/downloads/e412539941286e7dbfed4b3426710b1840005be6357d75d68c2dfb8c481db727--ttyd-1.5.2.tar.gz -C /tmp/d20191124-18573-1v9lxh4
cp -pR /tmp/d20191124-18573-1v9lxh4/ttyd-1.5.2/. /tmp/ttyd-20191124-18573-1dnzlss/ttyd-1.5.2
==> cmake . -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -DCMAKE_INSTALL_PREFIX=/home/linuxbrew/.linuxbrew/Cellar/ttyd/1.5.2_3 -DCMAKE_BUILD_TYPE=Release -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_VERBOSE_MAKEFILE=ON -Wno-dev -DOPENSSL_ROOT_DIR=/home/linuxbrew/.linuxbrew/opt/openssl@1.1
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/linux/super/gcc-5
-- Check for working C compiler: /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/linux/super/gcc-5 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/linux/super/g++-5
-- Check for working CXX compiler: /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/linux/super/g++-5 -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/linux/super/git (found version "2.23.0")
-- Found OpenSSL: /home/linuxbrew/.linuxbrew/opt/openssl@1.1/lib/libcrypto.so (found version "1.1.1d")
-- Found PkgConfig: /home/linuxbrew/.linuxbrew/bin/pkg-config (found version "0.29.2")
-- Checking for module 'json-c'
-- Found json-c, version 0.13.1
-- Found JSON-C: /home/linuxbrew/.linuxbrew/lib/libjson-c.so
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/ttyd-20191124-18573-1dnzlss/ttyd-1.5.2
==> make install
/home/linuxbrew/.linuxbrew/Cellar/cmake/3.15.5_1/bin/cmake -S/tmp/ttyd-20191124-18573-1dnzlss/ttyd-1.5.2 -B/tmp/ttyd-20191124-18573-1dnzlss/ttyd-1.5.2 --check-build-system CMakeFiles/Makefile.cmake 0
/home/linuxbrew/.linuxbrew/Cellar/cmake/3.15.5_1/bin/cmake -E cmake_progress_start /tmp/ttyd-20191124-18573-1dnzlss/ttyd-1.5.2/CMakeFiles /tmp/ttyd-20191124-18573-1dnzlss/ttyd-1.5.2/CMakeFiles/progress.marks
/usr/bin/make -f CMakeFiles/Makefile2 all
make[1]: Entering directory '/tmp/ttyd-20191124-18573-1dnzlss/ttyd-1.5.2'
/usr/bin/make -f CMakeFiles/ttyd.dir/build.make CMakeFiles/ttyd.dir/depend
make[2]: Entering directory '/tmp/ttyd-20191124-18573-1dnzlss/ttyd-1.5.2'
[ 16%] Generating html.h from index.html
cd /tmp/ttyd-20191124-18573-1dnzlss/ttyd-1.5.2/src && /home/linuxbrew/.linuxbrew/bin/xxd -i index.html html.h
cd /tmp/ttyd-20191124-18573-1dnzlss/ttyd-1.5.2 && /home/linuxbrew/.linuxbrew/Cellar/cmake/3.15.5_1/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/ttyd-20191124-18573-1dnzlss/ttyd-1.5.2 /tmp/ttyd-20191124-18573-1dnzlss/ttyd-1.5.2 /tmp/ttyd-20191124-18573-1dnzlss/ttyd-1.5.2 /tmp/ttyd-20191124-18573-1dnzlss/ttyd-1.5.2 /tmp/ttyd-20191124-18573-1dnzlss/ttyd-1.5.2/CMakeFiles/ttyd.dir/DependInfo.cmake --color=
Scanning dependencies of target ttyd
make[2]: Leaving directory '/tmp/ttyd-20191124-18573-1dnzlss/ttyd-1.5.2'
/usr/bin/make -f CMakeFiles/ttyd.dir/build.make CMakeFiles/ttyd.dir/build
make[2]: Entering directory '/tmp/ttyd-20191124-18573-1dnzlss/ttyd-1.5.2'
[ 33%] Building C object CMakeFiles/ttyd.dir/src/server.c.o
[ 50%] Building C object CMakeFiles/ttyd.dir/src/http.c.o
[ 66%] Building C object CMakeFiles/ttyd.dir/src/utils.c.o
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/linux/super/gcc-5 -DTTYD_VERSION=\"1.5.2\" -I/home/linuxbrew/.linuxbrew/lib/cmake/libwebsockets/../../../include -I/home/linuxbrew/.linuxbrew/include/json-c -D_GNU_SOURCE -DNDEBUG -std=gnu99 -o CMakeFiles/ttyd.dir/src/http.c.o -c /tmp/ttyd-20191124-18573-1dnzlss/ttyd-1.5.2/src/http.c
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/linux/super/gcc-5 -DTTYD_VERSION=\"1.5.2\" -I/home/linuxbrew/.linuxbrew/lib/cmake/libwebsockets/../../../include -I/home/linuxbrew/.linuxbrew/include/json-c -D_GNU_SOURCE -DNDEBUG -std=gnu99 -o CMakeFiles/ttyd.dir/src/server.c.o -c /tmp/ttyd-20191124-18573-1dnzlss/ttyd-1.5.2/src/server.c
[ 83%] Building C object CMakeFiles/ttyd.dir/src/protocol.c.o
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/linux/super/gcc-5 -DTTYD_VERSION=\"1.5.2\" -I/home/linuxbrew/.linuxbrew/lib/cmake/libwebsockets/../../../include -I/home/linuxbrew/.linuxbrew/include/json-c -D_GNU_SOURCE -DNDEBUG -std=gnu99 -o CMakeFiles/ttyd.dir/src/utils.c.o -c /tmp/ttyd-20191124-18573-1dnzlss/ttyd-1.5.2/src/utils.c
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/linux/super/gcc-5 -DTTYD_VERSION=\"1.5.2\" -I/home/linuxbrew/.linuxbrew/lib/cmake/libwebsockets/../../../include -I/home/linuxbrew/.linuxbrew/include/json-c -D_GNU_SOURCE -DNDEBUG -std=gnu99 -o CMakeFiles/ttyd.dir/src/protocol.c.o -c /tmp/ttyd-20191124-18573-1dnzlss/ttyd-1.5.2/src/protocol.c
[100%] Linking C executable ttyd
/home/linuxbrew/.linuxbrew/Cellar/cmake/3.15.5_1/bin/cmake -E cmake_link_script CMakeFiles/ttyd.dir/link.txt --verbose=1
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/linux/super/gcc-5 -D_GNU_SOURCE -DNDEBUG -rdynamic CMakeFiles/ttyd.dir/src/server.c.o CMakeFiles/ttyd.dir/src/http.c.o CMakeFiles/ttyd.dir/src/protocol.c.o CMakeFiles/ttyd.dir/src/utils.c.o -o ttyd -lpthread -lssl -lcrypto /home/linuxbrew/.linuxbrew/lib/libwebsockets.a /home/linuxbrew/.linuxbrew/lib/libwebsockets.so.15 -ljson-c -lutil -lssl -lcrypto -luv -levent -lm
/usr/bin/ld: /home/linuxbrew/.linuxbrew/lib/libwebsockets.a(unix-plugins.c.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
CMakeFiles/ttyd.dir/build.make:144: recipe for target 'ttyd' failed
make[2]: *** [ttyd] Error 1
make[2]: Leaving directory '/tmp/ttyd-20191124-18573-1dnzlss/ttyd-1.5.2'
CMakeFiles/Makefile2:78: recipe for target 'CMakeFiles/ttyd.dir/all' failed
make[1]: *** [CMakeFiles/ttyd.dir/all] Error 2
make[1]: Leaving directory '/tmp/ttyd-20191124-18573-1dnzlss/ttyd-1.5.2'
Makefile:132: recipe for target 'all' failed
make: *** [all] Error 2
==> Formula
Path: /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/ttyd.rb
==> Configuration
HOMEBREW_VERSION: 2.1.16-87-gd65ad9f
ORIGIN: https://github.com/Homebrew/brew
HEAD: d65ad9fe1a96fd895d24e097a3d69b9d280ee902
Last commit: 7 days ago
Core tap ORIGIN: git@github.com:Homebrew/linuxbrew-core.git
Core tap HEAD: e8245c0a3ddbb5b8f76aa5e35230b7d98b68cbec
Core tap last commit: 83 minutes ago
HOMEBREW_PREFIX: /home/linuxbrew/.linuxbrew
HOMEBREW_CACHE: /home/linuxbrew/.cache/Homebrew
HOMEBREW_LOGS: /home/linuxbrew/.cache/Homebrew/Logs
HOMEBREW_DEVELOPER: 1
HOMEBREW_NO_ANALYTICS_THIS_RUN: 1
HOMEBREW_NO_AUTO_UPDATE: 1
HOMEBREW_NO_INSTALL_CLEANUP: 1
CPU: quad-core 64-bit unknown_0x6_0x45
Homebrew Ruby: 2.6.3 => /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/bin/ruby
Clang: N/A
Git: 2.23.0 => /usr/bin/git
Curl: 7.47.0 => /usr/bin/curl
Kernel: Linux 5.0.0-32-generic x86_64 GNU/Linux
OS: Ubuntu 16.04.6 LTS (xenial)
Host glibc: 2.23
/usr/bin/gcc: 5.4.0
glibc: N/A
gcc: N/A
xorg: N/A
==> ENV
HOMEBREW_CC: gcc-5
HOMEBREW_CXX: g++-5
MAKEFLAGS: -j4
CMAKE_PREFIX_PATH: /home/linuxbrew/.linuxbrew/opt/openssl@1.1:/home/linuxbrew/.linuxbrew
PKG_CONFIG_PATH: /home/linuxbrew/.linuxbrew/opt/json-c/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/openssl@1.1/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/libevent/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/libuv/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/zlib/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/libwebsockets/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/ncurses/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/readline/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/lua/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/libbsd/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/expat/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/sqlite/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/xz/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/libffi/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/python/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/libyaml/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/ruby/lib/pkgconfig
HOMEBREW_GIT: git
ACLOCAL_PATH: /home/linuxbrew/.linuxbrew/share/aclocal
PATH: /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/linux/super:/home/linuxbrew/.linuxbrew/opt/cmake/bin:/home/linuxbrew/.linuxbrew/opt/pkg-config/bin:/home/linuxbrew/.linuxbrew/opt/openssl@1.1/bin:/home/linuxbrew/.linuxbrew/opt/libevent/bin:/home/linuxbrew/.linuxbrew/opt/ncurses/bin:/home/linuxbrew/.linuxbrew/opt/gettext/bin:/home/linuxbrew/.linuxbrew/opt/bzip2/bin:/home/linuxbrew/.linuxbrew/opt/unzip/bin:/home/linuxbrew/.linuxbrew/opt/lua/bin:/home/linuxbrew/.linuxbrew/opt/gdbm/bin:/home/linuxbrew/.linuxbrew/opt/berkeley-db/bin:/home/linuxbrew/.linuxbrew/opt/expat/bin:/home/linuxbrew/.linuxbrew/opt/perl/bin:/home/linuxbrew/.linuxbrew/opt/sqlite/bin:/home/linuxbrew/.linuxbrew/opt/xz/bin:/home/linuxbrew/.linuxbrew/opt/python/bin:/home/linuxbrew/.linuxbrew/opt/ruby/bin:/home/linuxbrew/.linuxbrew/opt/vim/bin:/usr/bin:/bin:/usr/sbin:/sbin
Logs:
/home/linuxbrew/.cache/Homebrew/Logs/ttyd/01.cmake.cc
/home/linuxbrew/.cache/Homebrew/Logs/ttyd/02.make.cc
/home/linuxbrew/.cache/Homebrew/Logs/ttyd/00.options.out
/home/linuxbrew/.cache/Homebrew/Logs/ttyd/02.make
/home/linuxbrew/.cache/Homebrew/Logs/ttyd/CMakeCache.txt
/home/linuxbrew/.cache/Homebrew/Logs/ttyd/01.cmake
READ THIS: https://docs.brew.sh/Troubleshooting
These open issues may also help:
ttyd: Build a bottle for Linux https://github.com/Homebrew/linuxbrew-core/pull/17644
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment