Bug 9431

Summary: Can't install epiphany
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Gary Thomas <gary>
Component: graphicsAssignee: Jussi Kukkonen <jku>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: Undecided CC: jku, meta.mr.watcher, meta.watcher
Version: unspecified   
Target Milestone: 2.1 M4   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: Regression (Used to work)
Verified: Documentation change: No (bug/feature does not impact docs)

Description Gary Thomas 2016-04-11 05:45:53 UTC
When installing epiphany into an existing system, I'm now
getting these errors:
--------------------------------------------------------------
Configuring libgtk-3.0.
///var/lib/opkg/info/libgtk-3.0.postinst: line 3: glib-compile-schemas: not found
Configuring gsettings-desktop-schemas.
///var/lib/opkg/info/gsettings-desktop-schemas.postinst: line 2: glib-compile-schemas: not found
Configuring epiphany.
///var/lib/opkg/info/epiphany.postinst: line 2: glib-compile-schemas: not found
--------------------------------------------------------------

I believe this is because glib-compile-schemas was moved from
glib-2.0-utils to glib-2.0-dev by this change (Poky)
--------------------------------------------------------------
commit cc97d5760100415ed22fa329e8962e5f37b8d741
Author: Jussi Kukkonen <jussi.kukkonen@intel.com>
Date: Wed Mar 23 10:59:08 2016 +0200

glib-2.0: Fix packaging

* move gdbus-codegen to ${PN}-codegen
* move other development tools and data files to ${PN}-dev
* remove references to non-existent paths

(From OE-Core rev: 351064e9c5deb6411c8a0d40ebd4fd4f83299d4e)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
--------------------------------------------------------------

Installing glib-2.0-dev just to get this tool doesn't seem reasonable as
it hauls in a boatload of other packages, including bash and friends, which
I don't want on my target.
Comment 1 Jussi Kukkonen 2016-04-12 08:16:31 UTC
Patch sent to move "glib-compile-schemas" back to -utils.
Comment 2 Jussi Kukkonen 2016-04-13 06:30:03 UTC
commit 0e59727b0874074af44aa42c277c26f44af16dcc
Author: Jussi Kukkonen <jussi.kukkonen@intel.com>
Date:   Mon Apr 11 14:07:52 2016 +0300

    glib-2.0: Put glib-compile-schemas back in -utils
    
    Commit cc97d576 moved a bunch of development tools to the -dev
    package. glib-compile-schemas is actually used in postinst by
    gsettings.bbclass so it needs to be available on target at package
    install time: Move the tool back to glib-2.0-utils which
    gsettings.bbclass depends on.
    
    Fixes [YOCTO #9431].
    
    (From OE-Core rev: 0baf3ff7867e95ae5f700ddd225c1bde6d5dfc38)
    
    Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>