Building boost-1.39.0-3.fc12.src.rpm on Fedora11
I was successful building boost 1.39.0 from rawhide source RPM (using boost-1.39.0-3.fc12.src.rpm) for RHEL 5.3. Now, I need to compile the same package on a Fedora 11 server but I am getting some build error in the process: # rpm -ivh boost-1.39.0-3.fc12.src.rpm # cd /root/rpmbuild/SPECS # rpmbuild -bb boost.spec ... cp "bin.v2/libs/iostreams/build/gcc-4.4.0/release/debug-symbols-on/threading-multi/libboost_iostreams-mt.so" "stage/lib/libboost_iostreams-mt.so" ...failed updating 1 target... ...skipped 3 targets... ...updated 1424 targets... error: Bad exit status from /var/tmp/rpm-tmp.nuiY8Y (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.nuiY8Y (%build) I am wondering if there is an known incompatibility between the rawhide version of boost and Fedora 11. Martin -- fedora-devel-list mailing list fedora-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-devel-list
Re: Building boost-1.39.0-3.fc12.src.rpm on Fedora11
On Tue, 2009-07-21 at 15:31 -0400, Martin Dubuc wrote: > I was successful building boost 1.39.0 from rawhide source RPM (using > boost-1.39.0-3.fc12.src.rpm) for RHEL 5.3. Now, I need to compile the > same package on a Fedora 11 server but I am getting some build error > in the process: > > # rpm -ivh boost-1.39.0-3.fc12.src.rpm > # cd /root/rpmbuild/SPECS > # rpmbuild -bb boost.spec DO NOT BUILD RPMS AS ROOT! EVER! For example, a single wrongly placed 'rm' in the spec file can botch your system. To build RPMS: Make sure the following packages are installed # yum -y install rpmdevtools redhat-rpm-macros Setup an rpm build tree in your homedir $ rpmdev-setuptree and build the rpm with $ rpmbuild --rebuild boost-1.39.0-3.fc12.src.rpm Or, even better, you can use mock. -- Jussi Lehtola Fedora Project Contributor jussileht...@fedoraproject.org -- fedora-devel-list mailing list fedora-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-devel-list
Re: Building boost-1.39.0-3.fc12.src.rpm on Fedora11
> I am wondering if there is an known incompatibility between the > rawhide version of boost and Fedora 11. Builds fine for me on F11, F12 on x86_64 -benjamin -- fedora-devel-list mailing list fedora-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-devel-list