Bug 231489 - freetype 32-bit RPM build incorrect on x86_64
Summary: freetype 32-bit RPM build incorrect on x86_64
Keywords:
Status: CLOSED DUPLICATE of bug 232429
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: 6
Hardware: x86_64
OS: Linux
medium
low
Target Milestone: ---
Assignee: Panu Matilainen
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-03-08 18:07 UTC by Jan "Yenya" Kasprzak
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2007-10-08 13:01:38 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jan "Yenya" Kasprzak 2007-03-08 18:07:54 UTC
Description of problem:
I wanted to recompile freetype2 SRPM (to change some build-time option :-),
but I was not able to build a 32-bit version on my x86_64 system.

Version-Release number of selected component (if applicable):
freetype-2.2.1-16.fc6

How reproducible:
100%

Steps to Reproduce:
1. rpm -i freetype-2.2.1-16.fc6.src.rpm
2. rpmbuild -ba --target i686 freetype.spec
3. rpm -qpl ../RPMS/i686/freetype-2.2.1-16.i686.rpm | grep /lib
  
Actual results:
/usr/lib64/libfreetype.so.6
/usr/lib64/libfreetype.so.6.3.10
i.e., the 32-bit libraries (provided they have been built correctly as 32-bit
ones :-) end up in /usr/lib64 instead of /usr/lib

Expected results:
/usr/lib/libfreetype.so.6
/usr/lib/libfreetype.so.6.3.10

Additional info:

Comment 1 Matthias Clasen 2007-04-24 04:58:30 UTC
Not a freetype bug. This is about setting up a working environment for multilib 
development.

Comment 2 Jan "Yenya" Kasprzak 2007-04-24 10:56:14 UTC
In this case - maybe RPM can be hacked to check all the packaged files with
file(1) to automatically detect this problem and refuse to build the RPM
containing files for wrong arch (in the same way it checks for unpackaged
files or for auto dependencies).

Comment 3 Jeff Johnson 2007-04-24 20:57:57 UTC
The means to hack rpm to automate the check already exist, other hacks are in the redhat-rpm-config 
package.

NOTABUG for rpm


Comment 4 Red Hat Bugzilla 2007-08-21 05:32:25 UTC
User pnasrat's account has been closed

Comment 5 Panu Matilainen 2007-08-22 06:34:37 UTC
Reassigning to owner after bugzilla made a mess, sorry about the noise...

Comment 6 Panu Matilainen 2007-10-08 13:01:38 UTC

*** This bug has been marked as a duplicate of 232429 ***


Note You need to log in before you can comment on or make changes to this bug.