Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 946077 - media-video/pitivi: missing dependencies?
Summary: media-video/pitivi: missing dependencies?
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-08 02:24 UTC by gevisz@gmail.com
Modified: 2024-12-08 04:56 UTC (History)
2 users (show)

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


Attachments
ouhput of emerge --info (emerge-info.txt,6.54 KB, text/plain)
2024-12-08 02:24 UTC, gevisz@gmail.com
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gevisz@gmail.com 2024-12-08 02:24:47 UTC
Created attachment 913540 [details]
ouhput of emerge --info

In short: at least gsound dependency has not been mentioned in the
pitivi ebuild. pitivi even do not start.

The full story has been explained below.

I have recently installed pitivi and tried to run it.
It failed with the following error message:
# pitivi
Missing soft dependency:
- GSound not found on the system
    -> enables sound notifications when rendering is complete
Missing soft dependency:
- cvtracker GStreamer element not found on the system
    -> enables object tracking
Missing soft dependency:
- librosa not found on the system
    -> enables beat detection functionality
Traceback (most recent call last):
  File "/usr/lib64/pitivi/python/pitivi/application.py", line 205, in
do_activate
    self.create_main_window()
  File "/usr/lib64/pitivi/python/pitivi/application.py", line 212, in
create_main_window
    self.gui.setup_ui()
  File "/usr/lib64/pitivi/python/pitivi/mainwindow.py", line 135, in setup_ui
    self.editor.setup_ui()
  File "/usr/lib64/pitivi/python/pitivi/editorperspective.py", line
103, in setup_ui
    self._create_ui()
  File "/usr/lib64/pitivi/python/pitivi/editorperspective.py", line
260, in _create_ui
    self.mainhpaned.set_position(self.settings.mainWindowMainHPanePosition)
TypeError: Argument 1 does not allow None as a value

After installing gsound and gstreamer, the error message have been
reduced to the following:
Missing soft dependency:
- cvtracker GStreamer element not found on the system
    -> enables object tracking
Missing soft dependency:
- librosa not found on the system
    -> enables beat detection functionality
Traceback (most recent call last):
  File "/usr/lib64/pitivi/python/pitivi/application.py", line 205, in
do_activate
    self.create_main_window()
  File "/usr/lib64/pitivi/python/pitivi/application.py", line 212, in
create_main_window
    self.gui.setup_ui()
  File "/usr/lib64/pitivi/python/pitivi/mainwindow.py", line 135, in setup_ui
    self.editor.setup_ui()
  File "/usr/lib64/pitivi/python/pitivi/editorperspective.py", line
103, in setup_ui
    self._create_ui()
  File "/usr/lib64/pitivi/python/pitivi/editorperspective.py", line
260, in _create_ui
    self.mainhpaned.set_position(self.settings.mainWindowMainHPanePosition)
TypeError: Argument 1 does not allow None as a value

So, at least dependency of the pitivi on gsound has not been mentioned
in the pitivi ebuild which is definitely a bug.
Unfortunately, I do not know how to install librosa and get rid of the
other error messages.

I am currently use default/linux/amd64/23.0/desktop (stable) profile with dwm
without any desktop environment and think that this bug has appeared because
the pitivi ebuild has been tested only for
default/linux/amd64/23.0/desktop/gnome profile.

Currently I depcleaned the pitivi package and all its dependences. The corresponding output of "emerge --info" command is provided in the attachment.
Comment 1 gevisz@gmail.com 2024-12-08 02:57:07 UTC
In FreeBSD both gsound and gstreamer are dependecies of pitivi package.
See: https://ports.freebsd.org/cgi/ports.cgi?query=pitivi&stype=all&sektion=all

Why Gentoo pitivi ebuild is so special that these two packages are not considered to be dependencies of pitivi?
Comment 2 gevisz@gmail.com 2024-12-08 03:05:43 UTC
I have just looked into https://ports.freebsd.org/cgi/ports.cgi?query=pitivi&stype=all&sektion=all
and found out that media-libs/gstreamer-editing-services are also a
dependency of pitivi
that was not added as such into the Gentoo pitivi ebuild.
Comment 3 Greg Kubaryk 2024-12-08 03:10:17 UTC
(In reply to gevisz@gmail.com from comment #1)
> Why Gentoo pitivi ebuild is so special that these two packages are not
> considered to be dependencies of pitivi?

This is a bit much, let's try to keep things more polite.
Comment 4 gevisz@gmail.com 2024-12-08 03:59:08 UTC
Well,
emerge -vp pitivi
says that gstreamer and gstreamer-editing-services (but not gsound) are going to be emerged. This, however, does not help pitivi to run.

At the same time, I see that
dev-qt/qtmultimedia-5.15.14:5/5.15::gentoo
is going to be emerged with
USE="alsa qml widgets -debug -gles2-only -gstreamer -openal -pulseaudio -test"
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-12-08 04:07:04 UTC
I think several issues are being mixed up here.

* Soft dependency (media-libs/gsound)
* Soft dependency (media-plugins/gst-plugins-opencv, I think)
* You mention gstreamer[introspection] and gstreamer-editing-services but they are dependencies, not sure whyt this is coming up
* Failing to launch for you (yet-unknown cause)
Comment 6 gevisz@gmail.com 2024-12-08 04:56:44 UTC
(In reply to Sam James from comment #5)
> I think several issues are being mixed up here.
> 
> * Soft dependency (media-libs/gsound)

Yes, it is not emerged with pitivi but should.

> * Soft dependency (media-plugins/gst-plugins-opencv, I think)

This package is not going to be emerged with pitivi.
Do not know, if it should.

> * You mention gstreamer[introspection] and gstreamer-editing-services but
> they are dependencies, not sure whyt this is coming up

Yes, they are currently set as dependencies.
It was my fault to mention them here.

> * Failing to launch for you (yet-unknown cause)

 Yes. :(