GNOME Bugzilla – Bug 752596
Parallel build fails sometimes
Last modified: 2017-02-08 17:38:05 UTC
gsd-device-manager.c:208:13: error: 'GSD_TYPE_DEVICE_TYPE' undeclared (first use in this function) GSD_TYPE_DEVICE_TYPE, 0, This clearly seems due to the fact that (panels/common/) gsd-device-manager.c includes a generated file gsd-common-enums.h, but that dependency is NOT specified in Makefile.am
Created attachment 307693 [details] [review] common: Fix parallel build
Have you tested the patch? It makes the build fail for me with: [...] CCLD libshell.la CCLD test-hostname ar: `u' modifier ignored since `D' is the default (see `U') CCLD gnome-control-center ./test-hostname ./hostnames-test.txt > /dev/null ../panels/region/.libs/libregion.a(cc-language-chooser.o): In function `cc_language_chooser_new': /tmp/nix-build-gnome-control-center-3.16.1.drv-0/gnome-control-center-3.16.1/panels/common/cc-language-chooser.c:385: undefined reference to `cc_common_get_resource' collect2: error: ld returned 1 exit status [...]
Created attachment 345255 [details] [review] common: Fix parallel build
Attachment 345255 [details] pushed as 3ab88c7 - common: Fix parallel build