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#57888 - [libmagick6] pkg-config for libmagick6 (MagickWand-6.Q16HDRI) reports weird libs

Attached to Project: Arch Linux
Opened by Markus Ongyerth (ongy) - Sunday, 18 March 2018, 21:16 GMT
Last edited by Jan Alexander Steffens (heftig) - Sunday, 18 March 2018, 23:51 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Antonio Rojas (arojas)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: `pkg-config --libs MagickWand-6.Q16HDRI` reports `-lMagickWand-6.Q16HDRI -lMagickCore-7.Q16HDRI` which causes clients to link incompatible versions of MagicWand and MagicCore into the same binary.


Additional info:
* package version: 6.9.9.39-1

Steps to reproduce:
`pkg-config --libs MagicWand-6.Q16HDRI`
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Sunday, 18 March 2018, 23:51 GMT
Reason for closing:  Fixed
Additional comments about closing:  6.9.9.39-2
Comment by Eli Schwartz (eschwartz) - Sunday, 18 March 2018, 22:23 GMT
imagemagick 6 and 7 are versioned, libmagick provides version 7 and libmagick6 provides version 6

So this works fine:
PKG_CONFIG_PATH=/usr/lib/imagemagick6/pkgconfig/ pkg-config --libs MagickWand-6.Q16HDRI

If there is anything to discuss, it may be why are there any pkgconfig files available outside that PKG_CONFIG_PATH at all.
Comment by Doug Newgard (Scimmia) - Sunday, 18 March 2018, 22:47 GMT
The problem is that it lists Requires: MagickCore, when it should be requiring MagickCore-6-Q16HDRI
Comment by Jan Alexander Steffens (heftig) - Sunday, 18 March 2018, 23:00 GMT
Yeah, segregating all the pkg-config files is a better idea.

Loading...