From owner-freebsd-python@FreeBSD.ORG Mon Sep 29 08:01:15 2014 Return-Path: Delivered-To: python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9D2964CD; Mon, 29 Sep 2014 08:01:15 +0000 (UTC) Received: from mail-wi0-x22c.google.com (mail-wi0-x22c.google.com [IPv6:2a00:1450:400c:c05::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DEC7ED3; Mon, 29 Sep 2014 08:01:14 +0000 (UTC) Received: by mail-wi0-f172.google.com with SMTP id ex7so896905wid.17 for ; Mon, 29 Sep 2014 01:01:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=L/OCLIGHDL6C7/MLqtNTLzgAnES8No+muWUbfszOCyY=; b=eCFNK67T9Y9w3Fv+Ll6/Xbs1r9DKmgc7lYejZK6NBV2ZNTnAaewXM2UX37sGW76435 g/3eSkoFHBFLcRWuotUBnBMevj0RKgWiJAsKp2I/myomo6csv4OTkYBbjXIoGHgm5sr4 xKN7qtz/JlZLkdSexEbruEGv6Al/6lCA4Y+XykZc6ra+TLZqOoOHoY5sr4a2925Kl6V/ WNO3akptZ8wEJLH2VHzw56vjOgzfWQiGi9Ew4gdxuPi0SXh5QKwayqdZzLG9ij6bvhr/ BN0h7fr3X5C8b+ElT4jJ/wO7rlo8MyK/Vp+ganT81JVnZe0NqQopijzkr8wtc5IXl1j9 ZrKw== X-Received: by 10.194.249.199 with SMTP id yw7mr587694wjc.135.1411977673021; Mon, 29 Sep 2014 01:01:13 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by mx.google.com with ESMTPSA id hk8sm10788829wib.18.2014.09.29.01.01.11 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Sep 2014 01:01:12 -0700 (PDT) Sender: Baptiste Daroussin Date: Mon, 29 Sep 2014 10:01:10 +0200 From: Baptiste Daroussin To: Dmitry Sivachenko Subject: Re: incorrect dependency registration? Message-ID: <20140929080109.GI40373@ivaldir.etoilebsd.net> References: <15E556C8-EEB6-4218-93F3-F76BFA2E4F29@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="D6z0c4W1rkZNF4Vu" Content-Disposition: inline In-Reply-To: <15E556C8-EEB6-4218-93F3-F76BFA2E4F29@FreeBSD.org> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: pkg@FreeBSD.org, python@FreeBSD.org X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Sep 2014 08:01:15 -0000 --D6z0c4W1rkZNF4Vu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 29, 2014 at 11:52:50AM +0400, Dmitry Sivachenko wrote: > Hello, >=20 > I am using FreeBSD-10/stable and pkg-1.3.8. >=20 > Consider py-dateutil port, it depends on py-six. >=20 > First, I installed py33-dateutil (with py33-six), for python3. >=20 > Now I install py-dateutil for python2. Upon installation, I get the foll= owing waring: > =3D=3D=3D> Installing for py27-dateutil-2.2 > =3D=3D=3D> py27-dateutil-2.2 depends on package: py27-six>0 - found > =3D=3D=3D> py27-dateutil-2.2 depends on package: py27-setuptools27>0 - = found > =3D=3D=3D> py27-dateutil-2.2 depends on file: /usr/local/bin/python2.7 = - found > =3D=3D=3D> Checking if py27-dateutil already installed > =3D=3D=3D> Registering installation for py27-dateutil-2.2 > pkg-static: py27-dateutil-2.2: duplicate dependency listing: py33-six-1.5= =2E2, ignoring >=20 > When I try to deinstall py27-six, I get: >=20 > # pkg delete py27-six > Checking integrity... done (0 conflicting) > Deinstallation has been requested for the following 3 packages (of 0 pack= ages in the universe): >=20 > Installed packages to be REMOVED: > py27-six-1.8.0 > py33-dateutil-2.1_3 (depends on py27-six-1.8.0) > py27-dateutil-2.2 (depends on py27-six-1.8.0) >=20 > The operation will free 1 MB. >=20 > Proceed with deinstalling packages? [y/N]:=20 >=20 > (it wants to deinstall both versions of py-dateutil). >=20 > Something looks broken here. >=20 > Some time ago it did not let to install the same port for different pytho= n version, now it is possible but deps registration looks broken. I do not have time for this right now, I'll see in a couple of days, but CC= ing parties that should be interested :) regards, Bapt --D6z0c4W1rkZNF4Vu Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlQpEcUACgkQ8kTtMUmk6Ex8CACeJiwKh9po3i+li/Tj2mgmv5cc JzUAn0b5fNDvTnQ+JUCRwbPu5MvSEg6l =oUm5 -----END PGP SIGNATURE----- --D6z0c4W1rkZNF4Vu--