Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Oct 2014 13:47:43 +0200
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Dmitry Sivachenko <demon@FreeBSD.org>
Cc:        pkg@FreeBSD.org, python@FreeBSD.org
Subject:   Re: incorrect dependency registration?
Message-ID:  <20141007114742.GI37670@ivaldir.etoilebsd.net>
In-Reply-To: <DABC4333-39B0-4DFA-8EB0-9AE3236FF3F9@FreeBSD.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Tue, Oct 07, 2014 at 03:17:24PM +0400, Dmitry Sivachenko wrote:
> 
> On 07 окт. 2014 г., at 13:12, Baptiste Daroussin <bapt@FreeBSD.org> wrote:
> 
> > On Tue, Oct 07, 2014 at 01:10:56PM +0400, Dmitry Sivachenko wrote:
> >> 
> >> On 29 сент. 2014 г., at 12:01, Baptiste Daroussin <bapt@FreeBSD.org> wrote:
> >> 
> >>> On Mon, Sep 29, 2014 at 11:52:50AM +0400, Dmitry Sivachenko wrote:
> >>>> Hello,
> >>>> 
> >>>> I am using FreeBSD-10/stable and pkg-1.3.8.
> >>>> 
> >>>> Consider py-dateutil port, it depends on py-six.
> >>>> 
> >>>> First, I installed py33-dateutil (with py33-six), for python3.
> >>>> 
> >>>> Now I install py-dateutil for python2.  Upon installation, I get the following waring:
> >>>> ===>  Installing for py27-dateutil-2.2
> >>>> ===>   py27-dateutil-2.2 depends on package: py27-six>0 - found
> >>>> ===>   py27-dateutil-2.2 depends on package: py27-setuptools27>0 - found
> >>>> ===>   py27-dateutil-2.2 depends on file: /usr/local/bin/python2.7 - found
> >>>> ===>  Checking if py27-dateutil already installed
> >>>> ===>   Registering installation for py27-dateutil-2.2
> >>>> pkg-static: py27-dateutil-2.2: duplicate dependency listing: py33-six-1.5.2, ignoring
> >>>> 
> >>>> When I try to deinstall py27-six, I get:
> >>>> 
> >>>> # pkg delete py27-six
> >>>> Checking integrity... done (0 conflicting)
> >>>> Deinstallation has been requested for the following 3 packages (of 0 packages in the universe):
> >>>> 
> >>>> 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)
> >>>> 
> >>>> The operation will free 1 MB.
> >>>> 
> >>>> Proceed with deinstalling packages? [y/N]: 
> >>>> 
> >>>> (it wants to deinstall both versions of py-dateutil).
> >>>> 
> >>>> Something looks broken here.
> >>>> 
> >>>> 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.
> >>> 
> >>> I do not have time for this right now, I'll see in a couple of days, but CCing
> >>> parties that should be interested :)
> >>> 
> >> 
> >> 
> >> Can you reproduce this or is this a problem on my side?
> > 
> > Bryan has fixed it iirc, this was a port bug.
> > 
> 
> 
> What commit do you mean?  I just updated ports tree, installed pkg-1.3.8_3, and I see the same issue.
> 

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

regards,
Bapt

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

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

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141007114742.GI37670>