Bug 1282296 - Missing dependency on fontawesome-fonts-web
Summary: Missing dependency on fontawesome-fonts-web
Status: CLOSED DUPLICATE of bug 1282297
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: python-sphinx_rtd_theme
Version: epel7
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Piotr Popieluch
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2015-11-16 04:01 UTC by David Moreau Simard
Modified: 2015-11-16 19:51 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2015-11-16 19:51:12 UTC

Attachments (Terms of Use)

Description David Moreau Simard 2015-11-16 04:01:45 UTC
I noticed an issue when building a package against EL7 with EPEL, as shown here: https://copr-be.cloud.fedoraproject.org/results/dmsimard/python-cicoclient/epel-7-x86_64/00139672-python-cicoclient/build.log.gz

Exception occurred:
  File "/usr/lib64/python2.7/shutil.py", line 208, in copytree
    raise Error, errors
Error: [('/usr/lib/python2.7/site-packages/sphinx_rtd_theme/static/fonts/fontawesome-webfont.woff', '/builddir/build/BUILD/python-cicoclient-0.3.3/html/_static/fonts/fontawesome-webfont.woff', "[Errno 2] No such file or directory: '/usr/lib/python2.7/site-packages/sphinx_rtd_theme/static/fonts/fontawesome-webfont.woff'"), ('/usr/lib/python2.7/site-packages/sphinx_rtd_theme/static/fonts/fontawesome-webfont.svg', '/builddir/build/BUILD/python-cicoclient-0.3.3/html/_static/fonts/fontawesome-webfont.svg', "[Errno 2] No such file or directory: '/usr/lib/python2.7/site-packages/sphinx_rtd_theme/static/fonts/fontawesome-webfont.svg'")]

Indeed, when installing python-sphinx_rtd_theme, the directory tree looks like this:
# tree /usr/lib/python2.7/site-packages/sphinx_rtd_theme/static/fonts/
├── fontawesome-webfont.eot
├── fontawesome-webfont.svg -> /usr/share/fonts/fontawesome/fontawesome-webfont.svg
├── fontawesome-webfont.ttf -> /usr/share/fonts/fontawesome/fontawesome-webfont.ttf
├── fontawesome-webfont.woff -> /usr/share/fonts/fontawesome/fontawesome-webfont.woff
├── Inconsolata-Bold.ttf
├── Inconsolata.ttf
├── Lato-Bold.ttf -> /usr/share/fonts/lato/Lato-Bold.ttf
├── Lato-Regular.ttf -> /usr/share/fonts/lato/Lato-Regular.ttf
├── RobotoSlab-Bold.ttf
└── RobotoSlab-Regular.ttf

Notice the symoblic links to /usr/share/font/fontawesome/*.

These fonts are provided by the fontawesome-fonts-web package but it was not installed when installing python-sphinx_rtd_theme. It looks like we need to add a dependency.

I noticed the same issue on the fedora 22 and fedora 23 package of python-sphinx_rtd_theme.

Comment 1 Piotr Popieluch 2015-11-16 19:51:12 UTC

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

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