Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 278041 - media-sound/musescore-0.9.4 needs RDEPEND=x11-libs/qt-qt3support:4
Summary: media-sound/musescore-0.9.4 needs RDEPEND=x11-libs/qt-qt3support:4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-16 12:38 UTC by Tero Pelander
Modified: 2009-07-22 17:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log #1 (USE=-qt3support) (build1.log,26.75 KB, text/plain)
2009-07-20 06:56 UTC, Tero Pelander
Details
build.log #2 (USE=qt3support) (build2.log,26.58 KB, text/plain)
2009-07-20 06:56 UTC, Tero Pelander
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tero Pelander 2009-07-16 12:38:13 UTC
media-sound/musescore-0.9.4 requires x11-libs/qt-qt3support files to be installed to compile. If qt4 is being installed at the same time as musescore the install order can become so that musescore is compiled before qt-qt3support. As the qt3support files are missing musescore fails to compile.

The fix is to add x11-libs/qt-qt3support:4 to RDEPEND in musescore-0.9.4.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2009-07-18 15:06:00 UTC
Where is the build.log (error message) ? Reopen when attached.
Comment 2 Tero Pelander 2009-07-20 06:56:01 UTC
Created attachment 198537 [details]
build.log #1 (USE=-qt3support)
Comment 3 Tero Pelander 2009-07-20 06:56:41 UTC
Created attachment 198538 [details]
build.log #2 (USE=qt3support)
Comment 4 Tero Pelander 2009-07-20 07:01:28 UTC
Included the build.log files needed to verify the bug.

Btw. Is it just a policy to require build.log files before bugreports are accepted or is there some other reason why end results alone are not accepted?


For following tests uninstall media-sound/musescore and all 
x11-libs/qt-* packages.

Let's prove that musescore can't compile without qt3support
The results of following command are in file build1.log.

# USE=-qt3support emerge -va1 musescore


Now lets remove the qt libraries that need to be recompiled with qt3support.

# emerge -C x11-libs/qt-core x11-libs/qt-gui


And let's try to compile musescore again with following command. The 
results are in file build2.log.

# USE=qt3support emerge -va1 musescore


This too fails because the install order is

[ebuild  N    ] x11-libs/qt-core-4.5.1  USE="glib iconv qt3support ssl -debug -d
oc -pch" 
[ebuild  N    ] x11-libs/qt-gui-4.5.1  USE="accessibility glib gtkstyle qt3suppo
rt -cups -dbus -debug -mng -nas -nis -pch -raster -tiff -xinerama" 
[ebuild  N    ] x11-libs/qt-sql-4.5.1  USE="iconv qt3support sqlite -debug (-fir
ebird) -mysql -odbc -pch -postgres" 
[ebuild  N    ] media-sound/musescore-0.9.4  USE="X" 
[ebuild  N    ] x11-libs/qt-qt3support-4.5.1  USE="accessibility -debug -kde -pc
h -phonon" 

The x11-libs/qt-qt3support is compiled after musescore and musescore needs 
it to make the compilation through.


The end result is that we can't just require qt3support from 
x11-libs/qt-core. We need to explicitely include x11-libs/qt-qt3support 
to the dependencies of musescore. Including that will automatically add 
requirement of qt3support USE flag to other qt libraries.
Comment 5 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-07-22 17:18:41 UTC
(In reply to comment #4)
> Btw. Is it just a policy to require build.log files before bugreports are
> accepted or is there some other reason why end results alone are not accepted?

At least it helps our devs to narrow down the problem. Without the build log they would have to do all the steps on their dev-machines to reproduce the problem which sometimes can become a really boring and tedious task.
With your log files they can probably skip that.
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2009-07-22 17:33:35 UTC
And you wouldn't believe how much false reports we get. Thanks for providing the details.
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2009-07-22 17:37:07 UTC
+  22 Jul 2009; Samuli Suominen <ssuominen@gentoo.org>
+  musescore-0.9.4.ebuild:
+  RDEPEND x11-libs/qt-qt3support:4 wrt #278041, thanks to Tero Pelander.

a.k.a. kiitos ;-)