Bug 26492

Summary: Cannot compile vlc from latest source due to ./configure not finding systemd-devel
Product: Mageia Reporter: Kristoffer Grundström <lovaren>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Normal CC: lewyssmith, tmb
Version: 7   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:

Description Kristoffer Grundström 2020-04-17 04:09:32 CEST
Description of problem: I ran dnf build-dep vlc to install all build requirements for vlc and dnf didn't seem to install flex and bison, but as I ran ./configure after doing ./bootstrap it ended with this error:

checking for QT... no
configure: error: Package 'Qt5Quick', required by 'virtual:world', not found
Package 'Qt5QuickWidgets', required by 'virtual:world', not found
Package 'Qt5QuickControls2', required by 'virtual:world', not found. If you want to build VLC without GUI, pass --disable-qt.

I ran

urpmf Qt5Quick.so
urpmf Qt5QuickWidgets.so
and finally
urpmf Qt5QuickControls2.so

And that's when I installed libqt5quick5 libqt5quickwidgets5 libqt5labstemplates5 and as I reran ./configure it still gave me the same error.

urpmi libqt5labstemplates-devel libqt5quickcontrols2-devel libqt5quick-devel --auto gave me:

A desired package cannot be installed:
libqt5core-devel-5.12.6-2.mga7.i586 (due to insufficient systemd-devel-241-8.mga7.i586)

[root@Desktop ~]# urpmq --list-media
Core Release (distrib1)
Core Release Debug (distrib2)
Core Updates (distrib3)
Core Updates Debug (distrib4)
Nonfree Release (distrib11)
Nonfree Release Debug (distrib12)
Nonfree Updates (distrib13)
Nonfree Updates Debug (distrib14)
Tainted Release (distrib21)
Tainted Release Debug (distrib22)
Tainted Updates (distrib23)
Tainted Updates Debug (distrib24)
Core 32bit Release (distrib31)
Core 32bit Updates (distrib32)
Nonfree 32bit Release (distrib36)
Nonfree 32bit Updates (distrib37)
Tainted 32bit Release (distrib41)
Tainted 32bit Updates (distrib42)

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

How reproducible: All the time.

Steps to Reproduce:
1. Open a terminal window.
2. Do git clone --recursive https://github.com/videolan/vlc.git
3. Do sudo dnf build-dep vlc -y
4. cd to vlc/
5. Do aclocal && ./bootstrap && ./configure
6. urpmi fails to install libqt5core-devel due to missing systemd-devel
Comment 1 Lewis Smith 2020-04-18 20:59:24 CEST
I thought I had seen this before: bug 24939, bug 26278 - particularly; of which this looks suspiciously like a duplicate.
Are you sure you are not in the same boat? Why again the references to i586 pkgs for what you said last time was an x64 box?
> urpmi libqt5labstemplates-devel libqt5quickcontrols2-devel libqt5quick-devel
Why not lib64... ?

CC: (none) => lewyssmith

Comment 2 Thomas Backlund 2020-04-18 21:29:59 CEST
Please stop opening useless bugreports about stuff you are trying to build from other sources or git snapshots.

Mageia bugzilla if for stuff packaged and shipped in Mageia repos.

CC: (none) => tmb
Resolution: (none) => INVALID
Status: NEW => RESOLVED

Comment 3 Lewis Smith 2020-04-18 21:34:06 CEST
Sorry, Thomas; I thought that after the previous bugs, this time Kristoffer was working entirely 'within' Mageia.
Comment 4 Thomas Backlund 2020-04-18 21:37:05 CEST
No worries, Lewis.
Comment 5 Kristoffer Grundström 2020-04-19 01:34:27 CEST
(In reply to Lewis Smith from comment #1)
> I thought I had seen this before: bug 24939, bug 26278 - particularly; of
> which this looks suspiciously like a duplicate.
> Are you sure you are not in the same boat? Why again the references to i586
> pkgs for what you said last time was an x64 box?
> > urpmi libqt5labstemplates-devel libqt5quickcontrols2-devel libqt5quick-devel
> Why not lib64... ?

Because we haven't adapted our spec files to install 64 bit BuildRequires like some other RPM distros have.

That's why I ran urpmi to install all the requirements from the spec using urpmi vlc.spec.

When that has changed, maybe I or someone else will be able to get passed this error.