On Wed, 2023-03-08 at 09:40 +0800, wangmy wrote: > From: Wang Mingyu <wan...@fujitsu.com> > > Error: Transaction test error: > file /usr/share/pkgconfig/xcb-proto.pc conflicts between attempted installs > of lib32-xcb-proto-dev-1.15.2-r0.armv7ahf_neon and > xcb-proto-dev-1.15.2-r0.cortexa57 > > The differences between the two files are as follows: > @@ -2,7 +2,7 @@ > exec_prefix=/usr > datarootdir=${prefix}/share > datadir=/usr/share > -libdir=/usr/lib64 > +libdir=/usr/lib > xcbincludedir=${pc_sysrootdir}${datadir}/xcb > PYTHON_PREFIX=${prefix} > pythondir=${pc_sysrootdir}${libdir}/python3.11/site-packages > > Signed-off-by: Wang Mingyu <wan...@fujitsu.com> > --- > meta/recipes-graphics/xorg-proto/xcb-proto_1.15.2.bb | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/meta/recipes-graphics/xorg-proto/xcb-proto_1.15.2.bb > b/meta/recipes-graphics/xorg-proto/xcb-proto_1.15.2.bb > index 4e4472a9c1..0fdca732e8 100644 > --- a/meta/recipes-graphics/xorg-proto/xcb-proto_1.15.2.bb > +++ b/meta/recipes-graphics/xorg-proto/xcb-proto_1.15.2.bb > @@ -28,3 +28,6 @@ DEV_PKG_DEPENDENCY = "" > RRECOMMENDS:${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})" > > BBCLASSEXTEND = "native nativesdk" > +inherit multilib_script > +MULTILIB_SCRIPTS = "${PN}-dev:${datadir}/pkgconfig/xcb-proto.pc" > +
If the .pc file doesn't use libdir anywhere, we should just delete that line. It is being installed into a "noarch" location (datadir) so it shouldn't be library specific. Also, we should *never* be putting pkgconfig files under update- alternatives control! Cheers, Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#178158): https://lists.openembedded.org/g/openembedded-core/message/178158 Mute This Topic: https://lists.openembedded.org/mt/97464370/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-