After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 752596 - Parallel build fails sometimes
Parallel build fails sometimes
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: general
3.16.x
Other Linux
: Normal minor
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-07-19 17:27 UTC by Vladimír Čunát
Modified: 2017-02-08 17:38 UTC
See Also:
GNOME target: ---
GNOME version: 3.15/3.16


Attachments
common: Fix parallel build (855 bytes, patch)
2015-07-19 17:35 UTC, Bastien Nocera
none Details | Review
common: Fix parallel build (856 bytes, patch)
2017-02-08 17:37 UTC, Bastien Nocera
committed Details | Review

Description Vladimír Čunát 2015-07-19 17:27:04 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
Comment 1 Bastien Nocera 2015-07-19 17:35:08 UTC
Created attachment 307693 [details] [review]
common: Fix parallel build
Comment 2 Vladimír Čunát 2015-07-21 16:48:46 UTC
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
[...]
Comment 3 Bastien Nocera 2017-02-08 17:37:21 UTC
Created attachment 345255 [details] [review]
common: Fix parallel build
Comment 4 Bastien Nocera 2017-02-08 17:38:00 UTC
Attachment 345255 [details] pushed as 3ab88c7 - common: Fix parallel build