Bug 6514

Summary: cogl libraries conflict with themselves
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Rudolf J Streif <rudolf.streif>
Component: graphicsAssignee: Ross Burton <ross.burton>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: holger.behrens, meta.mr.watcher, meta.watcher
Version: 1.7   
Target Milestone: 1.7   
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)
Attachments:
Description Flags
Log of do_rootfs none

Description Rudolf J Streif 2014-07-08 23:26:42 UTC
Created attachment 2033 [details]
Log of do_rootfs

I am attempting to build core-image-weston with Poky from Master. It fails creating the rootfs when smart tries to install libcogl (details at the end):

error:     libcogl20-1.18.0-r0@i586 conflicts with libcogl-path20-1.18.0-r0@i586

Full log file attached.

With the same build environment it's reproducible every time. I will create a new build environment and try again and update.




Build Configuration:
BB_VERSION        = "1.23.1"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Fedora-18"
TARGET_SYS        = "i586-poky-linux"
MACHINE           = "qemux86"
DISTRO            = "poky"
DISTRO_VERSION    = "1.6+snapshot-20140708"
TUNE_FEATURES     = "m32 i586"
TARGET_FPU        = ""
meta             
meta-yocto       
meta-yocto-bsp    = "master:a5531a2b8983318b99c119a87b78a92cf84160b8"

NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Unable to install packages. Command '/run/media/rudi/SanDisk-256G/develop/yocto/yocto-git/x86/tmp/sysroots/x86_64-linux/usr/bin/smart --data-dir=/run/media/rudi/SanDisk-256G/develop/yocto/yocto-git/x86/tmp/work/qemux86-poky-linux/core-image-weston/1.0-r0/rootfs/var/lib/smart install -y packagegroup-core-ssh-dropbear@all psplash@i586 libclutter-1.0-examples@i586 packagegroup-base-extended@qemux86 smartpm@i586 packagegroup-core-tools-debug@qemux86 packagegroup-core-eclipse-debug@all weston@i586 weston-init@all gtk+3-demo@i586 weston-examples@i586 packagegroup-core-sdk@all packagegroup-core-standalone-sdk-target@all rpm@i586 packagegroup-core-boot@qemux86 locale-base-en-us@i586 locale-base-en-gb@i586' returned 1:
Loading cache...
Updating cache...               ######################################## [100%]

Computing transaction...error: Can't install libcogl-path20-1.18.0-r0@i586: unable to install provider for libcogl20 >= 1.18.0:
error:     libcogl20-1.18.0-r0@i586 conflicts with libcogl-path20-1.18.0-r0@i586


ERROR: Function failed: do_rootfs
Comment 1 Holger Behrens 2014-07-09 13:30:41 UTC
I figured out that if you comment out

# For backwards compatibility after Debian-renaming
RPROVIDES_libcogl = "cogl-1.0"
RCONFLICTS_libcogl = "cogl-1.0"
RREPLACES_libcogl = "cogl-1.0"

in cogl-1.0.inc the build does succeed. My understanding on "backwards compatibility" is limited though, as it my time to debug it further.
Comment 2 Ross Burton 2014-07-09 13:49:12 UTC
That was my hunch, as the cogl-1.0 recipe ends up being renamed to libcogl-path.  I suspect it's time to remove those compat names.
Comment 3 Rudolf J Streif 2014-07-10 17:35:07 UTC
Thanks, that fixed it for me. Interesting though that Ross' build worked.
Comment 4 Ross Burton 2014-10-06 14:15:38 UTC
Fixed in oe-core 9d63188950ecd1877adf1e40de1ca1928729d866.