To bypass the build-breaking portion (imobiledeviceconnection.cpp) you can disable iDevice support. Just add -DENABLE_IMOBILEDEVICE=OFF to the cmake arguments right before the Spotify flag.
-DENABLE_SPOTIFY=OFF -DENABLE_SPOTIFY_BLOB=OFF #-DENABLE_GIO=OFF
becomes
-DENABLE_IMOBILEDEVICE=OFF -DENABLE_SPOTIFY=OFF -DENABLE_SPOTIFY_BLOB=OFF #-DENABLE_GIO=OFF
Search Criteria
Package Details: clementine-git 1.4.1.r79.g841f3251d.0.g841f3251d-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/clementine-git.git (read-only, click to copy) |
|---|---|
| Package Base: | clementine-git |
| Description: | A modern music player and library organizer |
| Upstream URL: | https://github.com/clementine-player/Clementine |
| Licenses: | GPL-3.0-or-later |
| Conflicts: | clementine |
| Provides: | clementine |
| Submitter: | swiftscythe |
| Maintainer: | FabioLolix |
| Last Packager: | FabioLolix |
| Votes: | 87 |
| Popularity: | 0.001581 |
| First Submitted: | 2011-07-19 22:38 (UTC) |
| Last Updated: | 2026-07-09 23:33 (UTC) |
Dependencies (33)
- abseil-cpp (abseil-cpp-gitAUR)
- alsa-lib
- chromaprint (chromaprint-fftwAUR, chromaprint-fftw-llvmAUR)
- fftw (fftw-amdAUR)
- glib2 (glib2-gitAUR, glib2-patched-thumbnailerAUR)
- glibc (glibc-gitAUR, glibc-git-native-pgoAUR, glibc-eacAUR)
- gst-plugins-base-libs (gst-plugins-base-libs-gitAUR)
- gstreamer (gstreamer-gitAUR)
- hicolor-icon-theme (hicolor-icon-theme-gitAUR)
- libcdio (libcdio-gitAUR)
- libgcc (libgcc-fast-optimizedAUR, libgcc-snapshotAUR)
- libglvnd (libglvnd-gitAUR)
- libprotobuf.so (protobuf-21AUR, protobuf-gitAUR, protobuf)
- libpulse (pulseaudio-dummyAUR, libpulse-gitAUR)
- libstdc++ (libstdc++-fast-optimizedAUR, libstdc++-snapshotAUR)
- libx11 (libx11-gitAUR)
- protobuf (protobuf-gitAUR)
- qt5-base (qt5-base-gitAUR, qt5-base-headlessAUR)
- qt5-x11extras
- sqlite (sqlite-fossilAUR)
- Show 13 more dependencies...
Required by (0)
Sources (1)
Latest Comments
« First ‹ Previous 1 .. 4 5 6 7 8 9 10 11 12 13 14 .. 19 Next › Last »
snuo commented on 2013-05-17 04:18 (UTC)
<deleted-account> commented on 2013-05-14 12:42 (UTC)
No, it doesn't work yet.
build() {
cd "${srcdir}"
msg "Connecting to GIT server...."
if [[ -d "${_gitname}" ]]; then
cd "${_gitname}" && git pull origin
msg "The local files are updated."
else
git clone "${_gitroot}" "${_gitname}"
fi
msg "GIT checkout done or server timeout"
msg "Starting build..."
rm -rf "${srcdir}/${_gitname}-build"
git clone "${srcdir}/${_gitname}" "${srcdir}/${_gitname}-build"
cd "${srcdir}/${_gitname}-build"
sed -i 's/-Werror//g' src/CMakeLists.txt
cmake . -DQT_QMAKE_EXECUTABLE=qmake-qt4 \
-DCMAKE_INSTALL_PREFIX=/usr -DBUILDBOT_REVISION=${pkgver} \
-DENABLE_SPOTIFY=OFF -DENABLE_SPOTIFY_BLOB=OFF #-DENABLE_GIO=OFF
make
}
chenxiaolong commented on 2013-05-13 16:23 (UTC)
Hi ph11,
I just took a look at the build scripts. Adding this line before the cmake line should get things building again :)
sed -i 's/-Werror//g' src/CMakeLists.txt
<deleted-account> commented on 2013-05-12 21:30 (UTC)
Hi chenxiaolong,
Then, I've got this :
[ 75%] Building CXX object src/CMakeFiles/clementine_lib.dir/devices/imobiledeviceconnection.cpp.o
/tmp/yaourt-tmp-phil/aur-clementine-git/src/clementine-player-build/src/devices/imobiledeviceconnection.cpp: In constructor ‘iMobileDeviceConnection::iMobileDeviceConnection(const QString&)’:
/tmp/yaourt-tmp-phil/aur-clementine-git/src/clementine-player-build/src/devices/imobiledeviceconnection.cpp:46:79: erreur: cannot convert ‘uint16_t* {aka short unsigned int*}’ to ‘lockdownd_service_descriptor**’ for argument ‘3’ to ‘lockdownd_error_t lockdownd_start_service(lockdownd_client_t, const char*, lockdownd_service_descriptor**)’
lockdown_err = lockdownd_start_service(lockdown, "com.apple.afc", &afc_port_);
^
/tmp/yaourt-tmp-phil/aur-clementine-git/src/clementine-player-build/src/devices/imobiledeviceconnection.cpp:53:65: erreur: invalid conversion from ‘uint16_t {aka short unsigned int}’ to ‘lockdownd_service_descriptor_t {aka lockdownd_service_descriptor*}’ [-fpermissive]
afc_error_t afc_err = afc_client_new(device_, afc_port_, &afc_);
^
In file included from /tmp/yaourt-tmp-phil/aur-clementine-git/src/clementine-player-build/src/devices/imobiledeviceconnection.h:23:0,
from /tmp/yaourt-tmp-phil/aur-clementine-git/src/clementine-player-build/src/devices/imobiledeviceconnection.cpp:18:
/usr/include/libimobiledevice/afc.h:96:13: erreur: initializing argument 2 of ‘afc_error_t afc_client_new(idevice_t, lockdownd_service_descriptor_t, afc_client_private**)’ [-fpermissive]
afc_error_t afc_client_new(idevice_t device, lockdownd_service_descriptor_t service, afc_client_t *client);
^
At global scope:
cc1plus: erreur: option "-Wno-unknown-warning-option" de la ligne de commande non reconnue [-Werror]
cc1plus: erreur: option "-Wno-unused-private-field" de la ligne de commande non reconnue [-Werror]
cc1plus: all warnings being treated as errors
make[2]: *** [src/CMakeFiles/clementine_lib.dir/devices/imobiledeviceconnection.cpp.o] Erreur 1
make[1]: *** [src/CMakeFiles/clementine_lib.dir/all] Erreur 2
make: *** [all] Erreur 2
chenxiaolong commented on 2013-05-12 19:29 (UTC)
@ph11: Try adding:
export CXXFLAGS="${CXXFLAGS} -Wno-error"
before the "cmake ..." line in the PKGBUILD.
<deleted-account> commented on 2013-05-12 18:34 (UTC)
[ 75%] Building CXX object src/CMakeFiles/clementine_lib.dir/devices/imobiledeviceconnection.cpp.o
/tmp/yaourt-tmp-phil/aur-clementine-git/src/clementine-player-build/src/devices/imobiledeviceconnection.cpp: In constructor ‘iMobileDeviceConnection::iMobileDeviceConnection(const QString&)’:
/tmp/yaourt-tmp-phil/aur-clementine-git/src/clementine-player-build/src/devices/imobiledeviceconnection.cpp:46:79: erreur: cannot convert ‘uint16_t* {aka short unsigned int*}’ to ‘lockdownd_service_descriptor**’ for argument ‘3’ to ‘lockdownd_error_t lockdownd_start_service(lockdownd_client_t, const char*, lockdownd_service_descriptor**)’
lockdown_err = lockdownd_start_service(lockdown, "com.apple.afc", &afc_port_);
^
/tmp/yaourt-tmp-phil/aur-clementine-git/src/clementine-player-build/src/devices/imobiledeviceconnection.cpp:53:65: erreur: invalid conversion from ‘uint16_t {aka short unsigned int}’ to ‘lockdownd_service_descriptor_t {aka lockdownd_service_descriptor*}’ [-fpermissive]
afc_error_t afc_err = afc_client_new(device_, afc_port_, &afc_);
^
In file included from /tmp/yaourt-tmp-phil/aur-clementine-git/src/clementine-player-build/src/devices/imobiledeviceconnection.h:23:0,
from /tmp/yaourt-tmp-phil/aur-clementine-git/src/clementine-player-build/src/devices/imobiledeviceconnection.cpp:18:
/usr/include/libimobiledevice/afc.h:96:13: erreur: initializing argument 2 of ‘afc_error_t afc_client_new(idevice_t, lockdownd_service_descriptor_t, afc_client_private**)’ [-fpermissive]
afc_error_t afc_client_new(idevice_t device, lockdownd_service_descriptor_t service, afc_client_t *client);
^
At global scope:
cc1plus: erreur: option "-Wno-unknown-warning-option" de la ligne de commande non reconnue [-Werror]
cc1plus: erreur: option "-Wno-unused-private-field" de la ligne de commande non reconnue [-Werror]
cc1plus: all warnings being treated as errors
make[2]: *** [src/CMakeFiles/clementine_lib.dir/devices/imobiledeviceconnection.cpp.o] Erreur 1
make[1]: *** [src/CMakeFiles/clementine_lib.dir/all] Erreur 2
make: *** [all] Erreur 2
rtfreedman commented on 2013-04-14 21:40 (UTC)
https://code.google.com/p/clementine-player/issues/detail?id=3570
There is a working patch as a workaround: http://sprunge.us/cNTA
ravicious commented on 2013-04-03 12:58 (UTC)
I guess it's Clementine's devs error. Just wait a day or two and remember that this is a git version.
gyurman commented on 2013-04-03 12:32 (UTC)
/opt/tmp/yaourt-tmp-gyurmo/aur-clementine-git/src/clementine-player-build/src/playlist/playlist.h: In member function ‘bool Playlist::is_dynamic() const’:
/opt/tmp/yaourt-tmp-gyurmo/aur-clementine-git/src/clementine-player-build/src/playlist/playlist.h:187:36: error: cannot convert ‘const GeneratorPtr {aka const boost::shared_ptr<smart_playlists::Generator>}’ to ‘bool’ in return
make[2]: *** [src/CMakeFiles/clementine_lib.dir/core/application.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/clementine_lib.dir/all] Error 2
make: *** [all] Error 2
Pinned Comments
FabioLolix commented on 2025-07-12 13:09 (UTC)
libmygpo-qt5have been removed from ArchRemove
libmygpo-qt5from your system and build the last version; clementine have a bundled copy of libmygpo-qt5 (don't seem possible to disable it [gpodder] )