Bug 2137342 - error: /usr/lib/rpm/macros.d/macros.dist: line 11: Macro %dist_debuginfod_url has empty body
Summary: error: /usr/lib/rpm/macros.d/macros.dist: line 11: Macro %dist_debuginfod_url...
Keywords:
Status: CLOSED DUPLICATE of bug 2136410
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: redhat-release
Version: 9.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Release Engineering Bug Triage
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-10-24 14:26 UTC by John Sefler
Modified: 2022-10-24 14:48 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-10-24 14:47:51 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELBLD-11245 0 None None None 2022-10-24 14:32:25 UTC
Red Hat Issue Tracker RHELPLAN-137431 0 None None None 2022-10-24 14:32:30 UTC

Description John Sefler 2022-10-24 14:26:56 UTC
Description of problem:

It looks like there is a missing url in /usr/lib/rpm/macros.d/macros.dist that is causing an error with rpm.


Version-Release number of selected component (if applicable):
redhat-release-9.2-0.7.el9.x86_64


How reproducible:


Steps to Reproduce:

**  **  **  **  **  **  **  **  **  **  **  **  **  **  **  **  **  **
                 This System is reserved by jsefler.

 To return this system early. You can run the command: return2beaker.sh
  Ensure you have your logs off the system before returning to Beaker

 To extend your reservation time. You can run the command:
  extendtesttime.sh
 This is an interactive script. You will be prompted for how many
  hours you would like to extend the reservation.
 Please ensure that you adhere to the reservation policy
  for Beaker systems:
  https://home.corp.redhat.com/wiki/extended-reservations-beaker-general-pool-systems

 You should verify the watchdog was updated succesfully after
  you extend your reservation.
  https://beaker.engineering.redhat.com/recipes/12822433

 For ssh, kvm, serial and power control operations please look here:
  https://beaker.engineering.redhat.com/view/kvm-01-guest12.lab.eng.rdu2.redhat.com

 For the default root password, see:
  https://beaker.engineering.redhat.com/prefs/

      Beaker Test information:
                         HOSTNAME=kvm-01-guest12.lab.eng.rdu2.redhat.com
                            JOBID=7155920
                         RECIPEID=12822433
                    RESULT_SERVER=
                           DISTRO=RHEL-9.2.0-20221023.0
                     ARCHITECTURE=x86_64

      Job Whiteboard: Reserve Workflow provision of distro RHEL-9.2.0-20221023.0 on any lab system for 86400 seconds

      Recipe Whiteboard: 
**  **  **  **  **  **  **  **  **  **  **  **  **  **  **  **  **  **
Register this system with Red Hat Insights: insights-client --register
Create an account or view all your systems at https://red.ht/insights-dashboard
Last login: Mon Oct 24 10:14:57 2022 from 10.22.9.138
[root@kvm-01-guest12 ~]# 
[root@kvm-01-guest12 ~]# rpm -q redhat-release
error: /usr/lib/rpm/macros.d/macros.dist: line 11: Macro %dist_debuginfod_url has empty body  <====== LOOK HERE
redhat-release-9.2-0.7.el9.x86_64
[root@kvm-01-guest12 ~]# 
[root@kvm-01-guest12 ~]# rpm -q --whatprovides /usr/lib/rpm/macros.d/macros.dist
error: /usr/lib/rpm/macros.d/macros.dist: line 11: Macro %dist_debuginfod_url has empty body  <====== LOOK HERE
redhat-release-9.2-0.7.el9.x86_64
[root@kvm-01-guest12 ~]# 
[root@kvm-01-guest12 ~]# cat /usr/lib/rpm/macros.d/macros.dist
# dist macros.

%rhel 9
%__bootstrap         ~bootstrap
%dist %{!?distprefix0:%{?distprefix}}%{expand:%{lua:for i=0,9999 do print("%{?distprefix" .. i .."}") end}}.el9%{?distsuffix}%{?with_bootstrap:~bootstrap}
%el9 1
%dist_vendor         Red Hat, Inc.
%dist_name           Red Hat Enterprise Linux
%dist_home_url       https://www.redhat.com/
%dist_bug_report_url https://bugzilla.redhat.com/
%dist_debuginfod_url                                                                          <====== LOOK HERE
[root@kvm-01-guest12 ~]# 




Actual results:


Expected results:


Additional info:
  commenting out or deleting line 11 makes the error go away; not sure what the expected url should be

Comment 1 John Sefler 2022-10-24 14:47:51 UTC

*** This bug has been marked as a duplicate of bug 2136410 ***


Note You need to log in before you can comment on or make changes to this bug.