[poky] install-info creates package clashes for e.g. external python tarball
Koen Kooi
koen at dominion.thruhere.net
Tue Jan 18 10:20:03 PST 2011
Op 18 jan 2011, om 18:51 heeft Chris Larson het volgende geschreven:
> On Tue, Jan 18, 2011 at 12:51 AM, Koen Kooi <koen at dominion.thruhere.net> wrote:
>> When building external-python-tarball I get:
>>
>>
>> | * check_data_file_clashes: Package libreadline6 wants to install file /OE/tentacle/build/tmp-angstrom_2010_x/work/armv7a-angstrom-linux-gnueabi/external-python-tarball-1.0-r0/sdk/image/usr/local/angstrom/x86_64/sysroots/x86_64-angstromsdk-linux/usr/share/info/dir
>> | But that file is already provided by package * eglibc-nativesdk
>> | * opkg_install_cmd: Cannot install package python-nativesdk-core.
>>
>> I vaguely recall running into this a few years ago in OE, but I can only find this one: http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=7b774a106f6936fd050abb4cbe90a84bd0b67025
>>
>>
>> Does anyone have an idea on how to fix this in yocto without resorting to --force-overwrite?
>
> I don't know much about info, but I'd take a wild guess that dir is an
> index of what's available, and that we should create a bbclass that
> adds a postinst to update it on install for packages that add files to
> infodir.
It is. As I never use info, only man, I would very much like to delete it and forget about it. But I'm asking if anyone has a better solution :) e.g.
bitbake.conf: PACKAGES =+ installinfo-crap ; FILES_installinfo-crap = ${datadir}/info/dir
regards,
Koen
> Maybe someone else actually has a clue about info though :)
> --
> Christopher Larson
> clarson at kergoth dot com
> Founder - BitBake, OpenEmbedded, OpenZaurus
> Maintainer - Tslib
> Senior Software Engineer, Mentor Graphics
More information about the poky
mailing list