JDK-8231870 : CrossLibs script for armv6hf toolchain download fails
  • Type: Bug
  • Component: javafx
  • Sub-Component: build
  • Affected Version: openjfx11,openjfx14
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux_ubuntu
  • CPU: x86_64
  • Submitted: 2019-10-03
  • Updated: 2020-02-05
  • Resolved: 2019-10-09
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
openjfx14Fixed
Description
ADDITIONAL SYSTEM INFORMATION :
NAME="Ubuntu"
VERSION="18.04.3 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.3 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic


openjdk 11.0.4 2019-07-16
OpenJDK Runtime Environment (build 11.0.4+11-post-Ubuntu-1ubuntu218.04.3)
OpenJDK 64-Bit Server VM (build 11.0.4+11-post-Ubuntu-1ubuntu218.04.3, mixed mode, sharing)



A DESCRIPTION OF THE PROBLEM :

buildSrc/crosslibs/crosslibs-armv6hf.sh is broken as it relies on wheezy toolchains which have move domains as no longer supported. Changing to jessie causes build to compilation to fail with a ton of __THROWNL errors

The following changes are required in the script. (happy to supply a pull request once I have a issue number)

ftp.us.debian.org -> archive.debian.org
archive.raspbian.org -> legacy.raspbian.org




STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Following instructions: https://wiki.openjdk.java.net/display/OpenJFX/Cross+Building+for+ARM+Hard+Float

Use master branch from new github repo
https://github.com/openjdk/jfx.git


EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
running toolchain setup scripts should download packages from repos and compile OpenJfx without error
ACTUAL -
setup script fails as wheezy is no longer supported and packages have been archived to legacy repositories

CUSTOMER SUBMITTED WORKAROUND :
update crosslibs-armv6hf.sh  with new domains

ftp.us.debian.org -> archive.debian.org
archive.raspbian.org -> legacy.raspbian.org


FREQUENCY : always



Comments
Changeset: 63fe66c4 Author: Dell Green <dell.green@ideaworks.co.uk> Committer: Johan Vos <jvos@openjdk.org> Date: 2019-10-09 17:05:04 +0000 URL: https://git.openjdk.java.net/jfx/commit/63fe66c4 8231870: CrossLibs script for armv6hf toolchain download fails Reviewed-by: jvos
09-10-2019