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

Bug: sam build - UnsupportedBuilderException #7036

Closed
mudassirali4113 opened this issue May 7, 2024 · 3 comments
Closed

Bug: sam build - UnsupportedBuilderException #7036

mudassirali4113 opened this issue May 7, 2024 · 3 comments
Labels
area/build sam build command blocked/close-if-inactive Blocked for >14 days with no response, will be closed if still inactive after 7 days type/question

Comments

@mudassirali4113
Copy link

mudassirali4113 commented May 7, 2024

Observed result:

Error: 'Makefile' does not have a supported builder
Traceback:
File "click/core.py", line 1078, in main
File "click/core.py", line 1688, in invoke
File "click/core.py", line 1434, in invoke
File "click/core.py", line 783, in invoke
File "samcli/cli/cli_config_file.py", line 347, in wrapper
File "click/decorators.py", line 92, in new_func
File "click/core.py", line 783, in invoke
File "samcli/lib/telemetry/metric.py", line 185, in wrapped
File "samcli/lib/telemetry/metric.py", line 150, in wrapped
File "samcli/lib/utils/version_checker.py", line 43, in wrapped
File "samcli/cli/main.py", line 95, in wrapper
File "samcli/commands/build/command.py", line 175, in cli
File "samcli/commands/build/command.py", line 264, in do_cli
File "samcli/commands/build/build_context.py", line 284, in run
File "samcli/lib/build/app_builder.py", line 225, in build
File "samcli/lib/build/build_strategy.py", line 83, in build
File "samcli/lib/build/build_strategy.py", line 93, in _build_functions
File "samcli/lib/build/build_strategy.py", line 166, in build_single_function_definition
File "samcli/lib/build/app_builder.py", line 669, in _build_function
File "samcli/lib/build/workflow_config.py", line 219, in get_workflow_config
File "samcli/lib/build/workflow_config.py", line 71, in get_selector

Expected result:

Additional environment details (Ex: Windows, Mac, Amazon Linux etc)

  1. OS: Linux
  2. sam --version: SAM CLI, version 1.116.0
  3. AWS region: us-east-1
# Paste the output of `sam --info` here

Add --debug flag to command you are running

@mudassirali4113 mudassirali4113 added the stage/needs-triage Automatically applied to new issues and PRs, indicating they haven't been looked at. label May 7, 2024
@hawflau
Copy link
Contributor

hawflau commented May 8, 2024

Hi @mudassirali4113 , thanks for raising the issue.

Makefile is supported by SAM CLI as a build method. Could you share your template to see why it didn't work?

You can also refer to https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/building-custom-runtimes.html for examples of the templates.

@hawflau hawflau added type/question area/build sam build command blocked/close-if-inactive Blocked for >14 days with no response, will be closed if still inactive after 7 days and removed stage/needs-triage Automatically applied to new issues and PRs, indicating they haven't been looked at. labels May 8, 2024
@mndeveci
Copy link
Contributor

Closing due to inactivity. Please feel free to create a new issue once you can provide more information. Thanks!

@mndeveci mndeveci closed this as not planned Won't fix, can't repro, duplicate, stale May 16, 2024
Copy link
Contributor

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/build sam build command blocked/close-if-inactive Blocked for >14 days with no response, will be closed if still inactive after 7 days type/question
Projects
None yet
Development

No branches or pull requests

3 participants