Date: Tue, 7 Oct 2014 15:17:24 +0400 From: Dmitry Sivachenko <demon@FreeBSD.org> To: Baptiste Daroussin <bapt@FreeBSD.org> Cc: pkg@FreeBSD.org, python@FreeBSD.org Subject: Re: incorrect dependency registration? Message-ID: <DABC4333-39B0-4DFA-8EB0-9AE3236FF3F9@FreeBSD.org> In-Reply-To: <20141007091240.GG37670@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>
next in thread | previous in thread | raw e-mail | index | archive | help
On 07 =D0=BE=D0=BA=D1=82. 2014 =D0=B3., at 13:12, Baptiste Daroussin = <bapt@FreeBSD.org> wrote: > 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 = Daroussin <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/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.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 What commit do you mean? I just updated ports tree, installed = pkg-1.3.8_3, and I see the same issue.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DABC4333-39B0-4DFA-8EB0-9AE3236FF3F9>