[OpenAFS] OpenAFS 1.6.2 .src.rpm on RHEL 5.9 Fails with cpio: MD5 sum mismatch

Micheal Waltz mwaltz@qualcomm.com
Tue, 5 Mar 2013 10:33:28 -0800


--------------030306010507000007030203
Content-Type: text/plain; charset="ISO-8859-1"; format=flowed
Content-Transfer-Encoding: 7bit

When trying to build OpenAFS 1.6.2 from openafs-1.6.2-1.src.rpm only a 
newly installed RHEL 5.9 installt, with the command:

rpmbuild -vv --rebuild --define "fedorakmod 1" --define "build_userspace 
1" --define "build_modules 1" --target=x86_64 --define "kvariants  " 
/tmp/openafs-1.6.2-1.src.rpm

fails with,

error: Macro %kvariants has empty body
error: Macro %kvariants has empty body
D: Expected size:     19196557 = lead(96)+sigs(356)+pad(4)+data(19196101)
D:   Actual size:     19196557
D: opening  db environment /var/lib/rpm/Packages joinenv
D: opening  db index       /var/lib/rpm/Packages rdonly mode=0x0
D: locked   db index       /var/lib/rpm/Packages
D: opening  db index       /var/lib/rpm/Pubkeys rdonly mode=0x0
warning: InstallSourcePackage: Header V4 DSA signature: NOKEY, key ID 
c19e4a0a
D: ========== Directories not explicitly included in package:
D:          0 /usr/src/redhat/SOURCES/
D:          1 /usr/src/redhat/SPECS/
D: ==========
warning: user afsbuild does not exist - using root
warning: group afsbuild does not exist - using root
D: undo      100644  1 (   0,   0)     36787 
/usr/src/redhat/SOURCES/CellServDB.2013-01-28;51362f72
GZDIO:       5 reads,    40960 total bytes in 0.000321 secs
error: unpacking of archive failed on file 
/usr/src/redhat/SOURCES/CellServDB.2013-01-28;51362f72: cpio: MD5 sum 
mismatch
error: /mnt/ucm-buildhost/workspace/autobuild/openafs/openafs-current 
cannot be installed
D: closed   db index       /var/lib/rpm/Pubkeys
D: closed   db index       /var/lib/rpm/Packages
D: closed   db environment /var/lib/rpm/Packages
D: May free Score board((nil))

Same error is on 64-bit and 32-bit RHEL 5.9 and RHEL 5.8, but builds 
properly on RHEL 6.4. The error does not occur when using the previous 
1.6.1 src.rpm.

A search yielded a similar error with 1.6.0pre In 7/2011 and it was due 
to " a newer hash scheme. will be fixed (by generating with an old 
rpmbuild) for -final."

https://lists.openafs.org/pipermail/openafs-devel/2011-July/018529.html

-- 
Micheal Waltz
Unix Configuration Management (go/ucm)
Qualcomm Inc.


--------------030306010507000007030203
Content-Type: text/html; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit

<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    When trying to build OpenAFS 1.6.2 from openafs-1.6.2-1.src.rpm only
    a newly installed RHEL 5.9 installt, with the command:<br>
    <br>
    rpmbuild -vv --rebuild --define "fedorakmod 1" --define
    "build_userspace 1" --define "build_modules 1" --target=x86_64
    --define "kvariants&nbsp; " /tmp/openafs-1.6.2-1.src.rpm<br>
    <br>
    fails with,<br>
    <br>
    error: Macro %kvariants has empty body<br>
    error: Macro %kvariants has empty body<br>
    D: Expected size:&nbsp;&nbsp;&nbsp;&nbsp; 19196557 =
    lead(96)+sigs(356)+pad(4)+data(19196101)<br>
    D:&nbsp;&nbsp; Actual size:&nbsp;&nbsp;&nbsp;&nbsp; 19196557<br>
    D: opening&nbsp; db environment /var/lib/rpm/Packages joinenv<br>
    D: opening&nbsp; db index&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /var/lib/rpm/Packages rdonly mode=0x0<br>
    D: locked&nbsp;&nbsp; db index&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /var/lib/rpm/Packages<br>
    D: opening&nbsp; db index&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /var/lib/rpm/Pubkeys rdonly mode=0x0<br>
    warning: InstallSourcePackage: Header V4 DSA signature: NOKEY, key
    ID c19e4a0a<br>
    D: ========== Directories not explicitly included in package:<br>
    D:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 /usr/src/redhat/SOURCES/<br>
    D:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1 /usr/src/redhat/SPECS/<br>
    D: ==========<br>
    warning: user afsbuild does not exist - using root<br>
    warning: group afsbuild does not exist - using root<br>
    D: undo&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 100644&nbsp; 1 (&nbsp;&nbsp; 0,&nbsp;&nbsp; 0)&nbsp;&nbsp;&nbsp;&nbsp; 36787
    /usr/src/redhat/SOURCES/CellServDB.2013-01-28;51362f72 <br>
    GZDIO:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5 reads,&nbsp;&nbsp;&nbsp; 40960 total bytes in 0.000321 secs<br>
    error: unpacking of archive failed on file
    /usr/src/redhat/SOURCES/CellServDB.2013-01-28;51362f72: cpio: MD5
    sum mismatch<br>
    error:
    /mnt/ucm-buildhost/workspace/autobuild/openafs/openafs-current
    cannot be installed<br>
    D: closed&nbsp;&nbsp; db index&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /var/lib/rpm/Pubkeys<br>
    D: closed&nbsp;&nbsp; db index&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /var/lib/rpm/Packages<br>
    D: closed&nbsp;&nbsp; db environment /var/lib/rpm/Packages<br>
    D: May free Score board((nil))<br>
    <br>
    Same error is on 64-bit and 32-bit RHEL 5.9 and RHEL 5.8, but builds
    properly on RHEL 6.4. The error does not occur when using the
    previous 1.6.1 src.rpm.<br>
    <br>
    A search yielded a similar error with 1.6.0pre In 7/2011 and it was
    due to "
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
    a newer hash scheme. will be fixed (by generating with an old
    rpmbuild) for -final."<br>
    <br>
<a class="moz-txt-link-freetext" href="https://lists.openafs.org/pipermail/openafs-devel/2011-July/018529.html">https://lists.openafs.org/pipermail/openafs-devel/2011-July/018529.html</a><br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Micheal Waltz
Unix Configuration Management (go/ucm)
Qualcomm Inc.
</pre>
  </body>
</html>

--------------030306010507000007030203--