From owner-freebsd-ports@freebsd.org Thu Jun 30 14:25:32 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BB616B86AA9 for ; Thu, 30 Jun 2016 14:25:32 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id A66222D83 for ; Thu, 30 Jun 2016 14:25:32 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: by mailman.ysv.freebsd.org (Postfix) id A5C61B86AA6; Thu, 30 Jun 2016 14:25:32 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A5700B86AA3 for ; Thu, 30 Jun 2016 14:25:32 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from fmailer.gwdg.de (fmailer.gwdg.de [134.76.11.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6B6712D82 for ; Thu, 30 Jun 2016 14:25:31 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from um-excht-a02.um.gwdg.de ([134.76.11.222] helo=email.gwdg.de) by mailer.gwdg.de with esmtp (Exim 4.80) (envelope-from ) id 1bIcdG-0005kT-AT; Thu, 30 Jun 2016 16:07:54 +0200 Received: from pc028.nfv.nw-fva.de (134.76.242.1) by email.gwdg.de (134.76.9.211) with Microsoft SMTP Server (TLS) id 14.3.195.1; Thu, 30 Jun 2016 16:07:54 +0200 Subject: Re: python 3.4.5 update References: <1467242155.22542.4.camel@yandex.com> CC: =?UTF-8?Q?Otac=c3=adlio_de_Ara=c3=bajo_Ramos_Neto?= , FreeBSD Ports From: Rainer Hurling To: Stari Karp Message-ID: <6f10d7ea-45d9-3231-bd46-301506bba753@gwdg.de> Date: Thu, 30 Jun 2016 16:07:48 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Level: - X-Virus-Scanned: (clean) by clamav X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jun 2016 14:25:32 -0000 Am 30.06.16 um 11:02 schrieb Otacílio de Araújo Ramos Neto: > Em qua, 29 de jun de 2016 20:16, Stari Karp escreveu: > >> >> >> Hi! >> >> I tried to update Python on my >> 10.3-RELEASE-p5 (akd64) and I got: >> >> >> .... >> .... >> ports/lang/python34/work/Python-3.4.5 ./python -E -m >> ensurepip $ensurepip --root=/usr/ports/lang/python34/work/stage/ ; fi >> /bin/rm -f >> /usr/ports/lang/python34/work/stage/usr/local/lib/libpython3.so >> # Upstream Issue: http://bugs.python.org/issue17975 >> for i in >> /usr/ports/lang/python34/work/stage/usr/local/lib/python3.4/lib- >> dynload/*.so; do /usr/bin/strip $i; done >> # Strip shared extensions >> ====> Compressing man pages (compress-man) >> >> ===>>> Creating a backup package for old version python34-3.4.4_3 >> Creating package for python34-3.4.4_3 >> process with pid 2056 still holds the lock >> process with pid 2056 still holds the lock >> process with pid 2056 still holds the lock >> process with pid 2056 still holds the lock >> process with pid 2056 still holds the lock >> process with pid 2056 still holds the lock >> pkg: Cannot get an advisory lock on a database, it is locked by another >> process >> >> ===>>> Starting check for runtime dependencies >> ===>>> Gathering dependency list for lang/python34 from ports >> ===>>> Dependency check complete for lang/python34 >> >> ===>>> All >> python34-3.4.4_3 (1/1) >> >> ===> Installing for python34-3.4.5 >> ===> Checking if python34 already installed >> ===> An older version of python34 is already installed (python34- >> 3.4.4_3) >> You may wish to ``make deinstall'' and install this port again >> by ``make reinstall'' to upgrade it properly. >> If you really wish to overwrite the old port of python34 >> without deleting it first, set the variable "FORCE_PKG_REGISTER" >> in your environment or the "make install" command line. >> *** Error code 1 >> >> Stop. >> make[1]: stopped in /usr/ports/lang/python34 >> *** Error code 1 >> >> Stop. >> make: stopped in /usr/ports/lang/python34 >> >> ===>>> A backup package for python34-3.4.4_3 should >> be located in /usr/ports/packages/portmaster-backup >> >> ===>>> Installation of python34-3.4.5 (lang/python34) failed >> ===>>> Aborting update >> >> ===>>> Update for lang/python34 failed >> ===>>> Aborting update >> >> Thank you very much. >> >> SK >> > > Are you shure that no other process is handling The ports at the same time? > Like doing a query. > > []'S > -Otacilio > As far as I know, portmaster itself has some not yet solved problems with ports, escpecially in a mixed system of ports, installed as a package by pkg and build from sources. For me, there are some possible opportunities, to circumstance this behaviour: 1) portmaster -m "FORCE_PKG_REGISTER" lang/python34 [this also does not work in all situations :( ] 2) portmaster lang/perl5 lang/python34 [(re)installing something like lang/perl5 before should help always ] 3) cd /usr/ports/lang/python34 make clean && make install Please keep in mind, that your failed update already deinstalled the old python 3.4.4 port, but failed to install the new version. So, at the moment, python 3 is probably not installed on your system. You can get back the old version by pkg add /usr/ports/packages/portmaster-backup/python34-3.4.4_3 as stated by portmasters message. HTH, Rainer Hurling