Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-51894

Upgraded go-rpm-macros break builds

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Undefined Undefined
    • None
    • CentOS Stream 9
    • go-rpm-macros
    • None
    • Yes
    • None
    • rhel-sst-pt-llvm-rust-go
    • ssg_platform_tools
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • x86_64
    • None

      What were you trying to do that didn't work?

      Please provide the package NVR for which bug is seen:

      go-rpm-macros-3.6.0-3.el9

      How reproducible:

      always.

      Steps to reproduce

      1. Update to go-srpm-macros-3.6.0-3.el9
      2.  rebuild osbuild-composer-114-1.el9
      3. error: lua script failed: /usr/lib/rpm//lua/fedora/srpm/go.lua:72: attempt to call a nil value (field 'isdefined')

      Expected results

       

      Working package build.

      Actual results

       

      Build fails, After downgrading go-srpm-macros build works.

      Reproducable with opentelemetry-collector-0.102.1-2.el9 build failing with same error.

              dbenoit@redhat.com David Benoit
              bleve Tuomo Soini
              David Benoit David Benoit
              qe-baseos-tools-bugs@redhat.com qe-baseos-tools-bugs@redhat.com qe-baseos-tools-bugs@redhat.com qe-baseos-tools-bugs@redhat.com
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: