Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#76808 - [libarchive] fix pc file

Attached to Project: Arch Linux
Opened by Allan McRae (Allan) - Monday, 12 December 2022, 11:14 GMT
Last edited by Christian Hesse (eworm) - Monday, 12 December 2022, 11:40 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Christian Hesse (eworm)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

libarchive-3.6.2 has the following line added to the pkgconfig file:

Requires.private: iconv libssl libcrypto

The iconv is not needed as the build uses glibc's iconv implementation and not an external library. This causes users of the .pc file to search for iconv, when it remains unneeded (the reason for pkgconf searching for private libraries when not building statically is a whole other story!). In particular, this breaks the pacman build.

The following line in the package() function will address the issue:

sed -i "s/iconv //" "$pkgdir"/usr/lib/pkgconfig/libarchive.pc


Bumped the severity up as it currently breaks the pacman CI.
This task depends upon

Closed by  Christian Hesse (eworm)
Monday, 12 December 2022, 11:40 GMT
Reason for closing:  Fixed
Additional comments about closing:  libarchive 3.6.2-2

Loading...