[Freeipmi-devel] can't build srpm

2011-10-11 Thread Dave Love
On a current Red Hat 5 system I get a checksum mismatch:

  $ wget 
http://download.gluster.com/pub/freeipmi/1.0.7/freeipmi-1.0.7-1.src.rpm 
  --2011-10-11 14:22:18--  
http://download.gluster.com/pub/freeipmi/1.0.7/freeipmi-1.0.7-1.src.rpm
  Resolving download.gluster.com... 70.38.57.57
  Connecting to download.gluster.com|70.38.57.57|:80... connected.
  HTTP request sent, awaiting response... 200 OK
  Length: 3175455 (3.0M) [application/x-redhat-package-manager]
  Saving to: `freeipmi-1.0.7-1.src.rpm'
  
  100%[==] 3,175,455   2.59M/s   in 1.2s   
 
  
  2011-10-11 14:22:20 (2.59 MB/s) - `freeipmi-1.0.7-1.src.rpm' saved 
[3175455/3175455]
  
  $ rpmbuild --rebuild freeipmi-1.0.7-1.src.rpm
  Installing freeipmi-1.0.7-1.src.rpm
  warning: user achu does not exist - using root
  warning: group achu does not exist - using root
  error: unpacking of archive failed on file 
/usr/src/redhat/SOURCES/freeipmi-1.0.7.tar.gz;4e944317: cpio: MD5 sum mismatch
  error: freeipmi-1.0.7-1.src.rpm cannot be installed

rpmbuild -ts followed by rpmbuild --rebuild works.  Would this be an
RH6/RH5 incompatibility?  I can't remember what are the symptoms of the
different versions of rpm in them.

You're welcome to the rebuilt srpm, of course.

___
Freeipmi-devel mailing list
Freeipmi-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/freeipmi-devel


Re: [Freeipmi-devel] can't build srpm

2011-10-11 Thread Albert Chu
Hey Dave,

Hmmm.  I'm not entirely sure what the problem may be.  RH5 vs RH6
incompatability is a reasonable guess.

If you download the tar.gz and instead do

rpmbuild -ta freeipmi-1.0.7.tar.gz

does that work for you?

Al

On Tue, 2011-10-11 at 06:31 -0700, Dave Love wrote:
 On a current Red Hat 5 system I get a checksum mismatch:
 
   $ wget 
 http://download.gluster.com/pub/freeipmi/1.0.7/freeipmi-1.0.7-1.src.rpm 
   --2011-10-11 14:22:18--  
 http://download.gluster.com/pub/freeipmi/1.0.7/freeipmi-1.0.7-1.src.rpm
   Resolving download.gluster.com... 70.38.57.57
   Connecting to download.gluster.com|70.38.57.57|:80... connected.
   HTTP request sent, awaiting response... 200 OK
   Length: 3175455 (3.0M) [application/x-redhat-package-manager]
   Saving to: `freeipmi-1.0.7-1.src.rpm'
   
   100%[==] 3,175,455   2.59M/s   in 1.2s 

   
   2011-10-11 14:22:20 (2.59 MB/s) - `freeipmi-1.0.7-1.src.rpm' saved 
 [3175455/3175455]
   
   $ rpmbuild --rebuild freeipmi-1.0.7-1.src.rpm
   Installing freeipmi-1.0.7-1.src.rpm
   warning: user achu does not exist - using root
   warning: group achu does not exist - using root
   error: unpacking of archive failed on file 
 /usr/src/redhat/SOURCES/freeipmi-1.0.7.tar.gz;4e944317: cpio: MD5 sum mismatch
   error: freeipmi-1.0.7-1.src.rpm cannot be installed
 
 rpmbuild -ts followed by rpmbuild --rebuild works.  Would this be an
 RH6/RH5 incompatibility?  I can't remember what are the symptoms of the
 different versions of rpm in them.
 
 You're welcome to the rebuilt srpm, of course.
 
 ___
 Freeipmi-devel mailing list
 Freeipmi-devel@gnu.org
 https://lists.gnu.org/mailman/listinfo/freeipmi-devel
-- 
Albert Chu
ch...@llnl.gov
Computer Scientist
High Performance Systems Division
Lawrence Livermore National Laboratory



___
Freeipmi-devel mailing list
Freeipmi-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/freeipmi-devel