You are not logged in.

#1 2025-07-30 00:27:40

korimitsu
Member
Registered: 2016-08-14
Posts: 191

mcontrolcenter-cli-git fails to build

Log

$ paru -S mcontrolcenter-cli-git
:: Resolving dependencies...
:: Calculating conflicts...
:: Calculating inner conflicts...

:: Conflicts found:
    mcontrolcenter-cli-git: mcontrolcenter-bin (mcontrolcenter)  mcontrolcenter-bin (mcontrolcenter)  

:: Conflicting packages will have to be confirmed manually

Aur (1) mcontrolcenter-cli-git-r274.213d564-1

:: Proceed to review? [Y/n]: 

:: Downloading PKGBUILDs...
 PKGBUILDs up to date
 nothing new to review
fetching devel info...
==> Making package: mcontrolcenter-cli-git r274.213d564-1 (Wed 30 Jul 2025 02:24:36 AM PDT)
==> Retrieving sources...
  -> Updating MControlCenter git repo...
==> Validating source files with md5sums...
    MControlCenter ... Skipped
==> Making package: mcontrolcenter-cli-git r274.213d564-1 (Wed 30 Jul 2025 02:24:37 AM PDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating MControlCenter git repo...
==> Validating source files with md5sums...
    MControlCenter ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of MControlCenter git repo...
Cloning into 'MControlCenter'...
done.
==> Starting prepare()...
==> Starting pkgver()...
==> Updated version: mcontrolcenter-cli-git r310.68ff8c3-1
==> Sources are ready.
mcontrolcenter-cli-git-r274.213d564-1: parsing pkg list...
==> Making package: mcontrolcenter-cli-git r310.68ff8c3-1 (Wed 30 Jul 2025 02:24:39 AM PDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.


-- The CXX compiler identification is GNU 15.1.1
-- 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
Scanning directory '/home/dng/.cache/paru/clone/mcontrolcenter-cli-git/src/MControlCenter'...
Updating 'src/i18n/MControlCenter_de_DE.ts'...
    Found 65 source text(s) (0 new and 65 already existing)
Updating '/home/dng/.cache/paru/clone/mcontrolcenter-cli-git/src/MControlCenter/src/i18n/MControlCenter_de_DE.qm'...
    Generated 65 translation(s) (65 finished and 0 unfinished)
Scanning directory '/home/dng/.cache/paru/clone/mcontrolcenter-cli-git/src/MControlCenter'...
Updating 'src/i18n/MControlCenter_en.ts'...
    Found 65 source text(s) (0 new and 65 already existing)
Updating '/home/dng/.cache/paru/clone/mcontrolcenter-cli-git/src/MControlCenter/src/i18n/MControlCenter_en.qm'...
    Generated 0 translation(s) (0 finished and 0 unfinished)
    Ignored 65 untranslated source text(s)
Scanning directory '/home/dng/.cache/paru/clone/mcontrolcenter-cli-git/src/MControlCenter'...
Updating 'src/i18n/MControlCenter_es.ts'...
    Found 65 source text(s) (0 new and 65 already existing)
Updating '/home/dng/.cache/paru/clone/mcontrolcenter-cli-git/src/MControlCenter/src/i18n/MControlCenter_es.qm'...
    Generated 65 translation(s) (65 finished and 0 unfinished)
Scanning directory '/home/dng/.cache/paru/clone/mcontrolcenter-cli-git/src/MControlCenter'...
Updating 'src/i18n/MControlCenter_fr.ts'...
    Found 65 source text(s) (0 new and 65 already existing)
Updating '/home/dng/.cache/paru/clone/mcontrolcenter-cli-git/src/MControlCenter/src/i18n/MControlCenter_fr.qm'...
    Generated 65 translation(s) (65 finished and 0 unfinished)
Scanning directory '/home/dng/.cache/paru/clone/mcontrolcenter-cli-git/src/MControlCenter'...
Updating 'src/i18n/MControlCenter_hu.ts'...
    Found 65 source text(s) (0 new and 65 already existing)
Updating '/home/dng/.cache/paru/clone/mcontrolcenter-cli-git/src/MControlCenter/src/i18n/MControlCenter_hu.qm'...
    Generated 65 translation(s) (65 finished and 0 unfinished)
Scanning directory '/home/dng/.cache/paru/clone/mcontrolcenter-cli-git/src/MControlCenter'...
Updating 'src/i18n/MControlCenter_it.ts'...
    Found 65 source text(s) (0 new and 65 already existing)
Updating '/home/dng/.cache/paru/clone/mcontrolcenter-cli-git/src/MControlCenter/src/i18n/MControlCenter_it.qm'...
    Generated 65 translation(s) (65 finished and 0 unfinished)
Scanning directory '/home/dng/.cache/paru/clone/mcontrolcenter-cli-git/src/MControlCenter'...
Updating 'src/i18n/MControlCenter_nb.ts'...
    Found 65 source text(s) (0 new and 65 already existing)
Updating '/home/dng/.cache/paru/clone/mcontrolcenter-cli-git/src/MControlCenter/src/i18n/MControlCenter_nb.qm'...
    Generated 65 translation(s) (65 finished and 0 unfinished)
Scanning directory '/home/dng/.cache/paru/clone/mcontrolcenter-cli-git/src/MControlCenter'...
Updating 'src/i18n/MControlCenter_pt_BR.ts'...
    Found 65 source text(s) (0 new and 65 already existing)
Updating '/home/dng/.cache/paru/clone/mcontrolcenter-cli-git/src/MControlCenter/src/i18n/MControlCenter_pt_BR.qm'...
    Generated 65 translation(s) (65 finished and 0 unfinished)
Scanning directory '/home/dng/.cache/paru/clone/mcontrolcenter-cli-git/src/MControlCenter'...
Updating 'src/i18n/MControlCenter_pt_PT.ts'...
    Found 65 source text(s) (0 new and 65 already existing)
Updating '/home/dng/.cache/paru/clone/mcontrolcenter-cli-git/src/MControlCenter/src/i18n/MControlCenter_pt_PT.qm'...
    Generated 65 translation(s) (65 finished and 0 unfinished)
Scanning directory '/home/dng/.cache/paru/clone/mcontrolcenter-cli-git/src/MControlCenter'...
Updating 'src/i18n/MControlCenter_ru.ts'...
    Found 65 source text(s) (0 new and 65 already existing)
Updating '/home/dng/.cache/paru/clone/mcontrolcenter-cli-git/src/MControlCenter/src/i18n/MControlCenter_ru.qm'...
    Generated 65 translation(s) (65 finished and 0 unfinished)
Scanning directory '/home/dng/.cache/paru/clone/mcontrolcenter-cli-git/src/MControlCenter'...
Updating 'src/i18n/MControlCenter_tr.ts'...
    Found 65 source text(s) (0 new and 65 already existing)
Updating '/home/dng/.cache/paru/clone/mcontrolcenter-cli-git/src/MControlCenter/src/i18n/MControlCenter_tr.qm'...
    Generated 54 translation(s) (50 finished and 4 unfinished)
    Ignored 11 untranslated source text(s)
Scanning directory '/home/dng/.cache/paru/clone/mcontrolcenter-cli-git/src/MControlCenter'...
Updating 'src/i18n/MControlCenter_zh_CN.ts'...
    Found 65 source text(s) (0 new and 65 already existing)
Updating '/home/dng/.cache/paru/clone/mcontrolcenter-cli-git/src/MControlCenter/src/i18n/MControlCenter_zh_CN.qm'...
    Generated 65 translation(s) (65 finished and 0 unfinished)
-- Configuring done (0.4s)
-- Generating done (0.0s)
-- Build files have been written to: /home/dng/.cache/paru/clone/mcontrolcenter-cli-git/src/MControlCenter/build
make: Entering directory '/home/dng/.cache/paru/clone/mcontrolcenter-cli-git/src/MControlCenter/build'
[  0%] Built target mcontrolcenter_autogen_timestamp_deps
[  0%] Built target mcontrolcenter-helper_autogen_timestamp_deps
[  4%] Automatic MOC and UIC for target mcontrolcenter
[  9%] Automatic MOC and UIC for target mcontrolcenter-helper
[  9%] Built target mcontrolcenter-helper_autogen
[ 28%] Building CXX object helper/CMakeFiles/mcontrolcenter-helper.dir/readwrite.cpp.o
[ 28%] Building CXX object helper/CMakeFiles/mcontrolcenter-helper.dir/helper.cpp.o
[ 28%] Building CXX object helper/CMakeFiles/mcontrolcenter-helper.dir/msi-ec.cpp.o
[ 28%] Building CXX object helper/CMakeFiles/mcontrolcenter-helper.dir/mcontrolcenter-helper_autogen/mocs_compilation.cpp.o
[ 28%] Built target mcontrolcenter_autogen
[ 33%] Automatic RCC for src/resources.qrc
[ 38%] Building CXX object CMakeFiles/mcontrolcenter.dir/src/helper.cpp.o
[ 42%] Building CXX object CMakeFiles/mcontrolcenter.dir/mcontrolcenter_autogen/UVLADIE3JM/qrc_resources.cpp.o
[ 71%] Building CXX object CMakeFiles/mcontrolcenter.dir/mcontrolcenter_autogen/mocs_compilation.cpp.o
[ 71%] Building CXX object CMakeFiles/mcontrolcenter.dir/src/main.cpp.o
[ 71%] Building CXX object CMakeFiles/mcontrolcenter.dir/src/settings.cpp.o
[ 71%] Building CXX object CMakeFiles/mcontrolcenter.dir/src/msi-ec_helper.cpp.o
[ 71%] Building CXX object CMakeFiles/mcontrolcenter.dir/src/operate.cpp.o
[ 71%] Building CXX object CMakeFiles/mcontrolcenter.dir/src/mainwindow.cpp.o
[ 76%] Building CXX object CMakeFiles/mcontrolcenter.dir/src/cli.cpp.o
[ 80%] Building CXX object CMakeFiles/mcontrolcenter.dir/src/options.cpp.o
/home/dng/.cache/paru/clone/mcontrolcenter-cli-git/src/MControlCenter/src/cli.cpp: In member function ‘void CLI::setCoolerBoost(Options::State)’:
/home/dng/.cache/paru/clone/mcontrolcenter-cli-git/src/MControlCenter/src/cli.cpp:56:29: warning: ignoring return value of ‘bool Operate::updateEcData() const’, declared with attribute ‘nodiscard’ [-Wunused-result]
   56 |         operate.updateEcData();
      |         ~~~~~~~~~~~~~~~~~~~~^~
In file included from /home/dng/.cache/paru/clone/mcontrolcenter-cli-git/src/MControlCenter/src/cli.cpp:20:
/home/dng/.cache/paru/clone/mcontrolcenter-cli-git/src/MControlCenter/src/operate.h:65:24: note: declared here
   65 |     [[nodiscard]] bool updateEcData() const;
      |                        ^~~~~~~~~~~~
[ 85%] Linking CXX executable mcontrolcenter-helper
/home/dng/.cache/paru/clone/mcontrolcenter-cli-git/src/MControlCenter/src/main.cpp: In lambda function:
/home/dng/.cache/paru/clone/mcontrolcenter-cli-git/src/MControlCenter/src/main.cpp:83:21: error: ‘strcmp’ is not a member of ‘std’; did you mean ‘strcmp’?
   83 |             if(std::strcmp(data.data(), "show") == 0){
      |                     ^~~~~~
In file included from /usr/include/qt/QtCore/qarraydata.h:44,
                 from /usr/include/qt/QtCore/qbytearray.h:46,
                 from /usr/include/qt/QtCore/qstring.h:50,
                 from /usr/include/qt/QtCore/qobject.h:47,
                 from /usr/include/qt/QtWidgets/qwidget.h:45,
                 from /usr/include/qt/QtWidgets/qmainwindow.h:44,
                 from /usr/include/qt/QtWidgets/QMainWindow:1,
                 from /home/dng/.cache/paru/clone/mcontrolcenter-cli-git/src/MControlCenter/src/mainwindow.h:22,
                 from /home/dng/.cache/paru/clone/mcontrolcenter-cli-git/src/MControlCenter/src/main.cpp:19:
/usr/include/string.h:156:12: note: ‘strcmp’ declared here
  156 | extern int strcmp (const char *__s1, const char *__s2)
      |            ^~~~~~
/home/dng/.cache/paru/clone/mcontrolcenter-cli-git/src/MControlCenter/src/main.cpp:86:26: error: ‘strcmp’ is not a member of ‘std’; did you mean ‘strcmp’?
   86 |             else if(std::strcmp(data.data(), "update") == 0){
      |                          ^~~~~~
/usr/include/string.h:156:12: note: ‘strcmp’ declared here
  156 | extern int strcmp (const char *__s1, const char *__s2)
      |            ^~~~~~
/home/dng/.cache/paru/clone/mcontrolcenter-cli-git/src/MControlCenter/src/mainwindow.cpp: In member function ‘void MainWindow::updateData()’:
/home/dng/.cache/paru/clone/mcontrolcenter-cli-git/src/MControlCenter/src/mainwindow.cpp:215:28: warning: ignoring return value of ‘bool Operate::doProbe() const’, declared with attribute ‘nodiscard’ [-Wunused-result]
  215 |             operate.doProbe();
      |             ~~~~~~~~~~~~~~~^~
In file included from /home/dng/.cache/paru/clone/mcontrolcenter-cli-git/src/MControlCenter/src/mainwindow.cpp:21:
/home/dng/.cache/paru/clone/mcontrolcenter-cli-git/src/MControlCenter/src/operate.h:67:24: note: declared here
   67 |     [[nodiscard]] bool doProbe() const;
      |                        ^~~~~~~
make[2]: *** [CMakeFiles/mcontrolcenter.dir/build.make:120: CMakeFiles/mcontrolcenter.dir/src/main.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 90%] Built target mcontrolcenter-helper
make[1]: *** [CMakeFiles/Makefile2:114: CMakeFiles/mcontrolcenter.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
make: Leaving directory '/home/dng/.cache/paru/clone/mcontrolcenter-cli-git/src/MControlCenter/build'
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'mcontrolcenter-cli-git-r274.213d564-1': 
error: packages failed to build: mcontrolcenter-cli-git-r274.213d564-1

Offline

#2 2025-07-30 01:12:55

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,354

Re: mcontrolcenter-cli-git fails to build

Offline

Board footer

Powered by FluxBB