Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 630874 - gnome2.eclass only runs glib-compile-schemas when there is nothing to update
Summary: gnome2.eclass only runs glib-compile-schemas when there is nothing to update
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
: 630962 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-09-13 10:02 UTC by Jura
Modified: 2017-09-15 06:32 UTC (History)
3 users (show)

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


Attachments
emerge --info gnome-weather (emerge-info.log,6.67 KB, text/x-log)
2017-09-13 21:27 UTC, Jura
Details
build.log from terminal output (build.log,24.63 KB, text/x-log)
2017-09-13 21:30 UTC, Jura
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jura 2017-09-13 10:02:27 UTC
$ sudo emerge -av gnome-weather 
.....
$ gnome-weather 
Gtk-Message: Failed to load module "unity-gtk-module"
Gtk-Message: Failed to load module "unity-gtk-module"
Gjs-Message: JS LOG: Missing GSettings schema org.gnome.Weather.Application

gnome2.eclass do not run glib-compile-schemas after install gnome packages
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2017-09-13 21:14:26 UTC
Please attach full emerge --info gnome-weather and build.log
Comment 2 Jura 2017-09-13 21:27:58 UTC
Created attachment 494418 [details]
emerge --info gnome-weather
Comment 3 Jura 2017-09-13 21:28:30 UTC
How to get build.log after install?
Comment 4 Jura 2017-09-13 21:30:11 UTC
Created attachment 494420 [details]
build.log from terminal output
Comment 5 Jura 2017-09-13 21:32:28 UTC
After run 
glib-compile-schemas /usr/share/glib-2.0/schemas manualy problem disapper and gnome-weather work
Comment 7 Brian Evans (RETIRED) gentoo-dev 2017-09-15 01:05:37 UTC
The commit https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a148b8258e24e6119885be466f344f31fe22485

Changed the meaning of "fail if empty" into "run if empty"

The -z conditionals on lines 343 and 367 of gnome2.eclass should be changed to -n so that it runs if available.
Comment 8 Brian Evans (RETIRED) gentoo-dev 2017-09-15 01:09:06 UTC
*** Bug 630962 has been marked as a duplicate of this bug. ***
Comment 9 Larry the Git Cow gentoo-dev 2017-09-15 06:32:40 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffb6f9396884aaf7a9c84faa994cde3c458eb83f

commit ffb6f9396884aaf7a9c84faa994cde3c458eb83f
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2017-09-15 06:31:43 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2017-09-15 06:32:27 +0000

    gnome2.eclass: Fix accidental reverse of schema update conditional
    
    Closes: https://bugs.gentoo.org/630874

 eclass/gnome2.eclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)