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

Having issues compiling libcutefish #27

Open
ryzendew opened this issue Feb 23, 2022 · 0 comments
Open

Having issues compiling libcutefish #27

ryzendew opened this issue Feb 23, 2022 · 0 comments

Comments

@ryzendew
Copy link

-- The C compiler identification is GNU 11.2.0
-- The CXX compiler identification is GNU 11.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- qml directory:/usr/lib/qt/qml
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.0") 
-- Checking for one of the modules 'libnm>=1.4.0'
-- Checking for one of the modules 'gio-2.0'
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Found X11: /usr/include   
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found Canberra: /usr/lib/libcanberra.so (found version "0.30") 
-- Found CanberraPulse: /usr/lib/libcanberra-0.30/libcanberra-pulse.so  
CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
  The package name passed to `find_package_handle_standard_args`                                                                                                                               
  (SoundThemeFreeDesktop) does not match the name of the calling package                                                                                                                       
  (SoundThemeFreedesktop).  This can lead to problems in calling code that                                                                                                                     
  expects `find_package` result variables (e.g., `_FOUND`) to follow a                                                                                                                         
  certain pattern.                                                                                                                                                                             
Call Stack (most recent call first):                                                                                                                                                           
  cmake/FindSoundThemeFreedesktop.cmake:17 (find_package_handle_standard_args)                                                                                                                 
  audio/CMakeLists.txt:57 (find_package)                                                                                                                                                       
This warning is for project developers.  Use -Wno-dev to suppress it.                                                                                                                          
                                                                                                                                                                                               
-- Found SoundThemeFreeDesktop: /usr/share/sounds/freedesktop/index.theme  
-- Checking for module 'libpulse'
--   Found libpulse, version 15.0
-- Checking for module 'libpulse-mainloop-glib'
--   Found libpulse-mainloop-glib, version 15.0
-- Configuring done
-- Generating done
-- Build files have been written to: /home/matt/.cache/yay/libcutefish-git/src/libcutefish
[65/104] Building CXX object screen/CMakeFiles/cutefishscreen_qmlplugins.dir/outputmodel.cpp.o
FAILED: screen/CMakeFiles/cutefishscreen_qmlplugins.dir/outputmodel.cpp.o 
/usr/bin/c++ -DKCOREADDONS_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_SENSORS_LIB -DQT_TESTCASE_BUILDDIR=\"/home/matt/.cache/yay/libcutefish-git/src/libcutefish\" -DQT_TESTLIB_LIB -Dcutefishscreen_qmlplugins_EXPORTS -I/home/matt/.cache/yay/libcutefish-git/src/libcutefish/screen -I/home/matt/.cache/yay/libcutefish-git/src/libcutefish/screen/cutefishscreen_qmlplugins_autogen/include -isystem /usr/include/qt -isystem /usr/include/qt/QtCore -isystem /usr/lib/qt/mkspecs/linux-g++ -isystem /usr/include/qt/QtQuick -isystem /usr/include/qt/QtQmlModels -isystem /usr/include/qt/QtQml -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtDBus -isystem /usr/include/qt/QtSensors -isystem /usr/include/qt/QtTest -isystem /usr/include/KF5/KScreen -isystem /usr/include/KF5/KIOCore -isystem /usr/include/KF5/KIO -isystem /usr/include/KF5 -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/KF5/KService -isystem /usr/include/KF5/KConfig -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/qt/QtConcurrent -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fPIC -fPIC -std=gnu++14 -MD -MT screen/CMakeFiles/cutefishscreen_qmlplugins.dir/outputmodel.cpp.o -MF screen/CMakeFiles/cutefishscreen_qmlplugins.dir/outputmodel.cpp.o.d -o screen/CMakeFiles/cutefishscreen_qmlplugins.dir/outputmodel.cpp.o -c /home/matt/.cache/yay/libcutefish-git/src/libcutefish/screen/outputmodel.cpp
/home/matt/.cache/yay/libcutefish-git/src/libcutefish/screen/outputmodel.cpp: In member function ‘bool OutputModel::setReplicationSourceIndex(int, int)’:
/home/matt/.cache/yay/libcutefish-git/src/libcutefish/screen/outputmodel.cpp:606:21: error: ‘class KScreen::Output’ has no member named ‘setLogicalSize’
  606 |         output.ptr->setLogicalSize(QSizeF());
      |                     ^~~~~~~~~~~~~~
/home/matt/.cache/yay/libcutefish-git/src/libcutefish/screen/outputmodel.cpp:617:21: error: ‘class KScreen::Output’ has no member named ‘setLogicalSize’
  617 |         output.ptr->setLogicalSize(source->logicalSize());
      |                     ^~~~~~~~~~~~~~
/home/matt/.cache/yay/libcutefish-git/src/libcutefish/screen/outputmodel.cpp:617:44: error: ‘class KScreen::Output’ has no member named ‘logicalSize’
  617 |         output.ptr->setLogicalSize(source->logicalSize());
      |                                            ^~~~~~~~~~~
[69/104] Building CXX object screen/CMakeFiles/cutefishscreen_qmlplugins.dir/screen.cpp.o
/home/matt/.cache/yay/libcutefish-git/src/libcutefish/screen/screen.cpp: In constructor ‘Screen::Screen(QObject*)’:
/home/matt/.cache/yay/libcutefish-git/src/libcutefish/screen/screen.cpp:12:33: warning: ‘int qmlRegisterType() [with T = OutputModel]’ is deprecated: Use qmlRegisterAnonymousType instead [-Wdeprecated-declarations]
   12 |     qmlRegisterType<OutputModel>();
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/qt/QtQml/qqmlengine.h:47,
                 from /usr/include/qt/QtQml/QQmlEngine:1,
                 from /home/matt/.cache/yay/libcutefish-git/src/libcutefish/screen/screen.cpp:7:
/usr/include/qt/QtQml/qqml.h:183:74: note: declared here
  183 | QT_DEPRECATED_VERSION_X_5_14("Use qmlRegisterAnonymousType instead") int qmlRegisterType()
      |                                                                          ^~~~~~~~~~~~~~~
[82/104] Building CXX object audio/CMakeFiles/cutefishaudio_qmlplugins.dir/context.cpp.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: libcutefish-git
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

1 participant