Bug 1956143 - Doxygen in mock installs unneeded libs
Summary: Doxygen in mock installs unneeded libs
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: mock
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Copr Team
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2021-05-03 00:58 UTC by Dale Turner
Modified: 2021-05-09 17:57 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: ---
Doc Text:
Clone Of:
Last Closed:
Type: Bug

Attachments (Terms of Use)

Description Dale Turner 2021-05-03 00:58:20 UTC
Description of problem:
I noticed that when building packages requiring doxygen in mock locally or via COPR, that libaom, rav1e-libs, svt-av1-libs, and libdav1d were installed.
I first noticed this when COPR builds for aom would fail because it could not find the corresponding libaom (the corresponding libaom would have been built during the build of the aom package).
In an effort to determine the problem, I noticed I could build aom if I disabled documentation, and therefore requiring doxygen.
I also noticed that if I initialise mock and install doxygen, the above libs are installed. Procedure:
  mock --init
  mock --install dnf
  mock --shell bash
  dnf install doxygen (within mock, of course)

The above also happens with mock -r fedora-34-x86_64

Am I missing something?

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

How reproducible:

Steps to Reproduce:

Actual results:

Expected results:

Additional info:

Comment 1 Dale Turner 2021-05-09 17:57:03 UTC
After some investigation it seems that the "chain" installation dependencies is like this:

doxygen -> graphviz -> gd -> libavif -> (libaom + libdav1d + svt-av1-libs)

This seems to make no sense, because to build libaom or libdav1d, doxygen is required.

These install dependencies occur inside or outside of mock.

Am I misunderstanding something?


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