Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jan 2017 10:48:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 216310] lang/python: bad links created for idle3 and pydoc3
Message-ID:  <bug-216310-21822-M6VFXw0GeT@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-216310-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-216310-21822@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

Jose M. Alcaide <josemaria.alcaide@ehu.eus> has reassigned Bugzilla Automation
<bugzilla@FreeBSD.org>'s request for maintainer-feedback to FreeBSD Python
<python@FreeBSD.org>:
Bug 216310: lang/python: bad links created for idle3 and pydoc3
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216310



--- Description ---
Created attachment 179131
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=179131&action=edit
patch for lang/python/Makefile

With DEFAULT_VERSIONS defined in /etc/make.conf as:

  DEFAULT_VERSIONS+=  python=3.5 python3=3.5

these idle and pydoc links are created in /usr/local/bin:

lrwxr-xr-x  1 root  wheel   9 Jan 20 10:50 /usr/local/bin/idle -> idle3-3.5
lrwxr-xr-x  1 root  wheel   7 Jan 20 10:37 /usr/local/bin/idle3 -> idle3.5
-rwxr-xr-x  1 root  wheel  99 Jan 19 16:07 /usr/local/bin/idle3.5
lrwxr-xr-x  1 root  wheel  10 Jan 20 10:50 /usr/local/bin/pydoc -> pydoc3-3.5
lrwxr-xr-x  1 root  wheel   8 Jan 20 10:37 /usr/local/bin/pydoc3 -> pydoc3.5
-rwxr-xr-x  1 root  wheel  84 Jan 19 16:07 /usr/local/bin/pydoc3.5

The idle3 and pydoc3 symlinks are created by lang/python3; idle3.5 and pydoc3.5
executables are created by lang/python35.

As it can be seen, the idle and pydoc symlinks point to non-existent filenames.
The other symlinks created by lang/python (python, 2to3 and python-config) are
correct.

I am sending a patch attached.


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-216310-21822-M6VFXw0GeT>