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
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Gnustep project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
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: ---


Attachments

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