Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 417348 Details for
Bug 566202
gnome2-utils.eclass: fix stderr noise [github PR #376]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
harmless-gnome2-stderr-spew-fix.patch
harmless-gnome2-stderr-spew-fix.patch (text/plain), 1.95 KB, created by
Greg Turner
on 2015-11-19 11:57:07 UTC
(
hide
)
Description:
harmless-gnome2-stderr-spew-fix.patch
Filename:
MIME Type:
Creator:
Greg Turner
Created:
2015-11-19 11:57:07 UTC
Size:
1.95 KB
patch
obsolete
>commit 7df0f3900bb0856539215fc7dcf36092fe96dda4 >Author: Gregory M. Turner <gmt@be-evil.net> >Date: Thu Nov 19 03:13:27 2015 -0800 > > gnome2-utils: fix stderr noise > > 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. > > Signed-off-by: Gregory M. Turner <gmt@be-evil.net> > >diff --git a/eclass/gnome2-utils.eclass b/eclass/gnome2-utils.eclass >index 59ab586..f4e1d67 100644 >--- a/eclass/gnome2-utils.eclass >+++ b/eclass/gnome2-utils.eclass >@@ -480,6 +480,7 @@ gnome2_disable_deprecation_warning() { > # The sort is important to ensure .am is listed before the respective .in for > # maintainer mode regeneration not kicking in due to .am being newer than .in > while read makefile ; do >+ [[ -f ${makefile} ]] || continue > if ! grep -qE "(DISABLE_DEPRECATED|GSEAL_ENABLE)" "${makefile}"; then > continue > fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 566202
: 417348