Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'cmake ..' Fails on Antergos (kernel 5.4.6) #2

Closed
mcdviii opened this issue Dec 29, 2019 · 4 comments
Closed

'cmake ..' Fails on Antergos (kernel 5.4.6) #2

mcdviii opened this issue Dec 29, 2019 · 4 comments
Assignees

Comments

@mcdviii
Copy link

mcdviii commented Dec 29, 2019

cmake ..

Returns:

-- ~~~ plug v1.4.0 ~~~
-- Unit Tests : ON
-- Integrationtests : OFF
-- Coverage : OFF
-- LTO : OFF
-- ASan : OFF
-- UBSan : OFF
-- Build Type : None
CMake Error at /usr/lib64/cmake/Qt5Gui/Qt5Gui_QGtk2ThemePlugin.cmake:4 (_populate_Gui_plugin_properties):
  _populate_Gui_plugin_properties Macro invoked with incorrect arguments for
  macro named: _populate_Gui_plugin_properties
Call Stack (most recent call first):
  /usr/lib64/cmake/Qt5Gui/Qt5GuiConfig.cmake:213 (include)
  /usr/lib64/cmake/Qt5Widgets/Qt5WidgetsConfig.cmake:112 (find_package)
  CMakeLists.txt:66 (find_package)


CMake Error at /usr/lib64/cmake/Qt5Widgets/Qt5Widgets_QBB10StylePlugin.cmake:4 (_populate_Widgets_plugin_properties):
  _populate_Widgets_plugin_properties Macro invoked with incorrect arguments
  for macro named: _populate_Widgets_plugin_properties
Call Stack (most recent call first):
  /usr/lib64/cmake/Qt5Widgets/Qt5WidgetsConfig.cmake:213 (include)
  CMakeLists.txt:66 (find_package)


CMake Error at /usr/lib64/cmake/Qt5Widgets/Qt5Widgets_QCleanlooksStylePlugin.cmake:4 (_populate_Widgets_plugin_properties):
  _populate_Widgets_plugin_properties Macro invoked with incorrect arguments
  for macro named: _populate_Widgets_plugin_properties
Call Stack (most recent call first):
  /usr/lib64/cmake/Qt5Widgets/Qt5WidgetsConfig.cmake:213 (include)
  CMakeLists.txt:66 (find_package)


CMake Error at /usr/lib64/cmake/Qt5Widgets/Qt5Widgets_QGtk2StylePlugin.cmake:4 (_populate_Widgets_plugin_properties):
  _populate_Widgets_plugin_properties Macro invoked with incorrect arguments
  for macro named: _populate_Widgets_plugin_properties
Call Stack (most recent call first):
  /usr/lib64/cmake/Qt5Widgets/Qt5WidgetsConfig.cmake:213 (include)
  CMakeLists.txt:66 (find_package)


CMake Error at /usr/lib64/cmake/Qt5Widgets/Qt5Widgets_QMotifStylePlugin.cmake:4 (_populate_Widgets_plugin_properties):
  _populate_Widgets_plugin_properties Macro invoked with incorrect arguments
  for macro named: _populate_Widgets_plugin_properties
Call Stack (most recent call first):
  /usr/lib64/cmake/Qt5Widgets/Qt5WidgetsConfig.cmake:213 (include)
  CMakeLists.txt:66 (find_package)


CMake Error at /usr/lib64/cmake/Qt5Widgets/Qt5Widgets_QPlastiqueStylePlugin.cmake:4 (_populate_Widgets_plugin_properties):
  _populate_Widgets_plugin_properties Macro invoked with incorrect arguments
  for macro named: _populate_Widgets_plugin_properties
Call Stack (most recent call first):
  /usr/lib64/cmake/Qt5Widgets/Qt5WidgetsConfig.cmake:213 (include)
  CMakeLists.txt:66 (find_package)


CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
  Could NOT find GTest (missing: GTest_INCLUDE_DIR GTest_Mock_INCLUDE_DIR
  GTest_LIBRARY GTest_Mock_LIBRARY GTest_Main_LIBRARY)
Call Stack (most recent call first):
  /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)
  cmake/FindGTest.cmake:33 (find_package_handle_standard_args)
  test/CMakeLists.txt:1 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/USER/Source/git/PLUG/build/CMakeFiles/CMakeOutput.log".
See also "/home/USER/Source/git/PLUG/build/CMakeFiles/CMakeError.log".

CMakeOutput.log
CMakeError.log

uname -a

Linux HOST.local 5.4.6-arch1-1 #1 SMP PREEMPT Sat, 21 Dec 2019 16:34:41 +0000 x86_64 GNU/Linux

core/libusb 1.0.23-2 [installed]
extra/cmake 3.16.2-1 [installed]
extra/qt5-3d 5.14.0-1 (qt qt5) [installed]
extra/qt5-base 5.14.0-1 (qt qt5) [installed]
extra/qt5-charts 5.14.0-1 (qt qt5) [installed]
extra/qt5-connectivity 5.14.0-1 (qt qt5) [installed]
extra/qt5-datavis3d 5.14.0-1 (qt qt5) [installed]
extra/qt5-declarative 5.14.0-2 (qt qt5) [installed]
extra/qt5-doc 5.14.0-1 (qt qt5) [installed]
extra/qt5-examples 5.14.0-1 (qt qt5) [installed]
extra/qt5-gamepad 5.14.0-1 (qt qt5) [installed]
extra/qt5-graphicaleffects 5.14.0-1 (qt qt5) [installed]
extra/qt5-imageformats 5.14.0-1 (qt qt5) [installed]
extra/qt5-location 5.14.0-1 (qt qt5) [installed]
extra/qt5-lottie 5.14.0-1 (qt qt5) [installed]
extra/qt5-multimedia 5.14.0-1 (qt qt5) [installed]
extra/qt5-networkauth 5.14.0-1 (qt qt5) [installed]
extra/qt5-purchasing 5.14.0-1 (qt qt5) [installed]
extra/qt5-quick3d 5.14.0-1 (qt qt5) [installed]
extra/qt5-quickcontrols 5.14.0-1 (qt qt5) [installed]
extra/qt5-quickcontrols2 5.14.0-1 (qt qt5) [installed]
extra/qt5-remoteobjects 5.14.0-1 (qt qt5) [installed]
extra/qt5-script 5.14.0-1 (qt qt5) [installed]
extra/qt5-scxml 5.14.0-1 (qt qt5) [installed]
extra/qt5-sensors 5.14.0-1 (qt qt5) [installed]
extra/qt5-serialbus 5.14.0-1 (qt qt5) [installed]
extra/qt5-serialport 5.14.0-1 (qt qt5) [installed]
extra/qt5-speech 5.14.0-1 (qt qt5) [installed]
extra/qt5-svg 5.14.0-1 (qt qt5) [installed]
extra/qt5-tools 5.14.0-1 (qt qt5) [installed]
extra/qt5-translations 5.14.0-1 (qt qt5) [installed]
extra/qt5-virtualkeyboard 5.14.0-1 (qt qt5) [installed]
extra/qt5-wayland 5.14.0-3 (qt qt5) [installed]
extra/qt5-webchannel 5.14.0-1 (qt qt5) [installed]
extra/qt5-webengine 5.14.0-1 (qt qt5) [installed]
extra/qt5-webglplugin 5.14.0-1 (qt qt5) [installed]
extra/qt5-webkit 5.212.0alpha3-8 [installed]
extra/qt5-websockets 5.14.0-1 (qt qt5) [installed]
extra/qt5-webview 5.14.0-1 (qt qt5) [installed]
extra/qt5-x11extras 5.14.0-1 (qt qt5) [installed]
extra/qt5-xmlpatterns 5.14.0-1 (qt qt5) [installed]
@mcdviii mcdviii changed the title CMake .. Fails on Antergos (kernel 5.4.6) 'cmake ..' Fails on Antergos (kernel 5.4.6) Dec 29, 2019
@offa offa self-assigned this Dec 30, 2019
@offa
Copy link
Owner

offa commented Dec 30, 2019

That's interesting, I should have the same version on my system but don't get the error. CMake seems to correctly find Qt5Core but struggle with Qt5Widgets. At first sight it looks like a theming issue – there are many style / theme related files of the Qt installation involved.

What you can try:

Install qt5-styleplugins which provides the files mentioned in the error message. It's available through the Arch repos: sudo pacman -S qt5-styleplugins


CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
Could NOT find GTest (missing: GTest_INCLUDE_DIR GTest_Mock_INCLUDE_DIR
GTest_LIBRARY GTest_Mock_LIBRARY GTest_Main_LIBRARY)
Call Stack (most recent call first):
/usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)
cmake/FindGTest.cmake:33 (find_package_handle_standard_args)
test/CMakeLists.txt:1 (find_package)

This error indicates a missing gtest. If you have it installed, please check both – gtest and gmock – are available. Btw. you can compile without tests, using the UNITTEST option (eg. cmake -DUNITTEST=OFF ..). This wont require gtest.

@offa
Copy link
Owner

offa commented Jan 17, 2020

@mcdviii were you able to resolve the issue?

@offa
Copy link
Owner

offa commented Jan 24, 2020

I assume this has been resolved. Please feel free to open if there's still an issue.

@offa offa closed this as completed Jan 24, 2020
@mcdviii
Copy link
Author

mcdviii commented Feb 15, 2020

Hello,

I had to pull qt5-styleplugins-git from the AUR because qt5-styleplugins from the Antergos repo had some problem with having a signature mismatch, or was corrupted. Regardless, it's working now after that package was added. So nice to have this functionality back after Fender ditched the FUSE app.

Thanks so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants