Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 148574 - media-sound/lastfmplayer-1.0.0.1_p2113 - message reg. missing png/gif USE flags of qt not clear enough
Summary: media-sound/lastfmplayer-1.0.0.1_p2113 - message reg. missing png/gif USE fl...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Stefan Schweizer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-21 13:42 UTC by Alexander Skwar
Modified: 2006-09-22 14:45 UTC (History)
2 users (show)

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


Attachments
Patch to update messages in the ebuild (message-update.patch,2.86 KB, patch)
2006-09-21 17:00 UTC, David Li
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Skwar 2006-09-21 13:42:58 UTC
I tried to emerge lastfmplayer, but this failed:

alexander@blatt /etc $ sudo emerge -vat lastfmplayer

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild  N    ] media-sound/lastfmplayer-1.0.0.1_p2113  USE="-debug" 0 kB 

Total size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] 

>>> Emerging (1 of 1) media-sound/lastfmplayer-1.0.0.1_p2113 to /
 * checking ebuild checksums ;-) ...                                                                  [ ok ]
 * checking auxfile checksums ;-) ...                                                                 [ ok ]
 * checking miscfile checksums ;-) ...                                                                [ ok ]
 * It appears that qt was compiled without the gif or png USE flag
 * 
 * In order to work, you need to enable these USE flag(s)
 * To do this, run the following in a command window:
 * echo "x11-libs/qt gif png" >> /etc/portage/package.use
 * and recompile qt using "emerge -avN1 qt"

!!! ERROR: media-sound/lastfmplayer-1.0.0.1_p2113 failed.
Call stack:
  ebuild.sh, line 1562:   Called dyn_setup
  ebuild.sh, line 665:   Called pkg_setup
  lastfmplayer-1.0.0.1_p2113.ebuild, line 30:   Called die

!!! no gif or png support in qt
!!! If you need support, post the topmost build error, and the call stack if relevant.



It's telling me, that qt isn't built with gif or png support. That's probably right - but which qt? qt 3 or qt 4?

The message should clearly say which qt should be "properly" rebuilt.

In the ebuild, I find:

   built_with_use x11-libs/qt gif png

Which qt will it check, if both qt 3 and qt 4 are installed?

As there's:

DEPEND="=x11-libs/qt-4*"

I suppose it should check qt 4 - but will it always do that?
Comment 1 Alexander Skwar 2006-09-21 13:46:37 UTC
Further, the message sounds, as if it were okay, if one of those flags were enabled. 

It would be better, if the first line:

   In order to work, you need to enable these USE flag(s)

would be rephrased:

   In order to work, you need to enable both USE flags
Comment 2 David Li 2006-09-21 17:00:15 UTC
Created attachment 97709 [details, diff]
Patch to update messages in the ebuild

Thanks for your suggestions!

I've tried address your concerns by updating the messages in the ebuild in this patch.
Comment 3 Alexander Skwar 2006-09-21 23:09:08 UTC
The new wording looks very good and is IMO a lot clearer than what was there before.

Thanks.
Comment 4 Stefan Schweizer (RETIRED) gentoo-dev 2006-09-22 14:45:44 UTC
thanks, fixed

it is really nice to see work being done even without me!