Bug 223262 - java/bootstrap-openjdk8: add support for powerpc64
Summary: java/bootstrap-openjdk8: add support for powerpc64
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Jung-uk Kim
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-26 10:18 UTC by Steve Wills
Modified: 2017-12-01 01:43 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (jkim)


Attachments
bootstrap-openjdk8 powerpc64 patch (1.23 KB, patch)
2017-10-26 10:18 UTC, Steve Wills
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Wills freebsd_committer freebsd_triage 2017-10-26 10:18:22 UTC
Created attachment 187496 [details]
bootstrap-openjdk8 powerpc64 patch

See attached patch to add support for powerpc64. Tarball available here:

https://people.freebsd.org/~swills/openjdk8-ppc64-r450802.tar.xz
Comment 1 Jung-uk Kim freebsd_committer freebsd_triage 2017-10-26 18:46:45 UTC
Can you please explain how you built it (and aarch64)?  Did you do "make update" from the port?
Comment 2 Steve Wills freebsd_committer freebsd_triage 2017-11-06 01:51:57 UTC
(In reply to Jung-uk Kim from comment #1)
For powerpc64, I built it using the old powerpc64 bootstrap from java/bootstrap-openjdk (not java/bootstrap-openjdk6 or java/bootstrap-openjdk8), manually recreating the proper tarball contents.

For aarch64, I used binaries that Mikaël Urankar provided to build a proper tarball, then used that to build openjdk8 myself, and replaced the bootstrap files with the ones I built. Again, I manually created the tarball.

Please let me know if I've done something wrong. I tried to use the "make update" target, but had trouble, so did it the best way I could.
Comment 3 Jung-uk Kim freebsd_committer freebsd_triage 2017-11-06 21:37:43 UTC
(In reply to Steve Wills from comment #2)
All distfiles should be reproducible and I wrote the port to automate the process.  FYI, I used 11.0-RELEASE chroot + qemu-user-static to create the aarch64 tarball because my RPI3 wasn't supported by 11.x and slower than QEMU user-mode emulation.

I have couple of Apple Power Mac G5 in my basement but one has bad base board and one has bad power supply.  I will try chroot or jail for powerpc64 this week.
Comment 4 Jung-uk Kim freebsd_committer freebsd_triage 2017-11-08 00:01:48 UTC
Unfortunately, it seems qemu-ppc64-static is broken ATM.  I'll continue the effort later.
Comment 5 commit-hook freebsd_committer freebsd_triage 2017-12-01 01:42:02 UTC
A commit references this bug:

Author: jkim
Date: Fri Dec  1 01:41:30 UTC 2017
New revision: 455241
URL: https://svnweb.freebsd.org/changeset/ports/455241

Log:
  Add support for powerpc64.

  PR:		223262

Changes:
  head/java/bootstrap-openjdk8/Makefile
  head/java/bootstrap-openjdk8/Makefile.update
  head/java/bootstrap-openjdk8/distinfo.ppc64
Comment 6 Jung-uk Kim freebsd_committer freebsd_triage 2017-12-01 01:43:50 UTC
Committed.  Thanks for setting up development environment!