Title: New build warnings · Issue #33389 · nodejs/node · GitHub
Open Graph Title: New build warnings · Issue #33389 · nodejs/node
X Title: New build warnings · Issue #33389 · nodejs/node
Description: Version: master Platform: macOS/Linux Subsystem: What steps will reproduce the bug? Build with the --error-on-warn configure option. How often does it reproduce? Is there a required condition? Always. What is the expected behavior? Build...
Open Graph Description: Version: master Platform: macOS/Linux Subsystem: What steps will reproduce the bug? Build with the --error-on-warn configure option. How often does it reproduce? Is there a required condition? Alwa...
X Description: Version: master Platform: macOS/Linux Subsystem: What steps will reproduce the bug? Build with the --error-on-warn configure option. How often does it reproduce? Is there a required condition? Alwa...
Opengraph URL: https://github.com/nodejs/node/issues/33389
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"New build warnings","articleBody":"\u003c!--\r\nThank you for reporting an issue.\r\n\r\nThis issue tracker is for bugs and issues found within Node.js core.\r\nIf you require more general support please file an issue on our help\r\nrepo. https://github.com/nodejs/help\r\n\r\n\r\nPlease fill in as much of the template below as you're able.\r\n\r\nVersion: output of `node -v`\r\nPlatform: output of `uname -a` (UNIX), or version and 32 or 64-bit (Windows)\r\nSubsystem: if known, please specify affected core module name\r\n-->\r\n\r\n* **Version**: master\r\n* **Platform**: macOS/Linux\r\n* **Subsystem**:\r\n\r\n### What steps will reproduce the bug?\r\n\r\nBuild with the `--error-on-warn` configure option.\r\n\u003c!--\r\nEnter details about your bug, preferably a simple code snippet that can be\r\nrun using `node` directly without installing third-party dependencies.\r\n-->\r\n\r\n### How often does it reproduce? Is there a required condition?\r\n\r\nAlways.\r\n\r\n### What is the expected behavior?\r\n\r\nBuild succeeds.\r\n\u003c!--\r\nIf possible please provide textual output instead of screenshots.\r\n-->\r\n\r\n### What do you see instead?\r\n\r\nBuild errors on warning:\r\n```\r\n../src/api/environment.cc: In function 'void node::SetIsolateMiscHandlers(v8::Isolate*, const node::IsolateSettings&)':\r\n../src/api/environment.cc:265:67: error: 'void v8::Isolate::SetHostCleanupFinalizationGroupCallback(v8::HostCleanupFinalizationGroupCallback)' is deprecated: FinalizationRegistry cleanup is automatic if HostCleanupFinalizationGroupCallback is not set [-Werror=deprecated-declarations]\r\n isolate->SetHostCleanupFinalizationGroupCallback(host_cleanup_cb);\r\n ^\r\nIn file included from ../src/node.h:67,\r\n from ../src/api/environment.cc:1:\r\n../deps/v8/include/v8.h:8560:8: note: declared here\r\n void SetHostCleanupFinalizationGroupCallback(\r\n ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\ncc1plus: all warnings being treated as errors\r\nmake[2]: *** [libnode.target.mk:343: /home/iojs/build/workspace/node-test-commit-linux-containered/out/Release/obj.target/libnode/src/api/environment.o] Error 1\r\nmake[2]: *** Waiting for unfinished jobs....\r\n../src/env.cc: In member function 'void node::Environment::CleanupFinalizationGroups()':\r\n../src/env.cc:1170:29: error: 'static v8::Maybe\u003cbool> v8::FinalizationGroup::Cleanup(v8::Local\u003cv8::FinalizationGroup>)' is deprecated: FinalizationGroup cleanup is automatic if HostCleanupFinalizationGroupCallback is not set [-Werror=deprecated-declarations]\r\n if (!FinalizationGroup::Cleanup(fg).FromMaybe(false)) {\r\n ^~~~~~~\r\nIn file included from ../src/util.h:31,\r\n from ../src/util-inl.h:29,\r\n from ../src/aliased_buffer.h:7,\r\n from ../src/env.h:27,\r\n from ../src/env.cc:1:\r\n../deps/v8/include/v8.h:5965:44: note: declared here\r\n static V8_WARN_UNUSED_RESULT Maybe\u003cbool> Cleanup(\r\n ^~~~~~~\r\n../src/env.cc:1170:39: error: 'static v8::Maybe\u003cbool> v8::FinalizationGroup::Cleanup(v8::Local\u003cv8::FinalizationGroup>)' is deprecated: FinalizationGroup cleanup is automatic if HostCleanupFinalizationGroupCallback is not set [-Werror=deprecated-declarations]\r\n if (!FinalizationGroup::Cleanup(fg).FromMaybe(false)) {\r\n ^\r\nIn file included from ../src/util.h:31,\r\n from ../src/util-inl.h:29,\r\n from ../src/aliased_buffer.h:7,\r\n from ../src/env.h:27,\r\n from ../src/env.cc:1:\r\n../deps/v8/include/v8.h:5965:44: note: declared here\r\n static V8_WARN_UNUSED_RESULT Maybe\u003cbool> Cleanup(\r\n ^~~~~~~\r\n../src/env.cc:1170:39: error: 'static v8::Maybe\u003cbool> v8::FinalizationGroup::Cleanup(v8::Local\u003cv8::FinalizationGroup>)' is deprecated: FinalizationGroup cleanup is automatic if HostCleanupFinalizationGroupCallback is not set [-Werror=deprecated-declarations]\r\n if (!FinalizationGroup::Cleanup(fg).FromMaybe(false)) {\r\n ^\r\nIn file included from ../src/util.h:31,\r\n from ../src/util-inl.h:29,\r\n from ../src/aliased_buffer.h:7,\r\n from ../src/env.h:27,\r\n from ../src/env.cc:1:\r\n../deps/v8/include/v8.h:5965:44: note: declared here\r\n static V8_WARN_UNUSED_RESULT Maybe\u003cbool> Cleanup(\r\n ^~~~~~~\r\ncc1plus: all warnings being treated as errors\r\n```\r\n\u003c!--\r\nIf possible please provide textual output instead of screenshots.\r\n-->\r\n\r\n### Additional information\r\n\r\n\u003c!--\r\nTell us anything else you think we should know.\r\n-->\r\nSomething has landed within the last day or so that has introduced some new warnings which is failing the builds that have the `--error-on-warn` configure flag on. e.g. GitHub actions (after https://github.com/nodejs/node/pull/33357 landed) and the UBI 8.1 containered build, e.g. from today's daily: https://ci.nodejs.org/job/node-test-commit-linux-containered/20158/nodes=ubi81_sharedlibs_openssl111fips_x64/console\r\n\r\nI'd guess it might be the V8 8.3 update (https://github.com/nodejs/node/pull/32831) whose CI runs were from before we enabled the flag.","author":{"url":"https://github.com/richardlau","@type":"Person","name":"richardlau"},"datePublished":"2020-05-13T16:40:53Z","url":"https://github.com/nodejs/node/issues/33389"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:92874f51-58df-b7c6-12b0-3e263d761313 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CF88:22D42F:6ADCBC:8A4EF0:6AED2DF5 |
| html-safe-nonce | 4c52c6ce149cb24a95962417cca7a1d23e1da3487a58baa5be2f091ede55a909 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRjg4OjIyRDQyRjo2QURDQkM6OEE0RUYwOjZBRUQyREY1IiwidmlzaXRvcl9pZCI6IjkyMDMwMTY2MzgxNDk3NjY2NDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | ee8d1387007c1e850d4ce006082f3652cd6ffad74764e383d242b892171f8e21 |
| hovercard-subject-tag | issue:617596257 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/33389/issue_layout |
| twitter:image | https://opengraph.githubassets.com/853cabde56c2541754cb61dfb5f7dc60fa44da169b41aa05b7118b65628e5aa5/nodejs/node/issues/33389 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/853cabde56c2541754cb61dfb5f7dc60fa44da169b41aa05b7118b65628e5aa5/nodejs/node/issues/33389 |
| og:image:alt | Version: master Platform: macOS/Linux Subsystem: What steps will reproduce the bug? Build with the --error-on-warn configure option. How often does it reproduce? Is there a required condition? Alwa... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | richardlau |
| hostname | github.com |
| expected-hostname | github.com |
| None | e51d0b7b5ab34b1688c05b54c3ed17b8658b2fa9bca973a9c740683ccb12cf4a |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 59ebb7b901cc154ecc179a44f266fcf69f343b30 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width