Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at
Bug 1603845 - dwz: FTBFS in Fedora rawhide
Summary: dwz: FTBFS in Fedora rawhide
Alias: None
Product: Fedora
Classification: Fedora
Component: dwz
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Marek Polacek
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: 1551327 F29FTBFS
TreeView+ depends on / blocked
Reported: 2018-07-19 19:10 UTC by Mohan Boddu
Modified: 2018-07-23 11:04 UTC (History)
3 users (show)

Fixed In Version: dwz-0.12-9.fc29
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2018-07-20 14:15:50 UTC
Type: ---

Attachments (Terms of Use)
build.log (4.45 KB, text/plain)
2018-07-19 19:10 UTC, Mohan Boddu
no flags Details
root.log (32.00 KB, text/plain)
2018-07-19 19:10 UTC, Mohan Boddu
no flags Details
state.log (599 bytes, text/plain)
2018-07-19 19:10 UTC, Mohan Boddu
no flags Details

Description Mohan Boddu 2018-07-19 19:10:07 UTC
dwz failed to build from source in Fedora rawhide

For details on the mass rebuild see:
Please fix dwz at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
dwz will be orphaned. Before branching of Fedora 30,
dwz will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:

Comment 1 Mohan Boddu 2018-07-19 19:10:19 UTC
Created attachment 1461576 [details]

Comment 2 Mohan Boddu 2018-07-19 19:10:26 UTC
Created attachment 1461577 [details]

file root.log too big, will only attach last 32768 bytes

Comment 3 Mohan Boddu 2018-07-19 19:10:30 UTC
Created attachment 1461578 [details]

Comment 4 Marek Polacek 2018-07-19 19:30:06 UTC
I think we should commit this:

diff --git a/dwz.spec b/dwz.spec
index dba2668..15e7fc8 100644
--- a/dwz.spec
+++ b/dwz.spec
@@ -1,14 +1,14 @@
 Summary: DWARF optimization and duplicate removal tool
 Name: dwz
 Version: 0.12
-Release: 8%{?dist}
+Release: 9%{?dist}
 License: GPLv2+ and GPLv3+
 Group: Development/Tools
 # git archive --format=tar --remote=git:// \
-#   --prefix=%{name}-%{version}/ %{name}-%{version} \
-#   | bzip2 -9 > %{name}-%{version}.tar.bz2
+#   --prefix=%%{name}-%%{version}/ %%{name}-%%{version} \
+#   | bzip2 -9 > %%{name}-%%{version}.tar.bz2
 Source: %{name}-%{version}.tar.bz2
-BuildRequires: elfutils-libelf-devel%{?_isa}
+BuildRequires: gcc, elfutils-libelf-devel
 The dwz package contains a program that attempts to optimize DWARF
@@ -37,6 +37,10 @@ make DESTDIR=%{buildroot} prefix=%{_prefix} mandir=%{_mandir} bindir=%{_bindir}
+* Thu Jul 19 2018 Marek Polacek <polacek> 0.12-9
+- remove %{?_isa} from BuildRequires
+- add gcc to BuildRequires
 * Thu Jul 12 2018 Fedora Release Engineering <releng> - 0.12-8
 - Rebuilt for

Comment 5 Jakub Jelinek 2018-07-19 19:36:28 UTC
Please mention #1545173 for the first item.  Will you build it or should I?

Comment 6 Marek Polacek 2018-07-19 19:49:28 UTC
(In reply to Jakub Jelinek from comment #5)
> Thanks.
> Please mention #1545173 for the first item.  Will you build it or should I?

Will do.  I could build it, but I don't have the commit privileges; can you perhaps add me (I think here <>)?  Thanks.

Comment 7 Marek Polacek 2018-07-20 14:15:50 UTC

Comment 8 Igor Raits 2018-07-23 11:04:37 UTC
make: cc: Command not found

Suggested fix:
BuildRequires:  gcc

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