FS#72378 - [xtrans][xorg-util-macros] .pc files maybe needs install in architecture agnostic path

Attached to Project: Arch Linux
Opened by Gustavo Alvarez (sl1pkn07) - Sunday, 10 October 2021, 02:02 GMT
Last edited by Jan Alexander Steffens (heftig) - Thursday, 16 February 2023, 18:03 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Hi.

the .pc files in both packages install the .pc files in /usr/lib

due is a headers only/set defines packages, this .pc files maybe set installed in archtitecture agnostic path, like /usr/share/pkgconfig


in the packagebuidls have this lines added 13/11y ago

https://github.com/archlinux/svntogit-packages/blob/packages/xorg-util-macros/trunk/PKGBUILD#L27-L28
https://github.com/archlinux/svntogit-packages/blob/packages/xtrans/trunk/PKGBUILD#L29-L30

maybe need remove and leave untouched the upstream behavior

greetings


This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Thursday, 16 February 2023, 18:03 GMT
Reason for closing:  Fixed
Comment by Andreas Radke (AndyRTR) - Sunday, 10 October 2021, 18:49 GMT
andyrtr@workstation64:[/tmp/luit/trunk]$ find /usr/lib/pkgconfig/ | wc -l
1108
andyrtr@workstation64:[/tmp/luit/trunk]$ find /usr/share/pkgconfig/ | wc -l
67

Afaik there's no strict rule from FHS but in the recent years files moved over /usr/lib.
Comment by Gustavo Alvarez (sl1pkn07) - Sunday, 10 October 2021, 18:53 GMT
and what happen with multilib builds when use headers-only package?. 32builds .pc files is stored in /usr/lib32/pkgconfig. no interfiere when that build search that pkgfiles when use PKG_CONFIG_PATH="/usr/lib32/pkgconfig"?

greetings
Comment by Jan Alexander Steffens (heftig) - Tuesday, 12 October 2021, 23:39 GMT
Using PKG_CONFIG_PATH="/usr/lib32/pkgconfig" still leaves /usr/lib/pkgconfig in the search path, so it would work but this is wrong. You should be using PKG_CONFIG="i686-pc-linux-gnu-pkg-config" instead, which properly switches out lib with lib32. In that case, we do need architecture-independent stuff in /usr/share/pkgconfig.
Comment by Gustavo Alvarez (sl1pkn07) - Wednesday, 13 October 2021, 00:19 GMT
hi

PKG_CONFIG="i686-pc-linux-gnu-pkg-config" is it used in any arch packages at the moment? because PKG_CONFIG_PATH="/usr/lib32/pkgconfig" is how arch package guidelines dict https://wiki.archlinux.org/title/32-bit_package_guidelines

greetings
Comment by Jan Alexander Steffens (heftig) - Wednesday, 13 October 2021, 00:29 GMT
I've never seen those lib32 guidelines before. They're simply wrong, and not just on the pkg-config issue.
Comment by Gustavo Alvarez (sl1pkn07) - Thursday, 17 February 2022, 23:00 GMT
@heftig sorry the late


then something happen in offical multilib repository. all lib32 packages i see in it uses the wiki lib32 package guideline convention. so, what i need to do?

open a other issue?

greetings
Comment by loqs (loqs) - Monday, 14 March 2022, 16:07 GMT
@sl1pkn07 perhaps the lib32-pkgconf.txt attached helps. The diffs are of the small group that used both methods. Converting the 185 across would take somewhat longer.
Comment by Gustavo Alvarez (sl1pkn07) - Wednesday, 15 February 2023, 23:02 GMT
Hi again

xorg-util-macros has been upgraded, but the pkgconf files still in arch depend path

greetings
Comment by Gustavo Alvarez (sl1pkn07) - Thursday, 16 February 2023, 16:27 GMT
now done (xtrans and xorg-util-macros)

can be close

and greetings

Loading...