Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 931873 - media-video/lossless-cut has RDEPEND listings missing from ebuild
Summary: media-video/lossless-cut has RDEPEND listings missing from ebuild
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Vitaly Zdanevich
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-13 13:13 UTC by Jason Gantner
Modified: 2024-09-25 13:52 UTC (History)
1 user (show)

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


Attachments
Dependencies based on shared librairies shown by ldd (deps.txt,10.00 KB, text/plain)
2024-05-13 13:16 UTC, Jason Gantner
Details
ldd output on electron binary (ldd.txt,5.70 KB, text/plain)
2024-05-13 13:16 UTC, Jason Gantner
Details
lddtree filtered output on losslesscut binary (lddtree.txt,1.75 KB, text/plain)
2024-05-13 13:55 UTC, Jason Gantner
Details
Dependencies based on filtered shared librairies shown by lddtree (filtered_deps.txt,4.94 KB, text/plain)
2024-05-13 13:58 UTC, Jason Gantner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Gantner 2024-05-13 13:13:12 UTC
The ebuild installs a binary distribution of lossless-cut from an AppImage.

The software being itself based on a binary distribution of electron, the install process works just fine with missing dependencies.

It's only once you try to start the software that it crashed when dependencies are missing.

In my case it's just net-print/cups that is missing but a number of shared libraries are required by electron for it to function. (See ldd output attached for the full list of shared libraries needed)


Reproducible: Always

Steps to Reproduce:
1. emerge lossless-cut on a system that has one or more electron dependency missing
2. Launch losslesscut-bin from a shell
3. See which shared library is missing
Actual Results:  
Lossless-cut crashes with a message about a missing shared library

Expected Results:  
Lossless-cut starts and function without crashing

I have identified other dependencies based on ldd's output (attached) and pfl's e-file lookup (see list attached) but did not test if their absence would also lead to a crash or not
Comment 1 Jason Gantner 2024-05-13 13:16:14 UTC
Created attachment 892863 [details]
Dependencies based on shared librairies shown by ldd
Comment 2 Jason Gantner 2024-05-13 13:16:55 UTC
Created attachment 892864 [details]
ldd output on electron binary
Comment 3 Viorel Munteanu gentoo-dev 2024-05-13 13:35:27 UTC
Some of them may be dependencies of dependencies.  Try using lddtree (from app-misc/pax-utils) to see them better.
Comment 4 Jason Gantner 2024-05-13 13:55:12 UTC
Created attachment 892865 [details]
lddtree filtered output on losslesscut binary

filtered lddtree output limiting to top-level shared librairies
Comment 5 Jason Gantner 2024-05-13 13:58:23 UTC
Created attachment 892866 [details]
Dependencies based on filtered shared librairies shown by lddtree
Comment 6 Larry the Git Cow gentoo-dev 2024-09-25 13:52:49 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=202414f5742e662430617a351b815e42b73baa13

commit 202414f5742e662430617a351b815e42b73baa13
Author:     Takuya Wakazono <pastalian46@gmail.com>
AuthorDate: 2024-09-22 08:25:56 +0000
Commit:     Takuya Wakazono <pastalian46@gmail.com>
CommitDate: 2024-09-22 08:25:56 +0000

    media-video/lossless-cut: fix RDEPEND
    
    Closes: https://bugs.gentoo.org/931873
    Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>

 ...3.59.1.ebuild => lossless-cut-3.59.1-r1.ebuild} | 27 ++++++++++++++++++++--
 1 file changed, 25 insertions(+), 2 deletions(-)