Last active
September 6, 2020 19:13
-
-
Save patrickod/64136d60a6957470607a7a2cb52496a8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
these derivations will be built: | |
/nix/store/35cl4j336xsrisii8l1xc1sa2sp9dijd-looking-glass-client-B2-rc4.drv | |
building '/nix/store/35cl4j336xsrisii8l1xc1sa2sp9dijd-looking-glass-client-B2-rc4.drv'... | |
unpacking sources | |
unpacking source archive /nix/store/dikab72bwnymm13d5sqka88cxvbvlcgz-source | |
source root is source/client | |
patching sources | |
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/lyh0lxcxd1q06hhjr6pqw509pd5aby66-looking-glass-client-B2-rc4/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/lyh0lxcxd1q06hhjr6pqw509pd5aby66-looking-glass-client-B2-rc4/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/lyh0lxcxd1q06hhjr6pqw509pd5aby66-looking-glass-client-B2-rc4/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/lyh0lxcxd1q06hhjr6pqw509pd5aby66-looking-glass-client-B2-rc4/share/doc/looking-glass-client -DCMAKE_INSTALL_INFODIR=/nix/store/lyh0lxcxd1q06hhjr6pqw509pd5aby66-looking-glass-client-B2-rc4/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/lyh0lxcxd1q06hhjr6pqw509pd5aby66-looking-glass-client-B2-rc4/share/man -DCMAKE_INSTALL_OLDINCLUDEDIR=/nix/store/lyh0lxcxd1q06hhjr6pqw509pd5aby66-looking-glass-client-B2-rc4/include -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/lyh0lxcxd1q06hhjr6pqw509pd5aby66-looking-glass-client-B2-rc4/include -DCMAKE_INSTALL_SBINDIR=/nix/store/lyh0lxcxd1q06hhjr6pqw509pd5aby66-looking-glass-client-B2-rc4/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/lyh0lxcxd1q06hhjr6pqw509pd5aby66-looking-glass-client-B2-rc4/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/lyh0lxcxd1q06hhjr6pqw509pd5aby66-looking-glass-client-B2-rc4/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_OSX_SYSROOT= -DCMAKE_OSX_ARCHITECTURES=x86_64 -DCMAKE_FIND_FRAMEWORK=last -DCMAKE_STRIP=/nix/store/zp4vhfn31ky68xy0s6mssxh4c90z9v9a-binutils-2.31.1/bin/strip -DCMAKE_RANLIB=/nix/store/zp4vhfn31ky68xy0s6mssxh4c90z9v9a-binutils-2.31.1/bin/ranlib -DCMAKE_AR=/nix/store/zp4vhfn31ky68xy0s6mssxh4c90z9v9a-binutils-2.31.1/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/lyh0lxcxd1q06hhjr6pqw509pd5aby66-looking-glass-client-B2-rc4 | |
-- The C compiler identification is GNU 9.3.0 | |
-- Detecting C compiler ABI info | |
-- Detecting C compiler ABI info - done | |
-- Check for working C compiler: /nix/store/jgcv40jcr1v9bmnj070mgvyi6m7r7w5r-gcc-wrapper-9.3.0/bin/gcc - skipped | |
-- Detecting C compile features | |
-- Detecting C compile features - done | |
-- Performing Test COMPILER_SUPPORTS_MARCH_NATIVE | |
-- Performing Test COMPILER_SUPPORTS_MARCH_NATIVE - Success | |
-- Found PkgConfig: pkg-config (found version "0.29.2") | |
-- Checking for modules 'sdl2;x11' | |
-- Found sdl2, version 2.0.12 | |
-- Found x11, version 1.6.8 | |
-- Checking for module 'xi' | |
-- Found xi, version 1.7.10 | |
-- GMP libs: /nix/store/i79h2zhdmnbk987smm46zpwxxp4l5jxj-gmp-6.2.0/lib/libgmp.so /nix/store/i79h2zhdmnbk987smm46zpwxxp4l5jxj-gmp-6.2.0/lib/libgmpxx.so | |
-- Found GMP: /nix/store/acv5ywf6pvkfcydpf9pin824h3638jw3-gmp-6.2.0-dev/include | |
-- Checking for modules 'spice-protocol;nettle;hogweed' | |
-- Found spice-protocol, version 0.14.1 | |
-- Found nettle, version 3.6 | |
-- Found hogweed, version 3.6 | |
-- Checking for modules 'egl;gl' | |
-- Found egl, version 20.1.6 | |
-- Found gl, version 20.1.6 | |
-- Checking for module 'wayland-egl' | |
-- Found wayland-egl, version 18.1.0 | |
Package libffi was not found in the pkg-config search path. | |
Perhaps you should add the directory containing `libffi.pc' | |
to the PKG_CONFIG_PATH environment variable | |
Package 'libffi', required by 'wayland-client', not found | |
Package libffi was not found in the pkg-config search path. | |
Perhaps you should add the directory containing `libffi.pc' | |
to the PKG_CONFIG_PATH environment variable | |
Package 'libffi', required by 'wayland-client', not found | |
Package libffi was not found in the pkg-config search path. | |
Perhaps you should add the directory containing `libffi.pc' | |
to the PKG_CONFIG_PATH environment variable | |
Package 'libffi', required by 'wayland-client', not found | |
Package libffi was not found in the pkg-config search path. | |
Perhaps you should add the directory containing `libffi.pc' | |
to the PKG_CONFIG_PATH environment variable | |
Package 'libffi', required by 'wayland-client', not found | |
-- Checking for modules 'gl;glu' | |
-- Found gl, version 20.1.6 | |
-- Found glu, version 9.0.1 | |
-- Checking for modules 'x11;xfixes' | |
-- Found x11, version 1.6.8 | |
-- Found xfixes, version 5.0.3 | |
-- Checking for modules 'SDL2_ttf;fontconfig' | |
-- Found SDL2_ttf, version 2.0.15 | |
-- Found fontconfig, version 2.13.92 | |
Package expat was not found in the pkg-config search path. | |
Perhaps you should add the directory containing `expat.pc' | |
to the PKG_CONFIG_PATH environment variable | |
Package 'expat', required by 'fontconfig', not found | |
Package expat was not found in the pkg-config search path. | |
Perhaps you should add the directory containing `expat.pc' | |
to the PKG_CONFIG_PATH environment variable | |
Package 'expat', required by 'fontconfig', not found | |
Package expat was not found in the pkg-config search path. | |
Perhaps you should add the directory containing `expat.pc' | |
to the PKG_CONFIG_PATH environment variable | |
Package 'expat', required by 'fontconfig', not found | |
Package expat was not found in the pkg-config search path. | |
Perhaps you should add the directory containing `expat.pc' | |
to the PKG_CONFIG_PATH environment variable | |
Package 'expat', required by 'fontconfig', not found | |
-- The following features have been enabled: | |
* ENABLE_OPENGL, Legacy OpenGL renderer. | |
* ENABLE_EGL, EGL renderer. | |
* ENABLE_CB_X11, X11 Clipboard Integration. | |
* ENABLE_BACKTRACE, Backtrace support. | |
-- 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 | |
CMAKE_POLICY_DEFAULT_CMP0025 | |
-- Build files have been written to: /build/source/client/build | |
building | |
build flags: -j24 -l24 SHELL=/nix/store/j206pskg2yzyla1cnfrb9kb5n5bfvjgm-bash-4.4-p23/bin/bash | |
Scanning dependencies of target lg_common_platform_code | |
Scanning dependencies of target lgmp | |
Scanning dependencies of target purespice | |
[ 1%] Building C object common/src/platform/linux/CMakeFiles/lg_common_platform_code.dir/crash.c.o | |
[ 2%] Building C object common/src/platform/linux/CMakeFiles/lg_common_platform_code.dir/sysinfo.c.o | |
[ 4%] Building C object LGMP/CMakeFiles/lgmp.dir/src/client.c.o | |
[ 8%] Building C object common/src/platform/linux/CMakeFiles/lg_common_platform_code.dir/thread.c.o | |
[ 8%] Building C object LGMP/CMakeFiles/lgmp.dir/src/status.c.o | |
[ 8%] Building C object LGMP/CMakeFiles/lgmp.dir/src/host.c.o | |
[ 10%] Building C object common/src/platform/linux/CMakeFiles/lg_common_platform_code.dir/event.c.o | |
[ 15%] Building C object common/src/platform/linux/CMakeFiles/lg_common_platform_code.dir/ivshmem.c.o | |
[ 15%] Building C object PureSpice/CMakeFiles/purespice.dir/src/spice.c.o | |
[ 15%] Building C object common/src/platform/linux/CMakeFiles/lg_common_platform_code.dir/time.c.o | |
[ 15%] Building C object PureSpice/CMakeFiles/purespice.dir/src/rsa.c.o | |
[ 17%] Linking C static library liblgmp.a | |
[ 17%] Built target lgmp | |
[ 18%] Linking C static library liblg_common_platform_code.a | |
[ 18%] Built target lg_common_platform_code | |
Scanning dependencies of target lg_common | |
[ 20%] Building C object common/CMakeFiles/lg_common.dir/src/stringutils.c.o | |
[ 21%] Building C object common/CMakeFiles/lg_common.dir/src/option.c.o | |
[ 23%] Building C object common/CMakeFiles/lg_common.dir/src/framebuffer.c.o | |
[ 24%] Building C object common/CMakeFiles/lg_common.dir/src/stringlist.c.o | |
In file included from /build/source/common/src/framebuffer.c:26: | |
/build/source/common/src/framebuffer.c: In function 'framebuffer_read': | |
/nix/store/wx4igg3f77x58zbwc9w420r50nx3nd72-gcc-9.3.0/lib/gcc/x86_64-unknown-linux-gnu/9.3.0/include/smmintrin.h:582:1: error: inlining failed in call to always_inline '_mm_stream_load_si128': target specific option mismatch | |
582 | _mm_stream_load_si128 (__m128i *__X) | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
compilation terminated due to -Wfatal-errors. | |
make[2]: *** [common/CMakeFiles/lg_common.dir/build.make:121: common/CMakeFiles/lg_common.dir/src/framebuffer.c.o] Error 1 | |
make[2]: *** Waiting for unfinished jobs.... | |
[ 26%] Linking C static library libpurespice.a | |
[ 26%] Built target purespice | |
make[1]: *** [CMakeFiles/Makefile2:397: common/CMakeFiles/lg_common.dir/all] Error 2 | |
make: *** [Makefile:149: all] Error 2 | |
builder for '/nix/store/35cl4j336xsrisii8l1xc1sa2sp9dijd-looking-glass-client-B2-rc4.drv' failed with exit code 2 | |
error: build of '/nix/store/35cl4j336xsrisii8l1xc1sa2sp9dijd-looking-glass-client-B2-rc4.drv' failed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ stdenv, fetchFromGitHub, fetchpatch | |
, cmake, pkgconfig, SDL2, SDL, SDL2_ttf, openssl, spice-protocol, fontconfig | |
, libX11, freefont_ttf, nettle, libconfig, wayland, libpthreadstubs, libXdmcp | |
, libXfixes, libbfd, libXi | |
}: | |
stdenv.mkDerivation rec { | |
pname = "looking-glass-client"; | |
version = "B2-rc4"; | |
src = fetchFromGitHub { | |
owner = "gnif"; | |
repo = "LookingGlass"; | |
rev = version; | |
sha256 = "0w8wkrnnvab22jqvii62h6j07kfrv90813ch7yhrs4yhqiv97wm8"; | |
fetchSubmodules = true; | |
}; | |
nativeBuildInputs = [ pkgconfig ]; | |
buildInputs = [ | |
SDL SDL2 SDL2_ttf openssl spice-protocol fontconfig | |
libX11 freefont_ttf nettle libconfig wayland libpthreadstubs | |
libXdmcp libXfixes libbfd cmake libXi | |
]; | |
enableParallelBuilding = true; | |
impureUseNativeOptimizations = true; | |
sourceRoot = "source/client"; | |
installPhase = '' | |
mkdir -p $out/bin | |
mv looking-glass-client $out/bin | |
''; | |
meta = with stdenv.lib; { | |
description = "A KVM Frame Relay (KVMFR) implementation"; | |
longDescription = '' | |
Looking Glass is an open source application that allows the use of a KVM | |
(Kernel-based Virtual Machine) configured for VGA PCI Pass-through | |
without an attached physical monitor, keyboard or mouse. This is the final | |
step required to move away from dual booting with other operating systems | |
for legacy programs that require high performance graphics. | |
''; | |
homepage = "https://looking-glass.hostfission.com/"; | |
license = licenses.gpl2Plus; | |
maintainers = [ maintainers.alexbakker ]; | |
platforms = [ "x86_64-linux" ]; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment