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 736987 - Fix build when builddir != srcdir
Fix build when builddir != srcdir
Status: RESOLVED FIXED
Product: gnome-builder
Classification: Other
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GNOME Builder Maintainers
GNOME Builder Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-09-19 18:33 UTC by Jonathon Jongsma
Modified: 2014-09-24 13:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (867 bytes, patch)
2014-09-19 18:33 UTC, Jonathon Jongsma
committed Details | Review

Description Jonathon Jongsma 2014-09-19 18:33:34 UTC
Created attachment 286657 [details] [review]
patch

When building in a subdirectory, the build fails with the following error:

---------

  CC       src/app/gnome_builder-gb-application.o
../src/app/gb-application.c:31:26: fatal error: gb-resources.h: No such file or directory
 #include "gb-resources.h"
                          ^
compilation terminated.

----------


Patch attached.
Comment 1 Christian Hergert 2014-09-19 20:09:52 UTC
Thanks!
Comment 2 Mathieu Bridon 2014-09-21 14:59:38 UTC
Just bissected it, this change actually broke « make distcheck ». :-/

  $ ./autogen.sh && make && make distcheck
  [... snip ...]
    CC       src/app/gnome_builder-gb-application.o
  ../src/app/gb-application.c:31:26: fatal error: gb-resources.h: No such file or directory
   #include "gb-resources.h"
                            ^
  compilation terminated.
Comment 3 Christian Hergert 2014-09-22 04:11:20 UTC
(In reply to comment #2)
> Just bissected it, this change actually broke « make distcheck ». :-/
> 
>   $ ./autogen.sh && make && make distcheck
>   [... snip ...]
>     CC       src/app/gnome_builder-gb-application.o
>   ../src/app/gb-application.c:31:26: fatal error: gb-resources.h: No such file
> or directory
>    #include "gb-resources.h"
>                             ^
>   compilation terminated.

Go ahead and pull from git master. Should be fixed in 6aba79946cf6db7e3ab56fbec16989fe6956aba0.
Comment 4 Leo Iannacone 2014-09-24 13:59:54 UTC
Not really. I still have this issue (I cloned git repo some mins ago...).
 
  CC       src/app/libgnome_builder_la-gb-application.lo
../src/app/gb-application.c:32:26: fatal error: gb-resources.h: No such file or directory
 #include "gb-resources.h"
                          ^
compilation terminated.