You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiling with libwebsockets 4.3.1 fails.
Not sure if libwebsockets or this package is at fault, but I'm hoping you'd be able to shed some light on it.
To Reproduce
Steps to reproduce the behavior:
Apply the attached patch (updating libwebsockets to 4.3.1 in the cross-build script)
Run env BUILD_TARGET=i686 ./scripts/cross-build.sh
See build failure:
=== Building ttyd (i686-linux-musl)...
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 11.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /tmp/ttyd/cr/cross/bin/i686-linux-musl-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found Git: /run/current-system/sw/bin/git (found version "2.35.1")
-- Found LIBUV: /tmp/ttyd/cr/stage/i686-linux-musl/lib/libuv.a
-- Found JSON-C: /tmp/ttyd/cr/stage/i686-linux-musl/lib/libjson-c.a
-- Found ZLIB: /tmp/ttyd/cr/stage/i686-linux-musl/lib/libz.a (found version "1.2.12")
CMake Error at /tmp/ttyd/cr/stage/i686-linux-musl/lib/cmake/libwebsockets/libwebsockets-config.cmake:35 (include):
include could not find requested file:
LwsCheckRequirements
Call Stack (most recent call first):
CMakeLists.txt:54 (find_package)
I noticed this when updating libwebsockets in the nixpkgs package repository. It was working fine with 4.3.0, but broke with 4.3.1. See the PR to nixpkgs: NixOS/nixpkgs#168304
The text was updated successfully, but these errors were encountered:
Changelog (there's no official one):
- warmcat/libwebsockets@v4.3.0...v4.3.1
Also apply a patch required to make ttyd build again.
This is probably due to a bug in the lws cmake module,
which may only be exercised in this package.
See also tsl0922/ttyd#918.
Describe the bug
Compiling with libwebsockets 4.3.1 fails.
Not sure if libwebsockets or this package is at fault, but I'm hoping you'd be able to shed some light on it.
To Reproduce
Steps to reproduce the behavior:
env BUILD_TARGET=i686 ./scripts/cross-build.sh
Expected behavior
Build succeeds without cmake errors.
Environment:
Browser: [e.g. Chrome 79.0.3945.130]Additional context
I noticed this when updating libwebsockets in the nixpkgs package repository. It was working fine with 4.3.0, but broke with 4.3.1. See the PR to nixpkgs: NixOS/nixpkgs#168304
The text was updated successfully, but these errors were encountered: