conda-forge / vega-cli-feedstock

A conda-smithy repository for vega-cli.
BSD 3-Clause "New" or "Revised" License
6 stars 6 forks source link

Rebuild for nodejs 22 #35

Open regro-cf-autotick-bot opened 3 months ago

regro-cf-autotick-bot commented 3 months ago

This PR has been triggered in an effort to update nodejs22.

Notes and instructions for merging this PR:

  1. Please merge the PR only after the tests have passed.
  2. Feel free to push to the bot's branch to update this PR if needed.

Please note that if you close this PR we presume that the feedstock has been rebuilt, so if you are going to perform the rebuild yourself don't close this PR until the your rebuild has been merged.


If this PR was opened in error or needs to be updated please add the bot-rerun label to this PR. The bot will close this PR and schedule another one. If you do not have permissions to add this label, you can use the phrase code>@<space/conda-forge-admin, please rerun bot in a PR comment to have the conda-forge-admin add it for you.

This PR was created by the regro-cf-autotick-bot. The regro-cf-autotick-bot is a service to automatically track the dependency graph, migrate packages, and propose package version updates for conda-forge. Feel free to drop us a line if there are any issues! This PR was generated by - please use this URL for debugging.

conda-forge-webservices[bot] commented 3 months ago

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

xhochy commented 3 months ago

node-canvas needs to be updated first:

2024-07-03T23:09:28.0550740Z error /Users/runner/miniforge3/conda-bld/vega-cli_1720047895539/work/node_modules/canvas: Command failed.
2024-07-03T23:09:28.0555730Z Exit code: 1
2024-07-03T23:09:28.0572750Z Command: node-pre-gyp install --fallback-to-build --update-binary
2024-07-03T23:09:28.0587100Z Arguments: 
2024-07-03T23:09:28.0624260Z Directory: /Users/runner/miniforge3/conda-bld/vega-cli_1720047895539/work/node_modules/canvas
2024-07-03T23:09:28.0630100Z Output:
2024-07-03T23:09:28.0637410Z node-pre-gyp info it worked if it ends with ok
2024-07-03T23:09:28.0912260Z node-pre-gyp info using node-pre-gyp@1.0.10
2024-07-03T23:09:28.0927530Z node-pre-gyp info using node@22.4.0 | darwin | x64
2024-07-03T23:09:28.0979640Z node-pre-gyp info build requesting source compile
2024-07-03T23:09:28.0996050Z (node:3606) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
2024-07-03T23:09:28.1074410Z (Use `node --trace-deprecation ...` to show where the warning was created)
2024-07-03T23:09:28.1464170Z gyp info it worked if it ends with ok
2024-07-03T23:09:28.1516330Z gyp info using node-gyp@9.4.1
2024-07-03T23:09:28.1520530Z gyp info using node@22.4.0 | darwin | x64
2024-07-03T23:09:28.1524090Z gyp info ok 
2024-07-03T23:09:28.1527970Z gyp info it worked if it ends with ok
2024-07-03T23:09:28.1538290Z gyp info using node-gyp@9.4.1
2024-07-03T23:09:28.1540400Z gyp info using node@22.4.0 | darwin | x64
2024-07-03T23:09:28.1544950Z (node:3622) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.
2024-07-03T23:09:28.1547730Z (Use `node --trace-deprecation ...` to show where the warning was created)
2024-07-03T23:09:28.1549740Z gyp info find Python using Python version 3.11.9 found at "/Users/runner/miniforge3/conda-bld/vega-cli_1720047895539/_build_env/bin/python3"
2024-07-03T23:09:28.1554890Z gyp http GET https://nodejs.org/download/release/v22.4.0/node-v22.4.0-headers.tar.gz
2024-07-03T23:09:28.1557090Z gyp http 200 https://nodejs.org/download/release/v22.4.0/node-v22.4.0-headers.tar.gz
2024-07-03T23:09:28.1559820Z gyp http GET https://nodejs.org/download/release/v22.4.0/SHASUMS256.txt
2024-07-03T23:09:28.1565160Z gyp http 200 https://nodejs.org/download/release/v22.4.0/SHASUMS256.txt
2024-07-03T23:09:28.1568870Z gyp info spawn /Users/runner/miniforge3/conda-bld/vega-cli_1720047895539/_build_env/bin/python3
2024-07-03T23:09:28.1572100Z gyp info spawn args [
2024-07-03T23:09:28.1575050Z gyp info spawn args   '/Users/runner/miniforge3/conda-bld/vega-cli_1720047895539/work/node_modules/node-gyp/gyp/gyp_main.py',
2024-07-03T23:09:28.1576960Z gyp info spawn args   'binding.gyp',
2024-07-03T23:09:28.1578310Z gyp info spawn args   '-f',
2024-07-03T23:09:28.1579650Z gyp info spawn args   'make',
2024-07-03T23:09:28.1581340Z gyp info spawn args   '-I',
2024-07-03T23:09:28.1583120Z gyp info spawn args   '/Users/runner/miniforge3/conda-bld/vega-cli_1720047895539/work/node_modules/canvas/build/config.gypi',
2024-07-03T23:09:28.1584470Z gyp info spawn args   '-I',
2024-07-03T23:09:28.1586530Z gyp info spawn args   '/Users/runner/miniforge3/conda-bld/vega-cli_1720047895539/work/node_modules/node-gyp/addon.gypi',
2024-07-03T23:09:28.1589510Z gyp info spawn args   '-I',
2024-07-03T23:09:28.1591770Z gyp info spawn args   '/Users/runner/Library/Caches/node-gyp/22.4.0/include/node/common.gypi',
2024-07-03T23:09:28.1595280Z gyp info spawn args   '-Dlibrary=shared_library',
2024-07-03T23:09:28.1599090Z gyp info spawn args   '-Dvisibility=default',
2024-07-03T23:09:28.1602180Z gyp info spawn args   '-Dnode_root_dir=/Users/runner/Library/Caches/node-gyp/22.4.0',
2024-07-03T23:09:28.1608190Z gyp info spawn args   '-Dnode_gyp_dir=/Users/runner/miniforge3/conda-bld/vega-cli_1720047895539/work/node_modules/node-gyp',
2024-07-03T23:09:28.1609230Z gyp info spawn args   '-Dnode_lib_file=/Users/runner/Library/Caches/node-gyp/22.4.0/<(target_arch)/node.lib',
2024-07-03T23:09:28.1609930Z gyp info spawn args   '-Dmodule_root_dir=/Users/runner/miniforge3/conda-bld/vega-cli_1720047895539/work/node_modules/canvas',
2024-07-03T23:09:28.1610510Z gyp info spawn args   '-Dnode_engine=v8',
2024-07-03T23:09:28.1615350Z gyp info spawn args   '--depth=.',
2024-07-03T23:09:28.1616020Z gyp info spawn args   '--no-parallel',
2024-07-03T23:09:28.1618980Z gyp info spawn args   '--generator-output',
2024-07-03T23:09:28.1621030Z gyp info spawn args   'build',
2024-07-03T23:09:28.1623460Z gyp info spawn args   '-Goutput_dir=.'
2024-07-03T23:09:28.1625640Z gyp info spawn args ]
2024-07-03T23:09:28.1628330Z gyp info ok 
2024-07-03T23:09:28.1631830Z gyp info it worked if it ends with ok
2024-07-03T23:09:28.1634740Z gyp info using node-gyp@9.4.1
2024-07-03T23:09:28.1639070Z gyp info using node@22.4.0 | darwin | x64
2024-07-03T23:09:28.1643010Z gyp info spawn make
2024-07-03T23:09:28.1646690Z gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
2024-07-03T23:09:28.1649370Z make: Entering directory '/Users/runner/miniforge3/conda-bld/vega-cli_1720047895539/work/node_modules/canvas/build'
2024-07-03T23:09:28.1651490Z   SOLINK_MODULE(target) Release/canvas-postbuild.node
2024-07-03T23:09:28.1653500Z   CXX(target) Release/obj.target/canvas/src/backend/Backend.o
2024-07-03T23:09:28.1655530Z In file included from ../src/backend/Backend.cc:1:
2024-07-03T23:09:28.1657700Z In file included from ../src/backend/Backend.h:6:
2024-07-03T23:09:28.1660400Z ../../nan/nan.h:2546:8: error: no matching member function for call to 'SetAccessor'
2024-07-03T23:09:28.1688880Z   tpl->SetAccessor(
2024-07-03T23:09:28.1711650Z   ~~~~~^~~~~~~~~~~
2024-07-03T23:09:28.1712600Z /Users/runner/Library/Caches/node-gyp/22.4.0/include/node/v8-template.h:1055:8: note: candidate function not viable: no known conversion from 'v8::AccessControl' to 'PropertyAttribute' for 5th argument
2024-07-03T23:09:28.1725800Z   void SetAccessor(
2024-07-03T23:09:28.1737100Z        ^
2024-07-03T23:09:28.1739530Z /Users/runner/Library/Caches/node-gyp/22.4.0/include/node/v8-template.h:1049:8: note: candidate function not viable: no known conversion from 'imp::NativeGetter' (aka 'void (*)(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value> &)') to 'AccessorGetterCallback' (aka 'void (*)(Local<String>, const PropertyCallbackInfo<Value> &)') for 2nd argument
2024-07-03T23:09:28.1751990Z   void SetAccessor(
2024-07-03T23:09:28.1752450Z        ^
2024-07-03T23:09:28.1798110Z In file included from ../src/backend/Backend.cc:1:
2024-07-03T23:09:28.1846550Z In file included from ../src/backend/Backend.h:6:
2024-07-03T23:09:28.1849990Z ../../nan/nan.h:2592:8: error: no matching member function for call to 'SetAccessor'
2024-07-03T23:09:28.1852730Z   tpl->SetAccessor(
2024-07-03T23:09:28.1853770Z   ~~~~~^~~~~~~~~~~
2024-07-03T23:09:28.1855010Z /Users/runner/Library/Caches/node-gyp/22.4.0/include/node/v8-template.h:1055:8: note: candidate function not viable: no known conversion from 'v8::AccessControl' to 'PropertyAttribute' for 5th argument
2024-07-03T23:09:28.1858260Z   void SetAccessor(
2024-07-03T23:09:28.1860360Z        ^
2024-07-03T23:09:28.1863240Z /Users/runner/Library/Caches/node-gyp/22.4.0/include/node/v8-template.h:1049:8: note: candidate function not viable: no known conversion from 'imp::NativeGetter' (aka 'void (*)(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value> &)') to 'AccessorGetterCallback' (aka 'void (*)(Local<String>, const PropertyCallbackInfo<Value> &)') for 2nd argument
2024-07-03T23:09:28.1893150Z   void SetAccessor(
2024-07-03T23:09:28.2156930Z        ^
2024-07-03T23:09:28.2443050Z In file included from ../src/backend/Backend.cc:1:
2024-07-03T23:09:28.2444320Z In file included from ../src/backend/Backend.h:6:
2024-07-03T23:09:28.2650290Z In file included from ../../nan/nan.h:60:
2024-07-03T23:09:28.2652100Z In file included from /Users/runner/Library/Caches/node-gyp/22.4.0/include/node/node.h:73:
2024-07-03T23:09:28.2653030Z In file included from /Users/runner/Library/Caches/node-gyp/22.4.0/include/node/v8.h:24:
2024-07-03T23:09:28.2653790Z In file included from /Users/runner/Library/Caches/node-gyp/22.4.0/include/node/v8-array-buffer.h:12:
2024-07-03T23:09:28.2654790Z /Users/runner/Library/Caches/node-gyp/22.4.0/include/node/v8-local-handle.h:269:5: error: static assertion failed due to requirement 'std::is_base_of<v8::Value, v8::Data>::value': type check
2024-07-03T23:09:28.2655440Z     static_assert(std::is_base_of<T, S>::value, "type check");
2024-07-03T23:09:28.2660030Z     ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2024-07-03T23:09:28.2660890Z ../../nan/nan_callbacks_12_inl.h:175:20: note: in instantiation of function template specialization 'v8::Local<v8::Value>::Local<v8::Data>' requested here
2024-07-03T23:09:28.2661580Z       cbinfo(info, obj->GetInternalField(kDataIndex));
2024-07-03T23:09:28.2661960Z                    ^
2024-07-03T23:09:28.2662220Z In file included from ../src/backend/Backend.cc:1:
2024-07-03T23:09:28.2662780Z ../src/backend/Backend.h:60:14: warning: private field 'backend' is not used [-Wunused-private-field]
2024-07-03T23:09:28.2663250Z     Backend* backend;
2024-07-03T23:09:28.2663470Z              ^
2024-07-03T23:09:28.2663790Z 1 warning and 3 errors generated.
2024-07-03T23:09:28.2664250Z make: *** [canvas.target.mk:159: Release/obj.target/canvas/src/backend/Backend.o] Error 1
2024-07-03T23:09:28.2664920Z make: Leaving directory '/Users/runner/miniforge3/conda-bld/vega-cli_1720047895539/work/node_modules/canvas/build'
2024-07-03T23:09:28.2665400Z gyp ERR! build error 
2024-07-03T23:09:28.2665660Z gyp ERR! stack Error: `make` failed with exit code: 2
2024-07-03T23:09:28.2666610Z gyp ERR! stack     at ChildProcess.onExit (/Users/runner/miniforge3/conda-bld/vega-cli_1720047895539/work/node_modules/node-gyp/lib/build.js:203:23)
2024-07-03T23:09:28.2667280Z gyp ERR! stack     at ChildProcess.emit (node:events:520:28)
2024-07-03T23:09:28.2667800Z gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:294:12)
2024-07-03T23:09:28.2668260Z gyp ERR! System Darwin 21.6.0
2024-07-03T23:09:28.2669530Z gyp ERR! command "/Users/runner/miniforge3/conda-bld/vega-cli_1720047895539/_build_env/bin/node" "/Users/runner/miniforge3/conda-bld/vega-cli_1720047895539/work/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--update-binary" "--module=/Users/runner/miniforge3/conda-bld/vega-cli_1720047895539/work/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/Users/runner/miniforge3/conda-bld/vega-cli_1720047895539/work/node_modules/canvas/build/Release" "--napi_version=9" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v127"
2024-07-03T23:09:28.2670760Z gyp ERR! cwd /Users/runner/miniforge3/conda-bld/vega-cli_1720047895539/work/node_modules/canvas
2024-07-03T23:09:28.2671260Z gyp ERR! node -v v22.4.0
2024-07-03T23:09:28.2671690Z gyp ERR! node-gyp -v v9.4.1
2024-07-03T23:09:28.2671940Z gyp ERR! not ok 
xhochy commented 2 months ago

Depends on https://github.com/vega/vega/pull/3947

conda-forge-webservices[bot] commented 2 months ago

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.