Bug 566528

Summary: brp-java-repack-jars causes rpmbuild to fail
Product: [Fedora] Fedora Reporter: Mary Ellen Foster <mefoster>
Component: redhat-rpm-configAssignee: Panu Matilainen <pmatilai>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: jonathan, pmatilai
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-02-19 11:17:09 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
SRPM that demonstrates the failure none

Description Mary Ellen Foster 2010-02-18 18:11:07 UTC
Created attachment 394960 [details]
SRPM that demonstrates the failure

Description of problem:
I've got a SRPM that reproduceably fails to build unless I disable brp-java-repack-jars from running with %define __jar_repack 0. I'll attach the SRPM to this bug report.

Here's a  koji scratch build demonstrating the problem:
    http://koji.fedoraproject.org/koji/taskinfo?taskID=1997140
For comparison, here's a successful build with jar_repack disabled:
    http://koji.fedoraproject.org/koji/taskinfo?taskID=1997096

Version-Release number of selected component (if applicable):
redhat-rpm-config-9.0.3-18.fc12.noarch

How reproducible:
Every time

Steps to Reproduce:
1. Build the attached SRPM
  
Actual results:
Errors -- unable to remove files in $RPM_BUILD_ROOT/tmp

Expected results:
RPMs built

Additional info:
You have to delete the %define line to make it fail -- just commenting it out doesn't change anything

Comment 1 Mary Ellen Foster 2010-02-19 11:17:09 UTC
I think this is a duplicate

*** This bug has been marked as a duplicate of bug 250295 ***