Description of problem:
The libtimidity.pc file shipped with libtimidity-devel contains a broken libdir:
# cat /usr/lib64/pkgconfig/libtimidity.pc
On 64bit targets, this causes pkg-config to return /usr/lib instead of /usr/lib64.
# pkg-config --libs libtimidity
Version-Release number of selected component (if applicable):
- I haven't checked older Fedoras, but I'd assume all released version on all released Fedoras are affected.
- This bogus -L/usr/lib introduces bogus linker paths when building other packages and can cause linking errors in multilib'ed environments.
- One possible fix would be this patch:
diff -Naur libtimidity-0.2.1.orig/libtimidity.pc.in libtimidity-0.2.1/libtimidity.pc.in
--- libtimidity-0.2.1.orig/libtimidity.pc.in 2016-10-01 11:01:40.000000000 +0200
+++ libtimidity-0.2.1/libtimidity.pc.in 2017-02-24 14:47:25.669017202 +0100
@@ -1,7 +1,7 @@
Description: MIDI to WAVE converter library
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle.
Changing version to '26'.
I just applied the following patch in mainstream:
Is this good enough?
(In reply to Ozkan Sezer from comment #2)
> I just applied the following patch in mainstream:
> Is this good enough?
Yes that looks good to me.
Ok then, just made a new 0.2.4 release with the fix included.
libtimidity-0.2.4-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-c7207d6039
libtimidity-0.2.4-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-c7207d6039
libtimidity-0.2.4-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.