Skip to content

Instantly share code, notes, and snippets.

@r-rmcgibbo
Created May 15, 2021 19:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save r-rmcgibbo/cb3adf34a06e5779c381181829ebde48 to your computer and use it in GitHub Desktop.
Save r-rmcgibbo/cb3adf34a06e5779c381181829ebde48 to your computer and use it in GitHub Desktop.
system: x86_64-linux | build_time: a second | https://github.com/NixOS/nixpkgs/pull/123137
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/2r3g60ckxzvm7rb088b8fwkf7q2nsidw-source
source root is source
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
fixing cmake files...
cmake flags: -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_BUILD_RPATH=ON -DBUILD_TESTING=OFF -DCMAKE_INSTALL_LOCALEDIR=/nix/store/ibm9dz7yyj9h7bmk4chhx47al6bw2mij-ttyd-1.6.1/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/ibm9dz7yyj9h7bmk4chhx47al6bw2mij-ttyd-1.6.1/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/ibm9dz7yyj9h7bmk4chhx47al6bw2mij-ttyd-1.6.1/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/ibm9dz7yyj9h7bmk4chhx47al6bw2mij-ttyd-1.6.1/share/doc/ttyd -DCMAKE_INSTALL_INFODIR=/nix/store/ibm9dz7yyj9h7bmk4chhx47al6bw2mij-ttyd-1.6.1/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/j7nlcqwp4hbg62b77i88s67wvx4i4gwm-ttyd-1.6.1-man/share/man -DCMAKE_INSTALL_OLDINCLUDEDIR=/nix/store/ibm9dz7yyj9h7bmk4chhx47al6bw2mij-ttyd-1.6.1/include -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/ibm9dz7yyj9h7bmk4chhx47al6bw2mij-ttyd-1.6.1/include -DCMAKE_INSTALL_SBINDIR=/nix/store/ibm9dz7yyj9h7bmk4chhx47al6bw2mij-ttyd-1.6.1/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/ibm9dz7yyj9h7bmk4chhx47al6bw2mij-ttyd-1.6.1/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/ibm9dz7yyj9h7bmk4chhx47al6bw2mij-ttyd-1.6.1/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_OSX_SYSROOT= -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/5xyjd2qiily84lcv2w2grmwsb8r1hqpr-binutils-2.35.1/bin/strip -DCMAKE_RANLIB=/nix/store/5xyjd2qiily84lcv2w2grmwsb8r1hqpr-binutils-2.35.1/bin/ranlib -DCMAKE_AR=/nix/store/5xyjd2qiily84lcv2w2grmwsb8r1hqpr-binutils-2.35.1/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/ibm9dz7yyj9h7bmk4chhx47al6bw2mij-ttyd-1.6.1
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- The C compiler identification is GNU 10.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /nix/store/zzvq5qwlm2xikawfqxb0q8gl2bw391a9-gcc-wrapper-10.2.0/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Could NOT find Git (missing: GIT_EXECUTABLE)
-- Found LIBUV: /nix/store/5d42l2cv916r4wkxmz5p268kdmwyy2z1-libuv-1.41.0/lib/libuv.so
-- Found JSON-C: /nix/store/pkzqy3s6lw0g52gyy97dlnbhl5kll282-json-c-0.15-dev/include/json-c
-- Found OpenSSL: /nix/store/5bg9dy337rp8r1mcc4cdrjwhw1kwmppj-openssl-1.1.1k/lib/libcrypto.so (found version "1.1.1k")
-- Found ZLIB: /nix/store/16n426g6jbcwwdwlq7h7qmbv1v22p2v5-zlib-1.2.11/lib/libz.so (found version "1.2.11")
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
BUILD_TESTING
CMAKE_CXX_COMPILER
CMAKE_EXPORT_NO_PACKAGE_REGISTRY
-- Build files have been written to: /build/source/build
cmake: enabled parallel building
@nix { "action": "setPhase", "phase": "buildPhase" }
building
build flags: -j2 -l2 SHELL=/nix/store/68c5b0h2w2ab57sbas1b4m073ik8hlm5-bash-4.4-p23/bin/bash
Scanning dependencies of target ttyd
[ 16%] Building C object CMakeFiles/ttyd.dir/src/server.c.o
/build/source/src/server.c: In function 'main':
/build/source/src/server.c:453:7: error: 'struct lws_context_creation_info' has no member named 'ws_ping_pong_interval'
453 | info.ws_ping_pong_interval = 5;
| ^
make[2]: *** [CMakeFiles/ttyd.dir/build.make:82: CMakeFiles/ttyd.dir/src/server.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:95: CMakeFiles/ttyd.dir/all] Error 2
make: *** [Makefile:149: all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment