Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 656772 - media-libs/libde265-1.0.2 : configure: error: Qt5 moc not found, which is required to generate the Qt files for sherlock265.
Summary: media-libs/libde265-1.0.2 : configure: error: Qt5 moc not found, which is req...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard: fixed in 1.0.3
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-28 18:07 UTC by Toralf Förster
Modified: 2020-09-04 20:46 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.68 KB, text/plain)
2018-05-28 18:07 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,251.24 KB, text/plain)
2018-05-28 18:07 UTC, Toralf Förster
Details
environment (environment,107.68 KB, text/plain)
2018-05-28 18:08 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,22.68 KB, application/x-bzip)
2018-05-28 18:08 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,11.68 KB, application/x-bzip)
2018-05-28 18:08 UTC, Toralf Förster
Details
media-libs:libde265-1.0.2:20180528-091552.log (media-libs:libde265-1.0.2:20180528-091552.log,14.15 KB, text/plain)
2018-05-28 18:08 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,29.88 KB, application/x-bzip)
2018-05-28 18:08 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-05-28 18:07:52 UTC
checking for libswscale... yes
checking for Qt5Core >= 5.1.0 Qt5Gui Qt5Widgets... no
configure: error: Qt5 moc not found, which is required to generate the Qt files for sherlock265.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/media-libs/libde265-1.0.2/work/libde265-1.0.2-abi_x86_32.x86/config.log

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-plasma_libressl-abi32+64_20180520-110759

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.7.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv media-libs/libde265
[ebuild  N    ] media-libs/libde265-1.0.2  USE="qt5 -debug -static-libs" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="sse" 

!!! The following installed packages are masked:
- app-i18n/ibus-tutcode-1.0.2-r1::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Akinori Hattori <hattya@gentoo.org> (27 May 2018)
# Dead upstream, for old versions of iBus
# Masked for removal in 30 days.

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
Comment 1 Toralf Förster gentoo-dev 2018-05-28 18:07:55 UTC
Created attachment 533736 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-05-28 18:07:58 UTC
Created attachment 533738 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-05-28 18:08:01 UTC
Created attachment 533740 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-05-28 18:08:04 UTC
Created attachment 533742 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-05-28 18:08:06 UTC
Created attachment 533744 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-05-28 18:08:09 UTC
Created attachment 533746 [details]
media-libs:libde265-1.0.2:20180528-091552.log
Comment 7 Toralf Förster gentoo-dev 2018-05-28 18:08:12 UTC
Created attachment 533748 [details]
temp.tbz2
Comment 8 Thomas Deutschmann (RETIRED) gentoo-dev 2018-09-08 22:10:12 UTC
I am not sure how you was able to to trigger this. According to your build.log and config.log, no QT5* packages were installed. However, I see no missing dependency so there must be something wrong on your end when you were able to trigger this.

Please re-test.
Comment 9 Toralf Förster gentoo-dev 2018-09-08 22:55:21 UTC
(In reply to Thomas Deutschmann from comment #8)
maybe the "qtnetwork -ssl" in the USE flag settings of this image due to the QT/LibreSSL mess triggers the issue here?
Comment 10 Thomas Deutschmann (RETIRED) gentoo-dev 2018-09-08 23:03:13 UTC
I am not a QT5 expert, but I don't think so:

media-libs/libde265-1.0.2 already declares

> DEPEND="
> 	[...]
> 	qt5? (
> 		dev-qt/qtcore:5
> 		dev-qt/qtgui:5
> 		dev-qt/qtwidgets:5
> 	)

So I do _not_ understand how you could end without any of these QT packages according to your config.log (from logs.tbz2):

> configure:18871: checking for Qt5Core >= 5.1.0 Qt5Gui Qt5Widgets
> configure:18878: $PKG_CONFIG --exists --print-errors "Qt5Core >= 5.1.0 Qt5Gui Qt5Widgets"
> Package Qt5Core was not found in the pkg-config search path.
> Perhaps you should add the directory containing `Qt5Core.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'Qt5Core' found
> Package Qt5Gui was not found in the pkg-config search path.
> Perhaps you should add the directory containing `Qt5Gui.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'Qt5Gui' found
> Package Qt5Widgets was not found in the pkg-config search path.
> Perhaps you should add the directory containing `Qt5Widgets.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'Qt5Widgets' found
> configure:18881: $? = 1
> configure:18895: $PKG_CONFIG --exists --print-errors "Qt5Core >= 5.1.0 Qt5Gui Qt5Widgets"
> Package Qt5Core was not found in the pkg-config search path.
> Perhaps you should add the directory containing `Qt5Core.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'Qt5Core' found
> Package Qt5Gui was not found in the pkg-config search path.
> Perhaps you should add the directory containing `Qt5Gui.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'Qt5Gui' found
> Package Qt5Widgets was not found in the pkg-config search path.
> Perhaps you should add the directory containing `Qt5Widgets.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'Qt5Widgets' found
> configure:18898: $? = 1
> configure:18912: result: no
> No package 'Qt5Core' found
> No package 'Qt5Gui' found
> No package 'Qt5Widgets' found
> configure:18929: error: Qt5 moc not found, which is required to generate the Qt files for sherlock265.
> 

But wait, config.log is from "libde265-1.0.2-abi_x86_32.x86" -- maybe a weird multilib problem?

Anyway, I was able to build new >=libde265-1.0.3 with ABI_X86="32 64" and USE=qt5 so you should be able to do the same.
Comment 11 Toralf Förster gentoo-dev 2018-09-09 09:06:25 UTC
(In reply to Thomas Deutschmann from comment #10)
Issue can be reproduced here at 32+64 systems at current image
run/17.0-desktop_abi32+64_20180830-184303
even with 1.0.3
Comment 12 Thomas Deutschmann (RETIRED) gentoo-dev 2018-09-09 12:21:03 UTC
Please manually check and confirm that the following packages are installed

dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5

If these packages are present, please show us the output of

> find /usr -name 'Qt*.pc'

and

> pkg-config --debug --exists "Qt5Core >= 5.1.0 Qt5Gui Qt5Widgets"

from that box (in theory you have to run the pkg-config command for native and multilib ABI but because you said that both ABIs are failing for you, native ABI should be enough).
Comment 13 Toralf Förster gentoo-dev 2018-09-09 14:53:48 UTC
(In reply to Thomas Deutschmann from comment #12)
mr-fox / # qlop -u -l | grep dev-qt
Fri Aug 31 00:56:25 2018 >>> dev-qt/qtchooser-0_p20170803
Sat Sep  1 05:48:00 2018 >>> dev-qt/qtcore-5.11.1
Sat Sep  1 05:49:04 2018 >>> dev-qt/qtxml-5.11.1
Sat Sep  1 05:52:28 2018 >>> dev-qt/qtdbus-5.11.1
Sat Sep  1 08:15:03 2018 >>> dev-qt/qtgui-5.11.1
Sat Sep  1 08:40:12 2018 >>> dev-qt/qtwidgets-5.11.1
Sun Sep  2 00:42:48 2018 >>> dev-qt/qtnetwork-5.11.1
Sun Sep  2 00:43:48 2018 >>> dev-qt/qtconcurrent-5.11.1
Sun Sep  2 00:48:44 2018 >>> dev-qt/qtopengl-5.11.1
Sun Sep  2 00:51:19 2018 >>> dev-qt/qtprintsupport-5.11.1
Sun Sep  2 00:52:39 2018 >>> dev-qt/qtsvg-5.11.1
Sun Sep  2 01:02:52 2018 >>> dev-qt/qtbluetooth-5.11.1
Sun Sep  2 06:49:37 2018 >>> dev-qt/qtxmlpatterns-5.11.1
Sun Sep  2 06:59:55 2018 >>> dev-qt/qtscript-5.11.1
Sun Sep  2 07:01:56 2018 >>> dev-qt/qtsql-5.11.1-r1
Sun Sep  2 07:06:47 2018 >>> dev-qt/linguist-tools-5.11.1
Sun Sep  2 07:08:42 2018 >>> dev-qt/qttest-5.11.1
Sun Sep  2 07:28:12 2018 >>> dev-qt/qtmultimedia-5.11.1
Sun Sep  2 08:27:40 2018 >>> dev-qt/qtdeclarative-5.11.1
Sun Sep  2 14:29:42 2018 >>> dev-qt/qtwebkit-5.212.0_pre20180120
Mon Sep  3 03:35:38 2018 >>> dev-qt/qtx11extras-5.11.1
Mon Sep  3 12:11:47 2018 >>> dev-qt/qtlockedfile-2.4.1_p20171024
Mon Sep  3 12:12:17 2018 >>> dev-qt/qtsingleapplication-2.6.1_p20171024
Mon Sep  3 22:20:10 2018 >>> dev-qt/qthelp-5.11.1
Wed Sep  5 06:07:31 2018 >>> dev-qt/qtwayland-5.11.1
Wed Sep  5 13:15:43 2018 >>> dev-qt/designer-5.11.1
Wed Sep  5 14:53:28 2018 >>> dev-qt/qtsensors-5.11.1
Wed Sep  5 20:13:11 2018 >>> dev-qt/qtwebsockets-5.11.1
Thu Sep  6 04:30:05 2018 >>> dev-qt/qtgraphicaleffects-5.11.1
Thu Sep  6 14:49:44 2018 >>> dev-qt/pixeltool-5.11.1
Fri Sep  7 21:05:35 2018 >>> dev-qt/qtscxml-5.11.1
Sat Sep  8 06:17:57 2018 >>> dev-qt/qtserialport-5.11.1
Sat Sep  8 08:20:45 2018 >>> dev-qt/qdbus-5.11.1
Sat Sep  8 08:37:09 2018 >>> dev-qt/qdoc-5.11.1
Sat Sep  8 08:57:45 2018 >>> dev-qt/qttranslations-5.11.1
Sat Sep  8 09:13:30 2018 >>> dev-qt/qtquickcontrols-5.11.1
Sat Sep  8 09:35:42 2018 >>> dev-qt/qtpaths-5.11.1
Sat Sep  8 20:22:38 2018 >>> dev-qt/qtquickcontrols2-5.11.1
Sun Sep  9 00:40:23 2018 >>> dev-qt/qtpositioning-5.11.1


mr-fox / # find /usr -name 'Qt*.pc'
/usr/lib64/pkgconfig/Qt5Core.pc
/usr/lib64/pkgconfig/Qt5Xml.pc
/usr/lib64/pkgconfig/Qt5DBus.pc
/usr/lib64/pkgconfig/Qt5Gui.pc
/usr/lib64/pkgconfig/Qt5OpenGLExtensions.pc
/usr/lib64/pkgconfig/Qt5Widgets.pc
/usr/lib64/pkgconfig/Qt5Network.pc
/usr/lib64/pkgconfig/Qt5Concurrent.pc
/usr/lib64/pkgconfig/Qt5OpenGL.pc
/usr/lib64/pkgconfig/Qt5PrintSupport.pc
/usr/lib64/pkgconfig/Qt5Svg.pc
/usr/lib64/pkgconfig/Qt5Bluetooth.pc
/usr/lib64/pkgconfig/Qt5XmlPatterns.pc
/usr/lib64/pkgconfig/Qt5Script.pc
/usr/lib64/pkgconfig/Qt5Sql.pc
/usr/lib64/pkgconfig/Qt5Test.pc
/usr/lib64/pkgconfig/Qt5Multimedia.pc
/usr/lib64/pkgconfig/Qt5Qml.pc
/usr/lib64/pkgconfig/Qt5Quick.pc
/usr/lib64/pkgconfig/Qt5QuickTest.pc
/usr/lib64/pkgconfig/Qt5QuickWidgets.pc
/usr/lib64/pkgconfig/Qt5WebKit.pc
/usr/lib64/pkgconfig/Qt5WebKitWidgets.pc
/usr/lib64/pkgconfig/Qt5X11Extras.pc
/usr/lib64/pkgconfig/Qt5Help.pc
/usr/lib64/pkgconfig/Qt5WaylandClient.pc
/usr/lib64/pkgconfig/Qt5WaylandCompositor.pc
/usr/lib64/pkgconfig/Qt5UiTools.pc
/usr/lib64/pkgconfig/Qt5Designer.pc
/usr/lib64/pkgconfig/Qt5Sensors.pc
/usr/lib64/pkgconfig/Qt5WebSockets.pc
/usr/lib64/pkgconfig/Qt5Xdg.pc
/usr/lib64/pkgconfig/Qt5XdgIconLoader.pc
/usr/lib64/pkgconfig/Qt5Scxml.pc
/usr/lib64/pkgconfig/Qt5SerialPort.pc
/usr/lib64/pkgconfig/Qt5QuickControls2.pc
/usr/lib64/pkgconfig/Qt5Positioning.pc
/usr/lib64/pkgconfig/Qt5GLib-2.0.pc
/usr/lib64/pkgconfig/Qt5GStreamer-1.0.pc
/usr/lib64/pkgconfig/Qt5GStreamerQuick-1.0.pc
/usr/lib64/pkgconfig/Qt5GStreamerUi-1.0.pc
/usr/lib64/pkgconfig/Qt5GStreamerUtils-1.0.pc



mr-fox / # pkg-config --debug --exists "Qt5Core >= 5.1.0 Qt5Gui Qt5Widgets"
Error printing disabled by default due to use of output options --exists, --atleast/exact/max-version, --list-all or no output option at all. Value of --print-errors: 0
Error printing disabled
Adding virtual 'pkg-config' package to list of known packages
Looking for package 'Qt5Core'
Looking for package 'Qt5Core-uninstalled'
Reading 'Qt5Core' from file '/usr/lib64/pkgconfig/Qt5Core.pc'
Parsing package file '/usr/lib64/pkgconfig/Qt5Core.pc'
  line>prefix=/usr
 Variable declaration, 'prefix' has value '/usr'
  line>exec_prefix=${prefix}
 Variable declaration, 'exec_prefix' has value '/usr'
  line>libdir=${prefix}/lib64
 Variable declaration, 'libdir' has value '/usr/lib64'
  line>includedir=${prefix}/include/qt5
 Variable declaration, 'includedir' has value '/usr/include/qt5'
  line>
  line>host_bins=${prefix}/lib64/qt5/bin
 Variable declaration, 'host_bins' has value '/usr/lib64/qt5/bin'
  line>qt_config=shared release c++11 c++14 c++1z concurrent no-gui reduce_exports reduce_relocations stl no-widgets properties animation textcodec big_codecs clock-monotonic codecs textdate datestring doubleconversion eventfd filesystemiterator filesystemwatcher gestures glib itemmodel proxymodel identityproxymodel inotify library mimetype process statemachine regularexpression settings sharedmemory sortfilterproxymodel stringlistmodel systemsemaphore temporaryfile threadsafe-cloexec translation xmlstream xmlstreamreader xmlstreamwriter
 Variable declaration, 'qt_config' has value 'shared release c++11 c++14 c++1z concurrent no-gui reduce_exports reduce_relocations stl no-widgets properties animation textcodec big_codecs clock-monotonic codecs textdate datestring doubleconversion eventfd filesystemiterator filesystemwatcher gestures glib itemmodel proxymodel identityproxymodel inotify library mimetype process statemachine regularexpression settings sharedmemory sortfilterproxymodel stringlistmodel systemsemaphore temporaryfile threadsafe-cloexec translation xmlstream xmlstreamreader xmlstreamwriter'
  line>
  line>Name: Qt5 Core
  line>Description: Qt Core module
  line>Version: 5.11.1
  line>Libs: -lQt5Core 
  line>Cflags: -DQT_CORE_LIB -I${includedir}/QtCore -I${includedir}
  line>
Path position of 'Qt5Core' is 1
Adding 'Qt5Core' to list of known packages
Looking for package 'Qt5Gui'
Looking for package 'Qt5Gui-uninstalled'
Reading 'Qt5Gui' from file '/usr/lib64/pkgconfig/Qt5Gui.pc'
Parsing package file '/usr/lib64/pkgconfig/Qt5Gui.pc'
  line>prefix=/usr
 Variable declaration, 'prefix' has value '/usr'
  line>exec_prefix=${prefix}
 Variable declaration, 'exec_prefix' has value '/usr'
  line>libdir=${prefix}/lib64
 Variable declaration, 'libdir' has value '/usr/lib64'
  line>includedir=${prefix}/include/qt5
 Variable declaration, 'includedir' has value '/usr/include/qt5'
  line>
  line>
  line>Name: Qt5 Gui
  line>Description: Qt Gui module
  line>Version: 5.11.1
  line>Libs: -lQt5Gui 
  line>Cflags: -DQT_GUI_LIB -I${includedir}/QtGui -I${includedir}
  line>Requires: Qt5Core
  line>
Path position of 'Qt5Gui' is 1
Adding 'Qt5Gui' to list of known packages
Searching for 'Qt5Gui' requirement 'Qt5Core'
Looking for package 'Qt5Widgets'
Looking for package 'Qt5Widgets-uninstalled'
Reading 'Qt5Widgets' from file '/usr/lib64/pkgconfig/Qt5Widgets.pc'
Parsing package file '/usr/lib64/pkgconfig/Qt5Widgets.pc'
  line>prefix=/usr
 Variable declaration, 'prefix' has value '/usr'
  line>exec_prefix=${prefix}
 Variable declaration, 'exec_prefix' has value '/usr'
  line>libdir=${prefix}/lib64
 Variable declaration, 'libdir' has value '/usr/lib64'
  line>includedir=${prefix}/include/qt5
 Variable declaration, 'includedir' has value '/usr/include/qt5'
  line>
  line>
  line>Name: Qt5 Widgets
  line>Description: Qt Widgets module
  line>Version: 5.11.1
  line>Libs: -lQt5Widgets 
  line>Cflags: -DQT_WIDGETS_LIB -I${includedir}/QtWidgets -I${includedir}
  line>Requires: Qt5Core Qt5Gui
  line>
Path position of 'Qt5Widgets' is 1
Adding 'Qt5Widgets' to list of known packages
Searching for 'Qt5Widgets' requirement 'Qt5Core'
Searching for 'Qt5Widgets' requirement 'Qt5Gui'
Package Qt5Core already in requires chain, skipping
Comment 14 Thomas Deutschmann (RETIRED) gentoo-dev 2018-09-09 15:00:47 UTC
According to your reply the packages are present on your system. I don't know what to do here: It works for me ;-)

At the moment this looks like a local problem with your tinderbox. Please investigate why a normal pkg-config call is able to find the packages but fails when running in your chroot...
Comment 15 Toralf Förster gentoo-dev 2018-09-09 15:10:22 UTC
(In reply to Thomas Deutschmann from comment #1(In reply to Thomas Deutschmann from comment #14)
so something with /usr/lib versus /usr/lib64 ?
Comment 16 Andreas Sturmlechner gentoo-dev 2018-09-12 12:54:47 UTC
Qt5 is not multilib enabled, which means it should only be enabled if building for the native abi.
Comment 17 Andreas Sturmlechner gentoo-dev 2018-09-12 13:24:06 UTC
I was able to reproduce the error with 1.0.2 after building libsdl and ffmpeg with abi_x86_32 enabled. So far, the ebuild is also missing [${MULTILIB_USEDEP}] on those.
Comment 18 Larry the Git Cow gentoo-dev 2018-09-12 13:32:09 UTC
The bug has been referenced in the following commit(s):

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

commit 542ec773a991348223730e7859e78f45c6b2c895
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2018-09-12 13:30:52 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-09-12 13:31:49 +0000

    media-libs/libde265: Add missing MULTILIB_USEDEP, fix USE=qt5
    
    Qt5 is not multilib enabled, so disable if !multilib_is_native_abi
    
    Bug: https://bugs.gentoo.org/656772
    Package-Manager: Portage-2.3.49, Repoman-2.3.10

 media-libs/libde265/libde265-1.0.3.ebuild | 24 ++++++++++++++++--------
 media-libs/libde265/libde265-9999.ebuild  | 20 ++++++++++++++------
 2 files changed, 30 insertions(+), 14 deletions(-)
Comment 19 Francisco Blas Izquierdo Riera (RETIRED) gentoo-dev 2020-09-04 20:46:02 UTC
This should be fixed since 1.0.3 is already stable. If not please reopen.