Date: Mon, 19 Aug 2013 09:44:57 GMT From: Milan Obuch <bsd@dino.sk> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/181395: portmaster python27-2.7.5_1 to python27-2.7.5_2 deletes python symlink Message-ID: <201308190944.r7J9ivWj066323@oldred.freebsd.org> Resent-Message-ID: <201308190950.r7J9o05v090004@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 181395 >Category: ports >Synopsis: portmaster python27-2.7.5_1 to python27-2.7.5_2 deletes python symlink >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Aug 19 09:50:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Milan Obuch >Release: 7.4-STABLE, 8.4-PRERELEASE, 9.1-STABLE, 10-CURRENT >Organization: >Environment: various (amd64, i386) >Description: Previously installed python27-2.7.5_1 has following: ll /usr/local/bin | grep python lrwxr-xr-x 1 root wheel 7 Jun 15 09:39 python@ -> python2 lrwxr-xr-x 1 root wheel 14 Jun 15 09:39 python-config@ -> python2-config lrwxr-xr-x 1 root wheel 14 Jun 15 09:39 python-shared@ -> python-shared2 lrwxr-xr-x 1 root wheel 21 Jun 15 09:39 python-shared-config@ -> python-shared2-config lrwxr-xr-x 1 root wheel 16 Jun 15 09:39 python-shared2@ -> python-shared2.7 lrwxr-xr-x 1 root wheel 23 Jun 15 09:39 python-shared2-config@ -> python-shared2.7-config -r-xr-xr-x 1 root wheel 3852 Jun 15 09:39 python-shared2.7* -r-xr-xr-x 1 root wheel 1709 Jun 15 09:39 python-shared2.7-config* lrwxr-xr-x 1 root wheel 9 Jun 15 09:39 python2@ -> python2.7 lrwxr-xr-x 1 root wheel 16 Jun 15 09:39 python2-config@ -> python2.7-config -r-xr-xr-x 1 root wheel 1283128 Jun 15 09:38 python2.7* -r-xr-xr-x 1 root wheel 1702 Jun 15 09:39 python2.7-config* After upgrade to python27-2.7.5_2 via portmaster, symlinks are lost: ll /usr/local/bin | grep python -r-xr-xr-x 1 root wheel 5104 Aug 18 07:27 python-shared2.7* -r-xr-xr-x 1 root wheel 1709 Aug 18 07:27 python-shared2.7-config* -r-xr-xr-x 1 root wheel 1527896 Aug 18 07:27 python2.7* -r-xr-xr-x 1 root wheel 1702 Aug 18 07:27 python2.7-config* (file sizes are not consistent, ignore them, please). Thus, it is not possible to invoke python directly, scripts with line #!/usr/local/bin/python do not work anymore, too. >How-To-Repeat: Install python27-2.7.5_1 and try upgrade to python27-2.7.5_2 with portmaster: portmaster python27-2.7.5_1 >Fix: My quick fix was symlinking: ln -s python2 python ln -s python2-config python-config ln -s python-shared2 python-shared ln -s python-shared2-config python-shared-config ln -s python-shared2.7 python-shared2 ln -s python-shared2.7-config python-shared2-config ln -s python2.7 python2 ln -s python2.7-config python2-config >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308190944.r7J9ivWj066323>