Package Details: tizonia-all-git 0.22.0+28.r3903.20210110.a1e8f8bd-8

Git Clone URL: https://aur.archlinux.org/tizonia-all-git.git (read-only, click to copy)
Package Base: tizonia-all-git
Description: Command-line cloud music player and downloader for Linux with support for YouTube, SoundCloud, Plex servers, Chromecast devices and generic streams and websites.
Upstream URL: https://www.tizonia.org
Licenses: LGPL-3.0-or-later
Conflicts: tizonia, tizonia-all, tizonia-bash-completions, tizonia-zsh-completions
Provides: tizonia, tizonia-all, tizonia-bash-completions, tizonia-zsh-completions
Submitter: juanrubio
Maintainer: dreieck
Last Packager: dreieck
Votes: 3
Popularity: 0.000000
First Submitted: 2017-08-26 22:13 (UTC)
Last Updated: 2024-04-28 11:32 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

dreieck commented on 2022-10-16 18:36 (UTC) (edited on 2022-10-16 18:36 (UTC) by dreieck)

Ahoj,

why does this need to depend explicitly on the -git variants of the packages python-soundcloud and python-pychromecast? If this is not strictly necessary, please change the dependencies on python-soundcloud-git and python-pychromecast-git to python-soundcloud and python-pychromecast, so the user can choose which variant to install in order to satisfy the dependencies (the -git variants should provide the generic variant via the provides array; if not, file an issue there).

Regards!

dreieck commented on 2022-10-16 17:59 (UTC)

Ahoj,

I need to apply → this patch to make the build succeed, otherwise I get the following error:

[96/342] ccache c++ -Iclients/chromecast/libtizchromecast/src/libtizchromecast.so.0.22.0.p -Iclients/chromecast/libtizchromecast/src -I../tizonia-all-git/clients/chromecast/libtizchromecast/src -I/usr/include -I/usr/include/python3.10 -I/[...]/src/build -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -O0 -DHAVE_CONFIG_H -include/[...]/src/build/config.h -DHAVE_LIBSPOTIFY -g0 -march=x86-64 -mtune=native -O3 -flto -ffat-lto-objects -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fomit-frame-pointer -fPIC -fpermissive -fPIC -pthread -DBOOST_CHRONO_DYN_LINK=1 -DBOOST_FILESYSTEM_DYN_LINK=1 -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_THREAD_BUILD_DLL=1 -DBOOST_THREAD_USE_DLL=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 ../tizonia-all-git/clients/chromecast/libtizchromecast/src/tizchromecast.cpp
samu: job failed: ccache c++ -Iclients/chromecast/libtizchromecast/src/libtizchromecast.so.0.22.0.p -Iclients/chromecast/libtizchromecast/src -I../tizonia-all-git/clients/chromecast/libtizchromecast/src -I/usr/include -I/usr/include/python3.10 -I/[...]/src/build -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -O0 -DHAVE_CONFIG_H -include/[...]/src/build/config.h -DHAVE_LIBSPOTIFY -g0 -march=x86-64 -mtune=native -O3 -flto -ffat-lto-objects -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fomit-frame-pointer -fPIC -fpermissive -fPIC -pthread -DBOOST_CHRONO_DYN_LINK=1 -DBOOST_FILESYSTEM_DYN_LINK=1 -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_THREAD_BUILD_DLL=1 -DBOOST_THREAD_USE_DLL=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 ../tizonia-all-git/clients/chromecast/libtizchromecast/src/tizchromecast.cpp
../tizonia-all-git/clients/chromecast/libtizchromecast/src/tizchromecast.cpp: In member function ‘tiz_chromecast_error_t tizchromecast::start()’:
../tizonia-all-git/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));
      |                                                               ^~
../tizonia-all-git/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 ../tizonia-all-git/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/numeric/conversion/converter_policies.hpp:13,
                 from /usr/include/boost/numeric/conversion/converter.hpp:14,
                 from /usr/include/boost/numeric/conversion/cast.hpp:33,
                 from /usr/include/boost/lexical_cast/detail/converter_numeric.hpp:36,
                 from /usr/include/boost/lexical_cast/try_lexical_convert.hpp:43,
                 from /usr/include/boost/lexical_cast.hpp:32:
/usr/include/c++/12.2.0/functional:285:34: note:   ‘std::placeholders::_1’
  285 |     extern const _Placeholder<1> _1;
      |                                  ^~
/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 ../tizonia-all-git/clients/chromecast/libtizchromecast/src/tizchromecast.hpp:65,
                 from ../tizonia-all-git/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;
      |                                      ^~
/usr/include/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp:29:16: note:   ‘mpl_::_1’
   29 | typedef arg<1> _1;
      |                ^~
../tizonia-all-git/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));
      |                                                                   ^~
../tizonia-all-git/clients/chromecast/libtizchromecast/src/tizchromecast.cpp:108:67: note: suggested alternatives:
/usr/include/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp:42:16: note:   ‘mpl_::_2’
   42 | typedef arg<2> _2;
      |                ^~
/usr/include/c++/12.2.0/functional:286:34: note:   ‘std::placeholders::_2’
  286 |     extern const _Placeholder<2> _2;
      |                                  ^~
/usr/include/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp:42:16: note:   ‘mpl_::_2’
   42 | typedef arg<2> _2;
      |                ^~
/usr/include/boost/bind/placeholders.hpp:47:38: note:   ‘boost::placeholders::_2’
   47 | BOOST_INLINE_CONSTEXPR boost::arg<2> _2;
      |                                      ^~
/usr/include/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp:42:16: note:   ‘mpl_::_2’
   42 | typedef arg<2> _2;
      |                ^~
samu: subcommand failed

There is a fix: In
clients/chromecast/libtizchromecast/src/tizchromecast.cpp, both appearances of
boost::bind (&tizchromecast::new_cast_status, this, _1, _2)); need to be changed to
boost::bind (&tizchromecast::new_cast_status, this, boost::placeholders::_1, boost::placeholders::_2));, see this patch.

Steps to Reproduce

Build tizonia on Arch Linux from this recipe from the latest git clone with

CFLAGS='-O2 -s -DNDEBUG' \
CXXFLAGS='-O2 -s -DNDEBUG -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security' \
export SAMUFLAGS=-j1
arch-meson tizonia-all-git build
samu -v -C build

See → this upstream issue.

Consider adding this patch to the PKGBUILD until upstream fixes the issue (which I expect will not happen soon).

→ Here is a patch for the PKGBUILD:

--- PKGBUILD.org    2022-10-16 19:57:38.129848003 +0200
+++ PKGBUILD    2022-10-16 19:57:40.239847937 +0200
@@ -47,4 +47,10 @@
 options=()
-source=("${pkgname}"::git+https://github.com/tizonia/${_githubname}.git)
-sha256sums=('SKIP')
+source=(
+  "${pkgname}"::git+https://github.com/tizonia/${_githubname}.git
+  "fix_chromecast_placeholders_error.patch::https://github.com/tizonia/tizonia-openmax-il/files/9795320/fix_chromecast_placeholders_error.patch.txt"
+)
+sha256sums=(
+  'SKIP'
+  '8b538221bb0bf0d068a8502fc3bd9e2d6cea1fc9311a32d93e5aec13db646eea'
+)

@@ -67,6 +73,13 @@

+prepare() {
+  cd "$pkgname"
+  patch -N -p1 --follow-symlinks -i "${srcdir}/fix_chromecast_placeholders_error.patch"
+}
+
 build() {
-        CFLAGS='-O2 -s -DNDEBUG' \
-        CXXFLAGS='-O2 -s -DNDEBUG -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security' \
-        export SAMUFLAGS=-j4
+        CFLAGS+=' -s -DNDEBUG'
+        CXXFLAGS+=' -s -DNDEBUG'
+        export CFLAGS
+        export CXXFLAGS
+        export SAMUFLAGS=-j1
         arch-meson "$pkgname" build

Regards!

dreieck commented on 2022-10-16 17:21 (UTC)

I want to remind again to change -j4 to -j1 due to likely out-of-memory (I have 8 GiB of RAM and get out of memory with -j4):

--- PKGBUILD.org    2022-10-16 19:19:10.789920178 +0200
+++ PKGBUILD    2022-10-16 19:20:42.149917320 +0200
@@ -71 +71 @@
-        export SAMUFLAGS=-j4
+        export SAMUFLAGS=-j1

sogens666 commented on 2021-12-18 12:31 (UTC)

this install fine but when i go to launch it i get this error:

fish: Job 1, 'tizonia --spotify-recommendatio…' terminated by signal SIGSEGV (Address boundary error)

dreieck commented on 2021-12-18 11:42 (UTC)

I suggest to change -j4 to -j1. Reason: Some build commands take several GiB(!!) of RAM, and disabling parallel build at least guarantuees that at most one of this jobs is run in parallel, lowering the chance of out-of-memory-kill.

dreieck commented on 2021-12-18 09:37 (UTC) (edited on 2021-12-18 09:40 (UTC) by dreieck)

Hey, thanks for the package. (Currently it segfaults at least on spotify, that I want to report upstream.)

Can you please add "tizonia=${pkgver}" to the provides array, and also =${pkgver} to the tizonia-all entry in the provides array? And tizonia to the conflicts array?

dreieck commented on 2021-11-15 16:05 (UTC)

Fails to build for me with samu: job failed:

[...]
samu: job failed: ccache c++ -Iplayer/src/tizonia.p -Iplayer/src -I../tizonia-all-git/player/src -I../tizonia-all-git/player/src/services -I../tizonia-all-git/player/src/services/googlemusic -I../tizonia-all-git/player/src/services/soundcloud -I../tizonia-all-git/player/src/services/youtube -I../tizonia-all-git/player/src/services/plex -I../tizonia-all-git/player/src/services/tunein -I../tizonia-all-git/player/src/services/iheart -Iinclude/omxil-1.2 -I../tizonia-all-git/include/omxil-1.2 -I../tizonia-all-git/3rdparty/dbus-cplusplus/include -Ilibtizplatform/src -I../tizonia-all-git/libtizplatform/src -Iplayer/dbus -I/usr/include/taglib -I/usr/include/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include -I/usr/include/python3.9 -I/[...]/tizonia-all-git/src/build -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -DHAVE_CONFIG_H -include/[...]/tizonia-all-git/src/build/config.h -DHAVE_LIBSPOTIFY -g0 -march=x86-64 -mtune=native -O3 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fomit-frame-pointer -fPIC -fpermissive -fPIE -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 -DUNICODE -DSIZE_T_IS_LONG -DDBUS_API_SUBJECT_TO_CHANGE -MD -MQ player/src/tizonia.p/services_youtube_tizyoutubegraphfsm.cpp.o -MF player/src/tizonia.p/services_youtube_tizyoutubegraphfsm.cpp.o.d -o player/src/tizonia.p/services_youtube_tizyoutubegraphfsm.cpp.o -c ../tizonia-all-git/player/src/services/youtube/tizyoutubegraphfsm.cpp
In file included from ../tizonia-all-git/player/src/tizprobe.hpp:35,
                 from ../tizonia-all-git/player/src/tizgraphops.hpp:43,
                 from ../tizonia-all-git/player/src/services/youtube/tizyoutubegraphfsm.hpp:47,
                 from ../tizonia-all-git/player/src/services/youtube/tizyoutubegraphfsm.cpp:32:
/usr/include/taglib/fileref.h:92:25: warning: ‘class TagLib::FileRef::FileTypeResolver’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor]
   92 |     class TAGLIB_EXPORT FileTypeResolver
      |                         ^~~~~~~~~~~~~~~~
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
In file included from ../tizonia-all-git/player/src/tizprobe.hpp:35,
                 from ../tizonia-all-git/player/src/tizgraphops.hpp:43,
                 from ../tizonia-all-git/player/src/services/soundcloud/tizscloudgraph.hpp:33,
                 from ../tizonia-all-git/player/src/services/soundcloud/tizscloudmgr.cpp:40:
/usr/include/taglib/fileref.h:92:25: warning: ‘class TagLib::FileRef::FileTypeResolver’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor]
   92 |     class TAGLIB_EXPORT FileTypeResolver
      |                         ^~~~~~~~~~~~~~~~
In file included from ../tizonia-all-git/player/src/tizprobe.hpp:35,
                 from ../tizonia-all-git/player/src/tizgraphops.hpp:43,
                 from ../tizonia-all-git/player/src/services/youtube/tizyoutubegraph.cpp:58:
/usr/include/taglib/fileref.h:92:25: warning: ‘class TagLib::FileRef::FileTypeResolver’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor]
   92 |     class TAGLIB_EXPORT FileTypeResolver
      |                         ^~~~~~~~~~~~~~~~
samu: subcommand failed

Note: The stable variant, tizonia-all, does build for me after applying this fix by @yannleretaille from 2021-02-27. That fix seems obsolete for tizonia-all-git.

juanrubio commented on 2019-12-17 22:33 (UTC)

Hi @SolarAquarion

I have an updated version of 'tizonia-all-git' PGKBUILD. Please have a look:

https://github.com/tizonia/tizonia-openmax-il/commit/37567101582c07efa03824c9e89e3714377e327a

Note that I have just updated the 'tizonia-all' AUR package to version 0.19.0.