Bug 162517

Summary: [patch] rpm fails to build - generates zipped feature instead of tarball
Product: [Fedora] Fedora Reporter: Robin Green <greenrd>
Component: eclipse-pydevAssignee: Jeff Pound <jpound>
Status: CLOSED RAWHIDE QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: rawhideCC: eclipse-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: eclipse-pydev-0.9.3_fc-8 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-07-05 19:47:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Fix none

Description Robin Green 2005-07-05 19:24:03 UTC
Description of problem:
The eclipse-pydev RPM fails to build on rawhide. It generates a zipped feature
instead of a tarball (although the generated zip file still ends with .tar.gz).
This seems to be due to a change in eclipse. A patch to fix the build is attached.

Version-Release number of selected component (if applicable):
eclipse-pydev-0.9.3_fc-7

How reproducible:
Always

Steps to Reproduce:
1. rpmbuild -ba eclipse-pydev.spec
  
Actual results:
<snip>
rootFileslinux_gtk_x86:
      [zip] Building zip:
/usr/src/redhat/BUILD/eclipse-pydev-0.9.3_fc/org.python.pydev.releng/results/I.I200507052017/eclipse-pydev.tar.gz
      [zip] Updating zip:
/usr/src/redhat/BUILD/eclipse-pydev-0.9.3_fc/org.python.pydev.releng/results/I.I200507052017/eclipse-pydev.tar.gz
   [delete] Deleting directory
/usr/src/redhat/BUILD/eclipse-pydev-0.9.3_fc/org.python.pydev.releng/results/tmp

postAssemble:

package:

postBuild:

postBuild:
BUILD SUCCESSFUL

BUILD SUCCESSFUL
Total time: 45 seconds
+ mkdir native
+ pwd
/usr/src/redhat/BUILD/eclipse-pydev-0.9.3_fc/org.python.pydev.releng
+ for file in 'results/I.*/*.tar.gz'
+ case $file in
+ tar -zx -C native -f results/I.I200507052017/eclipse-pydev.tar.gz '*.jar'
gzip: stdin has more than one entry--rest ignored
tar: Child returned status 2
tar: *.jar: Not found in archive
tar: Error exit delayed from previous errors
error: Bad exit status from /var/tmp/rpm-tmp.94791 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.94791 (%build)

Expected results:
Successful build

Comment 1 Robin Green 2005-07-05 19:24:04 UTC
Created attachment 116376 [details]
Fix

Comment 2 Jeff Pound 2005-07-05 19:47:05 UTC
Applied and pushed to rawhide.
Thanks for the patch :)