Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot build on Mac #281

Closed
changchang opened this issue Dec 2, 2021 · 2 comments
Closed

Cannot build on Mac #281

changchang opened this issue Dec 2, 2021 · 2 comments
Labels
closing-soon This issue will automatically close in 4 days unless further comments are made.

Comments

@changchang
Copy link

There are some invalid options for strip on Mac.

Options:

--strip-debug
--strip-unneeded

Error message:

error: /Library/Developer/CommandLineTools/usr/bin/strip: unrecognized option: --strip-debug
Usage: /Library/Developer/CommandLineTools/usr/bin/strip [-AnuSXx] [-] [-d filename] [-s filename] [-R filename] [-o output] file [...] 
make[2]: *** [Release/aws-crt-nodejs.node] Error 1
make[2]: *** Deleting file `Release/aws-crt-nodejs.node'
make[1]: *** [CMakeFiles/aws-crt-nodejs.dir/all] Error 2
make: *** [all] Error 2
ERR! OMG Process terminated: 2
node:internal/process/promises:246
          triggerUncaughtException(err, true /* fromPromise */);
          ^

Error: Process terminated: 2
    at ChildProcess.<anonymous> (/Users/thomaszhou/program/git/aws-crt-nodejs/node_modules/cmake-js/lib/processHelpers.js:34:32)
    at ChildProcess.emit (node:events:390:28)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)

Environment:

  • Mac OS: Monterey 12.0
  • Chip: Apple M1 Pro
  • CMake: 3.22.0
  • strip: 2.37
@rossng
Copy link

rossng commented Jan 26, 2022

I am also experiencing this and, now that aws-crt is transitively required by @aws-sdk/client-s3, it's a pretty significant issue.

See aws/aws-sdk-js-v3#2822 (comment)

@bretambrose
Copy link
Contributor

This may have been addressed when M1 support was added recently, otherwise we will need more repro information.

@bretambrose bretambrose added the closing-soon This issue will automatically close in 4 days unless further comments are made. label Jul 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closing-soon This issue will automatically close in 4 days unless further comments are made.
Projects
None yet
Development

No branches or pull requests

3 participants