Summary: | media-libs/libde265-1.0.2 : configure: error: Qt5 moc not found, which is required to generate the Qt files for sherlock265. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo Media-video project <media-video> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | whissi |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | fixed in 1.0.3 | ||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.portage.tbz2 logs.tbz2 media-libs:libde265-1.0.2:20180528-091552.log temp.tbz2 |
Description
Toralf Förster
![]() Created attachment 533736 [details]
emerge-info.txt
Created attachment 533738 [details]
emerge-history.txt
Created attachment 533740 [details]
environment
Created attachment 533742 [details]
etc.portage.tbz2
Created attachment 533744 [details]
logs.tbz2
Created attachment 533746 [details]
media-libs:libde265-1.0.2:20180528-091552.log
Created attachment 533748 [details]
temp.tbz2
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. (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? 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. (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 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). (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 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... (In reply to Thomas Deutschmann from comment #1(In reply to Thomas Deutschmann from comment #14) so something with /usr/lib versus /usr/lib64 ? Qt5 is not multilib enabled, which means it should only be enabled if building for the native abi. 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. 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(-) This should be fixed since 1.0.3 is already stable. If not please reopen. |