Bug 29166 - Webcamoid missing requires for qtdeclarative5
Summary: Webcamoid missing requires for qtdeclarative5
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA8-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2021-06-22 02:48 CEST by Ken Arromdee
Modified: 2022-10-01 19:49 CEST (History)
7 users (show)

See Also:
Source RPM: webcamoid-8.7.1-2.mga8.src.rpm
CVE:
Status comment:


Attachments

Description Ken Arromdee 2021-06-22 02:48:55 CEST
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:
Always


Steps to Reproduce:
1. Run webcamoid
2. Observe error.

QQmlApplicationEngine failed to load component
qrc:/Webcamoid/share/qml/main.qml:23:1: module "QtQuick.Layouts" is not installed
qrc:/Webcamoid/share/qml/main.qml:21:1: module "QtQuick.Window" is not installed
qrc:/Webcamoid/share/qml/main.qml:23:1: module "QtQuick.Layouts" is not installed
qrc:/Webcamoid/share/qml/main.qml:21:1: module "QtQuick.Window" is not installed

Researching this shows me that QtQuick.Layouts and Window should be in /usr/lib64/qt5/qml/QtQuick/Layouts and Window.  It's not in there.  Furthermore, doing a search for installable software named QtQuick shows qtquickcontrols5 which contains Dialogs, Extras, etc. but not Layouts, and nothing else contains Layouts.
Comment 1 Dave Hodgins 2021-06-22 03:47:30 CEST
From urpmf QtQuick.Layouts ...
qtdeclarative5:/usr/lib64/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so

Please install qtdeclarative5. If that fixes the issue it's just a missing
requires.

CC: (none) => davidwhodgins

Comment 2 Lewis Smith 2021-06-22 09:51:33 CEST
Thank you Ken for the report.

Just to note also that pkg 'qtdeclarative5' also has Window things:
 $ urpmf QtQuick.Window | grep -v qtcreator
 qtdeclarative5:/usr/lib64/qt5/qml/QtQuick/Window.2
 qtdeclarative5:/usr/lib64/qt5/qml/QtQuick/Window.2/libwindowplugin.so
 qtdeclarative5:/usr/lib64/qt5/qml/QtQuick/Window.2/plugins.qmltypes
 qtdeclarative5:/usr/lib64/qt5/qml/QtQuick/Window.2/qmldir
nothing without the .2 suffix.

Status: NEW => NEEDINFO
CC: (none) => lewyssmith

Comment 3 Ken Arromdee 2021-06-22 16:22:46 CEST
Okay, installing that now lets webcamoid work.

webcamoid shows me nothing for virtual camera driver and apparently it can use akvcam or v4l2loopback, neither of which come with Mageia.  I don't know if that still counts as a bug.  But it's irrelevant since I was hoping this could let me create a virtual camera with a virtual background, and it doesn't.
Comment 4 Dave Hodgins 2021-06-22 21:20:14 CEST
Thanks for confirming that's the fix that needed.

Assigning to all packagers as webcamoid does not have a registered maintainer.

Assignee: bugsquad => pkg-bugs
Summary: Webcamoid fails because of dependencies => Webcamoid missing requires for qtdeclarative5

Lewis Smith 2021-06-24 21:31:21 CEST

CC: lewyssmith => (none)

Comment 5 papoteur 2022-09-21 11:32:50 CEST
libavkys8-8.7.1-3.mga8
libavkys-devel-8.7.1-3
webcamoid-8.7.1-3.mga8

Source: webcamoid-8.7.1-3.mga8.src.rpm

CC: (none) => yves.brungard_mageia
Assignee: pkg-bugs => qa-bugs
Status: NEEDINFO => ASSIGNED

Comment 6 Brian Rockwell 2022-09-21 19:07:08 CEST
webcam
Old toshiba l775


MGA8-64

The following 2 packages are going to be installed:

- lib64avkys8-8.7.1-3.mga8.x86_64
- webcamoid-8.7.1-3.mga8.x86_64

13MB of additional disk space will be used.


---

I was able to snap pictures and also record default video.

Working for me

CC: (none) => brtians1
Whiteboard: (none) => MGA8-64-Ok

Comment 7 Thomas Andrews 2022-09-22 14:14:40 CEST
@Brian: It looks like qtdeclarative5 was probably already installed on your system when you installed the updates. I believe we need a test on a system where qtdeclarative 5 is not already installed, to be sure this update pulls it in.

CC: (none) => andrewsfarm

Comment 8 Brian Rockwell 2022-09-22 16:29:24 CEST
no worries - removing the ok

Whiteboard: MGA8-64-Ok => (none)

Comment 9 Herman Viaene 2022-09-26 10:52:10 CEST
The qt package mentioned above is already installed here. Trying to remove it would take following with it:
- dropbox-servicemenu-0.16.1-7.mga8.noarch
- kdenlive-20.12.0-4.mga8.x86_64
- konq-plugins-20.12.0-1.mga8.x86_64
- konqueror-20.12.0-1.mga8.x86_64
- mageiawelcome-2.16-1.mga8.noarch
- plasma-workspace-5.20.4-5.2.mga8.x86_64
- sddm-0.19.0-15.1.mga8.x86_64
- task-plasma5-minimal-5.20.4-2.mga8.noarch
To me this would imply, the test as asked by Thomas is only possible on a system which has Plasma not installed at all ?????

CC: (none) => herman.viaene

Comment 10 Mauricio Andrés Bustamante Viveros 2022-09-26 19:33:47 CEST
OK

I am not plasma/gnome user so qtdeclarative must be selected with webcamoid
Using my VM

Trying to remove qtdeclarative5 that is installed in MATE/LXDE Desktop Enviroments:

Is required to remove the following packages:

- mageiawelcome-2.16-1.mga8.noarch
So I removed it and restarted 

Webcamoid 8.7.1-2mga8 requires

- libaom2-2.0.1-3.5.mga8.i586
- libass9-0.15.1-1.mga8.i586
- libavcodec58-4.3.4-1.mga8.i586
- libavfilter7-4.3.4-1.mga8.i586
- libavformat58-4.3.4-1.mga8.i586
- libavkys8-8.7.1-3.mga8.i586
- libcelt0_2-0.11.3-9.mga8.i586
- libdav1d5-0.8.0-1.mga8.i586
- libdc1394_25-2.2.6-2.mga8.i586
- libgsm1-1.0.19-1.mga8.i586
- libmodplug1-0.8.9.0-4.mga8.i586
- libmp3lame0-3.100-7.mga8.i586
- libpostproc55-4.3.4-1.mga8.i586
- libraw1394_11-2.1.2-4.mga8.i586
- librtmp1-2.4-0.git20160101.10.mga8.i586
- libsndio7.1-1.7.0-1.mga8.i586
- libspeex1-1.2.0-3.1.mga8.i586
- libswresample3-4.3.4-1.mga8.i586
- libswscaler5-4.3.4-1.mga8.i586
- libtwolame0-0.4.0-1.mga8.i586
- libvidstab1.1-1.1.0-2.git20190213.5.mga8.i586
- libvpx6-1.9.0-1.mga8.i586
- libxavs1-0.1.55-13.mga8.i586


Webcamoid 8.7.1-3mga8 requires
- libaom2-2.0.1-3.5.mga8.i586
- libass9-0.15.1-1.mga8.i586
- libavcodec58-4.3.4-1.mga8.i586
- libavfilter7-4.3.4-1.mga8.i586
- libavformat58-4.3.4-1.mga8.i586
- libavkys8-8.7.1-3.mga8.i586
- libcelt0_2-0.11.3-9.mga8.i586
- libdav1d5-0.8.0-1.mga8.i586
- libdc1394_25-2.2.6-2.mga8.i586
- libgsm1-1.0.19-1.mga8.i586
- libmodplug1-0.8.9.0-4.mga8.i586
- libmp3lame0-3.100-7.mga8.i586
- libpostproc55-4.3.4-1.mga8.i586
- libraw1394_11-2.1.2-4.mga8.i586
- librtmp1-2.4-0.git20160101.10.mga8.i586
- libsndio7.1-1.7.0-1.mga8.i586
- libspeex1-1.2.0-3.1.mga8.i586
- libswresample3-4.3.4-1.mga8.i586
- libswscaler5-4.3.4-1.mga8.i586
- libtwolame0-0.4.0-1.mga8.i586
- libvidstab1.1-1.1.0-2.git20190213.5.mga8.i586
- libvpx6-1.9.0-1.mga8.i586
- libxavs1-0.1.55-13.mga8.i586
- qtdeclarative5-5.15.2-1.mga8.i586

So the qtdeclarative5 requirement is selected

So is OK for me

CC: (none) => neoser10

Comment 11 Thomas Andrews 2022-10-01 02:21:07 CEST
Just to confirm, I tried this is a Gnome guest in VirtualBox. The qtdeclarative5 package was already installed, but was only required by mageiawelcome. Removed them, then installed webcamoid, which only required lib64avkys8. Then I used qarepo to get the update packages. Installing the updates now drew in qtdeclarative5 once more.

I do not own a webcam, so was unable to go farther.

OKing, and validating.

CC: (none) => sysadmin-bugs
Keywords: (none) => validated_update
Whiteboard: (none) => MGA8-64-OK

Dave Hodgins 2022-10-01 17:05:49 CEST

Keywords: (none) => advisory

Comment 12 Mageia Robot 2022-10-01 19:49:41 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2022-0128.html

Resolution: (none) => FIXED
Status: ASSIGNED => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.