Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix macosx runpath dynamic library issue freetype lib (jdk10 and amber) #286

Conversation

neomatrix369
Copy link
Contributor

@neomatrix369 neomatrix369 commented Mar 31, 2018

Follow up after fixes applied via #216 and #225. Issue reported on slack.

Macosx builds not impacted:

Note: docker builds are not impacted by this change

Failing macosx builds:

This worked fine previously see logs, snippet from JDK10 build logs:

Finished removing unnecessary files from jdk-10+43
PERFORM_COPYING=false  <==== this
 Skipping copying of the free font library to jdk-10+43, does not apply for this version of the JDK. 
PERFORM_COPYING=false   <==== this
 Skipping copying of the free font library to jre, does not apply for this version of the JDK. 

Explicitly allowing the copying of libfreefont for JDK and JRE (setting to false) for all JDK versions (amber and JDK10 onwards).

Also explicitly setting copying libfreefont for JDK and JRE (setting to true) for JDK 9.

…variable as different versions of Java call jre image folder name with a different name
…f not break the build or warn the user about it and continue the process
…to colour-codes.sh where it actually belongs
…NT_LIB_FOR_JDK_FLAG and COPY_MACOSX_FREE_FONT_LIB_FOR_JRE_FLAG
…NT_LIB_FOR_JDK_FLAG and COPY_MACOSX_FREE_FONT_LIB_FOR_JRE_FLAG
…or all JDK versions after JDK9, and also specific settings for JDK9
…reetype-lib

# Conflicts:
#	makejdk-any-platform.sh
…rform MACOSX_FREE_FONT_LIB copying but jdk9 is allowed to do that
@neomatrix369 neomatrix369 added bug Issues that are problems in the code as reported by the community macos Issues that affect or relate to the MAC OS labels Mar 31, 2018
@neomatrix369 neomatrix369 added this to the Backlog milestone Mar 31, 2018
@neomatrix369
Copy link
Contributor Author

neomatrix369 commented Mar 31, 2018

Running tests by kicking off the following jobs:

Please let me know if any other builds need running

@smlambert Can I please request testing of JDK10 and/or amber builds using your testsuite for MacOSX libfreefont fixes.

@neomatrix369
Copy link
Contributor Author

neomatrix369 commented Apr 1, 2018

Applied config changes:

export COPY_MACOSX_FREE_FONT_LIB_FOR_JDK_FLAG=false
export COPY_MACOSX_FREE_FONT_LIB_FOR_JRE_FLAG=false

to Jenkins build job for JDK 10 and Amber for MacOSX, this fixed the above issue, see build logs at https://ci.adoptopenjdk.net/view/work%20in%20progress/job/openjdk10_build_x86-64_macos/93/console (:heavy_check_mark:).

Applied similar config for JDK9 for MacOSX:

export COPY_MACOSX_FREE_FONT_LIB_FOR_JDK_FLAG=true
export COPY_MACOSX_FREE_FONT_LIB_FOR_JRE_FLAG=true

See build logs

We can choose to close the PR and apply config changes now onwards or merge the PR if you like - whichever works.

@neomatrix369 neomatrix369 added the jenkins Issues that enhance or fix our jenkins server label Apr 1, 2018
@gdams gdams merged commit 19b22f6 into adoptium:master Apr 1, 2018
@gdams
Copy link
Member

gdams commented Apr 1, 2018

@neomatrix369 please revert the jobs to using the correct config

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues that are problems in the code as reported by the community jenkins Issues that enhance or fix our jenkins server macos Issues that affect or relate to the MAC OS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants