Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 811351 - gnustep-apps/sogo-5.2.0 missing dependency on net-mail/ytnef
Summary: gnustep-apps/sogo-5.2.0 missing dependency on net-mail/ytnef
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Gnustep project
Depends on:
Reported: 2021-09-01 20:39 UTC by catalin
Modified: 2022-03-19 17:18 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description catalin 2021-09-01 20:39:58 UTC

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

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_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