Re: How to build i386 rpms on x86_64?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Joe Christy wrote:
> 	I'm sure that this must have been discussed before, probably ad
> nauseum, but I can't seem to find the right search terms to google it
> successfully.
> 
> 	I would like to replace the freetype packages on my F8 x86_64 machine
> with ones where the bytecode interpreter is enabled. I see that the
> freetype spec file has a toggle for that and sure enough,

An alternative is to use the Livna freetype-freeworld package.

> rpmbuild --sign -ba --with bytecode_interpreter --with
> subpixel_rendering freetype.spec
> 
> builds me the x86_64 rpms I need for the x86_64 libraries I need.
> 
> 	Alas, for reasons of my own, I need to run the 32-bit firefox, so I
> need the i386 libraries as well, but
[...]
> 	Can someone please point me to the appropraite place to learn how to
> build i386 rpms on x86_64?

Sorry to not have any link handy, but AFAIK, you can use mock to help
out here.  setarch i386 mock -r fedora-8-i386 rebuild freetype*.src.rpm

(Where the freetype srpm has the bytecode_interpreter and
subpixel_rendering flags already set to the values you want.)

You need to add the user building the packages to the mock group
first.

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
No one gets too old to learn a new way of being stupid.

Attachment: pgpcFjvt3sbqT.pgp
Description: PGP signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux