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

bpftool RPM build fails for z-stream/0-day

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • rhel-10.1
    • rhel-10.1
    • bpftool
    • bpftool-7.6.0-3.el10
    • No
    • Moderate
    • 1
    • rhel-kernel-tracing-ebpf
    • 25
    • 26
    • 0
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • CK Parent Issues In Progress
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      When building bpftool for a stream other than the latest y-stream, the RPM build fails. The reason is that for such streams, the %{dist} RPM macro changes from .el10 to .el10_Y.

      Can be reproduced with:

      $ mock -r centos-stream-10-x86_64 --rebuild bpftool-7.6.0-2.el10.src.rpm --define="dist .el10_0"
      [...]
      RPM build errors:
      error: Bad file: /builddir/build/SOURCES/linux-6.12.0-103.el10_0.tar.xz: No such file or directory
          Bad file: /builddir/build/SOURCES/linux-6.12.0-103.el10_0.tar.xz: No such file or directory
      [...]

      This (among other things) makes OpenScanHub builds fail.

              vmalik@redhat.com Viktor Malík
              vmalik@redhat.com Viktor Malík
              Viktor Malík Viktor Malík
              Ziqian (Zamir) SUN Ziqian (Zamir) SUN
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: