can't build srpm

View: New views
5 Messages — Rating Filter:   Alert me  

can't build srpm

by Dave Love-2 :: Rate this Message:

| View Threaded | Show Only this Message

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@...
https://lists.gnu.org/mailman/listinfo/freeipmi-devel

Re: can't build srpm

by Kaiwang Chen-2 :: Rate this Message:

| View Threaded | Show Only this Message

Guess it's related to rpm version or something. I experienced many
times with SRPMs from DAG repository. I just add --nomd5 to rpm
command.

Thanks,
Kaiwang

2011/10/11 Dave Love <fx@...>:

> 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@...
> https://lists.gnu.org/mailman/listinfo/freeipmi-devel
>

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

Re: can't build srpm

by Albert Chu :: Rate this Message:

| View Threaded | Show Only this Message

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@...
> https://lists.gnu.org/mailman/listinfo/freeipmi-devel
--
Albert Chu
chu11@...
Computer Scientist
High Performance Systems Division
Lawrence Livermore National Laboratory



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

Re: can't build srpm

by Dave Love-2 :: Rate this Message:

| View Threaded | Show Only this Message

Kaiwang Chen <kaiwang.chen@...> writes:

> Guess it's related to rpm version or something. I experienced many
> times with SRPMs from DAG repository. I just add --nomd5 to rpm
> command.

Ah, thanks.  That may be useful, but not for rpmbuild.  It does work to
rpm -i the srpm, rather than having to rpm2cpio.

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

Re: can't build srpm

by Dave Love-2 :: Rate this Message:

| View Threaded | Show Only this Message

Albert Chu <chu11@...> writes:

> 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?

Yes, it's just the srpm that I had a problem with.

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