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

redhat-rpm-config: brp-llvm-compile-lto-elf may corrupt hard-linked files

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • rhel-9.4
    • rhel-9.3.0
    • redhat-rpm-config
    • redhat-rpm-config-206-1.el9
    • None
    • None
    • rhel-sst-pt-libraries
    • ssg_platform_tools
    • 6
    • 7
    • 1
    • Dev ack
    • False
    • Hide

      None

      Show
      None
    • No
    • None
    • Release Note Not Required
    • None

      Description of problem:

      The build at https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=54833700 failed with errors that don't make sense to me:

      + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip
      /usr/bin/strip: /builddir/build/BUILDROOT/dotnet8.0-8.0.100~preview.7-0.2.el9~bootstrap.ppc64le/usr/lib64/dotnet/packs/Microsoft.NETCore.App.Runtime.rhel.9-ppc64le/8.0.0-preview.7.23375.6/runtimes/rhel.9-ppc64le/native/libmono-component-diagnostics_tracing-static.a(dn-fwd-list.c.o): Unable to recognise the format of file: file format not recognized
      /usr/bin/strip: /builddir/build/BUILDROOT/dotnet8.0-8.0.100~preview.7-0.2.el9~bootstrap.ppc64le/usr/lib64/dotnet/packs/Microsoft.NETCore.App.Runtime.rhel.9-ppc64le/8.0.0-preview.7.23375.6/runtimes/rhel.9-ppc64le/native/libmono-component-diagnostics_tracing-static.a(dn-list.c.o): Unable to recognise the format of file: file format not recognized
      /usr/bin/strip: /builddir/build/BUILDROOT/dotnet8.0-8.0.100~preview.7-0.2.el9~bootstrap.ppc64le/usr/lib64/dotnet/packs/Microsoft.NETCore.App.Runtime.rhel.9-ppc64le/8.0.0-preview.7.23375.6/runtimes/rhel.9-ppc64le/native/libmono-component-diagnostics_tracing-static.a(dn-umap.c.o): Unable to recognise the format of file: file format not recognized
      /usr/bin/strip: /builddir/build/BUILDROOT/dotnet8.0-8.0.100~preview.7-0.2.el9~bootstrap.ppc64le/usr/lib64/dotnet/packs/Microsoft.NETCore.App.Runtime.rhel.9-ppc64le/8.0.0-preview.7.23375.6/runtimes/rhel.9-ppc64le/native/libmono-component-diagnostics_tracing-static.a(ep-config.c.o): Unable to recognise the format of file: file format not recognized
      /usr/bin/strip: /builddir/build/BUILDROOT/dotnet8.0-8.0.100~preview.7-0.2.el9~bootstrap.ppc64le/usr/lib64/dotnet/packs/Microsoft.NETCore.App.Runtime.rhel.9-ppc64le/8.0.0-preview.7.23375.6/runtimes/rhel.9-ppc64le/native/libmono-component-diagnostics_tracing-static.a(ep-event.c.o): Unable to recognise the format of file: file format not recognized
      /usr/bin/strip: /builddir/build/BUILDROOT/dotnet8.0-8.0.100~preview.7-0.2.el9~bootstrap.ppc64le/usr/lib64/dotnet/packs/Microsoft.NETCore.App.Runtime.rhel.9-ppc64le/8.0.0-preview.7.23375.6/runtimes/rhel.9-ppc64le/native/libmono-component-diagnostics_tracing-static.a(ep-event-source.c.o): Unable to recognise the format of file: file format not recognized
      /usr/bin/strip: /builddir/build/BUILDROOT/dotnet8.0-8.0.100~preview.7-0.2.el9~bootstrap.ppc64le/usr/lib64/dotnet/packs/Microsoft.NETCore.App.Runtime.rhel.9-ppc64le/8.0.0-preview.7.23375.6/runtimes/rhel.9-ppc64le/native/libmono-component-diagnostics_tracing-static.a(ep-metadata-generator.c.o): Unable to recognise the format of file: file format not recognized
      /usr/bin/strip: /builddir/build/BUILDROOT/dotnet8.0-8.0.100~preview.7-0.2.el9~bootstrap.ppc64le/usr/lib64/dotnet/packs/Microsoft.NETCore.App.Runtime.rhel.9-ppc64le/8.0.0-preview.7.23375.6/runtimes/rhel.9-ppc64le/native/libmono-component-diagnostics_tracing-static.a(ep-sample-profiler.c.o): Unable to recognise the format of file: file format not recognized
      ...

      This doesn't seem to happen all the time. The previous build worked fine:

      https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=54761706

              npopov@redhat.com Nikita Popov
              rhn-engineering-omajid Omair Majid
              Nikita Popov Nikita Popov
              Jesus Checa Hidalgo Jesus Checa Hidalgo
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: