[yocto] Error: file provided by multiple packages

João Gonçalves joao.jfgoncalves at gmail.com
Tue Jan 22 14:11:44 PST 2019


I'm using master branch or embedded core to build a most recent toolchain
with gcc 8.2 (I previously had 7.3 but it didn't provide the libstdc++fs
that I needed).

I almost made this build work but now I'm having the following error on my
image do_rootfs:

Package systemd wants to install file
/home/joao/master_imx6/build/tmp-glibc/work/thomson_apalis_imx6-angstrom-linux-gnueabi/kelvin-base-image/0.2.4-r0/thomson-apalis-imx6_kelvin-base-image_2.8.5/rootfs/etc/systemd/journald.conf
But that file is already provided by package  * systemd-conf

Then I checked that systemd_239.bb do_install() remove installed conf files
that should be handled by systemd-conf.
What I suppose is that systemd-conf do_install() is executed first and then
systemd do_install() eventually breaks when installs the file (before
removing it).

Does anyone know if is possible to specify the install order? or if this is
really the problem

Thanks,
Joao Goncalves
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190122/e8484aa9/attachment.html>


More information about the yocto mailing list