Re: [Evolution-hackers] e-d-s build problems

2014-09-30 Thread Milan Crha
On Mon, 2014-09-29 at 19:03 +0200, schaarsc wrote:
 works for me. Thanks!

Hi,
nice, I committed it as 60d719f for 3.13.7+.
https://git.gnome.org/browse/evolution-data-server/commit/?id=60d719f

 I think I have seen this before, it happens the first time evo with a
 new e-d-s version as a backend tries to access the addressbook. I 
 don't know how to reproduce it and it could be related to my test 
 system having a mix of evo/e-d-s old and new libraries (that's why I 
 haven't reported it as a bug).

The next time you get into that, try to make sure that no other 
evolution D-Bus service is running before you run the compiled code. 
The `ps ax | grep evolution` should not show anything but grep. This 
gets tricky under gnome-shell, which restarts evolution-calendar-
factory when it disappears, which in turn starts evolution-source-
registry and, depending on your setup, can start evolution-addressbook-
factory too (that's for the Birthdays  Anniversaries calendar).

I also run git master (3.13) on a machine with installed 3.10.4. I do 
not recall seeing any such issue myself, but maybe your use case is 
valid and exhibits some corner-case bug. I'd also watch the console of 
evolution, and apparently try to run evolution-addressbook-factory 
from a console too, which can show few more details. You can do it 
like this:
   /usr/local/libexec/evolution-addressbook-factory -w
This might require to start evolution-source-registry first, thus the 
factory connects to the correct (up to date) D-Bus service.
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


Re: [Evolution-hackers] e-d-s build problems

2014-09-29 Thread Milan Crha
On Fri, 2014-09-26 at 15:04 +0200, schaarsc wrote:
 Hi,
 
 I don't know why and when the problem started, but at the moment I
 cannot build e-d-s/master. I removed all my local/libs and tried a 
 fresh
 checkout with jhbuild, same result DSO missing from command line
 
 to work around the issue I changed some Makefiles and added the 
 missing
 symbols/lib manually to _LIBADD (see below)

Hello,
Fedora doesn't claim any issue, that's why I missed it. Could you 
update to the latest git master, apply the attached patch and retry, 
please? It should work.

The change I made (and Matthew pointed to) just uncovered a flaw in 
the distribution of the private library, the code relied on a 
transitive dependency, which is not good. My opinion.

 evo and e-d-s compile now, but I'm not 100% convinced of the result,
 since evo deleted my Personal addressbook the first time I started
 evo...

That sounds odd, the data is stored in 
~/.local/share/evolution/addressbook/system
I'm not aware of anything what would cause the data loss, maybe unless 
there was any data to migrate, because the migration is done each 
start of the respective services (source registry, book/calendar 
factories and so on). If I recall correctly, then even this migration 
code takes care of the destination and doesn't rewrite anything 
existing. Though I can be wrong here.

Bye,
Milan


diff --git a/addressbook/libebook/Makefile.am b/addressbook/libebook/Makefile.am
index c70addb..1029495 100644
--- a/addressbook/libebook/Makefile.am
+++ b/addressbook/libebook/Makefile.am
@@ -59,6 +59,7 @@ libebook_1_2_la_LIBADD = \
 	$(top_builddir)/libedataserver/libedataserver-1.2.la \
 	$(top_builddir)/libebackend/libebackend-1.2.la \
 	$(top_builddir)/addressbook/libedata-book/libedata-book-1.2.la \
+	$(top_builddir)/private/libedbus-private.la \
 	$(EVOLUTION_ADDRESSBOOK_LIBS) \
 	$(CAMEL_LIBS) \
 	$(NULL)
diff --git a/addressbook/libedata-book/Makefile.am b/addressbook/libedata-book/Makefile.am
index 8e56a52..a15e18a 100644
--- a/addressbook/libedata-book/Makefile.am
+++ b/addressbook/libedata-book/Makefile.am
@@ -51,6 +51,7 @@ libedata_book_1_2_la_LIBADD = \
 	$(top_builddir)/addressbook/libegdbus/libegdbus-book.la \
 	$(top_builddir)/libedataserver/libedataserver-1.2.la \
 	$(top_builddir)/libebackend/libebackend-1.2.la \
+	$(top_builddir)/private/libedbus-private.la \
 	$(DB_LIBS) \
 	$(CAMEL_LIBS) \
 	$(SQLITE3_LIBS) \
@@ -127,6 +128,7 @@ evolution_addressbook_factory_subprocess_SOURCES = \
 evolution_addressbook_factory_subprocess_LDADD = \
 	$(top_builddir)/libebackend/libebackend-1.2.la \
 	$(top_builddir)/libedataserver/libedataserver-1.2.la \
+	$(top_builddir)/private/libedbus-private.la \
 	libedata-book-1.2.la \
 	$(EVOLUTION_ADDRESSBOOK_LIBS) \
 	$(LIBSECRET_LIBS) \
diff --git a/calendar/libecal/Makefile.am b/calendar/libecal/Makefile.am
index eb12c37..e2dd6b8 100644
--- a/calendar/libecal/Makefile.am
+++ b/calendar/libecal/Makefile.am
@@ -62,6 +62,7 @@ libecal_1_2_la_SOURCES = \
 libecal_1_2_la_LIBADD = \
 	$(top_builddir)/libedataserver/libedataserver-1.2.la \
 	$(top_builddir)/calendar/libegdbus/libegdbus-cal.la \
+	$(top_builddir)/private/libedbus-private.la \
 	$(EVOLUTION_CALENDAR_LIBS) \
 	$(CAMEL_LIBS) \
 	$(NULL)
diff --git a/calendar/libedata-cal/Makefile.am b/calendar/libedata-cal/Makefile.am
index 98d19d2..3986e0f 100644
--- a/calendar/libedata-cal/Makefile.am
+++ b/calendar/libedata-cal/Makefile.am
@@ -40,6 +40,7 @@ libedata_cal_1_2_la_LIBADD = \
 	$(top_builddir)/calendar/libegdbus/libegdbus-cal.la \
 	$(top_builddir)/libedataserver/libedataserver-1.2.la \
 	$(top_builddir)/libebackend/libebackend-1.2.la \
+	$(top_builddir)/private/libedbus-private.la \
 	$(EVOLUTION_CALENDAR_LIBS) \
 	$(CAMEL_LIBS) \
 	$(NULL)
@@ -99,6 +100,7 @@ evolution_calendar_factory_subprocess_SOURCES = \
 evolution_calendar_factory_subprocess_LDADD = \
 	$(top_builddir)/libebackend/libebackend-1.2.la \
 	$(top_builddir)/libedataserver/libedataserver-1.2.la \
+	$(top_builddir)/private/libedbus-private.la \
 	libedata-cal-1.2.la \
 	$(EVOLUTION_CALENDAR_LIBS) \
 	$(LIBSECRET_LIBS) \
___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-hackers


[Evolution-hackers] e-d-s build problems

2014-09-26 Thread schaarsc
Hi,

I don't know why and when the problem started, but at the moment I
cannot build e-d-s/master. I removed all my local/libs and tried a fresh
checkout with jhbuild, same result DSO missing from command line

to work around the issue I changed some Makefiles and added the missing
symbols/lib manually to _LIBADD (see below)

evo and e-d-s compile now, but I'm not 100% convinced of the result,
since evo deleted my Personal addressbook the first time I started
evo...

Is something wrong with my system or are other people seeing the same
issues? (I know there has been a similar thread earlier this year for
3.12)

Christian

---
/usr/bin/ld:
evolution_addressbook_factory_subprocess-evolution-addressbook-factory-subprocess.o:
 undefined reference to symbol 'e_dbus_subprocess_object_skeleton_new'

evolution_addressbook_factory_subprocess_LDADD 
$(top_builddir)/private/libedbus-private.la \


src/evolution-data-server/calendar/libecal/e-cal-client.c:832: undefined
reference to `e_dbus_calendar_call_close'
.libs/libecal_1_2_la-e-cal-client.o: In function
`cal_client_get_backend_property_sync':

libecal_1_2_la_LIBADD = 
$(top_builddir)/private/libedbus-private.la \

---
src/evolution-data-server/calendar/libedata-cal/e-data-cal.c:569:
undefined reference to `e_dbus_calendar_complete_open'


libedata_cal_1_2_la_LIBADD = \
$(top_builddir)/private/libedbus-private.la \
evolution_calendar_factory_subprocess_LDADD = \
$(top_builddir)/private/libedbus-private.la \


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


Re: [Evolution-hackers] e-d-s build problems

2014-09-26 Thread Matthew Barnes
Hi Christian,

I've been having the same build issue on Debian.

Revert this commit and you should be able to build again:
https://git.gnome.org/browse/evolution-data-server/commit/?id=a2790163af4d3f375a778055d0e2699207dfd050

Matthew Barnes


- Original Message -
 Hi,
 
 I don't know why and when the problem started, but at the moment I
 cannot build e-d-s/master. I removed all my local/libs and tried a fresh
 checkout with jhbuild, same result DSO missing from command line
 
 to work around the issue I changed some Makefiles and added the missing
 symbols/lib manually to _LIBADD (see below)
 
 evo and e-d-s compile now, but I'm not 100% convinced of the result,
 since evo deleted my Personal addressbook the first time I started
 evo...
 
 Is something wrong with my system or are other people seeing the same
 issues? (I know there has been a similar thread earlier this year for
 3.12)
 
 Christian
 
 ---
 /usr/bin/ld:
 evolution_addressbook_factory_subprocess-evolution-addressbook-factory-subprocess.o:
 undefined reference to symbol 'e_dbus_subprocess_object_skeleton_new'
 
 evolution_addressbook_factory_subprocess_LDADD
 $(top_builddir)/private/libedbus-private.la \
 
 
 src/evolution-data-server/calendar/libecal/e-cal-client.c:832: undefined
 reference to `e_dbus_calendar_call_close'
 .libs/libecal_1_2_la-e-cal-client.o: In function
 `cal_client_get_backend_property_sync':
 
 libecal_1_2_la_LIBADD =
 $(top_builddir)/private/libedbus-private.la \
 
 ---
 src/evolution-data-server/calendar/libedata-cal/e-data-cal.c:569:
 undefined reference to `e_dbus_calendar_complete_open'
 
 
 libedata_cal_1_2_la_LIBADD = \
 $(top_builddir)/private/libedbus-private.la \
 evolution_calendar_factory_subprocess_LDADD = \
 $(top_builddir)/private/libedbus-private.la \
 
 
 ___
 evolution-hackers mailing list
 evolution-hackers@gnome.org
 To change your list options or unsubscribe, visit ...
 https://mail.gnome.org/mailman/listinfo/evolution-hackers
 
___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-hackers