Re: Conventions for compiling SRPMs for 32bit targets

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

 



On 12.5.2018 11:51, Boris Zikeyev wrote:
Hi all,

I'm hoping this is the correct mailing list for my question.
I wanted to know if there is a common\conventional way of compiling SRPMs (and generating the corresponding binary RPMs) on a x86_64 env for a i686 target. In particular, I'm interested in compiling glibc for i686. This has to be possible, since an i686 version of the package is indeed available from the repository. However, simply attempting to compile the SRPM by running:
   rpmbuild -ba <my path>/rpmbuild/SPECS/glibc.spec --target=i686
(after obtaining all of the dependencies) seems to fail due to incorrect env vars and\or configure flags.

Try with mock:

https://fedoraproject.org/wiki/Mock

    mock -r fedora-rawhide-i386 <SRPM>

--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
packaging mailing list -- packaging@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to packaging-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux