Bug 1070183

Summary: FTBFS: cannot access '/builddir/build/BUILD/java-1.7.0-openjdk-1.7.0.60-2.5.0.4.pre02.fc21.ppc64
Product: [Fedora] Fedora Reporter: Karsten Hopp <karsten>
Component: java-1.7.0-openjdkAssignee: jiri vanek <jvanek>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: rawhideCC: ahughes, dbhole, jerboaa, jvanek, omajid
Target Milestone: ---   
Target Release: ---   
Hardware: powerpc   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-06 12:55:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1071880    
Attachments:
Description Flags
build.log none

Description Karsten Hopp 2014-02-26 11:15:52 UTC
Description of problem:
WARNING: File /builddir/build/BUILD/java-1.7.0-openjdk-1.7.0.60-2.5.0.4.pre02.fc21.ppc64/openjdk/build/linux-ppc64/hotspot/import/lib/sa-jdi.jar does not exist.
         The JDI binding for the Serviceability Agent will not be included in the build.
         Please check your access to
           /builddir/build/BUILD/java-1.7.0-openjdk-1.7.0.60-2.5.0.4.pre02.fc21.ppc64/openjdk/build/linux-ppc64/hotspot/import/lib/sa-jdi.jar
         and/or check your value of ALT_HOTSPOT_IMPORT_PATH.

and later it aborts with a similar error:

########################################################################
##### Leaving jdk for target(s) sanity all docs images             #####
########################################################################
##### Build time 01:23:05 jdk for target(s) sanity all docs images #####
########################################################################
#-- Build times ----------
Target all_product_build
Start 2014-02-25 11:34:52
End   2014-02-25 13:23:08
00:12:58 corba
00:03:58 hotspot
00:02:39 jaxp
00:03:05 jaxws
01:23:05 jdk
00:02:31 langtools
01:48:16 TOTAL
-------------------------
make[1]: Leaving directory `/builddir/build/BUILD/java-1.7.0-openjdk-1.7.0.60-2.5.0.4.pre02.fc21.ppc64/openjdk'
+ popd
RPM build errors:
++ pwd
+ chmod 644 /builddir/build/BUILD/java-1.7.0-openjdk-1.7.0.60-2.5.0.4.pre02.fc21.ppc64/openjdk/build/linux-ppc64/j2sdk-image/lib/sa-jdi.jar
chmod: cannot access '/builddir/build/BUILD/java-1.7.0-openjdk-1.7.0.60-2.5.0.4.pre02.fc21.ppc64/openjdk/build/linux-ppc64/j2sdk-image/lib/sa-jdi.jar': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.ZPBNK2 (%build)
    Bad exit status from /var/tmp/rpm-tmp.ZPBNK2 (%build)

Version-Release number of selected component (if applicable):
java-1.7.0-openjdk-1.7.0.60-2.5.0.4.pre02.fc21

How reproducible:


Steps to Reproduce:
1. ppc-koji build --scratch f21 java-1.7.0-openjdk-1.7.0.60-2.5.0.4.pre02.fc21.src.rpm
2.
3.

Actual results:
http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=1679319

Expected results:


Additional info:

Comment 1 Karsten Hopp 2014-02-26 12:02:01 UTC
Created attachment 867955 [details]
build.log

Comment 2 jiri vanek 2014-02-26 12:42:25 UTC
This is new after updating to ppc64 jit port.

Comment 3 Andrew John Hughes 2014-02-26 17:55:11 UTC
Well, yes Jiri, because of the way you cherry-picked changes rather than just pulling in the patch I sent you:

https://github.com/gnu-andrew/java-1.7.0-openjdk/commit/dd37b4a4a9c83667e468ccf0d4c3156a982fbc56

My own build went fine:

https://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=1654419

I was wondering how you'd built the current version on ppc. Clearly, you haven't until now.

If you're going to alter my patches and claim them as your own, please don't assign bugs to me when the result doesn't work.

Comment 5 jiri vanek 2014-03-06 12:55:25 UTC
All builds passed, so should be fine.