Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-11593

RPM build shows errors from missing jq command

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • 4.13.0
    • 4.13.0, 4.14.0
    • MicroShift
    • None
    • No
    • uShift Sprint 234
    • 1
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      I noticed in one of our RPM build logs that there are errors because jq is not present. It isn't clear from the error why jq is needed.

      https://download.eng.bos.redhat.com/brewroot/vol/rhel-8/packages/microshift/4.14.0~0.nightly_2023_04_05_053919/202304050720.p0.g3e0651c.assembly.microshift.el8/data/logs/x86_64/build.log

      Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.RqtQlC
      + umask 022
      + cd /builddir/build/BUILD
      + cd microshift-4.14.0~0.nightly_2023_04_05_053919
      + GOOS=linux
      + GOARCH=amd64
      + make _build_local GOOS=linux GOARCH=amd64 MICROSHIFT_VERSION=4.14.0~0.nightly_2023_04_05_053919 EMBEDDED_GIT_COMMIT=3e0651c558a988295c7d5161a4ec6d554a657d81
      /usr/bin/bash: jq: command not found
      /usr/bin/bash: jq: command not found
      

      The build succeeds anyway.

      Version-Release number of selected component (if applicable): 4.14

      How reproducible: Unknown

      Steps to Reproduce:

      1.
      2.
      3.
      

      Actual results:

       

      Expected results:

       

      Additional info:

       

              dhellman@redhat.com Doug Hellmann
              dhellman@redhat.com Doug Hellmann
              John George John George
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: