This is my first bug report for Gentoo. I'm no informatics, professional nor profound "connaiseur", so, excuse if I sound too clumsy in this description. Ok, when I try to install media-sound/tomahawk, this is what happens: emerge tomahawk Calculating dependencies... done! emerge: there are no ebuilds built with USE flags to satisfy "dev-libs/quazip[qt4]". !!! One of the following packages is required to complete your request: - dev-libs/quazip-0.7.1::gentoo (Change USE: +qt4, this change violates use flag constraints defined by dev-libs/quazip-0.7.1: 'exactly-one-of ( qt4 qt5 )') (dependency required by "media-sound/tomahawk-0.8.4-r1::gentoo" [ebuild]) (dependency required by "tomahawk" [argument]) I have «-kde -qt4 qt5» in make.conf but it seems that Tomahawk wouldn't take it into account and asked for a QT4 version of quazip. As I've told before I don't understand too much about Gentoo internals -nor Linux internals- bur reading the I see: !qt5? ( [...] dev-libs/quazip[qt4] and then qt5? ( [...] dev-libs/quazip[qt5] That «!» thing before some flag means more or less that if that flag is "deactivated", then emerge will ask for the following dependencies, but if there's no «!» then the flag qt5 is active, and the correct dependencies are the ones that follow said qt5 flag without exclamation mark, am I right? If I'm, then Tomahawk should ask for a QT5 version of Quazip, no? But it doesn't. I have even tried to "reenforce" qt5 by adding «USE="qt5 -qt4" emerge...», but nothing. There's something users can do or it's something that only you, mantainers, can solve? I've read that bug reports must be accompained by «emerge --info» output, but if I paste it here, it will make the message huge; besides, the build process doesn't even start, so, do you really need me to post it? I don't have any problem in doing it if helpful. Regards
I warned: excuse my clumsiness, heheh. I meant that reading the package's abuild, /usr/portage/media-sound/tomahawk/tomahawk-0.8.4-r1.ebuild, that's what I see.
I removed the line dev-libs/quazip[qt4] in the ebuild and see the output of emerge: emerge -vat tomahawk These are the packages that would be merged, in reverse order: Calculating dependencies... done! [ebuild N ] media-sound/tomahawk-0.8.4-r1::gentoo USE="hatchet -debug -kde (-qt5) -telepathy -xmpp" 8.410 KiB [nomerge ] media-libs/phonon-9999::gentoo USE="gstreamer pulseaudio qt4* qt5 vlc (-aqua) -debug -designer (-zeitgeist)" ABI_X86="(64) -32 (-x32)" [ebuild R *] media-libs/phonon-vlc-9999::gentoo USE="qt4* qt5 -debug" 0 KiB [ebuild R *] media-libs/phonon-gstreamer-9999::gentoo USE="alsa network qt4* qt5 -debug" 0 KiB [ebuild R *] media-libs/phonon-9999::gentoo USE="gstreamer pulseaudio qt4* qt5 vlc (-aqua) -debug -designer (-zeitgeist)" ABI_X86="(64) -32 (-x32)" 0 KiB [ebuild NS ] dev-qt/designer-4.8.7:4::gentoo [5.6.0_beta:5/5.6::qt] USE="declarative exceptions webkit (-aqua) -debug -kde -pch -phonon -qt3support" ABI_X86="(64) -32 (-x32)" 235.426 KiB [ebuild NS ] dev-qt/qtdeclarative-4.8.7:4::gentoo [5.6.0_beta:5/5.6::qt] USE="accessibility exceptions webkit (-aqua) -debug -pch -qt3support" ABI_X86="(64) -32 (-x32)" 0 KiB [ebuild NS ] ... As you can see the qt5 flag is masked for media-sound/tomahawk-0.8.4-r1. So it pulls in all the qt4 stuff. grep -B 3 tomahawk /usr/portage/profiles/base/package.use.mask # Johannes Huber <johu@gentoo.org> (12 Sep 2014) # Segmentation fault, needs further investigation. media-sound/tomahawk qt5 That entry is more than one year old and a patch is there since one month: https://bugs.gentoo.org/show_bug.cgi?id=567354 Add that bug number 567354 to "depends on:" above. And then hopefully the patch in that bug will be applied. Interesting thing is: The patch was applied upstream in January 2015 and is still in the git version but is not in CMakeLists.txt of tomahawk-0.8.4(-r1) released this on 15 Apr 2015
(In reply to jospezial from comment #2) > Calculating dependencies... done! > [ebuild N ] media-sound/tomahawk-0.8.4-r1::gentoo USE="hatchet -debug > -kde (-qt5) -telepathy -xmpp" 8.410 KiB Note the parentheses around qt5 which indicate that the USE flag is masked
(In reply to jospezial from comment #2) > > As you can see the qt5 flag is masked for media-sound/tomahawk-0.8.4-r1. > So it pulls in all the qt4 stuff. > > > grep -B 3 tomahawk /usr/portage/profiles/base/package.use.mask > > # Johannes Huber <johu@gentoo.org> (12 Sep 2014) > # Segmentation fault, needs further investigation. > media-sound/tomahawk qt5 > > That entry is more than one year old and a patch is there since one month: > > https://bugs.gentoo.org/show_bug.cgi?id=567354 > Add that bug number 567354 to "depends on:" above. > > And then hopefully the patch in that bug will be applied. > > Interesting thing is: > The patch was applied upstream in January 2015 and is still in the git > version but is not in CMakeLists.txt of tomahawk-0.8.4(-r1) released this on > 15 Apr 2015 A year ago? Damn! And what's the problem for applying in Gentoo? There's a patch in the portage tree: /usr/portage/media-sound/tomahawk/files/tomahawk-0.8.4-qt55.patch. If I comment you mask in package.use.mask and emerge, would that patch be applied? Or perhaps that "git" version, whatever that means, is one that is not accesible through Portage? Please take into account that I am just a user and all this sounds to me a bit obscure, and am aware that surely most of my thoughts are wrong, but a year seems like a lot of time since the problem got solved upstream, no?
(In reply to Realname from comment #4) > A year ago? Damn! And what's the problem for applying in Gentoo? There's a > patch in the portage tree: > /usr/portage/media-sound/tomahawk/files/tomahawk-0.8.4-qt55.patch. If I > comment you mask in package.use.mask and emerge, would that patch be > applied? Or perhaps that "git" version, whatever that means, is one that is > not accesible through Portage? That patch addresses a different issue. The blocker to unmasking the qt5 USE flag for this package is bug #567354. > Please take into account that I am just a user and all this sounds to me a > bit obscure, and am aware that surely most of my thoughts are wrong, but a > year seems like a lot of time since the problem got solved upstream, no? I am sorry it has taken so long. Unfortunately there are a lot of bugs and not as many people to take care of them as would be ideal.
(In reply to Michael Palimaka (kensington) from comment #5) > (In reply to Realname from comment #4) > > A year ago? Damn! And what's the problem for applying in Gentoo? There's a > > patch in the portage tree: > > /usr/portage/media-sound/tomahawk/files/tomahawk-0.8.4-qt55.patch. If I > > comment you mask in package.use.mask and emerge, would that patch be > > applied? Or perhaps that "git" version, whatever that means, is one that is > > not accesible through Portage? > > That patch addresses a different issue. The blocker to unmasking the qt5 USE > flag for this package is bug #567354. Bug nº #567354 is this bug we are talking about. But anyway, I understand that said patch has nothing to do with this issue. > > Please take into account that I am just a user and all this sounds to me a > > bit obscure, and am aware that surely most of my thoughts are wrong, but a > > year seems like a lot of time since the problem got solved upstream, no? > > I am sorry it has taken so long. Unfortunately there are a lot of bugs and > not as many people to take care of them as would be ideal. I didn't know. I thought that translating a solution already written upstream to Portage's tree would be something fairly easy; something like copy-pasting or so. From the ignorant's perspective everything seems fairly easy, heheh, so, excuse my surprise. I suppose not all tasks when solving bugs are equally difficult. Are there any easy tasks that good willed users could do with just a little technical and not too difficult reading, so those easy parts of the process could be done by much more people and release mantainers from some rutinary tasks that keep them away from solving more complex bugs? I don't have much time, but I'd like to collaborate trying to solve some bugs from time to time, epecially packages I use frequently and I'm familiar with.
«Bug nº #567354 is this bug we are talking about» Sorry, I clicked somewhere else and I got directed to my bug report. I have now seen the bug your link was really pointing at. Ok, let's hope that git patch is applied soon. Thanks for your time and patience. :)
FIY I have built Tomahawk yesterday with patch from bug #567354 and it’s working fine (at least regarding Google Music). I just had to downgrade to =libechonest-2.3.0 because with 2.3.1 it couldn’t find includes.
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=017849581cd8aaecb15cbd1cc937a7b7edd03212