Bug 433843
Summary: | java-openjdk needs porting to ia64 | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Doug Chapman <dchapman> | ||||||
Component: | java-1.6.0-openjdk | Assignee: | Doug Chapman <dchapman> | ||||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | high | ||||||||
Version: | rawhide | CC: | langel, yi.zhan | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | ia64 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | java-1.6.0-openjdk-1.6.0.0-0.11.b09.fc9 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2008-05-13 07:08:48 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: | |||||||||
Bug Depends On: | |||||||||
Bug Blocks: | 163350 | ||||||||
Attachments: |
|
Description
Doug Chapman
2008-02-21 18:01:08 UTC
I'm looking into this issue. Seems need another one or two days to see if I can get a solution. Here I just adding a comment to avoid duplication of effort. I have got it working on ia64. And the patches have been reviewed by Gary. Now I'm waiting to see if he could get them merged into icedtea's repo. Then what we need is to change the spec file of jave-icedtea package to make it work with the new version of icedtea. Created attachment 302430 [details] spec patch for ia64 The java-1.6.0-openjdk would build with no more modification needed once #442514 get fixed. I've got a variation built on koji http://ia64.koji.fedoraproject.org/koji/taskinfo?taskID=60392. Now we need to change the spec file for ia64. Thanks, Yi (In reply to comment #3) > Created an attachment (id=302430) [edit] > spec patch for ia64 > > The java-1.6.0-openjdk would build with no more modification needed once > #442514 get fixed. I've got a variation built on koji > http://ia64.koji.fedoraproject.org/koji/taskinfo?taskID=60392. > > Now we need to change the spec file for ia64. What spec file changes are needed for ia64? The current spec file contains no ExclusiveArch or ExcludeArch lines. Sorry for the delay reply. The need of spec file changing for ia64 supporting currently could be minimized since the bootstrap option doesn't have to be set and the libffi-devel dependency is set up by default. I have given a try of unmodified java-1.6.0-openjdk-1.6.0.0-0.9.b09.fc9 and it failed with below error: IcedTea is served: openjdk/control/build/linux-ia64 + pushd java-access-bridge-1.22.0 ~/build/BUILD/icedtea6-1.2/java-access-bridge-1.22.0 ~/build/BUILD/icedtea6-1.2 ++ pwd + export JAVA_HOME=/builddir/build/BUILD/icedtea6-1.2/java-access-bridge-1.22.0/../openjdk/control/build/linux-zero/j2sdk-image + JAVA_HOME=/builddir/build/BUILD/icedtea6-1.2/java-access-bridge-1.22.0/../openjdk/control/build/linux-zero/j2sdk-image + export PATH=/builddir/build/BUILD/icedtea6-1.2/java-access-bridge-1.22.0/../openjdk/control/build/linux-zero/j2sdk-image/bin:/usr/kerberos/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin:/root/bin + PATH=/builddir/build/BUILD/icedtea6-1.2/java-access-bridge-1.22.0/../openjdk/control/build/linux-zero/j2sdk-image/bin:/usr/kerberos/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin:/root/bin + ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for "/builddir/build/BUILD/icedtea6-1.2/java-access-bridge-1.22.0/../openjdk/control/build/linux-zero/j2sdk-image/bin/java"... no configure: error: Java 1.5 or later is required to build java-access-bridge error: Bad exit status from /var/tmp/rpm-tmp.61230 (%build) see http://ia64.koji.fedoraproject.org/koji/getfile?taskID=68447&name=build.log for the full log. From the log we can learn that the icedtea was built just fine and the output dir was openjdk/control/build/linux-ia64/j2sdk-image. But the %buildoutputdir was defined to be openjdk/control/build/linux-%{archbuild} (archbuild was zero here). So the java-access-bridge looked at openjdk/control/build/linux-zero/j2sdk-image for the just generated stuff and then failed. Base on this analysis I image that the build error could be fixed by defining archbuild & archinstall to "ia64" on ia64 platforms. I have a scratch build to test this and it worked. Please refer to http://ia64.koji.fedoraproject.org/koji/taskinfo?taskID=68931 . Thanks, Yi Created attachment 303967 [details]
add the archbuild and archinstall definitions for ia64
Fixed in spec file. Will be in the next release. |