[Python-modules-team] Bug#901567: unburden-home-dir: FTBFS: No such file or directory: '/usr/lib/python3/dist-packages/mkdocs/themes/readthedocs/fonts/fontawesome-webfont.woff'
Axel Beckert
abe at debian.org
Thu Jun 14 21:46:22 BST 2018
Control: reassign -1 mkdocs 0.17.4+dfsg-1
Control: forcemerge 901318 -1
Control: severity -1 serious
Control: affects -1 + src:unburden-home-dir
Hi Niko,
thanks for the bug report. I can confirm that unburden-home-dir
currently FTBFS due to this issue.
Niko Tyni wrote:
> It probably regressed due to mkdocs changes (currently at 0.17.4+dfsg-1),
> please reassign + set affects if it's a bug there.
Done herewith as this indeed is a bug in mkdocs:
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> env LC_ALL=C.UTF-8 mkdocs build --clean
> ronn --manual="Unburden Your Home Directory" -r --pipe docs/unburden-home-dir.1.md > unburden-home-dir.1
> INFO - Cleaning site directory
> INFO - Building documentation to directory: /<<PKGBUILDDIR>>/html
> Traceback (most recent call last):
> File "/usr/bin/mkdocs", line 6, in <module>
> cli()
> File "/usr/lib/python3/dist-packages/click/core.py", line 722, in __call__
> return self.main(*args, **kwargs)
> File "/usr/lib/python3/dist-packages/click/core.py", line 697, in main
> rv = self.invoke(ctx)
> File "/usr/lib/python3/dist-packages/click/core.py", line 1066, in invoke
> return _process_result(sub_ctx.command.invoke(sub_ctx))
> File "/usr/lib/python3/dist-packages/click/core.py", line 895, in invoke
> return ctx.invoke(self.callback, **ctx.params)
> File "/usr/lib/python3/dist-packages/click/core.py", line 535, in invoke
> return callback(*args, **kwargs)
> File "/usr/lib/python3/dist-packages/mkdocs/__main__.py", line 156, in build_command
> ), dirty=not clean)
> File "/usr/lib/python3/dist-packages/mkdocs/commands/build.py", line 276, in build
> theme_dir, config['site_dir'], exclude=['*.py', '*.pyc', '*.html', 'mkdocs_theme.yml'], dirty=dirty
> File "/usr/lib/python3/dist-packages/mkdocs/utils/__init__.py", line 179, in copy_media_files
> copy_file(source_path, output_path)
> File "/usr/lib/python3/dist-packages/mkdocs/utils/__init__.py", line 113, in copy_file
> shutil.copyfile(source_path, output_path)
> File "/usr/lib/python3.6/shutil.py", line 120, in copyfile
> with open(src, 'rb') as fsrc:
> FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/mkdocs/themes/readthedocs/fonts/fontawesome-webfont.woff'
> make[1]: *** [Makefile:10: html/index.html] Error 1
… and already filed: https://bugs.debian.org/901318
It seems caused by a change in the fonts-font-awesome package on whose
files mkdocs has symlinks to, which are currently broken. As far as I
can see, at least those two symlinks are affected:
/usr/lib/python3/dist-packages/mkdocs/themes/readthedocs/fonts/fontawesome-webfont.woff
/usr/lib/python3/dist-packages/mkdocs/themes/readthedocs/fonts/fontawesome-webfont.ttf
At least in my case it bailed out because of another file as in your case.
Regards, Axel
--
,''`. | Axel Beckert <abe at debian.org>, https://people.debian.org/~abe/
: :' : | Debian Developer, ftp.ch.debian.org Admin
`. `' | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5
`- | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE
More information about the Python-modules-team
mailing list