On Nov 17, 2007 6:31 AM, Michael Schwendt <mschwendt@xxxxxxxxx> wrote: > On 16/11/2007, Joe Christy wrote: > > > Can someone please point me to the appropraite place to learn how to > > build i386 rpms on x86_64? > > If /etc/rpm/platform exists, remove it or change it appropriately. > Then run "setarch i686 rpmbuild --target i386 --rebuild ..." > If you run "rpmbuild --target=x86_64,i386 --define="dist fc8" firefox.spec" it will try to build both rpms. It works for most packages, however, for me the compile of firefox fails on an x86_64 machine when it comes time to build the i386 version. I did a lot of googling and found several people who reported the same compile time failure, and in the end i just ended up finding an i386 machine to try to do the compile. That worked fine. In case people who know "how to" are reading, here's the error that ends the compile. As I said, I've seen plenty of people posting about this, but there's no obvious fix for me--some people suggest patches to the libraries that are being used, but I don't see clear consensus on the "right" approach. home/pauljohn/LinuxDownloads/redhat/BUILD/mozilla/config/nsinstall -R -m 644 nsIObserverService.idl nsIObserver.idl nsIProperties.idl nsISimpleEnumerator.idl nsISupportsPrimitives.idl ../../dist/idl /home/pauljohn/LinuxDownloads/redhat/BUILD/mozilla/config/nsinstall -R -m 644 nsIObserverService.idl nsIObserver.idl nsIProperties.idl nsISimpleEnumerator.idl nsISupportsPrimitives.idl ../../dist/sdk/idl /home/pauljohn/LinuxDownloads/redhat/BUILD/mozilla/config/nsinstall -R -m 644 _xpidlgen/nsIObserverService.h _xpidlgen/nsIObserver.h _xpidlgen/nsIProperties.h _xpidlgen/nsISimpleEnumerator.h _xpidlgen/nsISupportsPrimitives.h ../../dist/include/xpcom /home/pauljohn/LinuxDownloads/redhat/BUILD/mozilla/config/nsinstall -R -m 644 _xpidlgen/nsIObserverService.h _xpidlgen/nsIObserver.h _xpidlgen/nsIProperties.h _xpidlgen/nsISimpleEnumerator.h _xpidlgen/nsISupportsPrimitives.h ../../dist/sdk/include gmake[4]: Leaving directory `/home/pauljohn/LinuxDownloads/redhat/BUILD/mozilla/xpcom/ds' gmake[4]: Entering directory `/home/pauljohn/LinuxDownloads/redhat/BUILD/mozilla/xpcom/io' Creating .deps Creating _xpidlgen/.done /home/pauljohn/LinuxDownloads/redhat/BUILD/mozilla/config/nsinstall -R -m 644 nsAppDirectoryServiceDefs.h nsDirectoryService.h nsEscape.h nsFastLoadPtr.h nsFastLoadService.h nsLinebreakConverter.h nsLocalFile.h nsMultiplexInputStream.h nsScriptableInputStream.h nsStorageStream.h nsStringIO.h nsStringStream.h nsStreamUtils.h nsNativeCharsetUtils.h nsLocalFileUnix.h ../../dist/include/xpcom nsIBinaryInputStream.idl ../../dist/bin/xpidl -m header -w -I. -I../../dist/idl -o _xpidlgen/nsIBinaryInputStream nsIBinaryInputStream.idl nsIBinaryOutputStream.idl ../../dist/bin/xpidl -m header -w -I. -I../../dist/idl -o _xpidlgen/nsIBinaryOutputStream nsIBinaryOutputStream.idl nsIByteArrayInputStream.idl ../../dist/bin/xpidl -m header -w -I. -I../../dist/idl -o _xpidlgen/nsIByteArrayInputStream nsIByteArrayInputStream.idl nsIDirectoryEnumerator.idl ../../dist/bin/xpidl -m header -w -I. -I../../dist/idl -o _xpidlgen/nsIDirectoryEnumerator nsIDirectoryEnumerator.idl nsIFastLoadFileControl.idl nsIFastLoadService.idl nsIInputStreamTee.idl ../../dist/bin/xpidl -m header -w -I. -I../../dist/idl -o _xpidlgen/nsIFastLoadFileControl nsIFastLoadFileControl.idl ../../dist/bin/xpidl -m header -w -I. -I../../dist/idl -o _xpidlgen/nsIFastLoadService nsIFastLoadService.idl ../../dist/bin/xpidl -m header -w -I. -I../../dist/idl -o _xpidlgen/nsIInputStreamTee nsIInputStreamTee.idl nsILocalFileWin.idl ../../dist/bin/xpidl -m header -w -I. -I../../dist/idl -o _xpidlgen/nsILocalFileWin nsILocalFileWin.idl nsILineInputStream.idl nsIUnicharLineInputStream.idl ../../dist/bin/xpidl -m header -w -I. -I../../dist/idl -o _xpidlgen/nsILineInputStream nsILineInputStream.idl ../../dist/bin/xpidl -m header -w -I. -I../../dist/idl -o _xpidlgen/nsIUnicharLineInputStream nsIUnicharLineInputStream.idl nsIMultiplexInputStream.idl nsIObjectInputStream.idl ../../dist/bin/xpidl -m header -w -I. -I../../dist/idl -o _xpidlgen/nsIMultiplexInputStream nsIMultiplexInputStream.idl ../../dist/bin/xpidl -m header -w -I. -I../../dist/idl -o _xpidlgen/nsIObjectInputStream nsIObjectInputStream.idl nsIObjectOutputStream.idl nsIPipe.idl ../../dist/bin/xpidl -m header -w -I. -I../../dist/idl -o _xpidlgen/nsIObjectOutputStream nsIObjectOutputStream.idl ../../dist/bin/xpidl -m header -w -I. -I../../dist/idl -o _xpidlgen/nsIPipe nsIPipe.idl nsISeekableStream.idl nsIStorageStream.idl ../../dist/bin/xpidl -m header -w -I. -I../../dist/idl -o _xpidlgen/nsISeekableStream nsISeekableStream.idl ../../dist/bin/xpidl -m header -w -I. -I../../dist/idl -o _xpidlgen/nsIStorageStream nsIStorageStream.idl nsIStringStream.idl nsIStreamBufferAccess.idl ../../dist/bin/xpidl -m header -w -I. -I../../dist/idl -o _xpidlgen/nsIStringStream nsIStringStream.idl ../../dist/bin/xpidl -m header -w -I. -I../../dist/idl -o _xpidlgen/nsIStreamBufferAccess nsIStreamBufferAccess.idl nsIAsyncInputStream.idl ../../dist/bin/xpidl -m header -w -I. -I../../dist/idl -o _xpidlgen/nsIAsyncInputStream nsIAsyncInputStream.idl nsIAsyncOutputStream.idl ../../dist/bin/xpidl -m header -w -I. -I../../dist/idl -o _xpidlgen/nsIAsyncOutputStream nsIAsyncOutputStream.idl nsIUnicharInputStream.idl nsIUnicharOutputStream.idl ../../dist/bin/xpidl -m header -w -I. -I../../dist/idl -o _xpidlgen/nsIUnicharInputStream nsIUnicharInputStream.idl ../../dist/bin/xpidl -m header -w -I. -I../../dist/idl -o _xpidlgen/nsIUnicharOutputStream nsIUnicharOutputStream.idl nsIConverterInputStream.idl ../../dist/bin/xpidl -m header -w -I. -I../../dist/idl -o _xpidlgen/nsIConverterInputStream nsIConverterInputStream.idl nsIConverterOutputStream.idl ../../dist/bin/xpidl -m header -w -I. -I../../dist/idl -o _xpidlgen/nsIConverterOutputStream nsIConverterOutputStream.idl nsIDirectoryService.idl ../../dist/bin/xpidl -m header -w -I. -I../../dist/idl -o _xpidlgen/nsIDirectoryService nsIDirectoryService.idl nsIFile.idl nsILocalFile.idl ../../dist/bin/xpidl -m header -w -I. -I../../dist/idl -o _xpidlgen/nsIFile nsIFile.idl ../../dist/bin/xpidl -m header -w -I. -I../../dist/idl -o _xpidlgen/nsILocalFile nsILocalFile.idl nsIInputStream.idl ../../dist/bin/xpidl -m header -w -I. -I../../dist/idl -o _xpidlgen/nsIInputStream nsIInputStream.idl nsIOutputStream.idl nsIScriptableInputStream.idl ../../dist/bin/xpidl -m header -w -I. -I../../dist/idl -o _xpidlgen/nsIOutputStream nsIOutputStream.idl ../../dist/bin/xpidl -m header -w -I. -I../../dist/idl -o _xpidlgen/nsIScriptableInputStream nsIScriptableInputStream.idl /home/pauljohn/LinuxDownloads/redhat/BUILD/mozilla/config/nsinstall -R -m 644 nsDirectoryServiceDefs.h nsDirectoryServiceUtils.h ../../dist/include/xpcom /home/pauljohn/LinuxDownloads/redhat/BUILD/mozilla/config/nsinstall -R -m 644 nsDirectoryServiceDefs.h nsDirectoryServiceUtils.h ../../dist/sdk/include /home/pauljohn/LinuxDownloads/redhat/BUILD/mozilla/config/nsinstall -R -m 644 nsIBinaryInputStream.idl nsIBinaryOutputStream.idl nsIByteArrayInputStream.idl nsIDirectoryEnumerator.idl nsIFastLoadFileControl.idl nsIFastLoadService.idl nsIInputStreamTee.idl nsILocalFileWin.idl nsILineInputStream.idl nsIUnicharLineInputStream.idl nsIMultiplexInputStream.idl nsIObjectInputStream.idl nsIObjectOutputStream.idl nsIPipe.idl nsISeekableStream.idl nsIStorageStream.idl nsIStringStream.idl nsIStreamBufferAccess.idl nsIAsyncInputStream.idl nsIAsyncOutputStream.idl nsIUnicharInputStream.idl nsIUnicharOutputStream.idl nsIConverterInputStream.idl nsIConverterOutputStream.idl ../../dist/idl /home/pauljohn/LinuxDownloads/redhat/BUILD/mozilla/config/nsinstall -R -m 644 _xpidlgen/nsIBinaryInputStream.h _xpidlgen/nsIBinaryOutputStream.h _xpidlgen/nsIByteArrayInputStream.h _xpidlgen/nsIDirectoryEnumerator.h _xpidlgen/nsIFastLoadFileControl.h _xpidlgen/nsIFastLoadService.h _xpidlgen/nsIInputStreamTee.h _xpidlgen/nsILocalFileWin.h _xpidlgen/nsILineInputStream.h _xpidlgen/nsIUnicharLineInputStream.h _xpidlgen/nsIMultiplexInputStream.h _xpidlgen/nsIObjectInputStream.h _xpidlgen/nsIObjectOutputStream.h _xpidlgen/nsIPipe.h _xpidlgen/nsISeekableStream.h _xpidlgen/nsIStorageStream.h _xpidlgen/nsIStringStream.h _xpidlgen/nsIStreamBufferAccess.h _xpidlgen/nsIAsyncInputStream.h _xpidlgen/nsIAsyncOutputStream.h _xpidlgen/nsIUnicharInputStream.h _xpidlgen/nsIUnicharOutputStream.h _xpidlgen/nsIConverterInputStream.h _xpidlgen/nsIConverterOutputStream.h ../../dist/include/xpcom /home/pauljohn/LinuxDownloads/redhat/BUILD/mozilla/config/nsinstall -R -m 644 nsIDirectoryService.idl nsIFile.idl nsILocalFile.idl nsIInputStream.idl nsIOutputStream.idl nsIScriptableInputStream.idl ../../dist/idl /home/pauljohn/LinuxDownloads/redhat/BUILD/mozilla/config/nsinstall -R -m 644 nsIDirectoryService.idl nsIFile.idl nsILocalFile.idl nsIInputStream.idl nsIOutputStream.idl nsIScriptableInputStream.idl ../../dist/sdk/idl /home/pauljohn/LinuxDownloads/redhat/BUILD/mozilla/config/nsinstall -R -m 644 _xpidlgen/nsIDirectoryService.h _xpidlgen/nsIFile.h _xpidlgen/nsILocalFile.h _xpidlgen/nsIInputStream.h _xpidlgen/nsIOutputStream.h _xpidlgen/nsIScriptableInputStream.h ../../dist/include/xpcom /home/pauljohn/LinuxDownloads/redhat/BUILD/mozilla/config/nsinstall -R -m 644 _xpidlgen/nsIDirectoryService.h _xpidlgen/nsIFile.h _xpidlgen/nsILocalFile.h _xpidlgen/nsIInputStream.h _xpidlgen/nsIOutputStream.h _xpidlgen/nsIScriptableInputStream.h ../../dist/sdk/include gmake[4]: Leaving directory `/home/pauljohn/LinuxDownloads/redhat/BUILD/mozilla/xpcom/io' gmake[4]: Entering directory `/home/pauljohn/LinuxDownloads/redhat/BUILD/mozilla/xpcom/components' Creating .deps Creating _xpidlgen/.done /home/pauljohn/LinuxDownloads/redhat/BUILD/mozilla/config/nsinstall -R -m 644 nsCategoryManagerUtils.h nsCategoryCache.h nsIServiceManagerObsolete.h nsModule.h nsNativeComponentLoader.h nsObsoleteModuleLoading.h xcDll.h ../../dist/include/xpcom nsIComponentLoader.idl ../../dist/bin/xpidl -m header -w -I. -I../../dist/idl -o _xpidlgen/nsIComponentLoader nsIComponentLoader.idl nsIComponentLoaderManager.idl ../../dist/bin/xpidl -m header -w -I. -I../../dist/idl -o _xpidlgen/nsIComponentLoaderManager nsIComponentLoaderManager.idl nsIComponentManagerObsolete.idl ../../dist/bin/xpidl -m header -w -I. -I../../dist/idl -o _xpidlgen/nsIComponentManagerObsolete nsIComponentManagerObsolete.idl nsIClassInfo.idl nsIComponentRegistrar.idl ../../dist/bin/xpidl -m header -w -I. -I../../dist/idl -o _xpidlgen/nsIClassInfo nsIClassInfo.idl ../../dist/bin/xpidl -m header -w -I. -I../../dist/idl -o _xpidlgen/nsIComponentRegistrar nsIComponentRegistrar.idl nsIFactory.idl ../../dist/bin/xpidl -m header -w -I. -I../../dist/idl -o _xpidlgen/nsIFactory nsIFactory.idl nsIModule.idl gmake[4]: *** [_xpidlgen/nsIClassInfo.h] Error 1 gmake[4]: *** Waiting for unfinished jobs.... ../../dist/bin/xpidl -m header -w -I. -I../../dist/idl -o _xpidlgen/nsIModule nsIModule.idl gmake[4]: Leaving directory `/home/pauljohn/LinuxDownloads/redhat/BUILD/mozilla/xpcom/components' gmake[3]: *** [export] Error 2 gmake[3]: Leaving directory `/home/pauljohn/LinuxDownloads/redhat/BUILD/mozilla/xpcom' gmake[2]: *** [tier_2] Error 2 gmake[2]: Leaving directory `/home/pauljohn/LinuxDownloads/redhat/BUILD/mozilla' gmake[1]: *** [default] Error 2 gmake[1]: Leaving directory `/home/pauljohn/LinuxDownloads/redhat/BUILD/mozilla' make: *** [build] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.24291 (%build) -- Paul E. Johnson Professor, Political Science 1541 Lilac Lane, Room 504 University of Kansas -- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list