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 794549 - Non-deterministic build failure: 'fatal error: gvfsdbus.h: No such file or directory #include <gvfsdbus.h>'
Non-deterministic build failure: 'fatal error: gvfsdbus.h: No such file or di...
Status: RESOLVED DUPLICATE of bug 786149
Product: gvfs
Classification: Core
Component: build
1.36.x
Other Linux
: Normal normal
: ---
Assigned To: gvfs-maint
gvfs-maint
Depends on:
Blocks:
 
 
Reported: 2018-03-21 03:32 UTC by Tor Hedin Brønner
Modified: 2018-03-21 08:19 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Tor Hedin Brønner 2018-03-21 03:32:08 UTC
We're hitting a non-deterministic build failure on NixOS:

[1/235] Compiling C object 'common/gvfscommon-gphoto2@sta/gvfsgphoto2utils.c.o'.
[2/235] Linking static target common/libgvfscommon-gphoto2.a.
[3/235] Compiling C object 'client/gvfsd-fuse@exe/gvfsfusedaemon.c.o'.
FAILED: client/gvfsd-fuse@exe/gvfsfusedaemon.c.o 
/nix/store/4r5kszyy0iirc5agfah45lvz7mnnsrb4-gcc-wrapper-7.3.0/bin/cc  -Iclient/gvfsd-fuse@exe -Iclient -I../client -I. -I../ -Icommon -I../common -I/nix/store/slggzv99kinwm4c2lm7wfmifh8y69l7r-glib-2.56.0-dev/include/glib-2.0 -I/nix/store/dqlc8y4phlg1hmdbwkhqfwhnxcac88d1-glib-2.56.0/lib/glib-2.0/include -I/nix/store/slggzv99kinwm4c2lm7wfmifh8y69l7r-glib-2.56.0-dev/include/gio-unix-2.0/ -I/nix/store/s32yjbpbavihax2wn231fvn2yjjyb248-fuse-2.9.7/include/fuse -fdiagnostics-color=always -pipe -Wall -Winvalid-pch -O3 -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -pthread '-DG_LOG_DOMAIN="GVFS"' '-DGVFS_LOCALEDIR="/nix/store/j368jd8kpc291kxfpwgc6yyn5awbff4v-gvfs-1.36.0/share/locale"' '-DGVFS_MODULE_DIR="/nix/store/j368jd8kpc291kxfpwgc6yyn5awbff4v-gvfs-1.36.0/lib/gvfs/modules"' -UG_LOG_DOMAIN -MMD -MQ 'client/gvfsd-fuse@exe/gvfsfusedaemon.c.o' -MF 'client/gvfsd-fuse@exe/gvfsfusedaemon.c.o.d' -o 'client/gvfsd-fuse@exe/gvfsfusedaemon.c.o' -c ../client/gvfsfusedaemon.c
../client/gvfsfusedaemon.c:43:10: fatal error: gvfsdbus.h: No such file or directory
 #include <gvfsdbus.h>
          ^~~~~~~~~~~~
compilation terminated.

full log: https://hydra.nixos.org/build/71515704/nixlog/2

The start of a successful build:

build flags: -j1 -l1
[1/235] Generating gvfsdbus-gdbus with a custom command.
[2/235] Compiling C object 'common/gvfscommon@sha/meson-generated_.._gvfsdbus.c.o'.
[3/235] Compiling C object 'common/gvfscommon@sha/gmountoperationdbus.c.o'.
[4/235] Compiling C object 'common/gvfscommon@sha/gmountsource.c.o'.
[5/235] Compiling C object 'common/gvfscommon@sha/gmountspec.c.o'.
[6/235] Compiling C object 'common/gvfscommon@sha/gmounttracker.c.o'.
Comment 1 Ondrej Holy 2018-03-21 08:19:38 UTC
Thanks for your bug report. We are aware of it, but the proper fix depends on the following meson upstream bug:
https://github.com/mesonbuild/meson/pull/2930

You can still use autotools instead of meson. However, we are going to propose workaround for this issue soon...

See for more info:
https://bugzilla.gnome.org/show_bug.cgi?id=786149#c130
https://bugzilla.gnome.org/show_bug.cgi?id=789877#c16

*** This bug has been marked as a duplicate of bug 786149 ***