Summary: | textproc/py-docutils: symlinks broken for non default flavored package | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Peter Wullinger <freebsd> | ||||||
Component: | Individual Port(s) | Assignee: | freebsd-python (Nobody) <python> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Only Me | Flags: | bugzilla:
maintainer-feedback?
(python) |
||||||
Priority: | --- | ||||||||
Version: | Latest | ||||||||
Hardware: | Any | ||||||||
OS: | Any | ||||||||
Attachments: |
|
Description
Peter Wullinger
2017-12-02 20:46:29 UTC
This seems to be a bug either in textproc/py-docutils or USES=concurrent, they both create some symlinks so they may walk on each other. Created attachment 188477 [details]
poudriere build log
poudriere build log from one of the problematic builds.
Looks to like USES=concurrent renames the symlink targets without changing the symlinks:
Move: bin/rst2xetex.py --> bin/rst2xetex.py-2.7
Move: bin/rst2man.py --> bin/rst2man.py-2.7
Move: bin/rst2odt.py --> bin/rst2odt.py-2.7
Move: bin/rstpep2html.py --> bin/rstpep2html.py-2.7
Move: bin/rst2s5.py --> bin/rst2s5.py-2.7
Move: bin/rst2latex.py --> bin/rst2latex.py-2.7
Move: bin/rst2pseudoxml.py --> bin/rst2pseudoxml.py-2.7
Move: bin/rst2odt_prepstyles.py --> bin/rst2odt_prepstyles.py-2.7
Move: bin/rst2html.py --> bin/rst2html.py-2.7
Move: bin/rst2html5.py --> bin/rst2html5.py-2.7
Move: bin/rst2html4.py --> bin/rst2html4.py-2.7
Move: bin/rst2xml.py --> bin/rst2xml.py-2.7
Move: bin/rst2html --> bin/rst2html-2.7
Move: bin/rst2latex --> bin/rst2latex-2.7
Move: bin/rst2man --> bin/rst2man-2.7
Move: bin/rst2odt --> bin/rst2odt-2.7
Move: bin/rst2odt_prepstyles --> bin/rst2odt_prepstyles-2.7
Move: bin/rst2pseudoxml --> bin/rst2pseudoxml-2.7
Move: bin/rst2s5 --> bin/rst2s5-2.7
Move: bin/rst2xetex --> bin/rst2xetex-2.7
Move: bin/rst2xml --> bin/rst2xml-2.7
Move: bin/rstpep2html --> bin/rstpep2html-2.7
Created attachment 188478 [details]
Proposed patch
Please try attached patch.
(In reply to Antoine Brodin from comment #3) > Please try attached patch. lrwxr-xr-x 1 root wheel 15 Dec 3 09:14 rst2html -> rst2html.py-2.7 lrwxr-xr-x 1 root wheel 15 Dec 3 09:14 rst2html-2.7 -> rst2html.py-2.7 lrwxr-xr-x 1 root wheel 15 Dec 3 09:14 rst2html.py -> rst2html.py-2.7 -rwxr-xr-x 1 root wheel 602 Dec 3 09:14 rst2html.py-2.7 Yep, that looks as it should be (if I understand USES=concurrent properly). "rst2html.py-2.7" looks weird, but I'm pretty hopeful that this is a non-issue. Result of build with default Python 3.6: lrwxr-xr-x 1 root wheel 15 Dec 2 20:58 rst2html -> rst2html.py-3.6 lrwxr-xr-x 1 root wheel 11 Dec 2 20:58 rst2html-3.6 -> rst2html.py lrwxr-xr-x 1 root wheel 15 Dec 2 20:58 rst2html.py -> rst2html.py-3.6 -rwxr-xr-x 1 root wheel 602 Dec 2 20:58 rst2html.py-3.6 Seems also what should happen. Thanks a lot. A commit references this bug: Author: antoine Date: Sun Dec 3 08:29:35 UTC 2017 New revision: 455393 URL: https://svnweb.freebsd.org/changeset/ports/455393 Log: Fix the symlinks when using a non default version of python PR: 224042 Reported and tested by: Peter Wullinger Changes: head/textproc/py-docutils/Makefile |