[Xcb] ask for directory of xcb-proto.pc

Olivier Fourdan ofourdan at redhat.com
Fri Mar 17 08:38:23 UTC 2023


Hi,

On Fri, Mar 17, 2023 at 9:01 AM wangmy at fujitsu.com <wangmy at fujitsu.com> 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



More information about the Xcb mailing list