Uploaded image for project: 'MicroShift'
  1. MicroShift
  2. USHIFT-5713

While trying to build MicroShift from source, the rpm version string for Intel vs. ARM is not consistent

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Major Major
    • openshift-4.20
    • None
    • None
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • 2
    • None
    • None
    • uShift Sprint 270
    • None
    • None
    • None

      Description of problem:

      When trying to build microshift from source, the rpm version string for Intel and ARM is not consistent. See example output below.
      For example:
          INTEL: 4.19.0_0.nightly_2025_05_01_165245_20250505234131_6e5e14dd6
            ARM: 4.19.0_0.nightly_arm64_2025_05_01_154018_20250505234131_6e5e14dd6
      

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

      
      

      How reproducible:

      Always
      

      Steps to Reproduce:

      1. Clone microshift repo on aarch64 machine
      2.  cd microshift && make rpm
      3.
      

      Actual results:

      I see rpm names generated are inconsistent across x86_64 and aarch64
      x86_64:
      ===========
      [lenovo rpmbuild]$ ls -l RPMS/x86_64/microshift-4.19.0_0.nightly_2025_04_08_163320_20250424115945_595c807d1-1.el9.x86_64.rpm 
      -rw-r--r--. 1 microshift microshift 66803829 May  7 10:23 RPMS/x86_64/microshift-4.19.0_0.nightly_2025_04_08_163320_20250424115945_595c807d1-1.el9.x86_64.rpm
      
      aarch64:
      =========
      [microshift@microshift-dev microshift]$ ls -l _output/rpmbuild/RPMS/aarch64/
      total 59048
      -rw-r--r--. 1 microshift microshift 60207769 May  7 10:12 microshift-4.19.0_0.nightly_arm64_2025_05_01_154018_20250507064729_24d172c8d-1.el9.aarch64.rpm
      

      Expected results:

      RPM names should be the same, something like below
      INTEL: 4.19.0_0.nightly_2025_05_01_165245_20250505234131_6e5e14dd6
            ARM: 4.19.0_0.nightly_2025_05_01_154018_20250505234131_6e5e14dd6
      

      Additional info:

      https://redhat-internal.slack.com/archives/C03CJTNLKAT/p1746602188288349
      

              ggiguash@redhat.com Gregory Giguashvili
              knarra@redhat.com Rama Kasturi Narra
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: