Re: [Evolution-hackers] Build failures the past several days



I've tried completely clean builds a couple of times..

I believe this to be the source of this issue...
having to do with perhaps building outside the source tree

EDS
1045:    $(AM_V_GEN) $(GLIB_MKENUMS) --template $(top_srcdir)/enumtypes.h.template \
vs
EVO
3899:    $(AM_V_GEN) (cd $(srcdir) && $(GLIB_MKENUMS) --template $(top_srcdir)/enumtypes.h.template \

EDS builds ok
EVO doesn't
It appears the EVO build not find the template because it's  cd'ing to  $(srcdir) first?

in the Makefile
srcdir is defined as ../../../evolution/e-util
so in the build we
cd /home/rthompso/evo-git-head/obj/evolution/e-util
then we attempt to use the template files by
cd'ing to  $(srcdir) --> cd  ../../../evolution/e-util
which puts me in /home/rthompso/evo-git-head/evolution/e-util
where we attempt to use 
../../../evolution/enumtypes.h.template[.ch] files
which cannot be found because it's at ../../evolution/enumtypes.h.template

with the  cd $(srcdir)
make[3]: Entering directory `/home/rthompso/evo-git-head/obj/evolution/e-util'
  GEN      e-util-enumtypes.h
Can't open ../../../evolution/enumtypes.h.template: No such file or directory
however if I 
$ cd /home/rthompso/evo-git-head/obj/evolution/e-util
$ ls ../../../evolution/enumtypes.h.template
finds the template file

If I remove the call to cd $(srcdir) from the EVO Makefile.(in)(am) files,
then the build continues past the previous fail point where it couldn't
find the template files and then fails here

make[3]: Entering directory `/home/rthompso/evo-git-head/obj/evolution/e-util'
LC_ALL=C /usr/bin/intltool-merge -x -u /tmp/notthere ../../../evolution/e-util/e-system.error.xml 
e-system.error
  GEN      e-util-enumtypes.h
  GEN      e-util-enumtypes.c
  GEN      e-marshal.c
  GEN      e-marshal.h
LC_ALL=C /usr/bin/intltool-merge -x -u /tmp/notthere ../../../evolution/e-util/filter.error.xml filter.error
LC_ALL=C /usr/bin/intltool-merge -x -u /tmp/notthere ../../../evolution/e-util/widgets.error.xml widgets.error
Merging translations into e-system.error.
Can't open e-util-enums.h: No such file or directory at /opt/evo/bin/glib-mkenums line 276.
Can't open e-util-enums.h: No such file or directory at /opt/evo/bin/glib-mkenums line 276.
CREATED e-system.error
Merging translations into filter.error.
Merging translations into widgets.error.
CREATED filter.error
CREATED widgets.error
make  all-am
make[4]: Entering directory `/home/rthompso/evo-git-head/obj/evolution/e-util'
  CC       libeutil_la-e-action-combo-box.lo
  CC       libeutil_la-e-activity-bar.lo
  CC       libeutil_la-e-activity-proxy.lo
  CC       libeutil_la-e-activity.lo
  CC       libeutil_la-e-alarm-selector.lo
../../../evolution/e-util/e-activity.c: In function 'e_activity_class_init':
../../../evolution/e-util/e-activity.c:339:4: error: 'E_TYPE_ACTIVITY_STATE' undeclared (first use in this 
function)
../../../evolution/e-util/e-activity.c:339:4: note: each undeclared identifier is reported only once for each 
function it appears in
make[4]: *** [libeutil_la-e-activity.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/home/rthompso/evo-git-head/obj/evolution/e-util'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/rthompso/evo-git-head/obj/evolution/e-util'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/rthompso/evo-git-head/obj/evolution'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/rthompso/evo-git-head/obj/evolution'
make: *** [.stamp/evolution.build] Error 2



[10:15:39][0s] rthompso raker2 ateb com> ~/evo-git-head/evolution-data-server 
$ gref enumtypes.h.template
dir is .
./calendar/libecal/Makefile.in
1044:e-cal-enumtypes.h: $(top_srcdir)/enumtypes.h.template $(ENUM_TYPES)
1045:    $(AM_V_GEN) $(GLIB_MKENUMS) --template $(top_srcdir)/enumtypes.h.template \
 
./calendar/libecal/Makefile.am
3:e-cal-enumtypes.h: $(top_srcdir)/enumtypes.h.template $(ENUM_TYPES)
4:    $(AM_V_GEN) $(GLIB_MKENUMS) --template $(top_srcdir)/enumtypes.h.template \
 
./camel/Makefile.in
2716:camel-enumtypes.h: $(top_srcdir)/enumtypes.h.template $(ENUM_TYPES)
2717:    $(AM_V_GEN) $(GLIB_MKENUMS) --template $(top_srcdir)/enumtypes.h.template \
 
./camel/Makefile.am
34:camel-enumtypes.h: $(top_srcdir)/enumtypes.h.template $(ENUM_TYPES)
35:    $(AM_V_GEN) $(GLIB_MKENUMS) --template $(top_srcdir)/enumtypes.h.template \
 
./Makefile.in
511:    enumtypes.h.template                \
 
./.git/index
Binary file ./.git/index matches
 
./libedataserver/Makefile.in
1604:e-source-enumtypes.h: $(top_srcdir)/enumtypes.h.template $(ENUM_TYPES)
1605:    $(AM_V_GEN) $(GLIB_MKENUMS) --template $(top_srcdir)/enumtypes.h.template \
 
./libedataserver/Makefile.am
3:e-source-enumtypes.h: $(top_srcdir)/enumtypes.h.template $(ENUM_TYPES)
4:    $(AM_V_GEN) $(GLIB_MKENUMS) --template $(top_srcdir)/enumtypes.h.template \
 
./libebackend/Makefile.in
1169:e-backend-enumtypes.h: $(top_srcdir)/enumtypes.h.template $(ENUM_TYPES)
1170:    $(AM_V_GEN) $(GLIB_MKENUMS) --template $(top_srcdir)/enumtypes.h.template \
 
./libebackend/Makefile.am
3:e-backend-enumtypes.h: $(top_srcdir)/enumtypes.h.template $(ENUM_TYPES)
4:    $(AM_V_GEN) $(GLIB_MKENUMS) --template $(top_srcdir)/enumtypes.h.template \
 
./addressbook/libebook/Makefile.in
1085:e-book-enumtypes.h: $(top_srcdir)/enumtypes.h.template $(ENUM_TYPES)
1086:    $(AM_V_GEN) $(GLIB_MKENUMS) --template $(top_srcdir)/enumtypes.h.template \
 
./addressbook/libebook/Makefile.am
6:e-book-enumtypes.h: $(top_srcdir)/enumtypes.h.template $(ENUM_TYPES)
7:    $(AM_V_GEN) $(GLIB_MKENUMS) --template $(top_srcdir)/enumtypes.h.template \
 
./addressbook/libebook-contacts/Makefile.in
1186:e-book-contacts-enumtypes.h: $(top_srcdir)/enumtypes.h.template $(ENUM_TYPES)
1187:    $(AM_V_GEN) $(GLIB_MKENUMS) --template $(top_srcdir)/enumtypes.h.template \
 
./addressbook/libebook-contacts/Makefile.am
6:e-book-contacts-enumtypes.h: $(top_srcdir)/enumtypes.h.template $(ENUM_TYPES)
7:    $(AM_V_GEN) $(GLIB_MKENUMS) --template $(top_srcdir)/enumtypes.h.template \
 
./Makefile.am
30:    enumtypes.h.template                \
 

[10:15:41][1s] rthompso raker2 ateb com> ~/evo-git-head/evolution-data-server 
$ cd ../evolution

[10:15:44][0s] rthompso raker2 ateb com> ~/evo-git-head/evolution 
$ gref enumtypes.h.template
dir is .
./Makefile.in
455:    enumtypes.h.template    \
 
./.git/index
Binary file ./.git/index matches
 
./e-util/Makefile.in
3898:e-util-enumtypes.h: $(top_srcdir)/enumtypes.h.template $(ENUM_TYPES)
3899:    $(AM_V_GEN) (cd $(srcdir) && $(GLIB_MKENUMS) --template $(top_srcdir)/enumtypes.h.template \
 
./e-util/Makefile.am
9:e-util-enumtypes.h: $(top_srcdir)/enumtypes.h.template $(ENUM_TYPES)
10:    $(AM_V_GEN) (cd $(srcdir) && $(GLIB_MKENUMS) --template $(top_srcdir)/enumtypes.h.template \
 
./shell/Makefile.in
1262:e-shell-enumtypes.h: $(top_srcdir)/enumtypes.h.template $(ENUM_TYPES)
1263:    $(AM_V_GEN) (cd $(srcdir) && $(GLIB_MKENUMS) --template $(top_srcdir)/enumtypes.h.template \
 
./shell/Makefile.am
11:e-shell-enumtypes.h: $(top_srcdir)/enumtypes.h.template $(ENUM_TYPES)
12:    $(AM_V_GEN) (cd $(srcdir) && $(GLIB_MKENUMS) --template $(top_srcdir)/enumtypes.h.template \
 
./libemail-engine/Makefile.in
1039:e-mail-enumtypes.h: $(top_srcdir)/enumtypes.h.template $(ENUM_TYPES)
1040:    $(AM_V_GEN) (cd $(srcdir) && $(GLIB_MKENUMS) --template $(top_srcdir)/enumtypes.h.template \
 
./libemail-engine/Makefile.am
7:e-mail-enumtypes.h: $(top_srcdir)/enumtypes.h.template $(ENUM_TYPES)
8:    $(AM_V_GEN) (cd $(srcdir) && $(GLIB_MKENUMS) --template $(top_srcdir)/enumtypes.h.template \
 
./Makefile.am
29:    enumtypes.h.template    \
 

On Thu, 2013-04-18 at 08:16 +0200, Milan Crha wrote:
On Wed, 2013-04-17 at 16:21 +0000, Reid Thompson wrote:
For the past few days my builds of evolution, and evolution-ews ahave
been failing with essentially the same error...

Building from git head

Can't open ../../../evolution/enumtypes.h.template: No such file or directory
Can't open ../../../evolution/enumtypes.c.template: No such file or directory

        Hi,
I added them only recently, and they are there:
https://git.gnome.org/browse/evolution/tree/enumtypes.c.template

The code references for them in Makefile.am as
  $(top_srcdir)/enumtypes.c.template
thus unless the $(top_srcdir) doesn't evaluate to the proper path for
you, the only reason might be a stale build files, which might require a
clean build for you, as Matthew suggested.
        Bye,
        Milan

_______________________________________________
evolution-hackers mailing list
evolution-hackers gnome org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-hackers

-- 
If you have received the message in error, please advise the sender by
reply email and please delete the message.  This message contains
information which may be confidential or otherwise protected.  Unless
you are the addressee (or authorized to receive for the addressee), you
may not use, copy, or disclose to anyone the message or any information
contained in the message.






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]