From owner-freebsd-python@FreeBSD.ORG  Tue Oct  7 11:47:48 2014
Return-Path: <owner-freebsd-python@FreeBSD.ORG>
Delivered-To: python@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 6ACE6F42;
 Tue,  7 Oct 2014 11:47:48 +0000 (UTC)
Received: from mail-wg0-x233.google.com (mail-wg0-x233.google.com
 [IPv6:2a00:1450:400c:c00::233])
 (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 A79AF1AB;
 Tue,  7 Oct 2014 11:47:47 +0000 (UTC)
Received: by mail-wg0-f51.google.com with SMTP id b13so9051377wgh.22
 for <multiple recipients>; Tue, 07 Oct 2014 04:47:46 -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=4ef8DFNLKULCV1v5LK/awgjEMKpe7foW78UDtqsOlrc=;
 b=Mxf5VoIYmlmsY+i9LEzOHP4quwmJk/TuhQMfQYECrgxX3DFs5IZWkYOFVboaVXQgBr
 CepYCjfjBbjG6rcsuhLV8HTN9b45jDg2T2OZ7G0LRidfqlxEWpiToRELYfh12cnVMM2X
 7GPIEt3w1dzsIm/jw0ijfLVUfyExecySj7OQnBMouQB6EMky+f5KXqsv31VWzCz/1cty
 S/JZS4+rLQWaa/bZPI4m7Vhtx3O3jSL71ICZRlzGktLXQUrmYvJ9uC8K7ZtkS/nj9HMA
 Vkgh1axMrEArk7T0tBiAVw2+dQTMVikTv/kfhUkXEhtsh/p1GyzTa9B/EBJlM3E9MFjT
 wZ5A==
X-Received: by 10.180.72.45 with SMTP id a13mr4009889wiv.50.1412682466034;
 Tue, 07 Oct 2014 04:47:46 -0700 (PDT)
Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1])
 by mx.google.com with ESMTPSA id pk9sm20456990wjb.16.2014.10.07.04.47.44
 for <multiple recipients>
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Tue, 07 Oct 2014 04:47:45 -0700 (PDT)
Sender: Baptiste Daroussin <baptiste.daroussin@gmail.com>
Date: Tue, 7 Oct 2014 13:47:43 +0200
From: Baptiste Daroussin <bapt@FreeBSD.org>
To: Dmitry Sivachenko <demon@FreeBSD.org>
Subject: Re: incorrect dependency registration?
Message-ID: <20141007114742.GI37670@ivaldir.etoilebsd.net>
References: <15E556C8-EEB6-4218-93F3-F76BFA2E4F29@FreeBSD.org>
 <20140929080109.GI40373@ivaldir.etoilebsd.net>
 <C3D53680-CC48-432A-B467-F527EF0FBB33@FreeBSD.org>
 <20141007091240.GG37670@ivaldir.etoilebsd.net>
 <DABC4333-39B0-4DFA-8EB0-9AE3236FF3F9@FreeBSD.org>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
 protocol="application/pgp-signature"; boundary="BOmey7/79ja+7F5w"
Content-Disposition: inline
In-Reply-To: <DABC4333-39B0-4DFA-8EB0-9AE3236FF3F9@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 <freebsd-python.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-python>,
 <mailto:freebsd-python-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-python/>
List-Post: <mailto:freebsd-python@freebsd.org>
List-Help: <mailto:freebsd-python-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-python>,
 <mailto:freebsd-python-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 07 Oct 2014 11:47:48 -0000


--BOmey7/79ja+7F5w
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Oct 07, 2014 at 03:17:24PM +0400, Dmitry Sivachenko wrote:
>=20
> On 07 =D0=BE=D0=BA=D1=82. 2014 =D0=B3., at 13:12, Baptiste Daroussin <bap=
t@FreeBSD.org> wrote:
>=20
> > On Tue, Oct 07, 2014 at 01:10:56PM +0400, Dmitry Sivachenko wrote:
> >>=20
> >> On 29 =D1=81=D0=B5=D0=BD=D1=82. 2014 =D0=B3., at 12:01, Baptiste Darou=
ssin <bapt@FreeBSD.org> wrote:
> >>=20
> >>> 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=
 following 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/pytho=
n2.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-si=
x-1.5.2, 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=
 packages 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 =
python version, now it is possible but deps registration looks broken.
> >>>=20
> >>> I do not have time for this right now, I'll see in a couple of days, =
but CCing
> >>> parties that should be interested :)
> >>>=20
> >>=20
> >>=20
> >> Can you reproduce this or is this a problem on my side?
> >=20
> > Bryan has fixed it iirc, this was a port bug.
> >=20
>=20
>=20
> What commit do you mean?  I just updated ports tree, installed pkg-1.3.8_=
3, and I see the same issue.
>=20

Then I misunderstood the commit I'll have a look now at your case :)

regards,
Bapt

--BOmey7/79ja+7F5w
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlQz0t4ACgkQ8kTtMUmk6Ex1TACfSUbGymVgcuqmMEKuXZGA76Xt
ZvkAn0D8nDykvQufxFN6Yo2rfjYJ1M+5
=7Wlm
-----END PGP SIGNATURE-----

--BOmey7/79ja+7F5w--