Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 832487 - net-im/telegram-desktop-bin-3.4.8 installs files with unresolved SONAME dependencies
Summary: net-im/telegram-desktop-bin-3.4.8 installs files with unresolved SONAME depen...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Henning Schild
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-02-01 07:40 UTC by Agostino Sarubbo
Modified: 2022-02-09 11:25 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,39.49 KB, text/plain)
2022-02-01 07:40 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 2022-02-01 07:40:16 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-im/telegram-desktop-bin-3.4.8 installs files with unresolved SONAME dependencies.
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
This machine uses MUSL libc
If the issue is about libc.so you may want to mask this package for musl profile(s). See https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=243011278ddb556ddc11fa1852b3e48e03b79d34.
Comment 1 Agostino Sarubbo gentoo-dev 2022-02-01 07:40:18 UTC
Created attachment 764080 [details]
build.log

build log and emerge --info
Comment 2 Henning Schild 2022-02-06 11:29:30 UTC
I guess the package should indeed RDEPEND="sys-libs/glibc".

Would that do the trick or will an exception in profiles/features/musl/package.mask be needed as well?

Looking at the codebase and other -bin packages i do not see a consistent way of dealing with that.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-02-06 11:32:23 UTC
(In reply to Henning Schild from comment #2)
> I guess the package should indeed RDEPEND="sys-libs/glibc".
> 
> Would that do the trick or will an exception in
> profiles/features/musl/package.mask be needed as well?
> 
> Looking at the codebase and other -bin packages i do not see a consistent
> way of dealing with that.

yeah, we've started doing both of these things recently. ago's linked commit shows how re mask
Comment 4 Larry the Git Cow gentoo-dev 2022-02-09 11:25:06 UTC
The bug has been closed via the following commit(s):

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

commit c84cc0f562ac1e5a68d03d91b07459aa48c5c278
Author:     Henning Schild <henning@hennsch.de>
AuthorDate: 2022-02-09 05:15:24 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-02-09 11:19:42 +0000

    net-im/telegram-desktop-bin: RDEPEND on sys-libs/glibc and mask for musl
    
    Closes: https://bugs.gentoo.org/832487
    Signed-off-by: Henning Schild <henning@hennsch.de>
    Signed-off-by: Sam James <sam@gentoo.org>

 net-im/telegram-desktop-bin/telegram-desktop-bin-3.4.8.ebuild | 1 +
 net-im/telegram-desktop-bin/telegram-desktop-bin-3.5.0.ebuild | 1 +
 profiles/features/musl/package.mask                           | 4 ++++
 3 files changed, 6 insertions(+)