Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 566202 - gnome2-utils.eclass: fix stderr noise [github PR #376]
Summary: gnome2-utils.eclass: fix stderr noise [github PR #376]
Status: RESOLVED DUPLICATE of bug 448822
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://github.com/gentoo/gentoo/pull...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-19 11:57 UTC by Greg Turner
Modified: 2015-11-19 22:10 UTC (History)
0 users

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


Attachments
harmless-gnome2-stderr-spew-fix.patch (harmless-gnome2-stderr-spew-fix.patch,1.95 KB, patch)
2015-11-19 11:57 UTC, Greg Turner
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Greg Turner 2015-11-19 11:57:07 UTC
Created attachment 417348 [details, diff]
harmless-gnome2-stderr-spew-fix.patch

Fixes stderr-spew in webkit-gtk-2.8.5, like (whitespace manipulated for legibility):

        >>> Preparing source in /var/tmp/portage/net-libs/webkit-gtk-2.8.5/work/webkitgtk-2.8.5 ...
         * Applying webkit-gtk-2.8.5-fix-ia64-build.patch ... [ ok ]
         * Applying webkit-gtk-2.8.5-fix-alpha-build.patch ... [ ok ]
         * Applying webkit-gtk-2.8.5-webkit2gtkinjectedbundle-j1.patch ... [ ok ]
         * Fixing OMF Makefiles ... [ ok ]
         * Disabling deprecation warnings ...
>       grep: configure: No such file or directory [ ok ]
        >>> Source prepared.

The message appears to be completely harmless manifestation of a probably (and, in the above
instance, actually) harmless circumstance.  But it's as useless as harmless and distracting.

After some good old-fashioned O(log(lines-of-potentially-culpable-source-code)) track-downification
this turned out to be coming from gnome2-utils.eclass's gnome2_disable_deprecation_warning, which
simply assumed there would be a configure file to grep, probably failing to fail erroneously,....
erroneously.

Whatever... it's late.... famous last words, probably, but, just trust me: the code is wrong &
this makes it right.
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2015-11-19 22:10:24 UTC
As explained on the PR, this is should be treated as part of bug #448822.
Adding a check like this for just one file does not make much sense when 90% of the files are there as found by find in the first place.

*** This bug has been marked as a duplicate of bug 448822 ***