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