Bug 7275 - Package already provided by another
Summary: Package already provided by another
Status: RESOLVED INVALID
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-02-03 08:43 UTC by andrej.simko
Modified: 2015-02-03 14:01 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.