Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 811351

Summary: gnustep-apps/sogo-5.2.0 missing dependency on net-mail/ytnef
Product: Gentoo Linux Reporter: catalin
Component: Current packagesAssignee: Gentoo Gnustep project <gnustep>
Status: UNCONFIRMED ---    
Severity: normal CC: jstein, tanekliang, vovan
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description catalin 2021-09-01 20:39:58 UTC
Hello,

sogo-5.2.0 now depends on net-mail/ytnef - which is not included in the latest ebuild.

Also SoObjects/SOGo/GNUmakefile file need additional LDGLAG -lytnef

-ADDITIONAL_LDFLAGS += -lmemcached -lzip
+ADDITIONAL_LDFLAGS += -lmemcached -lzip -lytnef

Catalin
Comment 1 Jochen Trumpf 2021-09-28 01:58:53 UTC
Compile works for me without the added -lytnef (but with net-mail/ytnef installed on my system). The build log contains a prominent error "cannot find -lSOGo" when net-mail/ytnef is missing, the message that it (also) cannot find -lytnef is further up in the log. Not finding -lSOGo is a consequence of not finding -lytnef earlier.
Comment 2 catalin 2021-09-28 13:48:43 UTC
If -lytnef is missing, libSOGo is compiled without tnef and winmail.dat file is not decoded. It's SOGo's bug. 
I have tried to post on theirs bugtracker but my newly created account is just for reading, so I cannot open tickets on theirs bugtracker.
So a patch is needed on Gentoo for SOGo to work properly.

--- SoObjects/SOGo/GNUmakefile.orig	2021-09-01 22:35:35.500456357 +0300
+++ SoObjects/SOGo/GNUmakefile	2021-08-18 22:35:57.000000000 +0300
@@ -208,7 +208,7 @@
 ADDITIONAL_TOOL_LIBS += -Lobj -lSOGo$(LIBRARY_NAME_SUFFIX)
 ADDITIONAL_INCLUDE_DIRS += -I../../SOPE/
 ADDITIONAL_LIB_DIRS += -L../../SOPE/GDLContentStore/obj/
-ADDITIONAL_LDFLAGS += -lmemcached -lzip
+ADDITIONAL_LDFLAGS += -lmemcached -lzip -lytnef

 -include GNUmakefile.preamble
 ifneq ($(FHS_INSTALL_ROOT),)



This is the behavior when -lytnef is missing

https://www.sogo.nu/bugs/view.php?id=5388