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

does not build in Arch, please help #13

Open
7MS8 opened this issue May 16, 2023 · 0 comments
Open

does not build in Arch, please help #13

7MS8 opened this issue May 16, 2023 · 0 comments

Comments

@7MS8
Copy link

7MS8 commented May 16, 2023

==> Starting build()...
Submodule 'src/lib/qdocker' (https://github.com/Shadowsith/qdocker) registered for path 'src/lib/qdocker'
Cloning into '/home/z/.cache/yay/qpicospeaker-git/src/qpicospeaker/src/lib/qdocker'...
Submodule path 'src/lib/qdocker': checked out '0be78c3e34f7b344425f835e49792004a8652788'
Info: creating stash file /home/z/.cache/yay/qpicospeaker-git/src/build/.qmake.stash
/usr/bin/uic ../qpicospeaker/src/qpicospeaker.ui -o ui_qpicospeaker.h
/usr/bin/uic ../qpicospeaker/src/aboutinfo.ui -o ui_aboutinfo.h
/usr/bin/uic ../qpicospeaker/src/settings.ui -o ui_settings.h
g++ -c -pipe -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 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_MULTIMEDIA_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../qpicospeaker -I. -I/usr/include/qt -I/usr/include/qt/QtMultimedia -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I. -I. -I/usr/lib/qt/mkspecs/linux-g++ -o texttospeech.o ../qpicospeaker/src/texttospeech.cpp
g++ -c -pipe -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 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_MULTIMEDIA_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../qpicospeaker -I. -I/usr/include/qt -I/usr/include/qt/QtMultimedia -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I. -I. -I/usr/lib/qt/mkspecs/linux-g++ -o aboutinfo.o ../qpicospeaker/src/aboutinfo.cpp
../qpicospeaker/src/texttospeech.cpp: In member function ‘bool TextToSpeech::checkProgram(std::string)’:
../qpicospeaker/src/texttospeech.cpp:117:27: error: aggregate ‘std::array<char, 128> buffer’ has incomplete type and cannot be defined
117 | std::array<char, 128> buffer;
| ^~~~~~
../qpicospeaker/src/texttospeech.cpp: In member function ‘void TextToSpeech::recordFiles()’:
../qpicospeaker/src/texttospeech.cpp:80:20: warning: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
80 | std::system(_cmd.c_str());
| ~~~~~~~~~~~^~~~~~~~~~~~~~
../qpicospeaker/src/texttospeech.cpp: In member function ‘void TextToSpeech::clearTmp()’:
../qpicospeaker/src/texttospeech.cpp:142:16: warning: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
142 | std::system(_cmd.c_str());
| ~~~~~~~~~~~^~~~~~~~~~~~~~
../qpicospeaker/src/texttospeech.cpp: In member function ‘void TextToSpeech::createAudio()’:
../qpicospeaker/src/texttospeech.cpp:152:24: warning: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
152 | std::system(_cmd.c_str());
| ~~~~~~~~~~~^~~~~~~~~~~~~~
../qpicospeaker/src/texttospeech.cpp:158:24: warning: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
158 | std::system(_cmd.c_str());
| ~~~~~~~~~~~^~~~~~~~~~~~~~
../qpicospeaker/src/texttospeech.cpp: In member function ‘void TextToSpeech::setSpeedAndPitch()’:
../qpicospeaker/src/texttospeech.cpp:165:16: warning: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
165 | std::system(_cmd.c_str());
| ~~~~~~~~~~~^~~~~~~~~~~~~~
make: *** [Makefile:848: texttospeech.o] Error 1
make: *** Waiting for unfinished jobs....
==> ERROR: A failure occurred in build().
Aborting...
-> error making: qpicospeaker-git-exit status 4

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