buildah version command fails with invalid syntax error

Solution In Progress - Updated -

Environment

  • Red Hat Enterprise Linux (RHEL) 8
  • Red Hat Enterprise Linux (RHEL) 7
  • buildah-1.4-2.git608fa84.el8+2005+c789302b.x86_64

Issue

  • buildah version command fails with error:
[root@host ~]# buildah version
strconv.ParseInt: parsing "": invalid syntax

Resolution

  • Issue has been fixed in buildah 1.5

  • With version 1.4 truncated version information may still be obtained using buildah -v:

[root@host ~]# buildah -v
buildah version 1.4 (image-spec 1.0.0, runtime-spec 1.0.0)

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments