rpmbuild 给出重复文件错误消息

rpmbuild 给出重复文件错误消息

我正在尝试在 rhel 8 上为 syslog-ng 构建一个包,但不断收到这些错误:

    File listed twice: /usr/lib/.build-id/53/46b0c98ce522ee7f3ac31c3c1de3bf5f62c873
    File listed twice: /usr/lib/.build-id/62/78b0aa50c592732442979dd4697181da1fca9f
    File listed twice: /usr/lib/.build-id/64/2bdf4d35d74e8db87ebe655657608e0d52b3b2

我最初%global debug_package %{nil}在规范文件中有。收到错误后,我尝试将该行更改为%define debug_package %{nil}.我什至尝试使用 构建软件包rpmbuild -bi --nodebuginfo syslog-ng.spec。所有 3 个变体仍然给出错误消息。使用 构建wireshark包%global debug_package %{nil}不会给出错误。

相关内容