Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 225957 - dev-cpp/gtkmm should not build tests with FEATURES=-test
Summary: dev-cpp/gtkmm should not build tests with FEATURES=-test
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: GNOME C++ Bindings Maintainers (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: test-n-example-build
  Show dependency tree
 
Reported: 2008-06-11 18:59 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2008-07-16 08:51 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-06-11 18:59:59 UTC
See my post at http://blog.flameeyes.eu/articles/2008/06/11/please-dont-build-your-examples-by-default . It would be nice if gtkmm avoided building tests when the user has FEATURES=-test.

By the way, the examples USE flag is useless, it builds examples and demos but those _are not installed_, thus it only waste the users' time as the compiled code is discarded right away. I'd suggest getting rid of the USE flag.
Comment 1 Rémi Cardona (RETIRED) gentoo-dev 2008-06-12 09:49:44 UTC
I know about the tests, cairomm is also affected by the same bug (see bug #224187)

This is on my todo, I just need to get around to actually doing it :)
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-06-12 10:10:47 UTC
Hope you don't mind if I actually file bugs or these issues :) This way you are reminded of them in your TODO, and I'm sure they won't be overlooked :)
Comment 3 Rémi Cardona (RETIRED) gentoo-dev 2008-06-12 11:22:14 UTC
Actually I hadn't noticed that gtkmm was affected too. So yeah, if you have more nitpicks like this, keep filing bugs :)

I'll try to do another gnome-mm bug fixing spree Real Soon (tm)
Comment 4 Alessio Cassibba (X-Drum) 2008-06-13 22:31:50 UTC
reported upstream in: http://bugzilla.gnome.org/show_bug.cgi?id=538226 
Comment 5 Rémi Cardona (RETIRED) gentoo-dev 2008-07-16 08:50:54 UTC
Fixed in CVS with a minor caveat.

FEATURES=test will install 4 of the test programs' code into /usr/share/doc. This bug has been fixed in trunk and gtkmm 2.13.x no longer has that issue. Since it's only a few simple C++ files, it's not really bothering me.

If anyone really wants it fixed, I can backport the patch, but I just don't see the point.
Comment 6 Rémi Cardona (RETIRED) gentoo-dev 2008-07-16 08:51:43 UTC
and for the record, this was the current behavior and nobody had noticed/cared until now :P