From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Aug 19 09:50:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B831C9C5 for ; Mon, 19 Aug 2013 09:50:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9847C2003 for ; Mon, 19 Aug 2013 09:50:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r7J9o0hM090005 for ; Mon, 19 Aug 2013 09:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r7J9o05v090004; Mon, 19 Aug 2013 09:50:00 GMT (envelope-from gnats) Resent-Date: Mon, 19 Aug 2013 09:50:00 GMT Resent-Message-Id: <201308190950.r7J9o05v090004@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Milan Obuch Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id CDCF0835 for ; Mon, 19 Aug 2013 09:44:58 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A0D132FB4 for ; Mon, 19 Aug 2013 09:44:58 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r7J9iv8G066324 for ; Mon, 19 Aug 2013 09:44:57 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r7J9ivWj066323; Mon, 19 Aug 2013 09:44:57 GMT (envelope-from nobody) Message-Id: <201308190944.r7J9ivWj066323@oldred.freebsd.org> Date: Mon, 19 Aug 2013 09:44:57 GMT From: Milan Obuch To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/181395: portmaster python27-2.7.5_1 to python27-2.7.5_2 deletes python symlink X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Aug 2013 09:50:00 -0000 >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: