kou commented on issue #36154:
URL: https://github.com/apache/arrow/issues/36154#issuecomment-1610435085
I tried running tests on arm64 macOS but `yarn build` (especially `node
node_modules/gulp-cli/bin/gulp.js compile:esnext:umd`) was failed:
```text
[10:10:34] Using gulpfile ~/work/cpp/arrow/js/gulpfile.js
[10:10:34] Starting 'compile:esnext:umd'...
[10:10:38] 'compile:esnext:umd' errored after 3.77 s
[10:10:38] Error: Error: spawn Unknown system error -86
at ChildProcess.spawn (node:internal/child_process:420:11)
at spawn (node:child_process:757:9)
at Compiler.run
(/Users/kou/work/cpp/arrow/js/node_modules/google-closure-compiler/lib/node/closure-compiler.js:76:26)
at CompilationStream._flush
(/Users/kou/work/cpp/arrow/js/node_modules/google-closure-compiler/lib/gulp/index.js:163:40)
at CompilationStream.final [as _final]
(node:internal/streams/transform:132:10)
at callFinal (node:internal/streams/writable:707:12)
at prefinish (node:internal/streams/writable:719:7)
at finishMaybe (node:internal/streams/writable:729:5)
at Writable.end (node:internal/streams/writable:641:5)
at DestroyableTransform.endFn (node:internal/streams/pipeline:424:11) {
errno: -86,
code: 'Unknown system error -86',
syscall: 'spawn'
}
at formatError
(/Users/kou/work/cpp/arrow/js/node_modules/gulp-cli/lib/versioned/^4.0.0/format-error.js:21:10)
at Gulp.<anonymous>
(/Users/kou/work/cpp/arrow/js/node_modules/gulp-cli/lib/versioned/^4.0.0/log/events.js:33:15)
at Gulp.emit (node:events:523:35)
at Gulp.emit (node:domain:489:12)
at Object.error
(/Users/kou/work/cpp/arrow/js/node_modules/undertaker/lib/helpers/createExtensions.js:61:10)
at handler
(/Users/kou/work/cpp/arrow/js/node_modules/now-and-later/lib/map.js:50:14)
at f (/Users/kou/work/cpp/arrow/js/node_modules/once/once.js:25:25)
at f (/Users/kou/work/cpp/arrow/js/node_modules/once/once.js:25:25)
at tryCatch
(/Users/kou/work/cpp/arrow/js/node_modules/bach/node_modules/async-done/index.js:24:15)
at done
(/Users/kou/work/cpp/arrow/js/node_modules/bach/node_modules/async-done/index.js:40:12)
```
It seems that `node_modules/google-closure-compiler-osx/compiler` is only
for `x86_64`:
```console
$ file node_modules/google-closure-compiler-osx/compiler
node_modules/google-closure-compiler-osx/compiler: Mach-O 64-bit executable
x86_64
```
How did you run `yarn build`? (Are you using arm64 macOS?)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]