boost-1.39.0-3.fc12.src.rpm

Jon Ciesla limb at jcomserv.net
Mon Jul 20 13:03:44 UTC 2009


Martin Dubuc wrote:
> I would like to build boost 1.39 on RHEL 5.3. In the past, I have been 
> successful building boost library found in rawhide for RHEL 5.x 
> distributions. However, I have not been susccessful building boost 
> 1.39 using boost-1.39.0-2.fc12.src.rpm. I saw a message earlier this 
> month that stated that boost-1.39.0-3.fc12.src.rpm had been released 
> and wanted to see if that version would address the problems I 
> encountered with boost-1.39.0-2.fc12.src.rpm. However, when installing 
> the boost-1.39.0-3.fc12.src.rpm source RPM, I get the following errors:
>
> # rpm -ivh boost-1.39.0-3.fc12.src.rpm
>
>    1:boost                  warning: user mockbuild does not exist - 
> using root
> warning: group mockbuild does not exist - using root
> ########################################### [100%]
> error: unpacking of archive failed on file 
> /usr/src/redhat/SOURCES/boost-bitset.patch;4a646479: cpio: MD5 sum 
> mismatch
>
> I am wondering if the source RPM is OK or not.
>
> Martin
>
This is due to a signature change in RPM from F-11.

Blatanly ripping off Mr. Gallagher's post of a few days back:

To extract sources from an SRPM:
rpm2cpio <src.rpm> | cpio --extract
(Do this in its own directory)

To enable the old checksum (for building RHEL packages):
rpmbuild -bs --define _source_filedigest_algorithm=1 <spec>

This will recreate the SRPM using an MD5 sum instead of a SHA1 sum.



-- 
in your fear, speak only peace
in your fear, seek only love

-d. bowie




More information about the fedora-devel-list mailing list