Ok, I checked what is going on. We patch automake to define pythondir
in terms of libdir (rather than hardcode 'lib' or query it from python
as automake upstream does):
https://git.yoctoproject.org/poky/tree/meta/recipes-devtools/automake/automake/0001-automake-Update-for-python.m4-to-respect-libdir.patch

This means that anywhere where pythondir is defined, libdir needs to
be defined as well, and the whole thing should not be installed into
libdir and not datadir.

And therefore any patches to make this happen are Upstream-Status:
Inappropriate, and you do not need to send them upstream :-)

So please resubmit here taking this explanation into the commit
message, and maybe notify upstream that they shouldn't worry about it.

Alex

On Wed, 22 Mar 2023 at 08:55, Alexander Kanavin via
lists.openembedded.org <[email protected]>
wrote:
>
> I would suggest you open a pull request anyway, it just needs a clear
> explanation why xcb-proto is in fact arch-specific (because it builds
> and installs python bindings).
>
> Alex
>
> On Wed, 22 Mar 2023 at 08:52, [email protected] <[email protected]> wrote:
> >
> > In xcb-proto's commit history, the previous commit changed libdir to 
> > datarootdir.
> >
> > So maybe it's not appropriate for me to directly change it back.
> >
> > I'am discussing this issue with the community.
> > https://lists.freedesktop.org/archives/xcb/2023-March/011429.html
> >   --
> > Best Regards
> > ---------------------------------------------------
> > Wang Mingyu
> > Development Dept.I
> > Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST) No. 6 Wenzhu Road, 
> > Nanjing, 210012, China
> > TEL: +86+25-86630566-8568
> > COINS: 79988548
> > FAX: +86+25-83317685
> > MAIL: [email protected]
> > http://www.fujitsu.com/cn/fnst/
> >
> > > -----Original Message-----
> > > From: [email protected]
> > > <[email protected]> On Behalf Of Alexander
> > > Kanavin
> > > Sent: Wednesday, March 22, 2023 2:18 PM
> > > To: Wang, Mingyu/王 鸣瑜 <[email protected]>
> > > Cc: [email protected]
> > > Subject: Re: [OE-core] [PATCH V3] xcb-proto: Fix install conflict when 
> > > enable
> > > multilib.
> > >
> > > On Wed, 22 Mar 2023 at 03:20, wangmy <[email protected]> wrote:
> > > > +Subject: [PATCH] Fix install conflict when enable multilib.
> > > > +
> > > > +Upstream-Status: Pending
> > >
> > > Please send this upstream first:
> > > https://gitlab.freedesktop.org/xorg/proto/xcbproto/-/merge_requests
> > >
> > > There should also be a better commit message, something like "install .pc 
> > > file to
> > > $libdir, as it refers to it.
> > >
> > > This is needed in particular for systems with multiple sets of libraries 
> > > (i.e. 32/64
> > > bit).
> > > "
> > >
> > > Alex
>
> 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#178955): 
https://lists.openembedded.org/g/openembedded-core/message/178955
Mute This Topic: https://lists.openembedded.org/mt/97770319/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to