Bug 677866

Summary: m17n*.pc reports wrong moduledir on x86_64 system
Product: [Fedora] Fedora Reporter: Daiki Ueno <dueno>
Component: m17n-libAssignee: Parag Nemade <pnemade>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14CC: i18n-bugs, petersen, pnemade
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: m17n-lib-1.6.2-3.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-30 05:33:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Daiki Ueno 2011-02-16 06:22:30 UTC
Description of problem:
On x86_64 system, m17n-lib modules are installed under /usr/lib64/m17n/1.0.  However pkg-config scripts hard-code the location as /usr/lib/m17n/1.0.

Version-Release number of selected component (if applicable):
m17n-lib-devel-1.6.2-1.fc14

How reproducible:
always

Steps to Reproduce:
1.pkg-config --variable=moduledir m17n-shell
2.
3.
  
Actual results:
/usr/lib/m17n/1.0

Expected results:
/usr/lib64/m17n/1.0

Additional info:
Possible solution would be to use ${libdir} instead of ${exec_prefix}/lib in *.pc.

BTW, it seems that /usr/lib{,64}/m17n is not owned by any package:
 $ rpm -qf /usr/lib64/m17n
 file /usr/lib64/m17n is not owned by any package
while  /usr/lib64/m17n/1.0/libmimx-anthy.so is owned by m17n-lib-anthy:
 $ rpm -qf /usr/lib64/m17n/1.0/libmimx-anthy.so
 m17n-lib-anthy-1.6.2-1.fc14.x86_64

Comment 1 Parag Nemade 2011-02-28 05:26:44 UTC
Patch has been submitted to upstream for its review and commit. Waiting for upstream reply.

Comment 2 Fedora Update System 2011-03-22 09:45:26 UTC
m17n-lib-1.6.2-3.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/m17n-lib-1.6.2-3.fc15

Comment 3 Fedora Update System 2011-03-30 05:33:31 UTC
m17n-lib-1.6.2-3.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.