On Wednesday 18 July 2007 01:27:12 pm Michael ODonnell wrote: > Jarod Wilson (et al) wrote: > [much useful stuff] > > Thanks for the feedback. I now have a system sort of running with > libraries installed from a locally built RPM. It's at least running > well enough that the app developer in question can probably make progress > debugging his stuff, but there's still plenty that I wish I had a better > handle on. For example: the RPM delivered by RHAT is named > > glibc-2.3.2-95.50.i686.rpm > > ...but when I rebuild from (what I assume to be) this corresponding SRPM: > > glibc-2.3.2-95.50.src.rpm > > ...these are all that end up in the output hierarchy: > > src/rpm/RPMS/ > src/rpm/RPMS/athlon/ > src/rpm/RPMS/i386/ > src/rpm/RPMS/i386/glibc-2.3.2-95.50.i386.rpm > src/rpm/RPMS/i386/glibc-common-2.3.2-95.50.i386.rpm > src/rpm/RPMS/i386/glibc-debug-2.3.2-95.50.i386.rpm > src/rpm/RPMS/i386/glibc-debuginfo-2.3.2-95.50.i386.rpm > src/rpm/RPMS/i386/glibc-debuginfo-common-2.3.2-95.50.i386.rpm > src/rpm/RPMS/i386/glibc-devel-2.3.2-95.50.i386.rpm > src/rpm/RPMS/i386/glibc-headers-2.3.2-95.50.i386.rpm > src/rpm/RPMS/i386/glibc-profile-2.3.2-95.50.i386.rpm > src/rpm/RPMS/i386/glibc-utils-2.3.2-95.50.i386.rpm > src/rpm/RPMS/i386/nscd-2.3.2-95.50.i386.rpm > src/rpm/RPMS/i486/ > src/rpm/RPMS/i586/ > src/rpm/RPMS/i686/ > src/rpm/RPMS/noarch/ > > ...so I suspect that may have something to do with the differences that > I mentioned between the libs I'm building versus what's in the RHAT-built > RPM. Can somebody tell me how to persuade rpmbuild to generate anything > named *.i686.rpm from that SRPM?
Ah, whoops, forgot about that. A select few packages get built i686 as well as i386, with the i686 build being preferred on capable systems -- those packages are glibc, openssl and the kernel, I believe. So just: $ rpmbuild -bb --target i686 glibc.spec (or rpmbuild --rebuild --target i686 glibc-*.src.rpm) -- Jarod Wilson [EMAIL PROTECTED] _______________________________________________ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/