View Issue Details

IDProjectCategoryView StatusLast Update
0002360SOGoBackend Mailpublic2013-07-18 10:26
Reporterbuzzdee Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version2.0.6 
Target Version2.0.7Fixed in Version2.0.7 
Summary0002360: unresolved symbols in MailUI when starting up sogo
Description

$ /usr/local/sbin/sogod -WOUseWatchDog NO -WOLogFile - -WONoDetach YES
Jun 29 15:52:00 sogod [23931]: version 2.0.6b (build @runabout.ds9 201306291536) -- starting
Jun 29 15:52:00 sogod [23931]: vmem size check enabled: shutting down app when vmem > 384 MB
Jun 29 15:52:00 sogod [23931]: <0x0x1109baa37228[SOGoProductLoader]> SOGo products loaded from '/usr/local/lib/GNUstep/SOGo':
Jun 29 15:52:00 sogod [23931]: <0x0x1109baa37228[SOGoProductLoader]> AdministrationUI.SOGo, Appointments.SOGo, CommonUI.SOGo, Contacts.SOGo, ContactsUI.SOGo, MailPartViewers.SOGo, Mailer.SOGo, MailerUI.SOGo, MainUI.SOGo, PreferencesUI.SOGo, SchedulerUI.SOGo
/usr/local/sbin/sogod:/usr/local/lib/GNUstep/SOGo/MailPartViewers.SOGo/./MailPartViewers: undefined symbol 'objc_class_name_SOGoMailBodyPart'
/usr/local/sbin/sogod:/usr/local/lib/GNUstep/SOGo/MailPartViewers.SOGo/./MailPartViewers: undefined symbol '__objc_class_name_SOGoAppointmentObject'
Error (objc-load):Cannot load specified object
Jun 29 15:52:00 sogod [23931]: [so-product-registry] could not load product: MailPartViewers
/usr/local/sbin/sogod:/usr/local/lib/GNUstep/SOGo/MailerUI.SOGo/./MailerUI: undefined symbol '
objc_class_name_UIxMailRenderingContext'
Error (objc-load):Cannot load specified object
Jun 29 15:52:00 sogod [23931]: [so-product-registry] could not load product: MailerUI
Jun 29 15:52:00 sogod [23931]: |SOGo| WOHttpAdaptor listening on address *:40000

Additional Information

This is with SOGo 2.0.6b, libobjc-1.6.4.

TagsNo tags attached.

Activities

2013-06-29 10:48

 

fix-unresolved-symbols.diff (2,109 bytes)   
$OpenBSD$
--- UI/MailerUI/GNUmakefile.orig	Sat Jun 29 15:59:59 2013
+++ UI/MailerUI/GNUmakefile	Sat Jun 29 16:00:49 2013
@@ -32,6 +32,7 @@ MailerUI_OBJC_FILES += \
 	UIxMailWindowCloser.m		\
 	\
 	UIxMailUserRightsEditor.m	\
+	../MailPartViewers/UIxMailRenderingContext.m \
 	UIxMailUserDelegationEditor.m	\
 #	UIxMailEditorAction.m		\
 #	UIxMailReplyAction.m		\
$OpenBSD$
--- UI/MailPartViewers/GNUmakefile.preamble.orig	Sat Jun 29 16:05:53 2013
+++ UI/MailPartViewers/GNUmakefile.preamble	Sat Jun 29 16:06:10 2013
@@ -2,3 +2,10 @@ ifeq ($(HAS_LIBRARY_ssl),yes)
 ADDITIONAL_CPPFLAGS += -DHAVE_OPENSSL=1
 BUNDLE_LIBS += -lcrypto
 endif
+
+ADDITIONAL_CPPFLAGS += \
+        -Wall -DCOMPILE_FOR_GSTEP_MAKE=1        \
+        -DUIX_MAILER_MAJOR_VERSION="@\"$(MAJOR_VERSION)\""   \
+        -DUIX_MAILER_MINOR_VERSION="@\"$(MINOR_VERSION)\""   \
+        -DUIX_MAILER_SUBMINOR_VERSION="@\"$(SUBMINOR_VERSION)\""
+
$OpenBSD$
--- UI/MailPartViewers/GNUmakefile.orig	Thu Jun 27 17:50:25 2013
+++ UI/MailPartViewers/GNUmakefile	Sat Jun 29 16:39:10 2013
@@ -26,6 +26,24 @@ MailPartViewers_OBJC_FILES += \
 	UIxMailPartICalViewer.m		\
 	\
 	UIxMailPartICalActions.m	\
+	../../SoObjects/Mailer/SOGoMailBodyPart.m \
+	../../SoObjects/Mailer/SOGoHTMLMailBodyPart.m \
+	../../SoObjects/Mailer/SOGoCalendarMailBodyPart.m \
+	../../SoObjects/Mailer/SOGoMailAccounts.m \
+	../../SoObjects/Mailer/SOGoMailBaseObject.m \
+	../../SoObjects/Mailer/SOGoMailAccount.m \
+	../../SoObjects/Mailer/SOGoMailNamespace.m \
+	../../SoObjects/Mailer/SOGoDraftsFolder.m \
+	../../SoObjects/Mailer/SOGoSentFolder.m \
+	../../SoObjects/Mailer/SOGoTrashFolder.m \
+	../../SoObjects/Mailer/SOGoMailFolder.m \
+	../../SoObjects/Mailer/SOGoDraftObject.m \
+	../../SoObjects/Mailer/SOGoMailObject.m \
+	../../SoObjects/Appointments/SOGoEMailAlarmsManager.m \
+	../../SoObjects/Appointments/SOGoAppointmentObject.m \
+	../../SoObjects/Appointments/SOGoComponentOccurence.m \
+	../../SoObjects/Appointments/SOGoAppointmentOccurence.m \
+	../../SoObjects/Appointments/SOGoCalendarComponent.m
 
 MailPartViewers_RESOURCE_FILES += \
 	product.plist		\
fix-unresolved-symbols.diff (2,109 bytes)   
buzzdee

buzzdee

2013-06-29 10:50

reporter   ~0005728

with the workaround shown in the patch, I get the mailer UI to work, but I get the following warnings on SOGo startup:

$ /usr/local/sbin/sogod -WOUseWatchDog NO -WOLogFile - -WONoDetach YES
Jun 29 16:41:16 sogod [5924]: version 2.0.6b (build @runabout.ds9 201306291640) -- starting
Jun 29 16:41:16 sogod [5924]: vmem size check enabled: shutting down app when vmem > 384 MB
Jun 29 16:41:16 sogod [5924]: <0x0x1a55595ce6c8[SOGoProductLoader]> SOGo products loaded from '/usr/local/lib/GNUstep/SOGo':
Jun 29 16:41:16 sogod [5924]: <0x0x1a55595ce6c8[SOGoProductLoader]> AdministrationUI.SOGo, Appointments.SOGo, CommonUI.SOGo, Contacts.SOGo, ContactsUI.SOGo, MailPartViewers.SOGo, Mailer.SOGo, MailerUI.SOGo, MainUI.SOGo, PreferencesUI.SOGo, SchedulerUI.SOGo
Loading two versions of SOGoEMailAlarmsManager. The class that will be used is undefined
Loading two versions of SOGoAppointmentOccurence. The class that will be used is undefined
Loading two versions of SOGoComponentOccurence. The class that will be used is undefined
Loading two versions of SOGoAppointmentObject. The class that will be used is undefined
Loading two versions of SOGoCalendarComponent. The class that will be used is undefined
Loading two versions of SOGoCalendarMailBodyPart. The class that will be used is undefined
Loading two versions of SOGoHTMLMailBodyPart. The class that will be used is undefined
Loading two versions of SOGoMailBodyPart. The class that will be used is undefined
Loading two versions of SOGoTrashFolder. The class that will be used is undefined
Loading two versions of SOGoDraftsFolder. The class that will be used is undefined
Loading two versions of SOGoSentFolder. The class that will be used is undefined
Loading two versions of SOGoMailObject. The class that will be used is undefined
Loading two versions of SOGoMailNamespace. The class that will be used is undefined
Loading two versions of SOGoSpecialMailFolder. The class that will be used is undefined
Loading two versions of SOGoMailFolder. The class that will be used is undefined
Loading two versions of SOGoMailAccount. The class that will be used is undefined
Loading two versions of SOGoMailAccounts. The class that will be used is undefined
Loading two versions of SOGoMailBaseObject. The class that will be used is undefined
Loading two versions of SOGoDraftObject. The class that will be used is undefined
Loading two versions of UIxMailRenderingContext. The class that will be used is undefined
Jun 29 16:41:17 sogod [5924]: |SOGo| WOHttpAdaptor listening on address *:40000
2013-06-29 16:41:34.834 sogod[5924] Note: Using UTF-8 as URL encoding in NGExtensions.
Jun 29 16:41:34 sogod [5924]: <0x0x1a5558211c08[SOGoCache]> Cache cleanup interval set every 300.000000 seconds
Jun 29 16:41:34 sogod [5924]: <0x0x1a5558211c08[SOGoCache]> Using host(s) 'localhost' as server(s)

ludovic

ludovic

2013-07-18 10:26

administrator   ~0005754

https://github.com/inverse-inc/sogo/commit/19e542396bc32debab6f53b229166c57d05e4599

Issue History

Date Modified Username Field Change
2013-06-29 10:09 buzzdee New Issue
2013-06-29 10:48 buzzdee File Added: fix-unresolved-symbols.diff
2013-06-29 10:50 buzzdee Note Added: 0005728
2013-07-18 10:11 ludovic Target Version => 2.0.7
2013-07-18 10:26 ludovic Note Added: 0005754
2013-07-18 10:26 ludovic Status new => closed
2013-07-18 10:26 ludovic Resolution open => fixed
2013-07-18 10:26 ludovic Fixed in Version => 2.0.7