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 689104 - Build problem when gtksourceview-typebuiltins.h is included in gtksource.h
Build problem when gtksourceview-typebuiltins.h is included in gtksource.h
Status: RESOLVED FIXED
Product: gtksourceview
Classification: Platform
Component: General
git master
Other Linux
: Normal normal
: ---
Assigned To: GTK Sourceview maintainers
GTK Sourceview maintainers
Depends on:
Blocks:
 
 
Reported: 2012-11-26 18:56 UTC by Sébastien Wilmet
Modified: 2013-06-19 09:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Include gtksourceview-typebuiltins.h in gtksource.h (1.76 KB, patch)
2013-06-14 13:09 UTC, Sébastien Wilmet
none Details | Review

Description Sébastien Wilmet 2012-11-26 18:56:00 UTC
I report this to have a trace of the problem.

Commit 61876d0 "Clean headers includes" added gtksourceview-typebuiltins.h in gtksource.h. On my computer, everything was fine, but on ostree.gnome.org, a problem occured [1] at g-ir-scanner:

> gtksourceview/gtksource.h:45:54: fatal error: gtksourceview/gtksourceview-typebuiltins.h: No such file or directory

I can not reproduce this bug. I think it occurs when doing a highly parallel build, i.e. the bug never occurs when building with make -j1.

We thought that gtksourceview-typebuiltins.h was a private header, so I fixed the problem with commit 19476a9 "Remove gtksourceview-typebuiltins.h from gtksource.h".

But gtksourceview-typebuiltins.h is a public header. So the problem should be located in the Makefile.am file.

[1] http://ostree.gnome.org/work/tasks/gnomeos-3.8-build/2012.1637/log
Comment 1 Sébastien Wilmet 2013-06-14 13:09:04 UTC
Created attachment 246805 [details] [review]
Include gtksourceview-typebuiltins.h in gtksource.h

Second try.

gtksourceview-typebuiltins.h is a public header, but is a generated
file.
Comment 2 Sébastien Wilmet 2013-06-19 09:23:19 UTC
Pushed, normally the build on ostree will work.