[MXS-3530] Maxctrl is not buildable with aarch64 and latest nodes Created: 2021-04-30  Updated: 2021-05-24  Resolved: 2021-05-24

Status: Closed
Project: MariaDB MaxScale
Component/s: Packaging
Affects Version/s: None
Fix Version/s: 6.0.0

Type: Bug Priority: Major
Reporter: Timofey Turenko Assignee: markus makela
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Blocks

 Description   

https://mdbe-buildbot.mariadb.net/#/builders/82/builds/29/steps/9/logs/stdio

Fetching base Node.js binaries to PKG_CACHE_PATH
  fetched-v10.21.0-linux-arm64 [                    ] 0%
> Error! 404 Not Found
  https://github.com/zeit/pkg-fetch/releases/download/v2.6/uploaded-v2.6-node-v10.21.0-linux-arm64
> Asset not found by direct link:
  {"tag":"v2.6","name":"uploaded-v2.6-node-v10.21.0-linux-arm64"}
> Not found in GitHub releases:
  {"tag":"v2.6","name":"uploaded-v2.6-node-v10.21.0-linux-arm64"}
> Building base binary from source:
  built-v10.21.0-linux-arm64
> Cloning Node.js repository from GitHub...
  git                          [                    ] 0%  git                          [=                   ] 5%  git                          [==                  ] 10%  git                          [====                ] 20%  git                          [========            ] 40%  git                          [============        ] 60%  git                          [================    ] 80%  git                          [==================  ] 90%  git                          [====================] 100%
> Checking out v10.21.0
> Applying patches
> Compiling Node.js from sources...
./configure: 4: exec: python: not found
> Error! Error: ./configure failed with code 127
    at ChildProcess.<anonymous> (/home/ubuntu/MaxScale/_build/maxctrl/node_modules/pkg-fetch/lib-es5/spawn.js:68:23)
    at ChildProcess.emit (events.js:315:20)
    at maybeClose (internal/child_process.js:1048:16)
    at Socket.<anonymous> (internal/child_process.js:439:11)
    at Socket.emit (events.js:315:20)
    at Pipe.<anonymous> (net.js:673:12)
maxctrl/CMakeFiles/maxctrl.dir/build.make:96: recipe for target 'maxctrl/maxctrl' failed
make[2]: *** [maxctrl/maxctrl] Error 2
CMakeFiles/Makefile2:5639: recipe for target 'maxctrl/CMakeFiles/maxctrl.dir/all' failed
make[1]: *** [maxctrl/CMakeFiles/maxctrl.dir/all] Error 2
Makefile:165: recipe for target 'all' failed
make: *** [all] Error 2
+ exit 1

switching maxctrl build off solves the problem



 Comments   
Comment by Timofey Turenko [ 2021-04-30 ]

nodejs is installed in the following way:

    node_version="14.16.1"
    wget --quiet https://nodejs.org/dist/v${node_version}/node-v${node_version}-linux-arm64.tar.xz
    tar xvf node-v${node_version}-linux-arm64.tar.xz
    sudo cp -t /usr -r node-v${node_version}-linux-arm64/*

please note, for Intel architecture, node is 10.20.0

Comment by markus makela [ 2021-04-30 ]

This might require an update of pkg which is supposed to have a release soon.

Comment by markus makela [ 2021-05-24 ]

I think we've already solved this.

Generated at Thu Feb 08 04:22:05 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.