<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>2945</bug_id>
          
          <creation_ts>2012-08-15 05:01:39 +0000</creation_ts>
          <short_desc>rpm2cpio fails</short_desc>
          <delta_ts>2012-10-02 10:36:11 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>BSPs</product>
          <component>bsps-meta-intel</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>(autobuilder)</status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.3 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Nitin Kamble">nitin.a.kamble</reporter>
          <assigned_to name="Rahul Saxena">rahul.saxena</assigned_to>
          <cc>mark.hatle</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>rahul.saxena</cc>
    
    <cc>ross.burton</cc>
    
    <cc>sgw</cc>
    
    <cc>sstncr</cc>
    
    <cc>tom.zanussi</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>24043</commentid>
    <comment_count>0</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2012-08-15 05:01:39 +0000</bug_when>
    <thetext>This is hitting cedartrail BSP building, because it has a binary recipe needing rpm2cpio. This issue does not happen with the distro provided rom2cpio.



ERROR: Logfile of failure stored in: /srv/home/pokybuild/yocto-autobuilder/yocto-slave/cedartrail/build/build/tmp/work/core2-poky-linux/cdv-pvr-driver-1.0-r1.1/temp/log.do_configure.31308
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: Executing shell function do_configure
| rpm2cpio.real: signature.c:860: verifyDSA: Assertion `sigp-&gt;pubkey_algo == (rpmuint8_t)PGPPUBKEYALGO_DSA&apos; failed.
| cpio: premature end of archive
| ERROR: Function failed: do_configure (see /srv/home/pokybuild/yocto-autobuilder/yocto-slave/cedartrail/build/build/tmp/work/core2-poky-linux/cdv-pvr-driver-1.0-r1.1/temp/log.do_configure.31308 for further information)
NOTE: package cdv-pvr-driver-1.0-r1.1: task do_configure: Failed


Build status: FAILURE
Buildslave for this Build: ab07 
Complete logs for all build steps: http://autobuilder.yoctoproject.org:8010/builders/cedartrail/builds/143 
Build Reason: Triggerable(cedartrail) 
Build Source Stamp: [branch 1.3_M3] 8b8748c8f963900b83dc0fdd7757556f917fe4fd 
Detailed log of last build step: http://autobuilder.yoctoproject.org:8010/builders/cedartrail/builds/143/steps/shell_27/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24044</commentid>
    <comment_count>1</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2012-08-15 05:04:09 +0000</bug_when>
    <thetext>Rahul, are you working this issue ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24067</commentid>
    <comment_count>2</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2012-08-15 15:37:23 +0000</bug_when>
    <thetext>The error is actually correct.  The binary RPM you are trying to extract does 
not have a valid signature, so it&apos;s preventing the extraction.  (This is 
something fairly new in RPM 5.4.5 or so..)

There are two ways &quot;around&quot; the issue.  The first is simply sign the package. 
Once it&apos;s signed, the signature can be used to validate the package.

The alternative is to use the shell script version of rpm2cpio which does not 
perform any validations.  In this case, this is probably adequate.

Run &quot;rpm2cpio.sh&quot; instead for the extraction process.. there is a copy in 
scripts already.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24068</commentid>
    <comment_count>3</comment_count>
    <who name="Rahul Saxena">rahul.saxena</who>
    <bug_when>2012-08-15 15:57:18 +0000</bug_when>
    <thetext>Nitin, For cedartrail BSP I am going to replace rpm2cpio with rpm2cpio.sh. I will be sumbitting this patch along with a patch to upgdare the PVR driver rev to 1.0.2 in next few days.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24267</commentid>
    <comment_count>4</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2012-08-21 10:08:40 +0000</bug_when>
    <thetext>I do wonder why rpm2cpio doens&apos;t have an option to skip signature validation, or why it doesn&apos;t give a sensible error when there isn&apos;t a signature to validate...

Rahul, I saw the patch series to upgrade the versions, is there a patch coming to fix this too?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24276</commentid>
    <comment_count>5</comment_count>
    <who name="Rahul Saxena">rahul.saxena</who>
    <bug_when>2012-08-21 13:50:23 +0000</bug_when>
    <thetext>Ross,The patches I had submitted were for the Denzel branch, this issue does not impact the Denzel branch. I will be submitting patches for the master branch too in a few days, these will include the fix for the rpm2cpio issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24580</commentid>
    <comment_count>6</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2012-08-29 09:36:18 +0000</bug_when>
    <thetext>This is still failing on the autobuilder, are there patches queued for oe-core master yet?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24683</commentid>
    <comment_count>7</comment_count>
    <who name="Rahul Saxena">rahul.saxena</who>
    <bug_when>2012-08-30 20:32:27 +0000</bug_when>
    <thetext>(In reply to comment #6)
&gt; This is still failing on the autobuilder, are there patches queued for
&gt; oe-core master yet?

The patches to fix this issue in master branch were added on the 27th Aug. So you should not see this issue if you are including the commit (eaf696e19ed97745a879e42fffb94423aabe27e4) that includes this patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25492</commentid>
    <comment_count>8</comment_count>
    <who name="Rahul Saxena">rahul.saxena</who>
    <bug_when>2012-09-20 17:50:51 +0000</bug_when>
    <thetext>I rebuilt my cedarimage and verifed that the issue has been fixed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26018</commentid>
    <comment_count>9</comment_count>
    <who name="Stefan Stanacar">sstncr</who>
    <bug_when>2012-10-02 10:36:11 +0000</bug_when>
    <thetext>Verified.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>