Bug 7275

Summary: Package already provided by another
Product: [Build System, Metadata & Runtime] BitBake Reporter: andrej.simko
Component: bitbakeAssignee: Richard Purdie <richard.purdie>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Undecided CC: bluelightning, poky.bs.watcher, poky.watcher
Version: unspecified   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description andrej.simko 2015-02-03 08:43:35 UTC
Hello,

bitbake core-image-x11 on olinuxino-a20 is firing this:
Configuring packagegroup-core-x11-utils.
Collected errors:
 * check_data_file_clashes: Package libump-dev wants to install file /data/src/yocto/build/a20-lime/tmp/work/olinuxino_a20-poky-linux-gnueabi/core-image-x11/1.0-r0/rootfs/usr/lib/libUMP.so
        But that file is already provided by package  * sunxi-mali
 * opkg_install_cmd: Cannot install package packagegroup-core-x11-base.

ERROR: Function failed: do_rootfs
ERROR: Logfile of failure stored in: /data/src/yocto/build/a20-lime/tmp/work/olinuxino_a20-poky-linux-gnueabi/core-image-x11/1.0-r0/temp/log.do_rootfs.27911
ERROR: Task 7 (/data/src/yocto/poky/meta/recipes-graphics/images/core-image-x11.bb, do_rootfs) failed with exit code '1'

Is there a possibility to force installation, or ignore one of the libUMP.so ?
Comment 1 Paul Eggleton 2015-02-03 14:01:58 UTC
There is no facility to ignore this within the build system I'm afraid - the recipes need to be fixed to not install and package conflicting files. I would suggest talking to the maintainers of the layers involved.