Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Nov 2013 08:55:39 -0500
From:      "Chad J. Milios" <milios@ccsys.com>
To:        Freebsd ports <freebsd-ports@freebsd.org>
Cc:        wg@FreeBSD.org
Subject:   Is it or isn't it installed? (It is, but ports tries to again, doomed to fail.)
Message-ID:  <5278F8DB.70605@ccsys.com>

next in thread | raw e-mail | index | archive | help
TLDR; check lines prefixed with ? in the transcript below.

Ran into this over a couple weeks ago. Checked again with last night's 
portsnap, same problem, same ports. Figured I ought to pipe up about it. 
Seems like a good ol' classic mystery.

I don't know if it's just one instance of a general problem in the way 
dependencies get detected and dispatched to be installed, maybe just in 
the python infrastructure, a bug in the net/py-kombu port (which my eyes 
couldn't find a problem with), or what. I looked into it for an hour 
before punting with a trivial workaround and moving on, didn't think 
much of it at the time, figuring it was just one of those temporary 
problems smarter minds are already hard at work fixing. Apparently they 
weren't or didn't. This time I'm using a squeaky clean new amd64 
9.2-RELEASE-p1 system (empty /usr/local then installing all ports from 
the same snapshot of /usr/ports).

***How to reproduce:

Just happen to already have the dependency devel/py-boto 
(py27-boto-2.14.0) or devel/py-pyzmq (py27-pyzmq-2.2.0) installed (and 
their port dirs since cleaned up) when you try to install net/py-kombu 
(py27-kombu-3.0.1) from ports with BOTO and/or ZMQ options. (In my case 
I have all its options on.)

***Transcripts: (attention to lines prefixed with ? and !)

     ===>  Installing for py27-kombu-3.0.1
     ===>   py27-kombu-3.0.1 depends on package: py27-amqp>=1.3.1 - found
     ===>   py27-kombu-3.0.1 depends on package: py27-anyjson>=0.3.3 - found
     ===>   py27-kombu-3.0.1 depends on package: py27-beanstalkc>0 - found
?    ===>   py27-kombu-3.0.1 depends on package: py27-boto=>2.6.0 - not 
found
     ===>    Verifying install for py27-boto=>2.6.0 in 
/usr/ports/devel/py-boto
     ===>  Installing for py27-boto-2.14.0
     ===>   py27-boto-2.14.0 depends on file: 
/usr/local/bin/easy_install-2.7 - found
     ===>   py27-boto-2.14.0 depends on file: /usr/local/bin/python2.7 - 
found
     ===>   py27-boto-2.14.0 depends on executable: python - found
     ===>   py27-boto-2.14.0 depends on executable: python2 - found
     ===>   Generating temporary packing list
     ===>  Checking if devel/py-boto already installed
?    ===>   py27-boto-2.14.0 is already installed
           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 devel/py-boto
           without deleting it first, set the variable "FORCE_PKG_REGISTER"
           in your environment or the "make install" command line.
     *** [check-already-installed] Error code 1

     Stop in /usr/ports/devel/py-boto.
     *** [run-depends] Error code 1

     Stop in /usr/ports/net/py-kombu.
     root@shikamaru:/usr/ports/net/py-kombu #


     ===>  Installing for py27-kombu-3.0.1
     ===>   py27-kombu-3.0.1 depends on package: py27-amqp>=1.3.1 - found
     ===>   py27-kombu-3.0.1 depends on package: py27-anyjson>=0.3.3 - found
     ===>   py27-kombu-3.0.1 depends on package: py27-beanstalkc>0 - found
!    ===>   py27-kombu-3.0.1 depends on package: py27-boto=>2.6.0 - not 
found
!    ===>    Verifying install for py27-boto=>2.6.0 in 
/usr/ports/devel/py-boto
!    ===>   Returning to build of py27-kombu-3.0.1
     ===>   py27-kombu-3.0.1 depends on package: pymongo>0 - found
     ===>   py27-kombu-3.0.1 depends on package: py27-sqlalchemy>0 - found
?    ===>   py27-kombu-3.0.1 depends on package: py27-pyzmq=>2.2.0 - not 
found
     ===>    Verifying install for py27-pyzmq=>2.2.0 in 
/usr/ports/devel/py-pyzmq
     ===>  Installing for py27-pyzmq-2.2.0
     ===>   py27-pyzmq-2.2.0 depends on file: /usr/local/bin/python2.7 - 
found
     ===>   py27-pyzmq-2.2.0 depends on executable: python - found
     ===>   py27-pyzmq-2.2.0 depends on shared library: zmq.1 - found
     ===>   Generating temporary packing list
     ===>  Checking if devel/py-pyzmq already installed
?    ===>   py27-pyzmq-2.2.0 is already installed
           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 devel/py-pyzmq
           without deleting it first, set the variable "FORCE_PKG_REGISTER"
           in your environment or the "make install" command line.
     *** [check-already-installed] Error code 1

     Stop in /usr/ports/devel/py-pyzmq.
     *** [run-depends] Error code 1

     Stop in /usr/ports/net/py-kombu.
     *** [install] Error code 1

     Stop in /usr/ports/net/py-kombu.
     root@shikamaru:/usr/ports/net/py-kombu #




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