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 value. Or, use the ... syntax
to tell CMake that the project requires at least but has been updated
to work with policies introduced by or earlier.
Build type = RelWithDebInfo
Add -Woverloaded-virtual
Add -Wall
Add -Wunreachable-code
Add -Wextra
Add -Wpedantic
Add -pthread
Add -Wno-old-style-cast
Add -fPIC
Compiling without Cotire
Build Sayonara
Will install to /usr
CMake Deprecation Warning at src/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument value. Or, use the ... syntax
to tell CMake that the project requires at least but has been updated
to work with policies introduced by or earlier.
Checking if backtrace symbol present
Compile with demangle
Lower cmake build type relwithdebinfo
Compiling without tests...
In order to change that, use -DWITH_TESTS=1
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_LD_FLAGS
WITH_SYSTEM_TAGLIB
In file included from /var/pisi/sayonara-1.10.0-13/work/sayonara-player-1.10.0-stable1/src/Components/Library/PlayActionEventHandler.cpp:20:
/var/pisi/sayonara-1.10.0-13/work/sayonara-player-1.10.0-stable1/src/Components/Library/PlayActionEventHandler.h:32:30: warning: elaborated-type-specifier for a scoped enum must not use the ‘class’ keyword
32 | enum class TrackSet :
| ~~~~ ^~~~~
| -----
/var/pisi/sayonara-1.10.0-13/work/sayonara-player-1.10.0-stable1/src/Components/Library/PlayActionEventHandler.h:32:36: error: use of enum ‘TrackSet’ without previous declaration
32 | enum class TrackSet :
| ^~~~~~~~
/var/pisi/sayonara-1.10.0-13/work/sayonara-player-1.10.0-stable1/src/Components/Library/PlayActionEventHandler.h:33:33: error: ‘uint8_t’ was not declared in this scope
33 | uint8_t
| ^~~~~~~
/var/pisi/sayonara-1.10.0-13/work/sayonara-player-1.10.0-stable1/src/Components/Library/PlayActionEventHandler.h:24:1: note: ‘uint8_t’ is defined in header ‘’; this is probably fixable by adding ‘#include ’
23 | #include
+++ |+#include
24 |
/var/pisi/sayonara-1.10.0-13/work/sayonara-player-1.10.0-stable1/src/Components/Library/PlayActionEventHandler.h:34:25: error: default member initializer for unnamed bit-field
34 | {
| ^
/var/pisi/sayonara-1.10.0-13/work/sayonara-player-1.10.0-stable1/src/Components/Library/PlayActionEventHandler.h:41:47: error: ‘TrackSet’ has not been declared
41 | virtual void playNext(TrackSet trackSet) = 0;
| ^~~~~~~~
/var/pisi/sayonara-1.10.0-13/work/sayonara-player-1.10.0-stable1/src/Components/Library/PlayActionEventHandler.h:42:45: error: ‘TrackSet’ has not been declared
42 | virtual void append(TrackSet trackSet) = 0;
| ^~~~~~~~
/var/pisi/sayonara-1.10.0-13/work/sayonara-player-1.10.0-stable1/src/Components/Library/PlayActionEventHandler.h:43:43: error: ‘TrackSet’ has not been declared
43 | virtual void play(TrackSet trackSet) = 0;
| ^~~~~~~~
/var/pisi/sayonara-1.10.0-13/work/sayonara-player-1.10.0-stable1/src/Components/Library/PlayActionEventHandler.h:44:51: error: ‘TrackSet’ has not been declared
44 | virtual void playInNewTab(TrackSet trackSet) = 0;
| ^~~~~~~~
/var/pisi/sayonara-1.10.0-13/work/sayonara-player-1.10.0-stable1/src/Components/Library/PlayActionEventHandler.cpp:37:45: error: ‘TrackSet’ does not name a type
37 | void playNext(const TrackSet trackSet) override
| ^~~~~~~~
/var/pisi/sayonara-1.10.0-13/work/sayonara-player-1.10.0-stable1/src/Components/Library/PlayActionEventHandler.cpp:42:43: error: ‘TrackSet’ does not name a type
42 | void append(const TrackSet trackSet) override
| ^~~~~~~~
/var/pisi/sayonara-1.10.0-13/work/sayonara-player-1.10.0-stable1/src/Components/Library/PlayActionEventHandler.cpp:47:41: error: ‘TrackSet’ does not name a type
47 | void play(const TrackSet trackSet) override
| ^~~~~~~~
/var/pisi/sayonara-1.10.0-13/work/sayonara-player-1.10.0-stable1/src/Components/Library/PlayActionEventHandler.cpp:52:49: error: ‘TrackSet’ does not name a type
52 | void playInNewTab(const TrackSet trackSet) override
| ^~~~~~~~
/var/pisi/sayonara-1.10.0-13/work/sayonara-player-1.10.0-stable1/src/Components/Library/PlayActionEventHandler.cpp:58:77: error: ‘TrackSet’ does not name a type
58 | [[nodiscard]] const MetaDataList& fetchTracks(const TrackSet trackSet) const
| ^~~~~~~~
/var/pisi/sayonara-1.10.0-13/work/sayonara-player-1.10.0-stable1/src/Components/Library/PlayActionEventHandler.cpp: In member function ‘const MetaDataList& {anonymous}::PlayActionEventHandlerImpl::fetchTracks(int) const’:
/var/pisi/sayonara-1.10.0-13/work/sayonara-player-1.10.0-stable1/src/Components/Library/PlayActionEventHandler.cpp:60:53: error: ‘TrackSet’ has not been declared
60 | return (trackSet == TrackSet::All)
| ^~~~~~~~
make[2]: *** [src/Components/CMakeFiles/sayonara_components.dir/build.make:1135: src/Components/CMakeFiles/sayonara_components.dir/Library/PlayActionEventHandler.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:671: src/Components/CMakeFiles/sayonara_components.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
Traceback (most recent call last):
File "/var/pisi/sayonara/actions.py", line 15, in build
cmaketools.make()
File "/usr/lib/pisilinux/pisi/actionsapi/cmaketools.py", line 77, in make
if system(command):
File "/usr/lib/pisilinux/pisi/actionsapi/shelltools.py", line 255, in system
error(_("Command \"%s\" failed, return value was %d.") % (command, retValue))
File "/usr/lib/pisilinux/pisi/actionsapi/__init__.py", line 27, in error
raise Error(msg)
pisi.actionsapi.Error: Command "make -j5" failed, return value was 2.
[01;31mAction script error caught.
[0m[01;33m*** 1 error(s), 0 warning(s)
[0m[01;31mProgram terminated.
[0m