Bug 222460

Summary: java/bootstrap-openjdk: bootstrap broken on armv6
Product: Ports & Packages Reporter: Mikael Urankar <mikael>
Component: Individual Port(s)Assignee: Jung-uk Kim <jkim>
Status: Closed FIXED    
Severity: Affects Many People CC: freebsd-arm
Priority: --- Flags: bugzilla: maintainer-feedback? (jkim)
Version: Latest   
Hardware: arm   
OS: Any   
URL: http://beefy8.nyi.freebsd.org/data/head-armv6-default/p450085_s323724/logs/errors/openjdk8-8.144.1.log
Attachments:
Description Flags
patch none

Description Mikael Urankar freebsd_committer freebsd_triage 2017-09-19 17:48:24 UTC
Created attachment 186549 [details]
patch

Hi,

The bootstrap is broken on armv6, it's built with the soft-float ABI and we switched to the hard-float ABI some time ago. We discovered the problem recently.
I've recreated a tarball for armv6 based on openjdk8 (openjdk7 is too hard to build on armv6)
The plist has changed a bit and it's hard to fix it, I decided to dynamically generate it (like it's done for java/openjdk8)

Is it possible to replace the bootstrap with this tarball?
http://mikael.urankar.free.fr/FreeBSD/arm/patches/openjdk8-arm-r444448.tar.xz

poudriere testport ok on 10.3 i386/amd64, 11.1 i386/amd64 and 12-current armv6

I merged the patch from bug #221897

Thanks in advance
Comment 1 commit-hook freebsd_committer freebsd_triage 2017-09-28 20:13:04 UTC
A commit references this bug:

Author: jkim
Date: Thu Sep 28 20:12:52 UTC 2017
New revision: 450868
URL: https://svnweb.freebsd.org/changeset/ports/450868

Log:
  Add bootstrap JDK for OpenJDK8.

  PR:		210283
  PR:		221897
  PR:		222460

Changes:
  head/java/Makefile
  head/java/bootstrap-openjdk8/
  head/java/bootstrap-openjdk8/Makefile
  head/java/bootstrap-openjdk8/Makefile.update
  head/java/bootstrap-openjdk8/distinfo.amd64
  head/java/bootstrap-openjdk8/distinfo.arm
  head/java/bootstrap-openjdk8/distinfo.i386
  head/java/bootstrap-openjdk8/distinfo.powerpc64
  head/java/bootstrap-openjdk8/pkg-message
  head/java/bootstrap-openjdk8/pkg-plist
  head/java/bootstrap-openjdk8/pkg-plist.arm
Comment 2 Jung-uk Kim freebsd_committer freebsd_triage 2017-09-28 20:31:15 UTC
java/bootstrap-openjdk8 was added and the distfile is *temporarily* re-used from this PR.  Note we cannot remove plist because it is used to build distfile via "make update".