Skip to content

Instantly share code, notes, and snippets.

@tilpner

tilpner/build.sh Secret

Last active November 4, 2017 15:38
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 tilpner/4cb79a7380626a40c69e8fb79523bdcc to your computer and use it in GitHub Desktop.
Save tilpner/4cb79a7380626a40c69e8fb79523bdcc to your computer and use it in GitHub Desktop.
$ nix-build -E 'with import <nixpkgs> {}; callPackage ./. {}'
{ llvmPackages_5, lib, fetchFromGitHub, gcc, scons, pkgconfig, xlibs
, freetype, openssl, alsaLib, mono
, libpulseaudio, mesa_glu, zlib
, withTools ? true, withMono ? false }:
let
inherit (llvmPackages_5) stdenv libcxxabi libcxx;
in llvmPackages_5.stdenv.mkDerivation rec {
name = "godot-${version}";
version = "3cbcf5c2ddadf1cd630137d6bd438634b8517b00";
src = fetchFromGitHub {
owner = "godotengine";
repo = "godot";
rev = version;
sha256 = "0vl1k1p74w4q61v8gvh8s94la2g66asn87phajfz9xk2xcajfb3c";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
libcxx libcxxabi
scons freetype openssl alsaLib libpulseaudio mesa_glu zlib
] ++ (with xlibs; [
libX11 libXcursor libXinerama libXrandr libXrender
]) ++ lib.optional withMono mono;
patches = [ ./pkg_config_additions.patch ];
enableParallelBuilding = true;
buildPhase = ''
scons platform=x11 prefix=$out \
use_llvm=yes \
module_mono_enabled=${if withMono then "yes" else "no"} \
-j $NIX_BUILD_CORES
'';
installPhase = ''
mkdir $out/bin -p
cp bin/godot.* $out/bin/
'';
meta = {
homepage = "https://godotengine.org";
description = "Free and Open Source 2D and 3D game engine";
license = stdenv.lib.licenses.mit;
platforms = stdenv.lib.platforms.linux;
};
}
+++ build/platform/x11/detect.py
@@ -139,6 +139,10 @@
env.ParseConfig('pkg-config xinerama --cflags --libs')
env.ParseConfig('pkg-config xcursor --cflags --libs')
env.ParseConfig('pkg-config xrandr --cflags --libs')
+ env.ParseConfig('pkg-config xrender --cflags --libs')
+ env.ParseConfig('pkg-config osmesa --cflags')
+ env.ParseConfig('pkg-config glu --cflags --libs')
+ env.ParseConfig('pkg-config zlib --cflags --libs')
if (env['builtin_openssl'] == 'no'):
# Currently not compatible with OpenSSL 1.1.0+
these derivations will be built:
/nix/store/9bfr8dmiwwlsw3zw2r0rh83ssplw7pmc-godot-3cbcf5c2ddadf1cd630137d6bd438634b8517b00.drv
building path(s) '/nix/store/nf7ql9gk44q53dvh2s3lqqfaay5b9kbd-godot-3cbcf5c2ddadf1cd630137d6bd438634b8517b00'
unpacking sources
unpacking source archive /nix/store/fp3af18a3lsifar3ila60mm0cp622yvw-godot-3cbcf5c2ddadf1cd630137d6bd438634b8517b00-src
source root is godot-3cbcf5c2ddadf1cd630137d6bd438634b8517b00-src
patching sources
applying patch /nix/store/m1vpj2991k38jd9v1n7v4qhnf7jlahiv-pkg_config_additions.patch
patching file platform/x11/detect.py
Hunk #1 succeeded at 140 with fuzz 2 (offset 1 line).
configuring
no configure script, doing nothing
building
scons: Reading SConscript files ...
Enabling ALSA
Enabling PulseAudio
Checking for C header file mntent.h... yes
scons: done reading SConscript files.
scons: Building targets ...
[Initial build] run(["core/method_bind.gen.inc", "core/method_bind_ext.gen.inc"], ["core/make_binders.py"])
[Initial build] build_gles3_headers(["drivers/gles3/shaders/canvas_shadow.glsl.gen.h"], ["drivers/gles3/shaders/canvas_shadow.glsl"])
[Initial build] build_gles3_headers(["drivers/gles3/shaders/cube_to_dp.glsl.gen.h"], ["drivers/gles3/shaders/cube_to_dp.glsl"])
[Initial build] build_gles3_headers(["drivers/gles3/shaders/effect_blur.glsl.gen.h"], ["drivers/gles3/shaders/effect_blur.glsl"])
[Initial build] build_gles3_headers(["drivers/gles3/shaders/exposure.glsl.gen.h"], ["drivers/gles3/shaders/exposure.glsl"])
[Initial build] build_gles3_headers(["drivers/gles3/shaders/resolve.glsl.gen.h"], ["drivers/gles3/shaders/resolve.glsl"])
[Initial build] build_gles3_headers(["drivers/gles3/shaders/scene.glsl.gen.h"], ["drivers/gles3/shaders/scene.glsl"])
[Initial build] clang++ -o platform/x11/godot_x11.x11.tools.64.llvm.o -c -g3 -DDEBUG_ENABLED -DDEBUG_MEMORY_ENABLED -pipe -w -DZSTD_STATIC_LINKING_ONLY -DFREETYPE_ENABLED -DRECAST_ENABLED -DSVG_ENABLED -DHAVE_MNTENT -DDEBUG_MEMORY_ALLOC -DSCI_NAMESPACE -DTYPED_METHOD_BIND -DALSA_ENABLED -DPULSEAUDIO_ENABLED -DJOYDEV_ENABLED -DX11_ENABLED -DUNIX_ENABLED -DOPENGL_ENABLED -DGLES2_ENABLED -DGLES_OVER_GL -DPTRCALL_ENABLED -DTOOLS_ENABLED -DGDSCRIPT_ENABLED -DMINIZIP_ENABLED -DXML_ENABLED -DGLAD_ENABLED -DGLES_OVER_GL -D_REENTRANT -Icore -Icore/math -Ieditor -Idrivers -I. -I/nix/store/l5yqadsb7j5239nmnw84m8br02n2iqbn-xproto-7.0.31/include -I/nix/store/g0hz91jmgslqaf7mzbvmf6nc2xz3xqfn-libX11-1.6.5-dev/include -I/nix/store/pglnfnfmzjsn60z5ac01n0l7pk81dcl6-kbproto-1.0.7/include -I/nix/store/fdaf4c7r1l1jygwrz9cxcffxczz95nn5-libXcursor-1.1.14-dev/include -I/nix/store/k6xmzqlkvwfxbgpcihq9447mhqarz30q-libXinerama-1.1.3-dev/include -I/nix/store/1z2mkk5js0m0iany6nmz544fwbnlcv1g-xineramaproto-1.2.1/include -I/nix/store/nfip5i8g77i6gpb21qmq8392x0gq5kyz-libXrandr-1.5.1-dev/include -I/nix/store/jylh631lf4dmz62ci6fsghizb6yrqb5x-randrproto-1.5.0/include -I/nix/store/hr6mhxch70fm5808zfsr610hgwva4ihz-libXrender-0.9.10-dev/include -I/nix/store/94h3y6wv4qri6m2v8ac60zdsnd0d42hk-renderproto-0.11.1/include -I/nix/store/mn4pnzcrraqi002g2ccdm8fh6wrh6lr2-mesa-noglu-17.1.8-dev/include -I/nix/store/7kv8w8zvd7glyjgn3r2m73fvi3sd2wcw-glu-9.0.0-dev/include -I/nix/store/0wc0m18vr2qivfx29kzs225hpay43mhy-zlib-1.2.11-dev/include -I/nix/store/pvkvw8p9xnwad1gamwwp54q8xnr2mbz1-openssl-1.0.2l-dev/include -I/nix/store/7afxy0q06nraxld5v51g8p3w2smwvjdv-freetype-2.7.1-dev/include/freetype2 -I/nix/store/an1f51im28jf90h4d1bv7p9pyzj6zvyc-libpng-apng-1.6.31-dev/include/libpng16 -I/nix/store/18692j5bry791hxx7sgbmb0mnvirsriw-alsa-lib-1.1.4.1-dev/include -I/nix/store/18692j5bry791hxx7sgbmb0mnvirsriw-alsa-lib-1.1.4.1-dev/include/alsa -I/nix/store/1pynli0pxck17fwfw06r6vnbhm1vkbny-libpulseaudio-10.0-dev/include -Iplatform/x11 -Ithirdparty/zstd -Ithirdparty/zstd/common -Ithirdparty/glad -Ithirdparty/recastnavigation/Recast -Ithirdparty/recastnavigation/Recast/Include -Ithirdparty/nanosvg platform/x11/godot_x11.cpp
[Initial build] clang++ -o platform/x11/crash_handler_x11.x11.tools.64.llvm.o -c -g3 -DDEBUG_ENABLED -DDEBUG_MEMORY_ENABLED -pipe -w -DZSTD_STATIC_LINKING_ONLY -DFREETYPE_ENABLED -DRECAST_ENABLED -DSVG_ENABLED -DHAVE_MNTENT -DDEBUG_MEMORY_ALLOC -DSCI_NAMESPACE -DTYPED_METHOD_BIND -DALSA_ENABLED -DPULSEAUDIO_ENABLED -DJOYDEV_ENABLED -DX11_ENABLED -DUNIX_ENABLED -DOPENGL_ENABLED -DGLES2_ENABLED -DGLES_OVER_GL -DPTRCALL_ENABLED -DTOOLS_ENABLED -DGDSCRIPT_ENABLED -DMINIZIP_ENABLED -DXML_ENABLED -DGLAD_ENABLED -DGLES_OVER_GL -D_REENTRANT -Icore -Icore/math -Ieditor -Idrivers -I. -I/nix/store/l5yqadsb7j5239nmnw84m8br02n2iqbn-xproto-7.0.31/include -I/nix/store/g0hz91jmgslqaf7mzbvmf6nc2xz3xqfn-libX11-1.6.5-dev/include -I/nix/store/pglnfnfmzjsn60z5ac01n0l7pk81dcl6-kbproto-1.0.7/include -I/nix/store/fdaf4c7r1l1jygwrz9cxcffxczz95nn5-libXcursor-1.1.14-dev/include -I/nix/store/k6xmzqlkvwfxbgpcihq9447mhqarz30q-libXinerama-1.1.3-dev/include -I/nix/store/1z2mkk5js0m0iany6nmz544fwbnlcv1g-xineramaproto-1.2.1/include -I/nix/store/nfip5i8g77i6gpb21qmq8392x0gq5kyz-libXrandr-1.5.1-dev/include -I/nix/store/jylh631lf4dmz62ci6fsghizb6yrqb5x-randrproto-1.5.0/include -I/nix/store/hr6mhxch70fm5808zfsr610hgwva4ihz-libXrender-0.9.10-dev/include -I/nix/store/94h3y6wv4qri6m2v8ac60zdsnd0d42hk-renderproto-0.11.1/include -I/nix/store/mn4pnzcrraqi002g2ccdm8fh6wrh6lr2-mesa-noglu-17.1.8-dev/include -I/nix/store/7kv8w8zvd7glyjgn3r2m73fvi3sd2wcw-glu-9.0.0-dev/include -I/nix/store/0wc0m18vr2qivfx29kzs225hpay43mhy-zlib-1.2.11-dev/include -I/nix/store/pvkvw8p9xnwad1gamwwp54q8xnr2mbz1-openssl-1.0.2l-dev/include -I/nix/store/7afxy0q06nraxld5v51g8p3w2smwvjdv-freetype-2.7.1-dev/include/freetype2 -I/nix/store/an1f51im28jf90h4d1bv7p9pyzj6zvyc-libpng-apng-1.6.31-dev/include/libpng16 -I/nix/store/18692j5bry791hxx7sgbmb0mnvirsriw-alsa-lib-1.1.4.1-dev/include -I/nix/store/18692j5bry791hxx7sgbmb0mnvirsriw-alsa-lib-1.1.4.1-dev/include/alsa -I/nix/store/1pynli0pxck17fwfw06r6vnbhm1vkbny-libpulseaudio-10.0-dev/include -Iplatform/x11 -Ithirdparty/zstd -Ithirdparty/zstd/common -Ithirdparty/glad -Ithirdparty/recastnavigation/Recast -Ithirdparty/recastnavigation/Recast/Include -Ithirdparty/nanosvg platform/x11/crash_handler_x11.cpp
[Initial build] clang++ -o platform/x11/context_gl_x11.x11.tools.64.llvm.o -c -g3 -DDEBUG_ENABLED -DDEBUG_MEMORY_ENABLED -pipe -w -DZSTD_STATIC_LINKING_ONLY -DFREETYPE_ENABLED -DRECAST_ENABLED -DSVG_ENABLED -DHAVE_MNTENT -DDEBUG_MEMORY_ALLOC -DSCI_NAMESPACE -DTYPED_METHOD_BIND -DALSA_ENABLED -DPULSEAUDIO_ENABLED -DJOYDEV_ENABLED -DX11_ENABLED -DUNIX_ENABLED -DOPENGL_ENABLED -DGLES2_ENABLED -DGLES_OVER_GL -DPTRCALL_ENABLED -DTOOLS_ENABLED -DGDSCRIPT_ENABLED -DMINIZIP_ENABLED -DXML_ENABLED -DGLAD_ENABLED -DGLES_OVER_GL -D_REENTRANT -Icore -Icore/math -Ieditor -Idrivers -I. -I/nix/store/l5yqadsb7j5239nmnw84m8br02n2iqbn-xproto-7.0.31/include -I/nix/store/g0hz91jmgslqaf7mzbvmf6nc2xz3xqfn-libX11-1.6.5-dev/include -I/nix/store/pglnfnfmzjsn60z5ac01n0l7pk81dcl6-kbproto-1.0.7/include -I/nix/store/fdaf4c7r1l1jygwrz9cxcffxczz95nn5-libXcursor-1.1.14-dev/include -I/nix/store/k6xmzqlkvwfxbgpcihq9447mhqarz30q-libXinerama-1.1.3-dev/include -I/nix/store/1z2mkk5js0m0iany6nmz544fwbnlcv1g-xineramaproto-1.2.1/include -I/nix/store/nfip5i8g77i6gpb21qmq8392x0gq5kyz-libXrandr-1.5.1-dev/include -I/nix/store/jylh631lf4dmz62ci6fsghizb6yrqb5x-randrproto-1.5.0/include -I/nix/store/hr6mhxch70fm5808zfsr610hgwva4ihz-libXrender-0.9.10-dev/include -I/nix/store/94h3y6wv4qri6m2v8ac60zdsnd0d42hk-renderproto-0.11.1/include -I/nix/store/mn4pnzcrraqi002g2ccdm8fh6wrh6lr2-mesa-noglu-17.1.8-dev/include -I/nix/store/7kv8w8zvd7glyjgn3r2m73fvi3sd2wcw-glu-9.0.0-dev/include -I/nix/store/0wc0m18vr2qivfx29kzs225hpay43mhy-zlib-1.2.11-dev/include -I/nix/store/pvkvw8p9xnwad1gamwwp54q8xnr2mbz1-openssl-1.0.2l-dev/include -I/nix/store/7afxy0q06nraxld5v51g8p3w2smwvjdv-freetype-2.7.1-dev/include/freetype2 -I/nix/store/an1f51im28jf90h4d1bv7p9pyzj6zvyc-libpng-apng-1.6.31-dev/include/libpng16 -I/nix/store/18692j5bry791hxx7sgbmb0mnvirsriw-alsa-lib-1.1.4.1-dev/include -I/nix/store/18692j5bry791hxx7sgbmb0mnvirsriw-alsa-lib-1.1.4.1-dev/include/alsa -I/nix/store/1pynli0pxck17fwfw06r6vnbhm1vkbny-libpulseaudio-10.0-dev/include -Iplatform/x11 -Ithirdparty/zstd -Ithirdparty/zstd/common -Ithirdparty/glad -Ithirdparty/recastnavigation/Recast -Ithirdparty/recastnavigation/Recast/Include -Ithirdparty/nanosvg platform/x11/context_gl_x11.cpp
[Initial build] build_gles3_headers(["drivers/gles3/shaders/screen_space_reflection.glsl.gen.h"], ["drivers/gles3/shaders/screen_space_reflection.glsl"])
[Initial build] build_gles3_headers(["drivers/gles3/shaders/ssao.glsl.gen.h"], ["drivers/gles3/shaders/ssao.glsl"])
[Initial build] build_gles3_headers(["drivers/gles3/shaders/ssao_blur.glsl.gen.h"], ["drivers/gles3/shaders/ssao_blur.glsl"])
[Initial build] build_gles3_headers(["drivers/gles3/shaders/ssao_minify.glsl.gen.h"], ["drivers/gles3/shaders/ssao_minify.glsl"])
[Initial build] build_gles3_headers(["drivers/gles3/shaders/subsurf_scattering.glsl.gen.h"], ["drivers/gles3/shaders/subsurf_scattering.glsl"])
[Initial build] build_gles3_headers(["drivers/gles3/shaders/tonemap.glsl.gen.h"], ["drivers/gles3/shaders/tonemap.glsl"])
[Initial build] build_gles3_headers(["drivers/gles3/shaders/blend_shape.glsl.gen.h"], ["drivers/gles3/shaders/blend_shape.glsl"])
[Initial build] build_gles3_headers(["drivers/gles3/shaders/canvas.glsl.gen.h"], ["drivers/gles3/shaders/canvas.glsl"])
[Initial build] build_gles3_headers(["drivers/gles3/shaders/copy.glsl.gen.h"], ["drivers/gles3/shaders/copy.glsl"])
[Initial build] build_gles3_headers(["drivers/gles3/shaders/cubemap_filter.glsl.gen.h"], ["drivers/gles3/shaders/cubemap_filter.glsl"])
[Initial build] build_gles3_headers(["drivers/gles3/shaders/particles.glsl.gen.h"], ["drivers/gles3/shaders/particles.glsl"])
[Initial build] clang++ -o platform/x11/key_mapping_x11.x11.tools.64.llvm.o -c -g3 -DDEBUG_ENABLED -DDEBUG_MEMORY_ENABLED -pipe -w -DZSTD_STATIC_LINKING_ONLY -DFREETYPE_ENABLED -DRECAST_ENABLED -DSVG_ENABLED -DHAVE_MNTENT -DDEBUG_MEMORY_ALLOC -DSCI_NAMESPACE -DTYPED_METHOD_BIND -DALSA_ENABLED -DPULSEAUDIO_ENABLED -DJOYDEV_ENABLED -DX11_ENABLED -DUNIX_ENABLED -DOPENGL_ENABLED -DGLES2_ENABLED -DGLES_OVER_GL -DPTRCALL_ENABLED -DTOOLS_ENABLED -DGDSCRIPT_ENABLED -DMINIZIP_ENABLED -DXML_ENABLED -DGLAD_ENABLED -DGLES_OVER_GL -D_REENTRANT -Icore -Icore/math -Ieditor -Idrivers -I. -I/nix/store/l5yqadsb7j5239nmnw84m8br02n2iqbn-xproto-7.0.31/include -I/nix/store/g0hz91jmgslqaf7mzbvmf6nc2xz3xqfn-libX11-1.6.5-dev/include -I/nix/store/pglnfnfmzjsn60z5ac01n0l7pk81dcl6-kbproto-1.0.7/include -I/nix/store/fdaf4c7r1l1jygwrz9cxcffxczz95nn5-libXcursor-1.1.14-dev/include -I/nix/store/k6xmzqlkvwfxbgpcihq9447mhqarz30q-libXinerama-1.1.3-dev/include -I/nix/store/1z2mkk5js0m0iany6nmz544fwbnlcv1g-xineramaproto-1.2.1/include -I/nix/store/nfip5i8g77i6gpb21qmq8392x0gq5kyz-libXrandr-1.5.1-dev/include -I/nix/store/jylh631lf4dmz62ci6fsghizb6yrqb5x-randrproto-1.5.0/include -I/nix/store/hr6mhxch70fm5808zfsr610hgwva4ihz-libXrender-0.9.10-dev/include -I/nix/store/94h3y6wv4qri6m2v8ac60zdsnd0d42hk-renderproto-0.11.1/include -I/nix/store/mn4pnzcrraqi002g2ccdm8fh6wrh6lr2-mesa-noglu-17.1.8-dev/include -I/nix/store/7kv8w8zvd7glyjgn3r2m73fvi3sd2wcw-glu-9.0.0-dev/include -I/nix/store/0wc0m18vr2qivfx29kzs225hpay43mhy-zlib-1.2.11-dev/include -I/nix/store/pvkvw8p9xnwad1gamwwp54q8xnr2mbz1-openssl-1.0.2l-dev/include -I/nix/store/7afxy0q06nraxld5v51g8p3w2smwvjdv-freetype-2.7.1-dev/include/freetype2 -I/nix/store/an1f51im28jf90h4d1bv7p9pyzj6zvyc-libpng-apng-1.6.31-dev/include/libpng16 -I/nix/store/18692j5bry791hxx7sgbmb0mnvirsriw-alsa-lib-1.1.4.1-dev/include -I/nix/store/18692j5bry791hxx7sgbmb0mnvirsriw-alsa-lib-1.1.4.1-dev/include/alsa -I/nix/store/1pynli0pxck17fwfw06r6vnbhm1vkbny-libpulseaudio-10.0-dev/include -Iplatform/x11 -Ithirdparty/zstd -Ithirdparty/zstd/common -Ithirdparty/glad -Ithirdparty/recastnavigation/Recast -Ithirdparty/recastnavigation/Recast/Include -Ithirdparty/nanosvg platform/x11/key_mapping_x11.cpp
[Initial build] clang++ -o platform/x11/joypad_linux.x11.tools.64.llvm.o -c -g3 -DDEBUG_ENABLED -DDEBUG_MEMORY_ENABLED -pipe -w -DZSTD_STATIC_LINKING_ONLY -DFREETYPE_ENABLED -DRECAST_ENABLED -DSVG_ENABLED -DHAVE_MNTENT -DDEBUG_MEMORY_ALLOC -DSCI_NAMESPACE -DTYPED_METHOD_BIND -DALSA_ENABLED -DPULSEAUDIO_ENABLED -DJOYDEV_ENABLED -DX11_ENABLED -DUNIX_ENABLED -DOPENGL_ENABLED -DGLES2_ENABLED -DGLES_OVER_GL -DPTRCALL_ENABLED -DTOOLS_ENABLED -DGDSCRIPT_ENABLED -DMINIZIP_ENABLED -DXML_ENABLED -DGLAD_ENABLED -DGLES_OVER_GL -D_REENTRANT -Icore -Icore/math -Ieditor -Idrivers -I. -I/nix/store/l5yqadsb7j5239nmnw84m8br02n2iqbn-xproto-7.0.31/include -I/nix/store/g0hz91jmgslqaf7mzbvmf6nc2xz3xqfn-libX11-1.6.5-dev/include -I/nix/store/pglnfnfmzjsn60z5ac01n0l7pk81dcl6-kbproto-1.0.7/include -I/nix/store/fdaf4c7r1l1jygwrz9cxcffxczz95nn5-libXcursor-1.1.14-dev/include -I/nix/store/k6xmzqlkvwfxbgpcihq9447mhqarz30q-libXinerama-1.1.3-dev/include -I/nix/store/1z2mkk5js0m0iany6nmz544fwbnlcv1g-xineramaproto-1.2.1/include -I/nix/store/nfip5i8g77i6gpb21qmq8392x0gq5kyz-libXrandr-1.5.1-dev/include -I/nix/store/jylh631lf4dmz62ci6fsghizb6yrqb5x-randrproto-1.5.0/include -I/nix/store/hr6mhxch70fm5808zfsr610hgwva4ihz-libXrender-0.9.10-dev/include -I/nix/store/94h3y6wv4qri6m2v8ac60zdsnd0d42hk-renderproto-0.11.1/include -I/nix/store/mn4pnzcrraqi002g2ccdm8fh6wrh6lr2-mesa-noglu-17.1.8-dev/include -I/nix/store/7kv8w8zvd7glyjgn3r2m73fvi3sd2wcw-glu-9.0.0-dev/include -I/nix/store/0wc0m18vr2qivfx29kzs225hpay43mhy-zlib-1.2.11-dev/include -I/nix/store/pvkvw8p9xnwad1gamwwp54q8xnr2mbz1-openssl-1.0.2l-dev/include -I/nix/store/7afxy0q06nraxld5v51g8p3w2smwvjdv-freetype-2.7.1-dev/include/freetype2 -I/nix/store/an1f51im28jf90h4d1bv7p9pyzj6zvyc-libpng-apng-1.6.31-dev/include/libpng16 -I/nix/store/18692j5bry791hxx7sgbmb0mnvirsriw-alsa-lib-1.1.4.1-dev/include -I/nix/store/18692j5bry791hxx7sgbmb0mnvirsriw-alsa-lib-1.1.4.1-dev/include/alsa -I/nix/store/1pynli0pxck17fwfw06r6vnbhm1vkbny-libpulseaudio-10.0-dev/include -Iplatform/x11 -Ithirdparty/zstd -Ithirdparty/zstd/common -Ithirdparty/glad -Ithirdparty/recastnavigation/Recast -Ithirdparty/recastnavigation/Recast/Include -Ithirdparty/nanosvg platform/x11/joypad_linux.cpp
[Initial build] clang++ -o platform/x11/power_x11.x11.tools.64.llvm.o -c -g3 -DDEBUG_ENABLED -DDEBUG_MEMORY_ENABLED -pipe -w -DZSTD_STATIC_LINKING_ONLY -DFREETYPE_ENABLED -DRECAST_ENABLED -DSVG_ENABLED -DHAVE_MNTENT -DDEBUG_MEMORY_ALLOC -DSCI_NAMESPACE -DTYPED_METHOD_BIND -DALSA_ENABLED -DPULSEAUDIO_ENABLED -DJOYDEV_ENABLED -DX11_ENABLED -DUNIX_ENABLED -DOPENGL_ENABLED -DGLES2_ENABLED -DGLES_OVER_GL -DPTRCALL_ENABLED -DTOOLS_ENABLED -DGDSCRIPT_ENABLED -DMINIZIP_ENABLED -DXML_ENABLED -DGLAD_ENABLED -DGLES_OVER_GL -D_REENTRANT -Icore -Icore/math -Ieditor -Idrivers -I. -I/nix/store/l5yqadsb7j5239nmnw84m8br02n2iqbn-xproto-7.0.31/include -I/nix/store/g0hz91jmgslqaf7mzbvmf6nc2xz3xqfn-libX11-1.6.5-dev/include -I/nix/store/pglnfnfmzjsn60z5ac01n0l7pk81dcl6-kbproto-1.0.7/include -I/nix/store/fdaf4c7r1l1jygwrz9cxcffxczz95nn5-libXcursor-1.1.14-dev/include -I/nix/store/k6xmzqlkvwfxbgpcihq9447mhqarz30q-libXinerama-1.1.3-dev/include -I/nix/store/1z2mkk5js0m0iany6nmz544fwbnlcv1g-xineramaproto-1.2.1/include -I/nix/store/nfip5i8g77i6gpb21qmq8392x0gq5kyz-libXrandr-1.5.1-dev/include -I/nix/store/jylh631lf4dmz62ci6fsghizb6yrqb5x-randrproto-1.5.0/include -I/nix/store/hr6mhxch70fm5808zfsr610hgwva4ihz-libXrender-0.9.10-dev/include -I/nix/store/94h3y6wv4qri6m2v8ac60zdsnd0d42hk-renderproto-0.11.1/include -I/nix/store/mn4pnzcrraqi002g2ccdm8fh6wrh6lr2-mesa-noglu-17.1.8-dev/include -I/nix/store/7kv8w8zvd7glyjgn3r2m73fvi3sd2wcw-glu-9.0.0-dev/include -I/nix/store/0wc0m18vr2qivfx29kzs225hpay43mhy-zlib-1.2.11-dev/include -I/nix/store/pvkvw8p9xnwad1gamwwp54q8xnr2mbz1-openssl-1.0.2l-dev/include -I/nix/store/7afxy0q06nraxld5v51g8p3w2smwvjdv-freetype-2.7.1-dev/include/freetype2 -I/nix/store/an1f51im28jf90h4d1bv7p9pyzj6zvyc-libpng-apng-1.6.31-dev/include/libpng16 -I/nix/store/18692j5bry791hxx7sgbmb0mnvirsriw-alsa-lib-1.1.4.1-dev/include -I/nix/store/18692j5bry791hxx7sgbmb0mnvirsriw-alsa-lib-1.1.4.1-dev/include/alsa -I/nix/store/1pynli0pxck17fwfw06r6vnbhm1vkbny-libpulseaudio-10.0-dev/include -Iplatform/x11 -Ithirdparty/zstd -Ithirdparty/zstd/common -Ithirdparty/glad -Ithirdparty/recastnavigation/Recast -Ithirdparty/recastnavigation/Recast/Include -Ithirdparty/nanosvg platform/x11/power_x11.cpp
[Initial build] clang++ -o platform/x11/os_x11.x11.tools.64.llvm.o -c -g3 -DDEBUG_ENABLED -DDEBUG_MEMORY_ENABLED -pipe -w -DZSTD_STATIC_LINKING_ONLY -DFREETYPE_ENABLED -DRECAST_ENABLED -DSVG_ENABLED -DHAVE_MNTENT -DDEBUG_MEMORY_ALLOC -DSCI_NAMESPACE -DTYPED_METHOD_BIND -DALSA_ENABLED -DPULSEAUDIO_ENABLED -DJOYDEV_ENABLED -DX11_ENABLED -DUNIX_ENABLED -DOPENGL_ENABLED -DGLES2_ENABLED -DGLES_OVER_GL -DPTRCALL_ENABLED -DTOOLS_ENABLED -DGDSCRIPT_ENABLED -DMINIZIP_ENABLED -DXML_ENABLED -DGLAD_ENABLED -DGLES_OVER_GL -D_REENTRANT -Icore -Icore/math -Ieditor -Idrivers -I. -I/nix/store/l5yqadsb7j5239nmnw84m8br02n2iqbn-xproto-7.0.31/include -I/nix/store/g0hz91jmgslqaf7mzbvmf6nc2xz3xqfn-libX11-1.6.5-dev/include -I/nix/store/pglnfnfmzjsn60z5ac01n0l7pk81dcl6-kbproto-1.0.7/include -I/nix/store/fdaf4c7r1l1jygwrz9cxcffxczz95nn5-libXcursor-1.1.14-dev/include -I/nix/store/k6xmzqlkvwfxbgpcihq9447mhqarz30q-libXinerama-1.1.3-dev/include -I/nix/store/1z2mkk5js0m0iany6nmz544fwbnlcv1g-xineramaproto-1.2.1/include -I/nix/store/nfip5i8g77i6gpb21qmq8392x0gq5kyz-libXrandr-1.5.1-dev/include -I/nix/store/jylh631lf4dmz62ci6fsghizb6yrqb5x-randrproto-1.5.0/include -I/nix/store/hr6mhxch70fm5808zfsr610hgwva4ihz-libXrender-0.9.10-dev/include -I/nix/store/94h3y6wv4qri6m2v8ac60zdsnd0d42hk-renderproto-0.11.1/include -I/nix/store/mn4pnzcrraqi002g2ccdm8fh6wrh6lr2-mesa-noglu-17.1.8-dev/include -I/nix/store/7kv8w8zvd7glyjgn3r2m73fvi3sd2wcw-glu-9.0.0-dev/include -I/nix/store/0wc0m18vr2qivfx29kzs225hpay43mhy-zlib-1.2.11-dev/include -I/nix/store/pvkvw8p9xnwad1gamwwp54q8xnr2mbz1-openssl-1.0.2l-dev/include -I/nix/store/7afxy0q06nraxld5v51g8p3w2smwvjdv-freetype-2.7.1-dev/include/freetype2 -I/nix/store/an1f51im28jf90h4d1bv7p9pyzj6zvyc-libpng-apng-1.6.31-dev/include/libpng16 -I/nix/store/18692j5bry791hxx7sgbmb0mnvirsriw-alsa-lib-1.1.4.1-dev/include -I/nix/store/18692j5bry791hxx7sgbmb0mnvirsriw-alsa-lib-1.1.4.1-dev/include/alsa -I/nix/store/1pynli0pxck17fwfw06r6vnbhm1vkbny-libpulseaudio-10.0-dev/include -Iplatform/x11 -Ithirdparty/zstd -Ithirdparty/zstd/common -Ithirdparty/glad -Ithirdparty/recastnavigation/Recast -Ithirdparty/recastnavigation/Recast/Include -Ithirdparty/nanosvg platform/x11/os_x11.cpp
[Initial build] clang++ -o main/performance.x11.tools.64.llvm.o -c -g3 -DDEBUG_ENABLED -DDEBUG_MEMORY_ENABLED -pipe -w -DZSTD_STATIC_LINKING_ONLY -DFREETYPE_ENABLED -DRECAST_ENABLED -DSVG_ENABLED -DHAVE_MNTENT -DDEBUG_MEMORY_ALLOC -DSCI_NAMESPACE -DTYPED_METHOD_BIND -DALSA_ENABLED -DPULSEAUDIO_ENABLED -DJOYDEV_ENABLED -DX11_ENABLED -DUNIX_ENABLED -DOPENGL_ENABLED -DGLES2_ENABLED -DGLES_OVER_GL -DPTRCALL_ENABLED -DTOOLS_ENABLED -DGDSCRIPT_ENABLED -DMINIZIP_ENABLED -DXML_ENABLED -DGLAD_ENABLED -DGLES_OVER_GL -D_REENTRANT -Icore -Icore/math -Ieditor -Idrivers -I. -I/nix/store/l5yqadsb7j5239nmnw84m8br02n2iqbn-xproto-7.0.31/include -I/nix/store/g0hz91jmgslqaf7mzbvmf6nc2xz3xqfn-libX11-1.6.5-dev/include -I/nix/store/pglnfnfmzjsn60z5ac01n0l7pk81dcl6-kbproto-1.0.7/include -I/nix/store/fdaf4c7r1l1jygwrz9cxcffxczz95nn5-libXcursor-1.1.14-dev/include -I/nix/store/k6xmzqlkvwfxbgpcihq9447mhqarz30q-libXinerama-1.1.3-dev/include -I/nix/store/1z2mkk5js0m0iany6nmz544fwbnlcv1g-xineramaproto-1.2.1/include -I/nix/store/nfip5i8g77i6gpb21qmq8392x0gq5kyz-libXrandr-1.5.1-dev/include -I/nix/store/jylh631lf4dmz62ci6fsghizb6yrqb5x-randrproto-1.5.0/include -I/nix/store/hr6mhxch70fm5808zfsr610hgwva4ihz-libXrender-0.9.10-dev/include -I/nix/store/94h3y6wv4qri6m2v8ac60zdsnd0d42hk-renderproto-0.11.1/include -I/nix/store/mn4pnzcrraqi002g2ccdm8fh6wrh6lr2-mesa-noglu-17.1.8-dev/include -I/nix/store/7kv8w8zvd7glyjgn3r2m73fvi3sd2wcw-glu-9.0.0-dev/include -I/nix/store/0wc0m18vr2qivfx29kzs225hpay43mhy-zlib-1.2.11-dev/include -I/nix/store/pvkvw8p9xnwad1gamwwp54q8xnr2mbz1-openssl-1.0.2l-dev/include -I/nix/store/7afxy0q06nraxld5v51g8p3w2smwvjdv-freetype-2.7.1-dev/include/freetype2 -I/nix/store/an1f51im28jf90h4d1bv7p9pyzj6zvyc-libpng-apng-1.6.31-dev/include/libpng16 -I/nix/store/18692j5bry791hxx7sgbmb0mnvirsriw-alsa-lib-1.1.4.1-dev/include -I/nix/store/18692j5bry791hxx7sgbmb0mnvirsriw-alsa-lib-1.1.4.1-dev/include/alsa -I/nix/store/1pynli0pxck17fwfw06r6vnbhm1vkbny-libpulseaudio-10.0-dev/include -Iplatform/x11 -Ithirdparty/zstd -Ithirdparty/zstd/common -Ithirdparty/glad -Ithirdparty/recastnavigation/Recast -Ithirdparty/recastnavigation/Recast/Include -Ithirdparty/nanosvg main/performance.cpp
platform/x11/crash_handler_x11.cpp:39:10: fatal error: 'cxxabi.h' file not found
#include <cxxabi.h>
^~~~~~~~~~
1 error generated.
scons: *** [platform/x11/crash_handler_x11.x11.tools.64.llvm.o] Error 1
scons: building terminated because of errors.
builder for '/nix/store/9bfr8dmiwwlsw3zw2r0rh83ssplw7pmc-godot-3cbcf5c2ddadf1cd630137d6bd438634b8517b00.drv' failed with exit code 2
error: build of '/nix/store/9bfr8dmiwwlsw3zw2r0rh83ssplw7pmc-godot-3cbcf5c2ddadf1cd630137d6bd438634b8517b00.drv' failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment