Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 743793 - net-im/teams-1.3.00.16851-r1 installs files with unresolved SONAME dependencies
Summary: net-im/teams-1.3.00.16851-r1 installs files with unresolved SONAME dependencies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-20 16:41 UTC by Agostino Sarubbo
Modified: 2020-10-09 18:40 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,6.81 KB, text/plain)
2020-09-20 16:41 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-09-20 16:41:24 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-im/teams-1.3.00.16851-r1 installs files with unresolved SONAME dependencies.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2020-09-20 16:41:26 UTC
Created attachment 661665 [details]
build.log

build log and emerge --info
Comment 2 Erik Quaeghebeur 2020-09-20 19:53:13 UTC
I get
```
!!! existing preserved libs:
>>> package: gnome-base/libgnome-keyring-3.12.0-r1
 *  - /usr/lib64/libgnome-keyring.so.0
 *  - /usr/lib64/libgnome-keyring.so.0.2.0
 *      used by /usr/share/teams/resources/app.asar.unpacked/node_modules/keytar3/build/Release/keytar.node (net-im/teams-1.3.00.16851-r1)
Use emerge @preserved-rebuild to rebuild packages using these libraries
```
Doing an emerge @preserved-rebuild does not fix it.

This looks related to this bug. From the build log:
```
 * QA Notice: Unresolved soname dependencies:
 * 
 * 	/usr/share/teams/resources/app.asar.unpacked/node_modules/keytar3/build/Release/keytar.node: libgnome-keyring.so.0
 * 
```
Comment 3 Geoff Leach 2020-09-21 06:05:53 UTC
libgnome-keyring recently masked, replaced by libsecret

teams is most binary blobs, so revdep-rebuild doesn't really do much

if need teams then have to unmask libgnome-keyring?
Comment 4 Sven Eden 2020-09-22 08:52:00 UTC
(In reply to Geoff Leach from comment #3)
> libgnome-keyring recently masked, replaced by libsecret
> 
> teams is most binary blobs, so revdep-rebuild doesn't really do much
> 
> if need teams then have to unmask libgnome-keyring?

If keytar3 is removed, keytar4 is used, which is linked against libsecret. The ebuild should remove /usr/share/teams/resources/app.asar.unpacked/node_modules/keytar3 completely.

At least that is what I did, and MS Teams keeps working just fine.
Comment 5 Geoff Leach 2020-09-23 06:40:44 UTC
(In reply to Sven Eden from comment #4)
> (In reply to Geoff Leach from comment #3)
> > libgnome-keyring recently masked, replaced by libsecret
> > 
> > teams is most binary blobs, so revdep-rebuild doesn't really do much
> > 
> > if need teams then have to unmask libgnome-keyring?
> 
> If keytar3 is removed, keytar4 is used, which is linked against libsecret.
> The ebuild should remove
> /usr/share/teams/resources/app.asar.unpacked/node_modules/keytar3 completely.
> 
> At least that is what I did, and MS Teams keeps working just fine.

Your ebuild works for me. And likewise same result (crash restart) when either system-ffmpeg or system-mesa set.  Can also remove libgnome-keyring, with that removal of keytar3 you found (and put in your ebuild).

Now if we could just disable that annoying Teams behaviour of every time it runs installing itself for automatic restart on login, i.e. rm ~/.config/autostart/teams-insiders.desktop but is then recreated every time Teams is run it seems.
Comment 6 tomtom69 2020-10-03 18:52:03 UTC
Regarding the annoying autostart behaviour:
I added a line containing "Hidden=true"  to ~/.config/autostart/teams.desktop and then set the file read only with "chmod 444 ~/.config/autostart/teams.desktop"
more a hack than a solution, I admit...
Comment 7 Larry the Git Cow gentoo-dev 2020-10-09 18:40:57 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50423e6b368afd6810517933807f693275c4fde6

commit 50423e6b368afd6810517933807f693275c4fde6
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2020-10-09 18:40:42 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2020-10-09 18:40:42 +0000

    net-im/teams: Version bump
    
    * let's try again without gnome-keyring
    * remove keytar3 entirely
    * add useflags system-ffmpeg, system-mesa
    
    Closes: https://bugs.gentoo.org/729064
    Closes: https://bugs.gentoo.org/747190
    Closes: https://bugs.gentoo.org/743793
    Package-Manager: Portage-3.0.4, Repoman-3.0.1
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 net-im/teams/Manifest                  |   1 +
 net-im/teams/metadata.xml              |   4 ++
 net-im/teams/teams-1.3.00.25560.ebuild | 101 +++++++++++++++++++++++++++++++++
 3 files changed, 106 insertions(+)