tizonia-openmax-il
tizonia-openmax-il copied to clipboard
"ninja: build stopped: subcommand failed"
FAILED: clients/chromecast/libtizchromecast/src/libtizchromecast.so.0.22.0.p/tizchromecast.cpp.o
c++ -Iclients/chromecast/libtizchromecast/src/libtizchromecast.so.0.22.0.p -Iclients/chromecast/libtizchromecast/src -I../clients/chromecast/libtizchromecast/src -I/usr/include -I/usr/include/python3.10 -I/home/stanislav/tizonia-all/src/tizonia-openmax-il-0.22.0/build -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -DHAVE_CONFIG_H -include/home/stanislav/tizonia-all/src/tizonia-openmax-il-0.22.0/build/config.h -DHAVE_LIBSPOTIFY -O2 -s -DNDEBUG -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC -pthread -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_THREAD_BUILD_DLL=1 -DBOOST_CHRONO_DYN_LINK=1 -DBOOST_THREAD_USE_DLL=1 -DBOOST_FILESYSTEM_DYN_LINK=1 -DBOOST_ALL_NO_LIB -MD -MQ clients/chromecast/libtizchromecast/src/libtizchromecast.so.0.22.0.p/tizchromecast.cpp.o -MF clients/chromecast/libtizchromecast/src/libtizchromecast.so.0.22.0.p/tizchromecast.cpp.o.d -o clients/chromecast/libtizchromecast/src/libtizchromecast.so.0.22.0.p/tizchromecast.cpp.o -c ../clients/chromecast/libtizchromecast/src/tizchromecast.cpp
../clients/chromecast/libtizchromecast/src/tizchromecast.cpp: In member function ‘tiz_chromecast_error_t tizchromecast::start()’:
../clients/chromecast/libtizchromecast/src/tizchromecast.cpp:108:63: error: ‘_1’ was not declared in this scope
108 | boost::bind (&tizchromecast::new_cast_status, this, _1, _2));
| ^~
../clients/chromecast/libtizchromecast/src/tizchromecast.cpp:108:63: note: suggested alternatives:
In file included from /usr/include/boost/mpl/aux_/include_preprocessed.hpp:37,
from /usr/include/boost/mpl/placeholders.hpp:43,
from /usr/include/boost/iterator/iterator_categories.hpp:16,
from /usr/include/boost/iterator/iterator_facade.hpp:13,
from /usr/include/boost/range/iterator_range_core.hpp:27,
from /usr/include/boost/lexical_cast.hpp:30,
from ../clients/chromecast/libtizchromecast/src/tizchromecast.cpp:35:
/usr/include/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp:29:16: note: ‘mpl_::_1’
29 | typedef arg<1> _1;
| ^~
In file included from /usr/include/c++/11.1.0/pstl/glue_algorithm_defs.h:13,
from /usr/include/c++/11.1.0/algorithm:74,
from /usr/include/boost/iterator/iterator_concepts.hpp:26,
from /usr/include/boost/range/concepts.hpp:20,
from /usr/include/boost/range/size_type.hpp:20,
from /usr/include/boost/range/size.hpp:21,
from /usr/include/boost/range/functions.hpp:20,
from /usr/include/boost/range/iterator_range_core.hpp:38,
from /usr/include/boost/lexical_cast.hpp:30,
from ../clients/chromecast/libtizchromecast/src/tizchromecast.cpp:35:
/usr/include/c++/11.1.0/functional:225:34: note: ‘std::placeholders::_1’
225 | extern const _Placeholder<1> _1;
| ^~
In file included from /usr/include/boost/mpl/aux_/include_preprocessed.hpp:37,
from /usr/include/boost/mpl/placeholders.hpp:43,
from /usr/include/boost/iterator/iterator_categories.hpp:16,
from /usr/include/boost/iterator/iterator_facade.hpp:13,
from /usr/include/boost/range/iterator_range_core.hpp:27,
from /usr/include/boost/lexical_cast.hpp:30,
from ../clients/chromecast/libtizchromecast/src/tizchromecast.cpp:35:
/usr/include/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp:29:16: note: ‘mpl_::_1’
29 | typedef arg<1> _1;
| ^~
In file included from /usr/include/boost/bind/bind.hpp:2336,
from /usr/include/boost/python/exception_translator.hpp:10,
from /usr/include/boost/python.hpp:28,
from ../clients/chromecast/libtizchromecast/src/tizchromecast.hpp:65,
from ../clients/chromecast/libtizchromecast/src/tizchromecast.cpp:38:
/usr/include/boost/bind/placeholders.hpp:46:38: note: ‘boost::placeholders::_1’
46 | BOOST_INLINE_CONSTEXPR boost::arg<1> _1;
| ^~
In file included from /usr/include/boost/mpl/aux_/include_preprocessed.hpp:37,
from /usr/include/boost/mpl/placeholders.hpp:43,
from /usr/include/boost/iterator/iterator_categories.hpp:16,
from /usr/include/boost/iterator/iterator_facade.hpp:13,
from /usr/include/boost/range/iterator_range_core.hpp:27,
from /usr/include/boost/lexical_cast.hpp:30,
from ../clients/chromecast/libtizchromecast/src/tizchromecast.cpp:35:
/usr/include/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp:29:16: note: ‘mpl_::_1’
29 | typedef arg<1> _1;
| ^~
../clients/chromecast/libtizchromecast/src/tizchromecast.cpp:108:67: error: ‘_2’ was not declared in this scope
108 | boost::bind (&tizchromecast::new_cast_status, this, _1, _2));
| ^~
../clients/chromecast/libtizchromecast/src/tizchromecast.cpp:108:67: note: suggested alternatives:
In file included from /usr/include/boost/mpl/aux_/include_preprocessed.hpp:37,
from /usr/include/boost/mpl/placeholders.hpp:43,
from /usr/include/boost/iterator/iterator_categories.hpp:16,
from /usr/include/boost/iterator/iterator_facade.hpp:13,
from /usr/include/boost/range/iterator_range_core.hpp:27,
from /usr/include/boost/lexical_cast.hpp:30,
from ../clients/chromecast/libtizchromecast/src/tizchromecast.cpp:35:
/usr/include/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp:42:16: note: ‘mpl_::_2’
42 | typedef arg<2> _2;
| ^~
In file included from /usr/include/c++/11.1.0/pstl/glue_algorithm_defs.h:13,
from /usr/include/c++/11.1.0/algorithm:74,
from /usr/include/boost/iterator/iterator_concepts.hpp:26,
from /usr/include/boost/range/concepts.hpp:20,
from /usr/include/boost/range/size_type.hpp:20,
from /usr/include/boost/range/size.hpp:21,
from /usr/include/boost/range/functions.hpp:20,
from /usr/include/boost/range/iterator_range_core.hpp:38,
from /usr/include/boost/lexical_cast.hpp:30,
from ../clients/chromecast/libtizchromecast/src/tizchromecast.cpp:35:
/usr/include/c++/11.1.0/functional:226:34: note: ‘std::placeholders::_2’
226 | extern const _Placeholder<2> _2;
| ^~
In file included from /usr/include/boost/mpl/aux_/include_preprocessed.hpp:37,
from /usr/include/boost/mpl/placeholders.hpp:43,
from /usr/include/boost/iterator/iterator_categories.hpp:16,
from /usr/include/boost/iterator/iterator_facade.hpp:13,
from /usr/include/boost/range/iterator_range_core.hpp:27,
from /usr/include/boost/lexical_cast.hpp:30,
from ../clients/chromecast/libtizchromecast/src/tizchromecast.cpp:35:
/usr/include/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp:42:16: note: ‘mpl_::_2’
42 | typedef arg<2> _2;
| ^~
In file included from /usr/include/boost/bind/bind.hpp:2336,
from /usr/include/boost/python/exception_translator.hpp:10,
from /usr/include/boost/python.hpp:28,
from ../clients/chromecast/libtizchromecast/src/tizchromecast.hpp:65,
from ../clients/chromecast/libtizchromecast/src/tizchromecast.cpp:38:
/usr/include/boost/bind/placeholders.hpp:47:38: note: ‘boost::placeholders::_2’
47 | BOOST_INLINE_CONSTEXPR boost::arg<2> _2;
| ^~
In file included from /usr/include/boost/mpl/aux_/include_preprocessed.hpp:37,
from /usr/include/boost/mpl/placeholders.hpp:43,
from /usr/include/boost/iterator/iterator_categories.hpp:16,
from /usr/include/boost/iterator/iterator_facade.hpp:13,
from /usr/include/boost/range/iterator_range_core.hpp:27,
from /usr/include/boost/lexical_cast.hpp:30,
from ../clients/chromecast/libtizchromecast/src/tizchromecast.cpp:35:
/usr/include/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp:42:16: note: ‘mpl_::_2’
42 | typedef arg<2> _2;
| ^~
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
Hello i'm using arch linux and same here. I have used both two commands below:
yay -S tizonia-all
yay -S tizonia-all-git
They both give the same error above. Waiting for the fix
This fixes the issue (unable to build), however a pull request should be created, arch package updated
$ grep -rl ", _1" . | xargs sed -i 's/, _1/, std::placeholders::_1/g'
$ grep -rl ", _2" . | xargs sed -i 's/, _2/, std::placeholders::_2/g'