From e801959e58196988b69723956e5a69ac20352e36 Mon Sep 17 00:00:00 2001 From: Damian Wrobel Date: Wed, 29 Jan 2020 15:44:14 +0100 Subject: [PATCH] Fix out-of-tree build error Fixes the missing 'app' directory: Traceback (most recent call last): File "/data/dwrobel1/rdkv/rpi-flutter-3/build-raspberrypirdkhybrefapp/tmp/sysroots/x86_64-linux/usr/bin/gdbus-codegen", line 39, in sys.exit(codegen_main.codegen_main()) File "/data/dwrobel1/rdkv/rpi-flutter-3/build-raspberrypirdkhybrefapp/tmp/sysroots/x86_64-linux/usr/share/glib-2.0/codegen/codegen_main.py", line 186, in codegen_main h = open(c_code + '.h', 'w') FileNotFoundError: [Errno 2] No such file or directory: './app/flatpak-permission-dbus-generated.h' make: *** [app/flatpak-permission-dbus-generated.c] Error 1 make: *** Waiting for unfinished jobs.... --- app/Makefile.am.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Makefile.am.inc b/app/Makefile.am.inc index 255c637e..0f5868d4 100644 --- a/app/Makefile.am.inc +++ b/app/Makefile.am.inc @@ -7,7 +7,7 @@ EXTRA_DIST += app/parse-datetime.y flatpak_dbus_built_sources = app/flatpak-permission-dbus-generated.c app/flatpak-permission-dbus-generated.h app/flatpak-permission-dbus-generated.c: data/org.freedesktop.impl.portal.PermissionStore.xml Makefile - mkdir -p $(builddir)/common + mkdir -p $(builddir)/app $(AM_V_GEN) $(GDBUS_CODEGEN) \ --interface-prefix org.freedesktop.impl.portal \ --c-namespace XdpDbus \