Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 914342 - mail-client/thunderbird suggests manual emerge of libotr dependency
Summary: mail-client/thunderbird suggests manual emerge of libotr dependency
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-17 06:20 UTC by Sod off! I am no loger here!
Modified: 2023-09-17 07:25 UTC (History)
0 users

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 Sod off! I am no loger here! 2023-09-17 06:20:17 UTC
Hi, 

After an upgrade to mail-client/thunderbird-102.15.1 I was instructed to install libtor to enable extra feature:

* Messages for package mail-client/thunderbird-102.15.1:
* Optional programs for extra features:
*   net-libs/libotr for encrypted chat support


Reading the wiki around portage and emerge it is very clear; one shall never install libraries manually, libraries shall only be installed as dependencies or there will be trouble. Gentoo uses USE-flags for those. Same message is common in the forum. 

My interpretation is that the optional library should be pulled in using a USE-flag. Kopete and other uses USE="otr" for this very dependency, I suggest mail-client/thunderbird should as well. 


Best regards, 
Erik
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-09-17 06:23:07 UTC
(In reply to Erik Ridderby from comment #0)
> Hi, 
> 
> After an upgrade to mail-client/thunderbird-102.15.1 I was instructed to
> install libtor to enable extra feature:
> 
> * Messages for package mail-client/thunderbird-102.15.1:
> * Optional programs for extra features:
> *   net-libs/libotr for encrypted chat support
> 
> 
> Reading the wiki around portage and emerge it is very clear; one shall never
> install libraries manually, libraries shall only be installed as
> dependencies or there will be trouble. Gentoo uses USE-flags for those. Same
> message is common in the forum. 

Where have you got this from? It's fine (for some definition of fine, we'd prefer runtime USE flags to exist, but they don't right now) or optfeature.eclass wouldn't exist.

These libraries are dlopened() at runtime and hence nothing to build against.
Comment 2 Joonas Niilola gentoo-dev 2023-09-17 07:25:41 UTC
Here's one way how to handle these deps as an admin, or user:

https://wiki.gentoo.org/wiki/Optfeature
https://wiki.gentoo.org/wiki//etc/portage/sets