Bug 170613

Summary: missing buildrequirement for java-1.4.2-gcj-compat-devel
Product: [Fedora] Fedora Reporter: Karsten Hopp <karsten>
Component: luceneAssignee: Vadim Nasardinov <vnasardinov>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
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: 2005-11-07 21:27:42 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
build log none

Description Karsten Hopp 2005-10-13 12:59:26 UTC
Created attachment 119895 [details]
build log

Comment 1 Karsten Hopp 2005-10-13 12:59:26 UTC
Description of problem:
missing a buildrequirement for java-1.4.2-gcj-compat-devel:
+ find-and-aot-compile . -fPIC
/var/tmp/lucene-1.4.3-1jpp_1fc.src.rpm/rpm-tmp.51473: line 37:
find-and-aot-compile: command not found
error: Bad exit status from /var/tmp/lucene-1.4.3-1jpp_1fc.src.rpm/rpm-tmp.51473
(%build)

Version-Release number of selected component (if applicable):
lucene-1.4.3-1jpp_1fc

How reproducible:
Always

Steps to Reproduce:
1.try to build package in a minimal environment (mock)
2.
3.
  

Additional info:

Comment 2 Vadim Nasardinov 2005-11-07 21:27:42 UTC
I think overholt fixed this on Oct 27 in rawhide.

As of lucene/devel/lucene.spec,v1.9, find-and-aot-compile is no longer
used.  Instead, aot-compile-rpm is used:


| $ cvs status lucene.spec | grep revision
|    Working revision:    1.10
|    Repository revision: 1.10    /cvs/dist/rpms/lucene/devel/lucene.spec,v
|
| $ cvs annotate lucene.spec 2>/dev/null | grep aot-compile-rpm
| 1.9          (overholt 27-Oct-05): aot-compile-rpm
| 1.9          (overholt 27-Oct-05): - Use aot-compile-rpm.
| 
| $ cvs annotate -r1.8 lucene.spec 2>/dev/null | grep aot-compile
| 1.2          (overholt 09-Jun-05):   find-and-aot-compile . "-fPIC"


aot-compile-rpm is shipped by java-1.4.2-gcj-compat-devel:

| $ rpm -qf $(readlink -f $(which aot-compile-rpm))
| java-1.4.2-gcj-compat-devel-1.4.2.0-40jpp_51rh

The latter is listed as a BuildRequires for lucene:

| $ cvs annotate lucene.spec 2>/dev/null | grep java-gcj-compat-devel
| 1.9          (overholt 27-Oct-05): BuildRequires:       java-gcj-compat-devel
>= 1.0.43
| $ rpm -q --whatprovides java-gcj-compat-devel
| java-1.4.2-gcj-compat-devel-1.4.2.0-40jpp_51rh