libxcb needs to find the python package in the path specified by pythondir
recorded in xcb-proto.pc. If the libdir line is deleted, libxcb will report an
error when compiling:
| Failed to load the xcbgen Python package!
| Make sure that xcb/proto installed it on your Python path.
| If not, you will need to create a .pth file or define $PYTHONPATH
| to extend the path.
| Refer to the README file in xcb/proto for more info.
The file contents after deleting libdir are compared as follows:
@@ -2,10 +2,8 @@
exec_prefix=/usr
datarootdir=${prefix}/share
datadir=/usr/share
-libdir=/usr/lib
xcbincludedir=${pc_sysrootdir}${datadir}/xcb
PYTHON_PREFIX=${prefix}
-pythondir=${pc_sysrootdir}${libdir}/python3.11/site-packages
Name: XCB Proto
Description: X protocol descriptions for XCB
--
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: Alexander Kanavin <[email protected]>
> Sent: Monday, March 13, 2023 3:50 PM
> To: Wang, Mingyu/王 鸣瑜 <[email protected]>
> Cc: Richard Purdie <[email protected]>;
> [email protected]
> Subject: Re: [OE-core] [PATCH V2 4/5] xcb-proto: Fix install conflict when
> enable
> multilib.
>
> On Mon, 13 Mar 2023 at 08:29, wangmy <[email protected]> wrote:
> > When libxcb is compiled, it will read libdir from xcb-proto.pc to find the
> > library.
> > If delete this line, libxcb will report an error because it cannot find the
> directory of the library.
>
> Which library in particular? Can you show the error, and the point in libxcb's
> code where it happens?
> xcb-proto does not install any libraries, and so there is no reason for
> xcb-proto.pc to tell where the libraries are.
>
> Alex
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#178472):
https://lists.openembedded.org/g/openembedded-core/message/178472
Mute This Topic: https://lists.openembedded.org/mt/97464370/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-