Skip to content

Instantly share code, notes, and snippets.

@patrickod
Created September 6, 2020 19:22
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 patrickod/c09bd3a005940541e3ccfed139902592 to your computer and use it in GitHub Desktop.
Save patrickod/c09bd3a005940541e3ccfed139902592 to your computer and use it in GitHub Desktop.
these derivations will be built:
/nix/store/k5za4yrjfdg7y31zx6wwhny04gv4m4mm-looking-glass-client-B2-rc4.drv
building '/nix/store/k5za4yrjfdg7y31zx6wwhny04gv4m4mm-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/x10pdsa70p7319kcb19pavivdxz325pd-looking-glass-client-B2-rc4/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/x10pdsa70p7319kcb19pavivdxz325pd-looking-glass-client-B2-rc4/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/x10pdsa70p7319kcb19pavivdxz325pd-looking-glass-client-B2-rc4/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/x10pdsa70p7319kcb19pavivdxz325pd-looking-glass-client-B2-rc4/share/doc/looking-glass-client -DCMAKE_INSTALL_INFODIR=/nix/store/x10pdsa70p7319kcb19pavivdxz325pd-looking-glass-client-B2-rc4/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/x10pdsa70p7319kcb19pavivdxz325pd-looking-glass-client-B2-rc4/share/man -DCMAKE_INSTALL_OLDINCLUDEDIR=/nix/store/x10pdsa70p7319kcb19pavivdxz325pd-looking-glass-client-B2-rc4/include -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/x10pdsa70p7319kcb19pavivdxz325pd-looking-glass-client-B2-rc4/include -DCMAKE_INSTALL_SBINDIR=/nix/store/x10pdsa70p7319kcb19pavivdxz325pd-looking-glass-client-B2-rc4/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/x10pdsa70p7319kcb19pavivdxz325pd-looking-glass-client-B2-rc4/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/x10pdsa70p7319kcb19pavivdxz325pd-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/x10pdsa70p7319kcb19pavivdxz325pd-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 LGMP/CMakeFiles/lgmp.dir/src/host.c.o
[ 2%] Building C object LGMP/CMakeFiles/lgmp.dir/src/client.c.o
[ 4%] Building C object LGMP/CMakeFiles/lgmp.dir/src/status.c.o
[ 7%] Building C object common/src/platform/linux/CMakeFiles/lg_common_platform_code.dir/sysinfo.c.o
[ 7%] Building C object common/src/platform/linux/CMakeFiles/lg_common_platform_code.dir/crash.c.o
[ 11%] Building C object common/src/platform/linux/CMakeFiles/lg_common_platform_code.dir/thread.c.o
[ 11%] Building C object PureSpice/CMakeFiles/purespice.dir/src/spice.c.o
[ 11%] Building C object common/src/platform/linux/CMakeFiles/lg_common_platform_code.dir/event.c.o
[ 14%] Building C object PureSpice/CMakeFiles/purespice.dir/src/rsa.c.o
[ 14%] Building C object common/src/platform/linux/CMakeFiles/lg_common_platform_code.dir/ivshmem.c.o
[ 15%] Building C object common/src/platform/linux/CMakeFiles/lg_common_platform_code.dir/time.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/stringlist.c.o
[ 23%] Building C object common/CMakeFiles/lg_common.dir/src/option.c.o
[ 24%] Building C object common/CMakeFiles/lg_common.dir/src/framebuffer.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/k5za4yrjfdg7y31zx6wwhny04gv4m4mm-looking-glass-client-B2-rc4.drv' failed with exit code 2
error: build of '/nix/store/k5za4yrjfdg7y31zx6wwhny04gv4m4mm-looking-glass-client-B2-rc4.drv' failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment