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
There was a problem hiding this comment.
Questions inline, but no objection to merging as-is.
There was a problem hiding this comment.
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://raw.githubusercontent.com/wolfi-dev/.github/b535a42419ce0edb3c144c0edcff55a62b8ec1f8/profile/wolfi-logo-light-mode.svg" /> </p> --------- Signed-off-by: wolfi-bot <121097084+wolfi-bot@users.noreply.github.com> Signed-off-by: Mark McCormick <mark.mccormick@chainguard.dev> Signed-off-by: Debasish Biswas <debasishbsws.dev@gmail.com> Co-authored-by: wolfi-bot <121097084+wolfi-bot@users.noreply.github.com> Co-authored-by: Mark McCormick <mark.mccormick@chainguard.dev> Co-authored-by: Debasish Biswas <debasishbsws.dev@gmail.com>
No description provided.