Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 485246 - =dev-python/sphinx-1.1.3-r7 installs broken symlinks
Summary: =dev-python/sphinx-1.1.3-r7 installs broken symlinks
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-17 21:03 UTC by poletti.marco
Modified: 2017-06-13 20:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description poletti.marco 2013-09-17 21:03:21 UTC
=dev-python/sphinx-1.1.3-r7 installs broken symlinks:

 / # for f in /usr/bin/sphinx-*; do if [ -h "$f" ]; then echo $f; fi; done | xargs ls -lah
lrwxrwxrwx 1 root root 44 17 set 19.27 /usr/bin/sphinx-apidoc -> python-execpython-execpython-execpython-exec
lrwxrwxrwx 1 root root 11 17 set 19.27 /usr/bin/sphinx-autogen -> python-exec
lrwxrwxrwx 1 root root 22 17 set 19.27 /usr/bin/sphinx-build -> python-execpython-exec
lrwxrwxrwx 1 root root 33 17 set 19.27 /usr/bin/sphinx-quickstart -> python-execpython-execpython-exec

Note that the second one is valid (points to /usr/bin/python-exec) while the others aren't. For some reason, they point to "python-exec" repeated 2, 3 and 4 times.

This is causing an emerge failure in llvm-9999, because sphinx-build is a broken symlink.

make[1]: Leaving directory `/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999-amd64/bindings'
llvm[0]: ***** Completed Release Build
make -j11 -C /var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999/docs -f Makefile.sphinx man 
make: Entering directory `/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999/docs'
sphinx-build -b man -d _build/doctrees   . _build/man
make: sphinx-build: Command not found
make: *** [man] Error 127
make: Leaving directory `/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999/docs'
 * ERROR: sys-devel/llvm-9999::gentoo failed (compile phase):
 *   emake failed


Reproducible: Always
Comment 1 poletti.marco 2013-09-20 23:26:20 UTC
By re-emerging dev-python/jinja and dev-python/sphinx the links are now fixed.

Installed versions (the same, before and after the re-emerge):
* jinja-2.7 (slot 0)
* jinja-2.6-r100 (slot compat)
* sphinx-1.1.3-r7

Maybe some of these ebuilds were modified with no revbump?
Feel free to close if this was not the case and you can't reproduce.
Comment 2 Patrice Clement gentoo-dev 2017-06-13 20:48:19 UTC
This version is long gone. Reopen if this bug report is still relevant with current versions. Closing.