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

JDK8 configure argument --with-macosx-codesign-identity not supported #1502

Closed
adam-thorpe opened this issue Jan 28, 2020 · 7 comments · Fixed by #1503
Closed

JDK8 configure argument --with-macosx-codesign-identity not supported #1502

adam-thorpe opened this issue Jan 28, 2020 · 7 comments · Fixed by #1503
Assignees
Labels
bug Issues that are problems in the code as reported by the community
Milestone

Comments

@adam-thorpe
Copy link
Contributor

All builds in the jdk8 pipeline are failing with:

Running ./configure with arguments 'bash ./configure --verbose  --with-milestone=fcs --with-user-release-suffix=202001280430 --with-vendor-name=AdoptOpenJDK --with-update-version=242 --with-build-number=b08 --with-boot-jdk=/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home --with-macosx-codesign-identity="" --enable-ccache --with-debug-level=release --disable-zip-debug-info --disable-debug-symbols --with-x=/usr/include/X11 --with-alsa=/Users/jenkins/workspace/build-scripts/jobs/jdk8u/jdk8u-mac-x64-hotspot/workspace/./build//installedalsa --with-jvm-variants=server  --with-freetype=/Users/jenkins/workspace/build-scripts/jobs/jdk8u/jdk8u-mac-x64-hotspot/workspace/./build//installedfreetype '
Should have the source, I'm at /Users/jenkins/workspace/build-scripts/jobs/jdk8u/jdk8u-mac-x64-hotspot/workspace/build/src
Currently at '/Users/jenkins/workspace/build-scripts/jobs/jdk8u/jdk8u-mac-x64-hotspot/workspace/build/src'
Running generated-configure.sh
configure: error: unrecognized options: --with-macosx-codesign-identity
configure exiting with result code 1
@M-Davies
Copy link
Contributor

M-Davies commented Jan 28, 2020

--with-macosx-codesign-identity is set https://github.com/AdoptOpenJDK/openjdk-build/blob/f8e552c615c8d6a21bef970b55ea471734679be0/sbin/build.sh#L85

May have been caused by f8e552c#diff-70562ee8a1ade1c466965b291bbacf4a since BUILD_CONFIG was changed to use the feature number instead of the jdk version

@adam-thorpe
Copy link
Contributor Author

No this line was recently added to support mac code signing. It would look like it is not intended for jdk8 but there is nothing in the code that prevents it so I would assume that a simple check is needed

@adam-thorpe
Copy link
Contributor Author

The problem originates back before that commit

@Willsparker
Copy link
Contributor

Came from here : #1463 I think :-)

@gdams
Copy link
Member

gdams commented Jan 28, 2020

hmm yeah, we should only run this function if you're on jdk11 https://github.com/gdams/openjdk-build/blob/a8cee3828352e9e6381d7f37752984d432490cbe/sbin/build.sh#L83-L86

@gdams
Copy link
Member

gdams commented Jan 28, 2020

@gdams
Copy link
Member

gdams commented Jan 28, 2020

I'll take a look

@karianna karianna added the bug Issues that are problems in the code as reported by the community label Jan 29, 2020
@karianna karianna added this to TODO in temurin-build via automation Jan 29, 2020
@karianna karianna moved this from TODO to In Progress in temurin-build Jan 29, 2020
temurin-build automation moved this from In Progress to Done Jan 29, 2020
@karianna karianna added this to the January 2020 milestone Jan 30, 2020
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
Projects
No open projects
temurin-build
  
Done
Development

Successfully merging a pull request may close this issue.

5 participants