Re: ask for directory of xcb-proto.pc
Olivier Fourdan <[email protected]> Fri, 17 Mar 2023 09:38:23 +0100
| Newsgroups | gmane.comp.freedesktop.xcb |
|---|---|
| Message-ID | <CAP=2yyQJkU+xRCsL66Fi30-bHwNfP0OJwWxAiSgz0mTZcgG-5g@mail.gmail.com> |
Hi, On Fri, Mar 17, 2023 at 9:01 AM [email protected] <[email protected]> wrote: > > When compiling with version 1.15.2 of xcb-proto, conflict occured in a multilib environment: > file /usr/share/pkgconfig/xcb-proto.pc conflicts between attempted installs of lib32-xcb-proto-dev and xcb-proto-dev > > After investigation, it is found that the following setting in Makefile.am: > pkgconfigdir = $(datarootdir)/pkgconfig > > The setting for pgkconfigdir in version 1.15 is as follows: > pkgconfigdir = $(libdir)/pkgconfig > In this version, conflicts do not occur in the multilib environment. > > Could you tell me why the pkgconfigdir changed from libdir to datarootdir? That's commit d849b9534a5 [1]. The commit message does not not tell, but the corresponding merge request [2] hints that's because this is an architecture independent package. The multilib issue might be a packaging issue with your distribution, xcb proto should not be architecture dependent. HTH Cheers Olivier [1] https://gitlab.freedesktop.org/xorg/proto/xcbproto/-/commit/d849b9534a5 [2] https://gitlab.freedesktop.org/xorg/proto/xcbproto/-/merge_requests/30