Is it or isn't it installed? (It is, but ports tries to again, doomed to fail.)

Dominic Fandrey kamikaze at bsdforen.de
Tue Nov 5 16:09:57 UTC 2013


On 05/11/2013 14:55, Chad J. Milios wrote:
> 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.)
> ...
>     ===>  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 at shikamaru:/usr/ports/net/py-kombu #
> ...
>     Stop in /usr/ports/net/py-kombu.
>     root at shikamaru:/usr/ports/net/py-kombu #

That looks like the dependencies in net/py-kombu are broken. I.e. they
refer to files that are not/no longer installed by the dependencies.


-- 
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail? 


More information about the freebsd-ports mailing list