Skip to content

Got an executable format error on amd64 #2626

@othomann

Description

@othomann

Versions and Operating System

  • Operating System:
amd64

Expected Behavior

I am expecting to be able to use the tkn executable on amd64 architecture. I am running tkn version --component client command.
I expect to get:

0.42.0

Actual Behavior

I am getting:

... /usr/bin/tkn: cannot execute binary file: Exec format error

Steps to Reproduce the Problem

  1. From a docker image running on amd64 architecture, I tried to get:
    https://github.com/tektoncd/cli/releases/download/v${TKN_VERSION}/tkn_${TKN_VERSION}_Linux_x86_64.tar.gz where TKN_VERSION is 0.42.0.
  2. I tried to run it after doing a chmod command and I got:
... /usr/bin/tkn: cannot execute binary file: Exec format error

I might do something wrong. If this is the case, I'd like to know what it is :-).

Additional Info

I am building a docker image on a amd64 cluster that is targetting amd64 architecture. The distro is either Ubuntu or UBI (RH).
I got it to work by using either the .deb file for Ubuntu and rpm file for UBI. Both worked as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions