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 149757 - Makefile issues
Makefile issues
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: .General
unspecified
Other All
: Normal major
: Small fix
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2004-08-09 20:03 UTC by Morten Welinder
Modified: 2007-05-04 20:05 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Morten Welinder 2004-08-09 20:03:33 UTC
A fresh cvs HEAD compile gives me the above.
"make gtkalias.h" works.

I would guess that something isn't setup right in the dependency department.
Comment 1 Matthias Clasen 2004-08-10 19:12:18 UTC
Can you try again ?
It works for me now from a fresh checkout. 
You'll need a brandnew glib as well, tho
Comment 2 Morten Welinder 2004-08-10 19:47:01 UTC
After making that manually I can no longer reproduce.  However, inspecting the
Makefile shows clear signs of trouble.

For example, stamp-gtktypebuiltins.h should either depend on xgen-gtbh or else
not use ">>".
Comment 3 Matthias Clasen 2004-08-11 23:00:35 UTC
Please explain clearly what "signs of trouble" you see. A good way to explain
them would be a patch...
Comment 4 Morten Welinder 2004-08-12 15:01:45 UTC
Oh, let me see...

gtk+/gtk> rm gtktypebuiltins.h
gtk+/gtk> make gtkaboutdialog.lo
[...]
../gtk/gtktypeutils.h:104: gtk/gtktypebuiltins.h: No such file or directory

So the rule for gtktypebuiltins.h failed to make it.  Let's go on...

gtk+/gtk> rm stamp-gtktypebuiltins.h 
gtk+/gtk> make gtkaboutdialog.lo
[...]
../gtk/gtktypeutils.h:104: gtk/gtktypebuiltins.h: No such file or directory

Nope, that wasn't it.  In fact, gtkaboutdialog.lo does not depend on on
gtktypebuiltins.h at all in the Makefile sense.  (It does depend on the
file ../gtk/gtktypebuiltins.h, though.  Different thing.)

Let's make it by hand being only slightly nasty and simulate a left-over
xgen-gtbh:

gtk+/gtk> echo "Sometimes bugs are so obvious..." > xgen-gtbh
gtk+/gtk> make gtktypebuiltins.h
[...]
gtk+/gtk> make gtkaboutdialog.lo
[...]
../gtk/gtktypebuiltins.h:1: parse error before `bugs'
[...]

And so on and so on.
Comment 5 Morten Welinder 2005-04-08 00:56:49 UTC
Re-titling.  The failure to generate gtkalias.h has been identified as an
auto* bug, now long fixed.  (Specifically, "install" did not depend on
BUILT_SOURCES or whatever the right name for that is.)
Comment 6 Murray Cumming 2007-05-04 20:05:04 UTC
> The failure to generate gtkalias.h has been identified as an auto* bug, now long fixed.

So, I'll close this bug report. It would only be useful as an open bug if there was at least clear informatin about what auto* version caused it.