Bug 1298798 - dnf builddep systemd build dependencies different as what I expect because of macros
Summary: dnf builddep systemd build dependencies different as what I expect because of...
Keywords:
Status: CLOSED DUPLICATE of bug 1210276
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf-plugins-core
Version: 23
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-15 06:00 UTC by Francois Rigault
Modified: 2016-01-25 12:32 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-01-25 12:32:42 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Francois Rigault 2016-01-15 06:00:48 UTC
Description of problem:

as per documentation:
http://dnf-plugins-core.readthedocs.org/en/latest/builddep.html

  Build dependencies in a package (i.e. src.rpm) might be different than 
  you would expect because they were evaluated according macros set on 
  the package build host.

Steps to Reproduce:

On an x86_64 hardware and distro:

  dnf download systemd --source
  dnf builddep systemd
  ...
  rpmbuild -ba systemd.spec


Actual results:

gnu-efi gnu-efi-devel build dependencies are missing

Expected results:

all the build dependencies are installed.


Additional info:

systemd.spec contains

%ifarch %{ix86} x86_64
BuildRequires:  gnu-efi gnu-efi-devel
%endif

I am aware of the documentation which states that

> Build dependencies in a package (i.e. src.rpm) might be different than you would expect because they were evaluated according macros set on the package build host. (lame excuse ;)

However this is not completely satisfactory. If we want to automatize the packaging of our rpms, this will mean additional configuration to get a per-package list of additional dependencies. Additionally, I don't think we should expect everyone to go read the documentation for a tool as straightforward as "builddep" that just works most of the times. It makes the tool feel unreliable and degrades the user experience.

If this is a WONTFIX, could we please update the documentation to say so, or maybe point to another bugzilla record?

Comment 1 Honza Silhan 2016-01-25 12:32:42 UTC

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


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