Skip to content

Error: fork/exec /var/task/bootstrap: exec format error Runtime.InvalidEntrypoint #30782

Open

Description

Describe the bug

I am trying to deploy a native build to aws lambda. When I invoke the lambda after aws deployment I get this error :

Error: fork/exec /var/task/bootstrap: exec format error Runtime.InvalidEntrypoint

The command that is use to build the native file is :

quarkus build --native --no-tests -Dquarkus.native.container-build=true

I am building the native file on a mac m1 machine.

Expected behavior

No response

Actual behavior

No response

How to Reproduce?

No response

Output of uname -a or ver

Darwin Daniels-MacBook-Pro.local 22.2.0 Darwin Kernel Version 22.2.0: Fri Nov 11 02:03:51 PST 2022; root:xnu-8792.61.2~4/RELEASE_ARM64_T6000 arm64

Output of java -version

openjdk version "11.0.11" 2021-04-20 OpenJDK Runtime Environment GraalVM CE 19.3.6 (build 11.0.11+8-jvmci-19.3-b26) OpenJDK 64-Bit Server VM GraalVM CE 19.3.6 (build 11.0.11+8-jvmci-19.3-b26, mixed mode, sharing)

GraalVM version (if different from Java)

No response

Quarkus version or git rev

No response

Build tool (ie. output of mvnw --version or gradlew --version)

gradle

Additional information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    env/m1Impacts Apple M1 machineskind/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions