New comment by MechDR on void-packages repository https://github.com/void-linux/void-packages/issues/49953#issuecomment-2112476157 Comment: I managed to package it as well, but it seems something is wrong. I get this when trying to run it. ![Amarok_Error](https://github.com/void-linux/void-packages/assets/45944962/73973948-dbce-470b-bede-c8f701c92d54) When I run it with `--debug-audio`, I get this from the terminal. ```` "PulseSupport(2): Probing for PulseAudio..." "PulseSupport(2): context_state_callback Authorizing" "PulseSupport(2): context_state_callback Setting Name" "PulseSupport(2): context_state_callback Ready" "PulseSupport(2): Failed to initialize device manager extension: Not supported" "PulseSupport(2): Falling back to single device mode" "PulseSupport(2): context_state_callback Terminated" "PulseSupport(2): PulseAudio probe complete." "PulseSupport(2): PulseAudio support enabled" "PulseSupport(2): Enabled Breakdown: mEnabled: Yes, s_pulseActive Yes" PHONON-GST Using GStreamer 1.24.2 PHONON-GST AudioOutput using "pulsesink" PHONON-GST AudioOutput using "pulsesink" "PulseSupport(2): Initialising streamindex {7ff94ae0-c163-4d7d-8ddb-135c9f62e8da}" PHONON-GST Backend connected Phonon::Gstreamer::MediaObject to Phonon::Gstreamer::AudioOutput PHONON-GST Fading to 1 PHONON-GST BEGIN: GstStateChangeReturn Phonon::Gstreamer::Pipeline::setState(GstState) PHONON-GST Transitioning to state "ready" PHONON-GST State change PHONON-GST BEGIN: void Phonon::Gstreamer::MediaObject::handleDurationChange(qint64) PHONON-GST -1 PHONON-GST END__: void Phonon::Gstreamer::MediaObject::handleDurationChange(qint64) [Took: 0s] PHONON-GST BEGIN: void Phonon::Gstreamer::MediaObject::handleStateChange(GstState, GstState) PHONON-GST Moving from "null" Phonon::LoadingState to "ready" Phonon::StoppedState PHONON-GST BEGIN: void Phonon::Gstreamer::MediaObject::loadingComplete() PHONON-GST END__: void Phonon::Gstreamer::MediaObject::loadingComplete() [Took: 0s] PHONON-GST END__: void Phonon::Gstreamer::MediaObject::handleStateChange(GstState, GstState) [Took: 0s] PHONON-GST END__: GstStateChangeReturn Phonon::Gstreamer::Pipeline::setState(GstState) [Took: 0s] PHONON-GST Backend connected Phonon::Gstreamer::MediaObject to Phonon::Gstreamer::VolumeFaderEffect PHONON-GST Backend connected Phonon::Gstreamer::VolumeFaderEffect to Phonon::Gstreamer::AudioOutput PHONON-GST Fading to 1 PHONON-GST BEGIN: GstStateChangeReturn Phonon::Gstreamer::Pipeline::setState(GstState) PHONON-GST Transitioning to state "ready" PHONON-GST END__: GstStateChangeReturn Phonon::Gstreamer::Pipeline::setState(GstState) [Took: 0s] PHONON-GST Backend connected Phonon::Gstreamer::VolumeFaderEffect to Phonon::Gstreamer::VolumeFaderEffect PHONON-GST Backend connected Phonon::Gstreamer::VolumeFaderEffect to Phonon::Gstreamer::AudioOutput PHONON-GST Backend connected Phonon::Gstreamer::VolumeFaderEffect to Phonon::Gstreamer::AudioDataOutput "PulseSupport(2): context_state_callback Authorizing" "PulseSupport(2): context_state_callback Setting Name" "PulseSupport(2): context_state_callback Ready" "PulseSupport(2): Phonon Output Stream {7ff94ae0-c163-4d7d-8ddb-135c9f62e8da} is gone at the PA end. Marking it as invalid in our cache as we may reuse it." "PulseSupport(2): Found PulseAudio stream index 87 for Phonon Output Stream {7ff94ae0-c163-4d7d-8ddb-135c9f62e8da}" "PulseSupport(2): Failed to initialize device manager extension: Not supported" "PulseSupport(2): context_state_callback Terminated" ```` And then the GUI error pops up. Anyone know what the problem might be? I managed to solve a part of it (the debug info was longer) by installing `phonon-qt5-backend-gstreamer`, but that didn't solve it all the way. I've made some modifications to the Amarok template since the last time I posted the template, here is what I used now. ```` # Template file for 'amarok' pkgname=amarok version=3.0.0 revision=1 #build_style=cmake #configure_args=".. -DCMAKE_INSTALL_PREFIX=`kf5-config --prefix`" #build_wrksrc="${pkgname}-${version}-build" hostmakedepends="cmake-bootstrap cmake extra-cmake-modules ninja pkg-config ffmpeg-devel libmygpo-qt-devel libgpod-devel libmtp-devel libcurl-devel loudmouth-devel gettext-devel taglib-devel fftw-devel qt5-devel qt5-tools-devel qt5-declarative-devel qt5-svg-devel qt5-plugin-mysql qt5-plugin-sqlite qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-tds libmariadbclient-devel qt5-webengine-devel qt5-webchannel-devel qt5-quickcontrols2-devel qt5-location-devel kde5 attica-devel karchive-devel kcodecs-devel kconfig-devel kconfigwidgets-devel kcoreaddons-devel kcrash-devel kdbusaddons-devel kdeclarative-devel kdnssd-devel kdoctools-devel kglobalaccel-devel kguiaddons-devel ki18n-devel kiconthemes-devel kcmutils-devel kio-devel knewstuff-devel knotifications-devel kpackage-devel ksolid-devel ktexteditor-devel threadweaver-devel kwidgetsaddons-devel kwindowsystem-devel" makedepends="" depends="phonon-qt5-backend-gstreamer" short_desc="Amarok is a free, cross-platform, versatile, powerful and feature-rich music player." maintainer="someone " license="GPL-2.0-or-later" homepage="https://amarok.kde.org/" distfiles="https://download.kde.org/stable/${pkgname}/${version}/${pkgname}-${version}.tar.xz" checksum="14a87678305fad76a0a1daca555a6775ffa642e5ebbcccecd91f497093992c1c" post_extract() { mkdir -p ${wrksrc}/${pkgname}-${version}-build mkdir -p ${DESTDIR}/etc } do_configure() { cd ${wrksrc}/${pkgname}-${version}-build cmake -DCMAKE_INSTALL_PREFIX="${DESTDIR}/usr" -DCMAKE_BUILD_TYPE=debugfull .. } do_build() { cd ${wrksrc}/${pkgname}-${version}-build make -j8 } do_install() { cd ${wrksrc}/${pkgname}-${version}-build make install mv -f ${DESTDIR}/usr/etc/* ${DESTDIR}/etc rm -rf ${DESTDIR}/usr/etc } ```` Could someone build and see if they get the same error as me? Thanks!