Bug 613600 - "make rpm" in upstream generates warnings with dwarves
Summary: "make rpm" in upstream generates warnings with dwarves
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libvirt (Show other bugs)
(Show other bugs)
Version: unspecified
Hardware: All Linux
Target Milestone: ---
Assignee: Eric Blake
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2010-07-12 11:43 UTC by Justin Clift
Modified: 2015-07-13 04:34 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-01-09 18:56:52 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Justin Clift 2010-07-12 11:43:54 UTC
Description of problem:

  Running the "make rpm" target in libvirt upstream git generates these warning messages:

    WARNING: your pdwtags program is too old
    WARNING: skipping the remote_protocol-structs test
    WARNING: install dwarves-1.3 or newer

  However, the very latest version of dwarves (~1.8) is installed.

Version-Release number of selected component (if applicable):

  $ rpm -qa | grep dwarves

How reproducible:

  Every time.

Steps to Reproduce:
1. Install dwarves from F13 repository.
2. Run "make rpm" from local libvirt git repository.

   Warning messages appear here.

Actual results:

  Warning messages appear, and (I guess) the "remote_protocol-structs" test is skipped as per the message.

Expected results:

  The dwarves program to be recognised correctly, and the indicated test to be run.

Additional info:

Comment 1 Daniel Berrange 2010-08-17 12:36:51 UTC
Sounds like something for Eric / Jim to look at.

Comment 2 Eric Blake 2012-01-06 21:56:47 UTC
In rawhide, dwarves 1.9 _can't_ parse gcc 4.7 output:


pdwtags --verbose src/libvirt_net_rpc_la-virkeepaliveprotocol.o
die__process_function: DW_TAG_INVALID (0x4109) @ <0x58c> not handled!

whereas the same thing works on F16 for me:


I'm cloning this bug against dwarves to get the tool fixed, and meanwhile, I will work on tweaking libvirt's error message to be a bit more accurate in the case where the tool is newer than 1.3 but still broken in comparison to gcc.

Comment 3 Eric Blake 2012-01-06 23:19:31 UTC
Upstream patch proposed:

Comment 4 Eric Blake 2012-01-06 23:24:41 UTC
(In reply to comment #2)
> I'm cloning this bug against dwarves to get the tool fixed,

bug 772358

Comment 5 Eric Blake 2012-01-09 18:56:52 UTC
The 0.9.9 release includes this, so I'm closing the bug:

commit cf6d36257b9164ec7a4bcd31a3c56b6163169e02
Author: Eric Blake <eblake@redhat.com>
Date:   Fri Jan 6 16:07:34 2012 -0700

    tests: work around pdwtags 1.9 failure
    On rawhide, gcc is new enough to output new DWARF information that
    pdwtags has not yet learned, but the resulting 'make check' output
    was rather confusing:
    $ make -C src check
      GEN    virkeepaliveprotocol-structs
    die__process_function: DW_TAG_INVALID (0x4109) @ <0x58c> not handled!
    WARNING: your pdwtags program is too old
    WARNING: skipping the virkeepaliveprotocol-structs test
    WARNING: install dwarves-1.3 or newer
    $ pdwtags --version

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